@import url('https://fonts.googleapis.com/css2?family=Jersey+10&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Signika:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Iansui&family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Iansui&family=Outfit:wght@100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');
@font-face {
    font-family: 'Modica Oft';
    src: url('./fonts/modica.otf'),
}

*{
    font-style: normal;
}

*::selection {
    color: #fce96b;
    background-color: #0065C3;
  }

html, body { height: 100%; }
body{
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(40vmax 40vmax at 15% 20%, rgba(250,190,255,.85), rgba(250,190,255,0) 60%),
    radial-gradient(38vmax 38vmax at 85% 30%, rgba(176,160,255,.85), rgba(176,160,255,0) 62%),
    radial-gradient(46vmax 46vmax at 30% 80%, rgba(194,210,255,.8),  rgba(194,210,255,0) 60%),
    radial-gradient(50vmax 50vmax at 75% 75%, rgba(150,120,255,.75), rgba(150,120,255,0) 60%),
    linear-gradient(135deg, #f3c2f5 0%, #c8c0ff 42%, #8f78ff 60%, #f5b7da 100%);
  background-repeat: no-repeat;
  background-size: cover, cover, cover, cover, cover;
  background-attachment: fixed;
}

h1 {
    text-align: center;
    color: #333;
    display: none;
}

.cajonBtnMeli{
    display: flex;
    justify-content: end;
}

.navbar-brand-text {
    font-family: "Titan One", sans-serif;
    font-size: 2rem;
    color: #405572;
    text-shadow: 2px 3px 0px #bfd5e9;
    padding: 7px;
}

@keyframes pulseColor {
    0%, 100% {
        color: #349cfa;
        text-shadow: 2px 3px 0px #9ed3f4;
    }
    50% {
        color: #e63946;
        text-shadow: 2px 3px 0px #f8b4b4;
    }
}

.navbar-brand-text2 {
    font-family: "Titan One", sans-serif;
    font-weight: 200;
    font-size: 2rem;
    color: #349cfa;
    text-shadow: 2px 3px 0px #9ed3f4;
    padding: 5px; 
    border-radius: 5px; 
    animation: pulseColor 10s infinite steps(1);
}


.navbar-brand-text4 {
    margin-left: 25px;
    font-family: "Titan One", sans-serif;
    font-size: 2rem;
    color: #405572;
    text-shadow: 2px 3px 0px #bfd5e9;
    padding: 5px;
}

.navbar-brand-text3{
    font-family: "Titan One", sans-serif;
    font-size: 2rem;
    color: crimson;
}


.blackCat{
    margin-left: -158px;
    width: 50px;
}

.blackCat2{
    margin-left: -125px;
    width: 50px;
}

.bg-Hr-primary{
    margin-top: -5px;
    border-bottom: 1px dashed grey;
}

.bg-Hr-primary > p{
    color: grey;
    margin-top: 5px;
    margin-bottom: 0px;
    font-weight: 400;
    font-size: small;
}

.mac-buttons {
    background-color: cornflowerblue;
    padding: 5px;
    width: 92%;
    border-radius: 10px 10px 0 0;
    position: absolute;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px; /* Espacio entre los botones y el párrafo */
}
.button {
    width: 12px; /* Diámetro de los círculos */
    height: 12px;
    border-radius: 50%;
    margin: 0 3px; /* Espacio entre los botones */
    cursor: pointer; /* Cambia el cursor al pasar sobre los botones */
    border: 1px solid #ccc; /* Borde ligero */
    background: #fff; /* Fondo blanco para el bisel */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5); /* Sombra y bisel interno */
    transition: all 0.2s; /* Transición suave para efectos */
}

.button.red {
    background: linear-gradient(to bottom, #ff4d4d, #cc0000); /* Degradado rojo */
}

.button.yellow {
    background: linear-gradient(to bottom, #ffff66, #cccc00); /* Degradado amarillo */
}

.button.green {
    background: linear-gradient(to bottom, #66ff66, #009900); /* Degradado verde */
}

/* Efecto hover para los botones */
.button:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.7); /* Sombra más intensa y bisel al pasar el mouse */
    transform: translateY(-1px); /* Eleva el botón ligeramente */
}

.redStrong{
    font-weight: 700;
    color: cornflowerblue;
}

.redStrong2{
    font-weight: 700;
    color: red;
}

.redStrong3{
    font-weight: 700;
    color: rgb(0, 150, 0);
}

.redStrong4{
    font-weight: 700;
    color: orangered;
}

.lookBase {
    text-align: center;
    background-color: white; /* Fondo similar a macOS */
    border: 1px solid cornflowerblue;
    padding: 30px 15px 15px 15px;
    color: rgb(69, 69, 69);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin-top: 22px; /* Espacio adicional para separar del input */
}

.AndesmarMeli , .OcaMeli, .AndreaniMeli , .NovogarMeli, .CDSMeli{
    align-items: center;
    justify-content: center;
    width: 20px;
}

.conjuntoDeBotonesMeli > button{
    width: fit-content;
}

.NovogarMeli2 {
    align-items: center;
    justify-content: center;
    width: 20px;
    filter: invert(1);
}

form {
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

@media (max-width: 600px) {
    form {
        border-top-left-radius: 0; 
        border-top-right-radius: 0; 
    }
}

.six {
    background: linear-gradient(135deg, #e0f2ff, #b2dffb); /* Mismo degradado */
    border-radius: 5px; /* Bordes suaves */
    padding: 0.2rem; /* Espaciado interno */
    margin-bottom: 0.5rem; /* Espaciado inferior */
    border: 1px solid #a3cde6; /* Borde sutil */
}


.badge-large {
    font-size: 1rem;
    min-width: 25px !important;
    z-index: 1000 !important;
}

.form-switch .form-check-input{
    display: flex;
    margin-left: 10px !important;
    width: 53px !important;
}

.badge-large2 {
    font-size: 1.1rem;
    top: 0px !important;
    padding: 5px;
    min-width: 28px !important;
    z-index: 1000 !important;
}

.PisoyDepto{
    padding: .5rem;
    border: dashed 2px #a855f7;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    justify-items: center;
    margin-bottom: .3rem;
    gap: 10px;
}

.cp, .localidad{
    flex: 1;
}

.piso, .depto{
    width: 20%;
}

.email{
    width: 60%;
}

.Andrean{
    background: linear-gradient(45deg, #2563eb, #a855f7);;
    color: white;
    font-size: 1rem;
    padding: 6px 12px;
    border-radius: 8px;
    width: fit-content;
}

#localidad{
    height: 38px;
}

#codigoPostalDestinatario{
    height: 38px
}

/* Estilos Camiones */
.trucks {
    display: grid; 
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.truck {
    text-align: center;
}
.truck img {
    display: none;
    width: 100%; 
    height: auto;
    border: 2px dashed #ccc; 
    border-radius: 8px;
}
.label {
    margin-top: 5px;
    padding: 5px; 
    background-color: #f0f0f0; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    margin-bottom: 10px;
    text-transform: uppercase;
    font-family: "Chakra Petch", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.2rem;
}

.truck img.envio-verde {
    background-color: #32d554;
    border: 2px dashed green;
    box-shadow: 0 0px 5px #515151a5; 
}


.truck img.desactivado {
    filter: grayscale(100%) brightness(70%);
}

@keyframes titilar {
    0% { background-color: rgb(129, 0, 0); }
    50% { background-color: orangered; } 
    100% { background-color: rgb(129, 0, 0); } 
}

.truck .label.titilando {
    color: white;
    animation: titilar 1s infinite;
    border: none;
    box-shadow: 0 0px 5px #515151a5; 
}

/* Fin Estilos Camiones */
.doble{
    display: flex;
    justify-items: stretch;
    align-items: center;
    gap: 1rem;
    color: white;
    padding: .3rem;
}

.dobleText{
    margin-left: 20px;
    margin-right: 20px;
    color: #292929;
    display: flex;
    justify-content: space-between;
}

.doble input{
    margin: 0;
}

.doble label{
    margin: 0;
}

#Andesmar-img {
    display: flex;
    justify-content: center;
    align-items: center; 
    flex-shrink: 1;
    margin-bottom: 20px;
    margin-top: 25px;
}

#Andesmar{
    max-width: 400px;
}

label {
    display: block;
    margin-bottom: 8px;
}

input,
select,
textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 16px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

textarea {
    resize: vertical;
}

button {
    background-color: cornflowerblue;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: rgb(11, 72, 185);
}

.spinner-container {
    display: none; /* Cambiar a 'flex' cuando se muestre el spinner */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2c2c2c97; /* Fondo semi-transparente */
    backdrop-filter: blur(8px); /* Efecto de desenfoque */
    z-index: 1000000;
    justify-content: center; /* Centrar el contenido horizontalmente */
    align-items: center; /* Centrar el contenido verticalmente */
}

.spinner {
    border: 8px solid cornflowerblue;
    border-radius: 50%;
    border-top: 8px solid #ffffff;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* RESPUESTA ANDESMAR (SIN USO) */

.contenedorRespuesta{
    margin-top: 1rem;
    background-color: #e1f4e5;
    text-align: center;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.contenedorRespuesta img{
    width: 200px;
}

.contenedorRespuesta h2{
    font-family: "Signika Negative", sans-serif;
    color: #32d554;
    margin-top: 0;
    padding-top: 1rem;
    font-size: 2rem;
}

.botonDescarga{
    font-family: "Signika Negative", sans-serif;
    font-weight: 800;
    margin-bottom: 1rem;
    font-size: 2rem;
    background-color: #32d554;
    color: white;
    border-radius: 15px;
    padding: 1rem;
}

.contenedorError{
    margin-top: 1rem;
    background-color: #52c6b8;
    text-align: center;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.contenedorError p{
    font-family: "Signika Negative", sans-serif;
    color: white;
    margin: 0;
}

.contenedorError img{
    width: 200px;
}

.mensajeErrorUndefinedContainer{
    margin-top: 1rem;
    background-color: red;
    text-align: center;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.mensajeErrorUndefinedContainer p{
    color: white;
    font-size: 2rem;
    font-weight: 600px;
}

/* FIN RESPUESTA ANDESMAR (SIN USO) */

/* ULTIMAS ETIQUETAS CONTENEDOR */
#ultimasEtiquetas{
    padding-top: .5rem;
    padding-bottom: .5rem;
    display: flex;
    flex-wrap: wrap;
    background-color: gray;
    border-radius: 0 0 10px 10px;
}

.ultimasEtiquetasTitulo{
    font-size: medium;
    font-family: "Signika Negative", sans-serif;
    background-color: #333;
    padding: .5rem;
    margin: 0;
    margin-top: .5rem;
    color: white;
}

.reDescarga{
    text-align: center;
    align-items: center;
    font-family: "Signika Negative", sans-serif;
    font-size: small;
    border-radius: 20px;
    font-weight: 400px;
    gap: .2rem;
    display: flex;
    background-color: #32305b;
    margin: .3rem;
    margin-top: 0;
    text-align: center;
    justify-content: baseline;
}

.reDescarga img {
    width: 20px;
    filter: invert(100%);
}

#ultimasEtiquetas button:last-child {
    color: white;
    font-weight: 800;
}

#ultimasEtiquetas button:last-child {
    text-align: center;
    align-items: center;
    filter: invert(0%);
    border: 2px dashed rgb(255, 255, 255);
    background-color: black;
    border-radius: 20px;
}

#ultimasEtiquetas button:last-child::before {
    text-align: center;
    content: "última";
    position: relative;
    top: 0;
    left: -2px;
    background-color: red;
    color: white;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 12px;
    z-index: 1000;
}

/* FIN ULTIMAS ETIQUETAS CONTENEDOR */

/* BULTOS */
#respuesta2{
    display: none;
    background-color: #349cfa;
    padding: .5rem;
    border-radius: 5px;
    color: white;
    font-weight: 600;
    margin-top: 0;
}

#respuestaNegativa{
    display: none;
    background-color: red;
    padding: .5rem;
    border-radius: 5px;
    color: white;
    font-weight: 600;
    margin-top: 0;
}

.nuevo{
    color: white;
}

.PaqID-Container{
    display: flex;
    justify-content: center;
    align-items: center;
}

.cliente-Container{
    display: flex;
    justify-content: center;
    align-items: center;
}

.PaqID {
    border-radius: 10px 10px 0 0;
    width: fit-content;
    text-align: center;
    padding: 4px 8px 10px 8px;
    margin-bottom: -5px;
    margin-top: 0px;
    color: #ffffff;
    font-weight: 500;
    border: 1px solid cornflowerblue;
    background-color: rgb(255, 68, 0); 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* Fuente de macOS */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; 
    z-index: -100;
}

.cliente {
    width: 100%;
    text-align: center;
    padding: 8px;
    margin-bottom: -5px;
    color: indigo;
    font-weight: 500;
    border: 1px solid cornflowerblue;
    background-color: rgb(231, 220, 255); 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* Fuente de macOS */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; 
    z-index: -100;
}

.cliente2 {
    width: fit-content;
    text-align: center;
    padding: 8px;
    padding-bottom: 3px;
    margin-bottom: 0px;
    color: indigo;
    font-weight: 500;
    border-radius: 12px 12px 0 0;
    border: 1px solid #ccc;
    border-bottom: none;
    background-color: rgb(231, 220, 255); 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* Fuente de macOS */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; 
}

.clientePosventa {
    width: fit-content;
    text-align: center;
    padding: 8px;
    margin-bottom: -5px;
    margin-left: 20px;
    color: indigo;
    font-weight: 500;
    border-radius: 12px 12px 0 0;
    border: 1px solid #ccc;
    border-bottom: none;
    background-color: rgb(231, 220, 255); 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* Fuente de macOS */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; 
    z-index: -1;
}

.clientePosventa-gris {
    width: fit-content;
    text-align: center;
    padding: 8px;
    margin-bottom: -5px;
    margin-left: 20px;
    color: grey;
    font-weight: 500;
    border-radius: 12px 12px 0 0;
    border: 1px solid #aaa; 
    border-bottom: none;
    background-color: rgb(220, 220, 220); 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* Fuente de macOS */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; 
    z-index: -1;
}

.clientePosventa-rojo {
    width: fit-content;
    text-align: center;
    padding: 8px;
    margin-bottom: -5px;
    margin-left: 20px;
    color: red;
    font-weight: 500;
    border-radius: 12px 12px 0 0;
    border: 1px solid #ff9999;
    border-bottom: none;
    background-color: rgb(255, 204, 204); 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* Fuente de macOS */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; 
    z-index: -1;
}

.clientePosventa-orange {
    width: fit-content;
    text-align: center;
    padding: 8px;
    margin-bottom: -5px;
    margin-left: 20px;
    color: #ff8c00;
    font-weight: 500;
    border-radius: 12px 12px 0 0;
    border: 1px solid #ff8c00;
    border-bottom: none;
    background-color: rgb(254, 221, 164); 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* Fuente de macOS */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; 
    z-index: -1;
}

.cliente3 {
    width: fit-content;
    text-align: center;
    padding: 8px 10px 15px 8px;
    margin-bottom: -10px;
    color: indigo;
    font-weight: 500;
    border-radius: 12px 12px 0 0;
    border: 1px solid #ccc;
    background-color: rgb(231, 220, 255); 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* Fuente de macOS */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; 
    z-index: -100;
}

.apiSeguimiento .card-text:first-child{
    background-color: rgb(231, 239, 255);
    color: #007bff;
    font-weight: 600;
    padding: 10px;
    border-radius: 10px;
}

.cliente > img{
    margin-right: 5px;
}

.cliente > img{
    width: 30px;
}

.clientePosventa-gris > img{
    width: 30px;
}

.clientePosventa-rojo > img{
    width: 30px;
}

.cliente2 > img{
    width: 30px;
}

.clientePosventa > img{
    width: 30px;
}

.cliente3 > img{
    width: 30px;
}

.info-paq{
    margin-right: 5px;
}

.removeBultoButton{
    background-color: red;
}

.removeBultoButton:hover{
    background-color: rgb(43, 43, 43);
}

#bultos{
    background-color: #bebebe;
}

/* BULTO ESTILO DESTACADO EN TONOS ROJOS */
.bulto {
    border: 2px dashed #d9534f;
    padding: 12px;
    margin: 10px 0;
    background: linear-gradient(135deg, #f8d7da, #f5c6cb); 
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); 
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.bulto:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); 
    cursor: pointer;
}

.bultoImput, .bultoDescripccion {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    align-items: center;
}

.bultoTitle {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    background: linear-gradient(45deg, #2563eb, #a855f7);
    color: white !important;
    width: max-content;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    text-transform: uppercase;
    margin-top: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#mensajePersonalizado{
    display: none;
}

.contenedorDatosCliente {
    background: whitesmoke;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 16px 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #d2d2d7;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    color: #1d1d1f;
}

#observaciones{
    text-transform: lowercase;
    height: 6rem;
    border: dashed 2px #349cfa;
    background-color: rgb(240, 251, 253);
    border-radius: 5px !important;
}

.custom-tooltip {
    color: yellow !important;
    max-width: none; 
}

#tipoElectrodomestico{
    border-radius: 5px !important;
    color: whitesmoke;
    background-color: #349cfa;
    border: 1px solid #349cfa;
    font-weight: 600;
    margin-bottom: 10px;
}


.tipoElectrodomesticoBna {
    font-family: "Roboto", sans-serif;
    color: #333;
    font-weight: 600 !important;
    background-color: #e6f7ff; 
    border: 1px solid #66b2ff;
    border-radius: 12px !important;
    padding: 8;
    font-weight: 500;
    margin-bottom: 5px !important;
    appearance: none; 
    -webkit-appearance: none; 
    -moz-appearance: none; 
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    width: 100%; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
}

.tipoElectrodomesticoBna:hover {
    background-color: #cceeff; 
    border-color: #3399ff; 
}

.tipoElectrodomesticoBna:focus {
    outline: none;
    border-color: #0056b3; 
    background-color: #b3e0ff; 
}

.tipoElectrodomesticoBna::after {
    content: '\25BC'; /* Down arrow */
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 12px;
    color: #333;
}

.mb-2{
    column-gap: .5rem;
}

.mostrarMasButton {
    border-radius: 20px;
    color: white;
    background-color: red;
    margin-left: .3rem;
    padding: 10px;
    margin-bottom: .3rem;
    box-shadow: 0 0px 8px rgba(0, 0, 0, 0.135); /* Ajusta los valores según tus preferencias */
}

.input-group-text{
    border-radius: 6px 6px 0 0;
    width: 100%;
    background-color: cornflowerblue;
    color: white;
    justify-content: center;
    text-align: center;
}

.input-group-text > i{
    font-size: 1rem;
}

.card-body-medidas{
    margin-top: 5px;
    box-shadow: 0 0px 5px rgba(0, 0, 0, 0.3);
    border: 1px solid grey;
    border-radius: 10px;
    padding-inline: 1rem;
    padding-bottom: .5rem;
    padding-top: .5rem;
    margin-bottom: 5px;
}

.form-control-medidas{
    color: cornflowerblue;
    border: none;
    margin-bottom: 0;
    border-radius: 0;
}

.bultoImput{
    margin-bottom: 0 !important;
}

.alert-success{
    margin-bottom: 5px;
}

.andesmarBNA{
    margin-top: 2rem !important;
}

/* FIN BULTOS */

/* NAVBAR */

.navbar {
    background-color: #ffffff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.idModalDiv{
    display: none;
}

#reclamarButton{
    display: none;
}

.logo {
    display: flex;
    align-items: center;
}

.navbar-logo {
    max-height: 50px;
    width: auto;
    margin-right: 10px;
}

@media (max-width: 767px) {
    .navbar-logo {
        display: none;
    }
}


.brand-name {
    text-transform: uppercase;
    font-family: 'Modica Oft';
    font-size: 2rem;
    color: grey;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    text-align: center !important;
}

.nav-item {
    margin: 0 5px;
}

a.nav-link{
    color: #0050c7 !important;
}

.btnFacturar{
    text-align: center;
}

.nav-item a {
    text-align: center;
    color: #0373e3;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: block;
}

.nav-item a:hover {
    background-color: #e6f0ff;
    color: #1a75ff;
}

.nav-item .active {
    font-weight: 500;
    border-radius: 0;
    background-color: #e1effd;
    border-bottom: #0373e3 solid 5px;
}

a.nav-link.active, .dropdown-item.active{
    border-radius: 0;
    color: #0373e3 !important;
}
a.nav-link.active, a.nav-link {
    border-radius: 5px !important;
    transition: .2s;
}

a.nav-link:hover, .dropdown-item:hover{
    color: #e3034a !important;
    background-color: #fde1f5 !important;
    border-bottom: #e3034a solid 5px;
}
/* Menu Hamburguesa */

@media (max-width: 940px) {
    .nav-links {
        flex-direction: column;
        width: 100%;
        background-color: #ffffff;
        border-radius: 0px;
        position: absolute;
        top: 70px;
        left: -100%;
        transition: left 0.3s ease-in-out;
    }

    .nav-item a {
        border-radius: 0;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-item {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    button.navbar-toggler:hover{
        background-color: cornflowerblue;
    }

    .menu-toggle {
        display: flex;
    }

    .is-active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .is-active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

#meli-logo{
    height: 23px;
    margin-left: 5px;
}

#e3-logo{
    height: 23px !important;
    margin-left: 5px;
}

#meli-logo2{
    width: 35px;
    margin-right: 5px;
}

/* FIN NAVBAR */

#deptoDestinatario , #pisolDestinatario, #codigoPostalDestinatario, #emailDestinatario, #localidad{
    margin-bottom: 0;
}

.PisoyDepto{
    border: dashed 2px #a855f7;
}

.hidden {
    display: none !important;
}

/* VOLUMENES ESTILO iOS */
.containerVolumen {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: linear-gradient(135deg, #e0f2ff, #b2dffb);
    border-radius: 0 0 10px 10px;
    margin-bottom: 10px;
    margin-top: -12px;
    padding: 10px;
}

.volumen-container {
    border: 1px solid #a3cde6;
    border-radius: 12px;
    padding: 15px;
    margin: 5px;
    text-align: center;
    background: linear-gradient(135deg, #f0faff, #d0eaff);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.volumen-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.volumen-container > img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.volumen-label {
    font-family: "Chakra Petch", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
    color: #003366;
}

#volumenTotalcm, #volumenTotal {
    color: #005599;
    font-size: 1.2rem;
    font-family: "Chakra Petch", sans-serif;
    font-weight: 700;
}

.cubic {
    font-size: 0.9rem;
    font-family: "Chakra Petch", sans-serif;
    color: #0077cc;
}

.provincia {
    display: none;
}
/* FIN VOLUMENES */

/* FOOTER */

.logo-novogar{
    width: 100px;
    padding: .5rem;
}

footer{
    padding: 1rem;
    background-color: white;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;    
}

footer > a{
    text-decoration: none;
    color: grey;
    transition: .5s;
}

footer > a:hover{
    text-decoration: underline;
    font-weight: 900;
    color: red;
}

.logo-foot{
    width: 120px;
}

#real-trends{
    width: 40px;
}

#Meli-trends{
    width: 40px;
}

.www{
    font-family: 'Modica Oft';
    font-size: larger;
}

/* FIN FOOTER */

/* BOTON DESCARGA */

#descargaAndreani{
    background-color: #fee2e2;
    padding: .5rem;
    border-radius: 15px;
    border: 2px dashed red;
    transition: transform 0.2s;
}

#descargaCruzDelSur {
    background-color: #c0c7ff7c; 
    padding: .5rem;
    border-radius: 15px;
    border: 2px dashed #16213e;
    transition: transform 0.2s;
    color: white; 
}

#apiResponseCruzDelSur{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.corrija-remito{
    margin-top: -10px !important;
    transition: .5s;
}

.corrija-remito:hover{
    margin-top: -10px !important;
    cursor: pointer;
    background-color: #3c42ff23;
    color: white;
}

#descargaAndreani:hover {
    transform: scale(1.01);
    cursor: pointer;
}

#descargaCruzDelSur:hover {
    transform: scale(1.01);
    cursor: pointer;
}

#descargaAndesmar:hover {
    transform: scale(1.01);
    cursor: pointer;
}

#descargaAndesmar{
    background-color: rgb(228, 237, 255);
    padding: .5rem;
    border-radius: 15px;
    border: 2px dashed cornflowerblue;
    transition: transform 0.2s;
}

#titleCruzDelSur{
    background-color: white;
    border: 2px dashed #16213e;
    border-radius: 10px;
    Color: #16213e;
    border-radius: 10px;
    font-size: 1.2rem;
    padding: .2rem;
}

#titleCruzDelSur > span{
    font-weight: 600 !important;
}

#titleAndreani{
    background-color: white;
    border: 2px dashed #fc522c;
    border-radius: 10px;
    font-weight: 600;
}

#numeroDeEnvio{
    font-weight: 600;
}

#titleAndesmar{
    background-color: white;
    border: 2px dashed #5a6892;
    border-radius: 10px;
    Color: cornflowerblue;
    border-radius: 10px;
    font-size: 1.2rem;
    padding: .2rem;
    font-weight: 600;
}

#titleAndreani > span{
    color: red;
    border-radius: 10px;
    font-size: 1.2rem;
    padding: .2rem;
    font-weight: 600;
}

#titleAndreaniName, #nombreAndreani, #titleAndesmarName{
    font-size: 1.2rem;
    font-family: "Chakra Petch", sans-serif;
    font-weight: 400;
    font-style: normal;
}

#descargaCruzDelSur .btn-dark-blue {
    width: fit-content;
    display: flex;
    align-items: center;
    background-color: #0f3460; 
    border: none;
    margin-bottom: -17px;
    height: 40px;
}

.btn-dark-blue > i{
    font-size: 19px;
}

.btn-dark-blue > span{
    margin-right: 5px;
}

#descargaCruzDelSur .btn-dark-blue:hover {
    background-color: #0d2c54; 
}

.btn-danger >i, .btn-primary >i, .btn-success >i{
    font-size: 1.2rem;
}

#apiResponse .btn-danger {
margin-bottom: -1rem;
}

.error{
    width: 250px;
    padding-bottom: 400px;
}

.errorp{
    color: red;
    font-weight: 900;
    font-size: 1.2rem;
    font-family: "Chakra Petch", sans-serif;
}

.surprise{
    width: 35px;
}

.btn-warning{
    margin: 0!important;
}

@media (max-width: 490px) {
    .btn-warning {
        margin-bottom: 10px !important;
    }
}

/* FIN BOTON DESCARGA */

/* COTIZADOR */

.grid-container {
    border-radius: 15px;
    display: grid;
    grid-template-columns: 1fr; /* Una columna para ancho completo */
    gap: 15px;
    padding: 20px;
    background-color: #f7f9fc;
    box-sizing: border-box;
}

.cotizacion-container {
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    background: #ffffff;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Pequeño cuadrado para el ícono */
.icono-transporte {
    padding: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.icono-transporte > img{
    width: 35px;
}

/* Estilos específicos por transporte */
.andreani {
    border: 1px solid #e53935;
    background: linear-gradient(135deg, #ffebee, #ffcdd2, #ff8a80, #e57373);
}

.andreani > span{
    color: rgb(152, 0, 0);
}

.andreani .icono-transporte {
    background: #e53935; /* Rojo */
}

.andesmar {
    border: 1px solid #1e88e5;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb, #90caf9, #42a5f5);
}

.andesmar > span {
    color: #00539b;
    border-radius: 5px;
    padding: 5px;
}

.andesmar .icono-transporte {
    background: #1e88e5; /* Azul */
}

.tercer-transporte {
    border: 1px solid #8e24aa;
    background: linear-gradient(135deg, #f3e5f5, #e1bee7, #ce93d8, #ab47bc);
}

.tercer-transporte > span{
    color: #8e24aa;
}

.tercer-transporte .icono-transporte {
    background: #8e24aa; /* Lila */
}

.cuarto-transporte {
    border: 1px solid #0d47a1; 
    background: linear-gradient(135deg,  #e3f2fd, #bbdefb, #629fd1, #1a73e8); 
}

.cuarto-transporte > span {
    color: #0d47a1; 
    border-radius: 5px;
    padding: 5px;
}

.cuarto-transporte .icono-transporte {
    background: #0d47a1; 
}

.sucursal-container {
    margin-top: 5px; 
    border-radius: 10px; 
    background-color: #ffffff; 
}

.sucursal-details {
    padding: 10px; 
    border: 1px solid #0d47a1; 
    border-radius: 8px; 
}

.sucursal-details h5 {
    background-color: #0d47a1;
    width: fit-content;
    padding: 10px;
    border-radius: 10px;
    font-size: 14px; 
    color: white; 
    margin-bottom: 10px; 
}

.cds-img{
    width: 200px;
    margin-bottom: -15px;
    margin-top: -25px;
}

.sucursal-details h4 {
    font-size: 22px; 
    font-weight: 600; 
    color: #0d47a1; 
}

.sucursal-details p {
    font-weight: 400;
    font-size: 14px; 
    margin: 5px; 
    color: #333;
}


.bi-clock-fill, .bi-telephone-fill, .bi-house-fill {
    font-weight: 900;
    font-size: x-large;
    color: #0d47a1;
}

.reloj-e3{
    color: #9f5f00;
}

.check-e3{
    color: #168732;
}

.check-e3-transferencia{
    color: #591336;
}

.cancel-e3{
    color: #931c15;
}

.error-e3{
    color: #553ba0;
}

.proceso-e3{
    color: #5a4900;
}

.tranferencia-e3{
    color: #5a0020;
}

.transferencia-ok-e3{
    color: #065a1b;
}

.map {
    border-radius: 10px; 
    margin-top: 10px; 
    height: 150px !important; 
    border: 2px dashed #0d47a1; 
}



.valor-cotizacion {
    color: #333;
    font-size: 1.5rem;
    font-family: "Chakra Petch", sans-serif !important;
    font-weight: 700;
}

.plazo-ios {
    color: #0000ff; /* Gris típico de iOS */
    font-size: 0.85rem; /* Tamaño de texto más pequeño */
    font-weight: 400; /* Fuente fina */
    font-style: normal;
    margin-top: 4px; /* Espaciado superior */
    display: block; /* Asegura que el plazo esté debajo */
    text-align: left; /* Alineado a la izquierda */
    letter-spacing: 0.2px; /* Espaciado entre letras para mejor legibilidad */
}

.cotizacion-label {
    font-weight: 600;
    font-size: 1.2rem;
    color: #333;
}

.cotizacion-label .imgParcel {
    width: 170px;
    opacity: .3; 
    overflow: hidden;
    display: none;
}

/* Título */
.titulo-cotizacion {
    grid-column: span 1; 
    background-color: grey; 
    color: white; 
    border-radius: 5px; 
    width: fit-content; 
    padding: 0.5rem; 
    margin: -25px auto 0px; 
    text-align: center; 
    font-size: 1rem; 
    font-weight: bold; 
}

/* FIN COTIZADOR */

/* CARDS BUSCADOR */

.card {
    transition: transform 0.2s;
    cursor: pointer;
    margin-bottom: 25px !important;
}

.card:hover {
    transform: scale(1.05);
}

.card-title {
    font-family: "Reddit Sans Condensed", sans-serif;
    text-transform: capitalize;
    color: rgb(55, 119, 238);
    font-weight: 400 !important;
    font-size: 1.3rem;
    margin-bottom: 5px;
    text-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ultima-palabra {
    font-weight: 700;
}

.card-title-meli {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    text-transform: capitalize;
    color: rgb(55, 119, 238);
    font-weight: 400 !important;
    font-size: 1.5rem;
    margin-bottom: 5px;
    text-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

p.card-text{
    margin-bottom: 10px;
}

.cpLocalidad {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    text-transform: capitalize;
    font-size: 0.8rem;
    font-weight: 400 !important;
    width: fit-content;
    max-width: 100%; 
    background-color: rgb(76, 76, 76); 
    color: white;
    border-radius: 8px;
    padding: 5px;
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}


.btn-mark{
    margin-right: 5px !important;
    height: 100%;
}

.email-container{
    text-wrap: wrap !important;
}
.cpLocalidadBna {
    max-width: 70%;
    font-family: "Chakra Petch", sans-serif !important;
    padding: 6px 12px !important;
    font-size: 0.85rem;
    font-weight: 400 !important;
    width: fit-content;
    background-color: cornflowerblue;
    border: solid 1px #007aff;
    color: white;
    border-radius: 18px;
    margin-bottom: 8px !important;
    overflow: hidden;
    text-wrap: nowrap;
    text-overflow: ellipsis;
}

.cpLocalidad-meli {
    font-family: "Roboto Condensed", sans-serif;
    padding: 6px 12px !important;
    font-size: 0.85rem;
    font-weight: 400 !important;
    width: fit-content;
    background-color: cornflowerblue;
    border: solid 1px #007aff;
    color: white;
    border-radius: 18px;
    margin-bottom: 8px !important;
    overflow: hidden;
    text-wrap: nowrap;
    text-overflow: ellipsis;
}

.correo-meli{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px !important;
    font-size: 0.85rem;
    width: fit-content;
    border-radius: 25px;
    margin-bottom: 8px !important;
    overflow: hidden;
}

.correo-andesmar {
    min-width: 30px;
    min-height: 30px;
    background-color: #007aff;
    color: white;
    border: solid 1px #007aff;
}

.correo-cds {
    min-width: 30px;
    min-height: 30px;
    background-color: #003366;
    color: white;
    border: solid 1px #03284d;
}

.correo-oca {
    min-width: 30px;
    min-height: 30px;
    background-color: #8e24aa;
    color: white;
    border: solid 1px #761591;
}

.correo-andreani {
    min-width: 30px;
    min-height: 30px;
    background-color: #ff3b30;
    color: white;
    border: solid 1px #ff3b30;
}

.correo-full {
    min-width: 30px;
    min-height: 30px;
    background-color: #43a047;
    color: white;
    border: solid 1px #43a047;
}

.correo-mercado-libre {
    min-width: 30px;
    background-color: #ffe600;
    color: black;
    border: solid 1px cornflowerblue;
}

.correo-novogar-simbel {
    min-width: 30px;
    background: linear-gradient(360deg, #fed1d1, #ffffff);
    color: rgb(255, 255, 255);
    border: solid 1px cornflowerblue;
}

.correo-novogar, .correo-santafe, .correo-rafaela, .correo-sannicolas {
    background-color: green;
    color: white;
    border: solid 1px greenyellow;
    min-width: fit-content;
}

.logistica-propia-sweet-alert{
    background-color: rgb(244, 244, 179);
    padding: 10px;
    border-radius: 20px;
}

.meli-box1{
    display: flex;
    gap: 5px;
}

p.card-text:nth-child(3){
    font-family: "Reddit Sans Condensed", sans-serif;
    font-weight: 300;
    margin-bottom: 5px;
}

p.card-text:nth-child(4){
    font-family: "Reddit Sans Condensed", sans-serif;
    font-weight: 300;
    margin-bottom: 5px;
}

p.card-text:nth-child(5){
    font-family: "Reddit Sans Condensed", sans-serif;
    font-weight: 300;
    margin-bottom: 5px;
}

p.card-text:nth-child(6){
    font-family: "Reddit Sans Condensed", sans-serif;
    font-weight: 300;
    margin-bottom: 5px;
}

p.card-text:nth-child(7){
    color: green;
    font-family: "Reddit Sans Condensed", sans-serif;
    font-weight: 400;
    margin-bottom: 0;
}

p.card-text:nth-child(8){
    font-family: "Reddit Sans Condensed", sans-serif;
    font-weight: 300;
    margin-bottom: 5px;
}

p.card-text-bna{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 300;
    margin-bottom: 5px;
}

p.card-text-bna2{
    color: green;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 300;
    margin-bottom: 5px;
}

p.card-text:nth-child(9){
    font-family: "Reddit Sans Condensed", sans-serif;
    font-weight: 300;
    margin-bottom: 5px;
}

.pago{
    background-color: white;
    border-radius: 10px;
    border-bottom: solid 2px cornflowerblue;
    padding: .5rem;
    font-size: 14px !important;
}

.pago > p{
    font-size: 14px !important;
}

.contenedor-pago{
    background-color: rgb(255, 231, 231) !important;
}

.facturacion{
    background-color: white;
    border-radius: 10px;
    border-bottom: solid 2px cornflowerblue;
    padding: .5rem;
}


.facturacion > p{
    font-size: 14px !important;
    margin-bottom: -5px;
}

.facturacion p:nth-child(1){
    color: white;
    font-weight: 800;
    background-color: red;
    width: fit-content;
    border-radius:5px;
    margin-bottom: 5px;
    padding: .2rem;
}

.pago p{
    font-family: "Reddit Sans Condensed", sans-serif;
}

input[disabled] {
    border: none !important;
}

.strong-costo{
    font-weight: 900;
    color: green;
    border-bottom: solid 1px green;
    background-color: rgb(225, 255, 225);
    padding: 5px;
    border-radius: 5px;
}

.strong-costo2{
    font-weight: 900;
    color: green; 
}

.pago p:nth-child(9){
    color: white;
    font-weight: 800;
    background-color: red;
    width: fit-content;
    border-radius:5px;
    font-size: 16px !important;
    padding: .2rem;
}

.card-text-pago{
    font-family: "Reddit Sans Condensed", sans-serif;
    font-weight: 300;
    margin-bottom: 5px;
}

.card-text-facturacion{
    font-family: "Reddit Sans Condensed", sans-serif;
    font-weight: 300;
    margin-bottom: 5px;
}

.descripcion-div{
    margin-bottom: 8px;
}

.contenedorPrompter {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #fff; /* Opcional */
}

.orden {
  display: inline-block;
  white-space: nowrap;
  font-family: "Rubik", sans-serif;
  font-size: x-large;
  font-weight: 400;
  margin: 0;
}

/* Animación solo si se le agrega la clase */
.scroll {
  animation: mover 6s linear infinite;
}

@keyframes mover {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.contenedorRemito{
    font-family: "Chakra Petch", sans-serif !important;
    margin-bottom: 10px !important;
    text-align: center;
    color: #333; 
    background-color: #ffffff; 
    border: 1px solid #ccc; 
    font-weight: 500 !important;
    padding: 10px 15px; 
    border-radius: 15px 15px 0 0;  
    margin-bottom: -5px !important;
}

.remitoCard {
    margin-bottom: 10px !important;
    text-align: center;
    padding: 10px;
    width: fit-content;
    border-radius: 12px;
    border: 1px solid cornflowerblue;
    background-color: #ffffff; 
    color: #007aff;
    font-size: 1.1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.lock-btn{
    position: absolute;
    right: 10px;
    bottom: 10px;
}

.little-card-meli > p{
    font-family: "Reddit Sans Condensed", sans-serif;
    text-transform: capitalize;
    font-size: .9rem;
    font-weight: 300;
    margin-bottom: .5rem;
}

.collapps-envio-meli{
    margin-bottom: .5rem;
}

.btn-warning{
    margin-bottom: 0 !important;
}

div.card-body > p > i{
    font-size: 1rem;
}

.spinner-border {
    margin: auto;
}

#spinner {
    margin-bottom: 1.5rem;
    color: red;
    display: flex; /* Mostrar el spinner al cargar */
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .card {
        margin: 10px;
    }
}

.spinner-border {
    width: 1.2rem;
    height: 1.2rem;
    border-width: 0.5em;
}

.spinner-border-porcentaje {
    width: 1.5rem;
    height: 1.5rem;
    border-width: 0.3em;
}

.spinner-border2 {
    width: 1.5rem;
    height: 1.5rem;
    border-width: 0.5em;
}

.spinner-border37892 {
    width: 4rem;
    height: 4rem;
    border-width: 0.5em;
}

.text-purple {
    color: purple; /* Cambia a lila */
}

.plazo-entrega {
    color: #8e24aa;
    font-size: 0.9rem; 
    font-style: italic; 
    font-weight: 600; 
    display: inline-block; 
    line-height: 1.2; 
    border-radius: 5px;
    padding: 2px 2px; 
}

.plazo-entrega strong {
    color: #76208e; 
    font-weight: 600; 
    text-shadow: none; 
}

.plazo-entrega2 {
    font-family: "Chakra Petch", sans-serif !important;
    color: #0d47a1;
    font-size: 0.9rem; 
    font-style: italic; 
    font-weight: 600; 
    display: inline-block; 
    line-height: 1.2; 
    border-radius: 5px;
    padding: 2px 2px; 
}

.plazo-entrega2 strong {
    color: #083373; 
    font-weight: 600; 
    text-shadow: none; 
}

.spinner-container {
    display: flex;
    align-items: center;
}

#cards-container {
    min-height: 100vh;
    background-color: white; /* Fondo negro */
    padding: 20px; /* Espacio interno */
    border-radius: 0 0 8px 8px; /* Bordes redondeados */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Sombra */
    margin-bottom: 30px;
}

#cards-container-meli {
    min-height: 100vh;
    background-color: white; /* Fondo negro */
    padding: 20px; /* Espacio interno */
    border-radius: 0 0 8px 8px; /* Bordes redondeados */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Sombra */
    margin-bottom: 30px;
}

/* Estilo de las tarjetas */
#envios-cards .card {
    background-color: #f5f5f7; /* Fondo de la tarjeta */
    color: rgb(65, 65, 65); 
    margin-bottom: 20px; 
    border: none; 
    border-radius: 8px; 
    box-shadow: 0 0px 10px #00000067; 
    border: dashed 2px cornflowerblue;
}

#envios-cards .card:hover{
    color: rgb(0, 0, 0);
    background-color: #ffe786;
    border: dashed 2px orange;
}

.user-title-meli{
    color: grey;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: .9rem;
    padding-left: 30px;
    margin-top: -.5rem;
}

#meli-cards .card {
    background: linear-gradient(145deg, #ffffff, #f0f0f5);
    color: #1a1a1a;
    margin-bottom: 24px;
    border: solid 1px #d1d1d6;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
}

#meli-cards .card:hover {
    color: #000000;
    transform: scale(1.05) translateY(-5px); /* Aumenta el tamaño con un efecto de escala */
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2); /* Sombra más pronunciada */
    border: solid 1px #007aff;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Añade transición suave */
    z-index: 1000;
}

#meli-cards .card:hover p, h5, h6 {
/* PENDIENTE */
}

.mt-5{
    margin-top: 0 !important;
}

.card-body-meli{
    z-index: 10000;
    padding: 1rem 1rem 0 1rem;
}

.card-body > button{
    height: 38px !important;
}

.form-control-obs{
    margin-bottom: 0px !important;
}

.divObs{
    margin-bottom: 0px !important;
}

.form-label{
    margin-bottom: 5px !important;
}

/* Media query para pantallas medianas (tablets) */
@media (min-width: 768px) and (max-width: 991px) {
    #envios-cards .col-md-4 {
        flex: 0 0 50%; /* 2 tarjetas por fila */
        max-width: 50%; /* 2 tarjetas por fila */
    }

    #meli-cards .col-md-4 {
        flex: 0 0 50%; /* 2 tarjetas por fila */
        max-width: 50%; /* 2 tarjetas por fila */
    }
}

/* Media query para pantallas pequeñas (móviles) */
@media (max-width: 767px) {
    #envios-cards .col-md-4 {
        flex: 0 0 100%; /* 1 tarjeta por fila */
        max-width: 100%; /* 1 tarjeta por fila */
    }

    #meli-cards .col-md-4 {
        flex: 0 0 100%; /* 1 tarjeta por fila */
        max-width: 100%; /* 1 tarjeta por fila */
    }
}

.search-filter-container {
    background-color: rgb(220, 220, 220);
    padding: 15px;
    padding-bottom: 0;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
}

/* ORDENAR MAS ANTIGUO Y NUEVO */
.input-group {
    border: solid 1px rgba(128, 128, 128, 0.475);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.input-group .form-control {
    border: none;
    box-shadow: none;
}

.form-control{
    height: auto !important;
}

.input-group .input-group-append .btn {
    background-color: cornflowerblue;
    border: solid 1px rgba(128, 128, 128, 0.475);
    color: white;
    border: none;
    transition: .5s;
}

.input-group .input-group-append .btn:hover {
    background-color: rgb(66, 130, 249);
}

.custom-select {
    min-width: 130px; 
    margin-bottom: 0; 
    border-radius: 5px !important; 
    padding: 8px; 
    background-color: #f8f9fa; 
    border: 1px solid #ced4da; 
    color: #495057;
    height: 47px; 
}

.apiSeguimiento {
    height: fit-content;
    margin-bottom: 10px;
    border: 1px solid cornflowerblue;
    border-radius: 12px;
    padding: 10px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.apiSeguimiento p > i {
    font-size: 1.2rem;
    color: #007aff;
}

.apiSeguimiento p {
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    color: #333;
    margin: 0;
}


.apiSeguimiento p:nth-child(3) {
    margin-bottom: -15px;
}

@media (min-width: 768px) {
    .col-md-3 {
        max-width: 100% !important;
    }}

#filter-labels{
    min-width: 170px;
}

#simbel {
    width: 70px;
}

#simbel2{
    width: 75px;
    padding-left: 5px;
}

#img-meli{
    overflow: visible;
    width: 30px;
    padding-left: 5px;
}

#img-e3{
    overflow: visible;
    width: 30px;
    padding-left: 5px;
}

#bna2 {
    width: 70px;
    padding-left: 5px;
    filter: brightness(0) invert(1);
}

.mercado-btn{
    width: max-content;
    margin-right: 10px;
    background: cornflowerblue;
    border: #0065C3;
}

/* FIN ORDENAR MAS ANTIGUO Y NUEVO */

.em-circle {
    font-family: "Reddit Sans Condensed", sans-serif;
    font-size: 1.1rem;
    position: absolute;
    top: -18px; 
    right: -10px; 
    background-color: #343348; 
    color: white; 
    border-radius: 50%; 
    width: 40px; 
    height: 40px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: bold; 
}

.em-circle-isFraud {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 15px 15px 0 0;
    position: absolute;
    top: -32px;
    left: 20px;
    background-color: orangered; 
    border: solid cornflowerblue 1px;
    color: white;
    display: flex;
    font-weight: bolder;
    align-items: center;
    justify-content: center;
    z-index: -1 !important; 
}

.em-circle-isFraud::before {
    content: '\f071'; 
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900;
    margin-right: 3px;
}

.em-circle-isNotFraud{
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 15px 15px 0 0;
    position: absolute;
    top: -32px;
    left: 20px;
    background-color: #34C759; 
    font-weight: bolder;
    border: solid cornflowerblue 1px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1 !important; 
}

.em-circle-ME1{
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 5px;
    border-radius: 0;
    background-color: orange;
    border: cornflowerblue solid 1px; 
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px !important;
    z-index: 0;
}

.em-circle-ME2{
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 5px;
    border-radius: 0;
    background-color: grey;
    border: cornflowerblue solid 1px;  
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px !important;
    z-index: 0;
}

.em-circle-isNotFraud::before {
    content: '\f071'; 
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900;
    margin-right: 3px;
}

.ios-style-paqId{
    height: 40px;
    padding-top: 5px;
    position: relative;
    background-color: orangered;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); 
    margin-bottom: -15px;
    border-radius: 12px 12px 0 0;
    color: white;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.ios-style-cliente{
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 40px;
    padding-bottom: 10px;
    position: relative;
    background-color: indigo;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); 
    margin-bottom: -15px;
    border-radius: 12px 12px 0 0;
    color: white;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.ios-style-cliente img{
    width: 18px;
    margin-right: 5px;
}

.em-circle-state {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 15px 15px 0 0;
    position: absolute;
    top: -32px;
    font-weight: bolder;
    width: fit-content;
    right: 20px;
    font-size: 0.75rem;
    background-color: grey;
    border: solid cornflowerblue 1px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -5 !important;
}

.em-circle-state::before {
    content: '\f017'; 
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900;
    margin-right: 3px;
}


.em-circle-state-time {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 800;
    font-size: .9rem;
    padding: 8px 10px;
    border-radius: 0 0 15px 15px; 
    position: relative; 
    background-color: #007AFF; 
    margin-bottom: 5px;
    text-transform: uppercase;
    color: white;
    display: flex; 
    align-items: center; 
    text-align: center;
    justify-content: center;
}

.em-circle-state-time::before {
    content: "\f017"; 
    font-family: 'Font Awesome 5 Free'; 
    position: absolute;
    left: 10px; 
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: white;
}

.em-circle-state-time-facturado {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 800;
    font-size: .9rem;
    margin-bottom: 5px;
    padding: 8px 10px; 
    border-radius: 0 0 15px 15px; 
    position: relative; 
    background-color: #34C759;  
    text-transform: uppercase;
    color: white;
    display: flex; 
    align-items: center; 
    justify-content: center;
}

.em-circle-state-time-facturado::before {
    content: ""; 
    font-family: 'Font Awesome 5 Free'; 
    position: absolute;
    left: 10px; 
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: white;
}

.em-circle-state-time-error-automata {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 800;
  font-size: .9rem;
  margin-bottom: 5px;
  padding: 8px 10px;
  border-radius: 0 0 15px 15px;
  position: relative;
  background-color: #A78BFA; 
  text-transform: uppercase;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.em-circle-state-time-error-automata::before {
  content: "";
  font-family: 'Font Awesome 5 Free';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  color: white;
}

.em-circle-state-time-cancelado {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 800;
    font-size: .9rem;
    margin-bottom: 5px;
    padding: 8px 10px; 
    border-radius: 0 0 15px 15px; 
    position: relative; 
    background-color: red; 
    text-transform: uppercase;
    color: white;
    display: flex; 
    align-items: center; 
    justify-content: center;
}

.em-circle-state-time-cancelado::before {
    content: ""; 
    font-family: 'Font Awesome 5 Free'; 
    position: absolute;
    left: 10px; 
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: white;
}

.button-container {
    display: flex;
    gap: 10px; 
}

.button-container .btn {
    width: fit-content;
    height: 48px; 
}

.em-circle-state2{
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    text-transform: uppercase;
    position: absolute;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 15px 15px 0 0;
    position: absolute;
    top: -32px;
    right: 20px;
    font-weight: bolder;
    background-color: grey;
    color: white;
    border: solid cornflowerblue 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #34C759;
}

.em-circle-state2::before {
    content: '\f00c'; 
    font-family: "Font Awesome 5 Free";  
    font-weight: 900;
    margin-right: 3px;
}

.em-circle-state3 {
    font-family: "Reddit Sans Condensed", sans-serif;
    font-weight: 900;
    font-size: 1rem;
    padding-inline: 5px;
    padding: 10px;
    border-radius: 15px 0 15px 0;
    position: absolute;
    bottom: 0; 
    right: 0;
    text-transform: uppercase;
    color: rgb(243, 243, 243);
    border-top: 1px solid rgb(251, 92, 34);
    background-color: orangered;
    display: flex; 
    align-items: center; 
    justify-content: center;
    height: 30px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    display: none;
}

.em-circle-state4{
    font-family: "Reddit Sans Condensed", sans-serif;
    font-weight: 900;
    font-size: 1rem;
    padding-inline: 5px;
    padding: 10px;
    border-radius: 15px 0 15px 0;
    position: absolute;
    bottom: 0; 
    right: 0;
    text-transform: uppercase;
    background-color: green;
    color: rgb(243, 243, 243);
    border-top: 1px solid greenyellow;
    display: flex; 
    align-items: center; 
    justify-content: center;
    height: 30px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    display: none;
}

.botonesMeli{
    gap: 5px;
}

.margen-icon{
    margin-right: 5px;
}

.spinner-large {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}

.card-body-bna {
    border-radius: 15px;
    background-image: url('./Img/bna-premia-back.png');
    background-size: 100% auto; 
    background-position: top; 
    background-repeat: no-repeat; 
    background-color: white;
}

.card-body-macro {
    border-radius: 15px;
    background-image: url('./Img/macro-premia-back.png');
    background-size: 100% auto; 
    background-position: top; 
    background-repeat: no-repeat;
    background-color: white; 
}

.card-body-bapro {
    border-radius: 15px;
    background-image: url('./Img/bapro-premia-back2.png');
    background-size: 100% auto; 
    background-position: top; 
    background-repeat: no-repeat; 
    background-color: white;
}

.trio-de-botones-container {
    overflow-x: auto;
    white-space: nowrap;
    padding-top: 20px; /* Añadir espacio para que el badge no se corte */
    padding-right: 50px;
}

.badge-large {
    z-index: 1; /* Asegura que el badge esté por encima del contenido */
}

.em-circle-state5 {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: rgb(255, 255, 255);
    text-shadow: 0 0px 3px rgba(0, 0, 0, 0.553);

    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 25px;
    padding: 3px 8px;
    border-radius: 15px 0 15px 0;
    width: fit-content;
    margin-bottom: -15px;
    position: relative;
    top: -20px;
    left: -20px;

    background: rgba(255, 255, 255, 0.25); 
    backdrop-filter: blur(10px);          
    -webkit-backdrop-filter: blur(10px);  
    border: 1px solid rgba(255, 255, 255, 0.3); 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
}

.em-circle-state6 {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: rgb(255, 255, 255);
    text-shadow: 0 0px 3px rgba(0, 0, 0, 0.553);

    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 25px;
    padding: 3px 8px;
    border-radius: 15px 0 15px 0;
    width: fit-content;
    margin-bottom: -15px;
    position: relative;
    top: -20px;
    left: -20px;

    background: rgba(255, 255, 255, 0.25); 
    backdrop-filter: blur(10px);          
    -webkit-backdrop-filter: blur(10px);  
    border: 1px solid rgba(255, 255, 255, 0.3); 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
}

.em-circle-state7 {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: rgb(255, 255, 255);
    text-shadow: 0 0px 3px rgba(0, 0, 0, 0.553);

    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 25px;
    padding: 3px 8px;
    border-radius: 15px 0 15px 0;
    width: fit-content;
    margin-bottom: -15px;
    position: relative;
    top: -20px;
    left: -20px;

    background: rgba(255, 255, 255, 0.25); 
    backdrop-filter: blur(10px);          
    -webkit-backdrop-filter: blur(10px);  
    border: 1px solid rgba(255, 255, 255, 0.3); 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
}

.em-circle-state-unknown {
    font-weight: 600;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 0.7rem; 
    padding: 3px 8px; 
    border-radius: 15px 0 15px 0; 
    position: relative;
    width: fit-content;
    margin-bottom: -15px;
    top: -20px; 
    left: -20px;
    right: -20px;
    background-color: grey;
    text-transform: uppercase;
    color: white;
    display: flex; 
    align-items: flex-end; 
    justify-content: center;
    height: 25px; 
}

.em-circle-state-cliente{
    font-family: "Reddit Sans Condensed", sans-serif;
    font-size: 1rem;
    width: fit-content;
    height: 30px;
    padding-inline: 5px;
    margin-top: -20px;
    border-radius: 0 0 12px 12px;
    margin-bottom: 5px;
    top: -15px; 
    color: indigo;
    border-bottom: 2px solid indigo;
    background-color: rgb(231, 220, 255); 
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-weight: bold; 
    overflow: hidden;
}

#presea{
    width: 25px;
    margin-right: 5px;
}

.facturable {
    background-color: red;
    animation: titilar 1s infinite alternate;
    position: relative;
}

@keyframes titilar {
    0% {
        background-color: red;
    }
    50% {
        background-color: rgb(181, 1, 1); /* Cambia a otro color, como verde */
    }
    100% {
        background-color: red;
    }
}

.facturable::before {
    content: "\F101"; 
    font-family: 'Font Awesome 5 Free'; 
    position: absolute;
    left: 10px; 
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    color: white;
}

.em-state-andesmar{
    font-family: "Reddit Sans Condensed", sans-serif;
    font-size: 1rem;
    padding-inline: 5px;
    padding: 5px 10px 1px 10px;
    border-radius: 12px 12px 0 0;
    position: absolute;
    top: -30px; 
    right: 12px;
    background-color: grey; 
    color: white;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-weight: bold; 
}

.em-state-simbel{
    font-family: "Reddit Sans Condensed", sans-serif;
    font-size: 1rem;
    height: 30px !important;
    padding-inline: 5px;
    padding: 5px 10px 5px 10px;
    border-radius: 12px 12px 0 0;
    position: absolute;
    top: -30px; 
    right: 12px;
    background-color:crimson; 
    color: white;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-weight: bold; 
}

.em-state-e3{
    font-family: "Reddit Sans Condensed", sans-serif;
    font-size: 1rem;
    height: 30px !important;
    padding-inline: 5px;
    padding: 5px 10px 5px 10px;
    border-radius: 12px 12px 0 0;
    position: absolute;
    top: -30px; 
    right: 12px;
    background: linear-gradient(to right, #4a90e2, #9b59b6);
    color: white;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-weight: bold; 
}

.em-state-meli{
    font-family: "Reddit Sans Condensed", sans-serif;
    font-size: 1rem;
    padding-inline: 5px;
    padding: 5px 10px 1px 10px;
    border-radius: 12px 12px 0 0;
    position: absolute;
    top: -30px; 
    right: 12px;
    background-color: #007aff;
    color: whitesmoke;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-weight: bold; 
}

.em-state-bna{
    font-family: "Reddit Sans Condensed", sans-serif;
    font-size: 1rem;
    height: 30px;
    padding-inline: 5px;
    padding: 5px 10px 5px 10px;
    border-radius: 0 15px 0 15px;
    position: absolute;
    top: 0px; 
    right: 0px;
    border-bottom: solid 2px #ccc;
    background-color: white;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-weight: bold; 
    overflow: hidden;
}

.em-state-bna > img{
    width:50px;
}

.reclamo-andesmar{
    margin-top: 20px !important;
}

.comprobanteEntrega{
    margin-bottom: -15px !important;
}

.comprobanteEntregaFail, .comprobanteEntregaSuccess{
    margin-bottom: -15px !important;
}

.em-state-bna2{
    font-family: "Reddit Sans Condensed", sans-serif;
    font-size: 1rem;
    height: 30px !important;
    padding-inline: 5px;
    padding: 5px 10px 5px 10px;
    border-radius: 12px 12px 0 0;
    position: absolute;
    top: -30px; 
    right: 20px;
    color: white;
    background-color: rgb(68, 46, 84);
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-weight: bold; 
    overflow: hidden;
}

.strong-slack{
    color: rgb(61, 61, 61);
    background-color: rgba(255, 255, 255, 0.664);
}

.strong-slack-header{
    background-color: rgb(0, 122, 255);
    color: white;
}

.toast-container {
    bottom: 80px !important;
}

.em-state-bna2 img{
    width: 50px !important;
}

.dimensions-info {
    background: linear-gradient(145deg, #ffffff, #f7f7f7);
    border-radius: 12px;
    padding: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 2px solid #d1d1d6;
    box-shadow: 0 0px 12px rgba(0, 0, 0, 0.1);
}

.dimensions-info h6 {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    margin: 0 0 10px;
    color: #007aff;
    font-weight: 600;
}

.dimensions-info div {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    font-size: 0.95em;
    color: #4a4a4a;
}

#scrollToTop {
    position: fixed;
    right: 20px; 
    bottom: 20px; 
    z-index: 1000; 
}

#scrollToDown {
    position: fixed;
    right: 20px; 
    bottom: 60px; 
    z-index: 1000; 
}

.blueSpinner{
    width: 50px;
    overflow: hidden;
}

.btnAndesmarMeli{
    margin-bottom: 5px !important;
}

.btnAndreaniMeli{
    margin-bottom: 0px !important;
}

.btnOcaMeli{
    margin-bottom: 0px !important;
}

.btnCDSMeli{
    height: 38px;
}

.errorMeli{
    text-align: center;
    width: 90%;
    font-weight: 600;
    text-align: left;
    font-family: "Chakra Petch", sans-serif;
    text-transform: uppercase;
    color: green;
    margin-top: 5px;
    font-size: small;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
}

.errorMeliBna{
    width: 90%;
    font-weight: 800;
    text-align: left;
    font-family: "Chakra Petch", sans-serif;
    text-transform: uppercase;
    color: green;
    margin-top: 5px;
    font-size: small;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: -10px;
}

.trio-de-botones{
    display: flex;
    gap: 5px;
}

.editarDatos{
    margin-bottom: 5px !important;
}

.sugerencias {
    width: 91%;
    font-family: "Chakra Petch", sans-serif;
    font-size: .8rem;
    border: 1px solid #ccc;
    max-height: 150px;
    overflow-y: auto;
    position: absolute;
    background: white;
    z-index: 1000;
}

.sugerencia {
    padding: 10px;
    cursor: pointer;
}

.sugerencia:hover {
    background-color: cornflowerblue;
    color: white;
}

.mini-etiqueta-andi{
    margin-bottom: 5px !important;
}

.numeroDeEnvioGenerado {
    font-size: .9rem;
    margin-bottom: 5px !important;
    text-align: center;
    color: #ffffff; 
    border: solid 1px #007aff; 
    font-weight: 700 !important;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    background: linear-gradient(145deg, #007aff, #0051cb); /* Gradiente azul */
    box-shadow: 0 0px 8px rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease;
}

.numeroDeEnvioGenerado a {
    color: inherit; 
    text-decoration: none; 
}

.numeroDeEnvioGenerado a:hover {
    text-decoration: underline; 
}

.numeroDeEnvioGeneradoBNA {
    white-space: nowrap;       
    overflow: hidden;           
    text-overflow: ellipsis;    
    font-family: "Rubik", sans-serif;
    text-align: center;
    color: #2c3e50; 
    margin-bottom: 0px;
    background-color: #ecf0f1; 
    border: 1px solid #bdc3c7; 
    padding: 12px 16px; 
    box-shadow: 0 0px 8px rgba(0, 0, 0, 0.1); 
    transition: background-color 0.3s, box-shadow 0.3s; 
}

.ordenBaPro {
    font-family: "Rubik", sans-serif;
    font-weight: 600;
    text-align: center;
    color: #2563eb;
    margin-bottom: 0px;
    border-right: 1px solid #c7d4f8;
    border-left: 1px solid #c7d4f8;
    border-top: 1px solid #c7d4f8;
    padding: 8px 12px;
    background-color: #e6eeff;
    box-shadow: 0 2px 8px rgba(60, 80, 200, 0.08);
    transition: background-color 0.3s, box-shadow 0.3s;
}

.numeroDeEnvioGeneradoBNA a {
    color: inherit; 
    text-decoration: none; 
    font-weight: 500; 
}

.numeroDeEnvioGeneradoBNA a:hover {
    text-decoration: underline;
    color: #2980b9; 
}

/* MODAL ANDESMAR */
/* Contenedor principal de la línea de tiempo */
.timeline-container {
    display: flex;
    flex-direction: column;
    margin: 20px 0;
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    border: 1px solid #ebebeb;
}

/* Contenedor de información superior (detalles de la guía, estado, etc.) */
.info-container {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0px 8px rgba(0, 0, 0, 0.215);
}

.info-container h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: cornflowerblue; /* Azul estilo iOS */
    margin-bottom: 5px;
    margin-top: 10px;
}

.info-container p {
    font-size: 0.95rem;
    color: #333;
    margin: 5px 0;
    line-height: 1.6;
}

/* Estilo de títulos secundarios */
.info-container h6 {
    font-size: 1rem;
    font-weight: bold;
    color: #555;
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 2px solid cornflowerblue;
    padding-bottom: 5px;
}

/* Estilo para la línea de tiempo */
.timeline {
    position: relative;
    padding-left: 20px;
    list-style: none;
    margin: 20px 0;
    width: 100%;
}

/* Línea vertical */
.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: -20px;
    bottom: 0;
    width: 2px;
    background: cornflowerblue; /* Azul estilo iOS */
}

/* Elementos de la línea de tiempo */
.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    margin: 20px 0;
    width: 100%;
}

.timeline-item:last-child {
    background-color: #fbf7bd;
    border: 2px dotted cornflowerblue; /* Azul estilo iOS */
    padding: 0.3rem;
    border-radius: 0 10px 10px 0;
}

/* Círculo numerado */
.timeline-circle {
    position: absolute;
    left: -25px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: orange; /* Rojo estilo iOS */
    color: #fff;
    border-radius: 10%;
    width: 30px;
    height: 30px;
    font-size: 1rem;
    font-weight: bold;
    z-index: 1;
}

.ios-badge {
    min-width: 28px;
    background-color: #dc3545; 
    color: white; 
    font-size: 1rem;
    font-weight: bold;
    border-radius: 9999px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.timeline-circle.last{
    position: absolute;
    left: -30px;
    background-color:orangered;
    width: fit-content;
    padding-inline: 5px;
}


@media (max-width: 780px) {
    .timeline-content h6 {
        padding-left: 30px;
    }
    
    .timeline-content p {
        padding-left: 30px;
    }
}

/* Contenido de la línea de tiempo */
.timeline-content {
    margin-left: 60px;
    padding-left: 10px;
    width: calc(100% - 40px); /* Restar el espacio ocupado por el círculo */
    border-left: 2px solid transparent;
}

.timeline-content h6 {
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
    color: #000;
}

.timeline-content p {
    font-size: 0.9rem;
    margin: 5px 0;
    color: #666;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        width: 100%; /* Asegurarse de que mantenga el ancho completo en móviles */
    }

    .timeline-circle {
        margin-bottom: 10px;
    }

    .timeline-content {
        margin-left: 0;
        padding-left: 0;
        width: 100%;
    }
}

.historialAndesmar{
    text-transform: uppercase;
    font-family: "Chakra Petch", sans-serif;
    width: fit-content;
    background-color: orangered;
    padding: .3rem;
    border-radius: 10px;
    color: white;
}

.Andesmar-track{
    border: 2px dashed #6394ed;
    border-radius: 10px;
    padding: .3rem;
    overflow: hidden;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* FIN MODAL ANDESMAR */

.import-container {
    margin-bottom: 1rem;
    padding: 1rem;
    border-bottom: cornflowerblue 2px solid;
    border-radius: 15px;
    background: linear-gradient(to top, rgb(183, 207, 250), rgb(221, 232, 252),white, white);
}

.icon-gray {
    color: gray; 
}

.icon-indigo {
    color: indigo; 
}

/* BOTON MARCAR FACTURADO */
.btn-danger:hover .icono {
    content: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-danger:hover .icono::before {
    content: "\F5FF"; 
    font-family: "Bootstrap Icons";
}

/* FIN BOTON MARCAR FACTURADO */

/* SUGERENCIAS BNA */
.suggestions-container {
    font-size: small;
    max-height: 150px; 
    overflow-y: auto;  
    border: none; 
    border-radius: 5px; 
    background-color: white; 
    z-index: 1000; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
}

.list-group-item {
    cursor: pointer; 
}

.list-group-item:hover {
    background-color: cornflowerblue;
    color: white;
}

/* FIN SUGERENCIAS BNA */

.btn-bna-collapse{
    min-height: 35px;
    font-weight: 600;
    font-size: .8rem;
    margin-top: 0 !important;
    border-radius: 15px;
}

.observaciones-btn{
    border-radius: 15px;
    min-height: 35px;
    font-weight: 600;
    font-size: .8rem;
}

.btn-bna-collapse:hover{
    color: whitesmoke !important;
    background-color: #007AFF !important;
    border: 1px solid #0052ab !important;
}

.ios-card-text {
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    margin-bottom: -8px;
    width: 100%;
}

.ios-card-text:nth-child(3) {
margin-bottom: -2px;
}

.ios-card-text:nth-child(1) {
    margin-top: -8px;
    }

.text-content {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ios-icon {
    font-size: 20px;
    color: #007aff;
    margin-right: 10px;
}

.ios-icon2 {
    font-size: 20px;
    color: grey;
}

.ios-icon3 {
    font-size: 26px;
    color: #007aff;
    margin-right: 10px;
}

#direccion-bna .ios-icon.bi-house {
    content: "\f015";
}

#direccion-bna .ios-icon.bi-telephone {
    content: "\f879";
}

#direccion-bna .ios-icon.bi-envelope {
    content: "\f0e0";
}

.ios-card {
    transition: background-color 0.3s, box-shadow 0.3s;
}

.contenedorRemito {
    display: flex;
    align-items: center; /* Alinear verticalmente */
    justify-content: flex-start; /* Alinear horizontalmente al inicio */
}

.contenedorRemito {
    display: flex;
    align-items: center; /* Alinear verticalmente */
    justify-content: flex-start; /* Alinear horizontalmente al inicio */
}

/* SWITCH MEJORADO */
.form-check {
    display: flex;
    justify-content: center;
    flex-direction: column; 
    align-items: center; 
    padding-left: 0 !important;
}

div .form-check {
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
}

.form-check-input {
    width: 50px; /* Ancho aumentado */
    height: 25px; /* Alto aumentado */
    background-color: orangered; /* Color de fondo más atractivo */
    border: solid 2px rgba(128, 128, 128, 0.5); /* Borde más definido */
    border-radius: 50px; /* Bordes redondeados */
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    position: relative; /* Para el pseudo-elemento */
    transition: background-color 0.3s, box-shadow 0.3s; /* Transición suave */
}

.form-check-input:checked {
    background-color: #4caf50; /* Color verde cuando está activo */
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5); /* Sombra verde al activarse */
}

.form-check-input:checked::before {
    transform: translateX(38px); /* Ajustar la posición del círculo */
}

.form-check-input::before {
    content: '';
    position: absolute;
    width: 30px; /* Aumento del ancho del círculo */
    height: 30px; /* Aumento de la altura del círculo */
    background-color: white; /* Color del círculo */
    border: solid 1px grey; /* Borde gris */
    border-radius: 50%; /* Círculo perfecto */
    transition: transform 0.3s; /* Transición suave */
    top: -4px; /* Ajuste de posición */
    left: -8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); /* Sombra más pronunciada */
}

.form-check-inline .form-check-input {
    position: relative !important;
}

.form-check-input[type=checkbox] {
    border-radius: 25px !important;
}

.estado-nombre {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-transform: capitalize;
    text-align: center;
}

.text-success {
    color: green;
}

.form-check-label {
    margin-top: 0 !important; /* Espaciado superior aumentado */
    font-size: 14px; /* Tamaño de fuente aumentado */
    color: #333; /* Color del texto */
    font-weight: bold; /* Texto en negrita */
    cursor: pointer;
    transition: color 0.3s; /* Transición suave para el color */
}

.form-check-label:hover {
    color: #4caf50; /* Color del texto al pasar el ratón */
}
/* FIN SWITCH MEJORADO */

/* Estilo para el alert */
.alert, .alertError {
    position: absolute; /* Cambiar a absolute */
    right: 20px;
    background-color: #28a745; 
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: none; 
    z-index: 1000;
    transition: transform 0.3s ease, opacity 0.3s ease; 
    transform: translateY(20px); 
    opacity: 0; 
}

/* Estilo para el alert */
.alertSku, .alertErrorSku {
    position: relative; /* Cambiar a absolute */
    right: 20px;
    background-color: #28a745; 
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: none; 
    z-index: 1000;
    transition: transform 0.3s ease, opacity 0.3s ease; 
    transform: translateY(20px); 
    opacity: 0; 
}

.alert-danger {
    background-color: red; 
}

.alert.show, .alertError.show {
    display: block; 
    transform: translateY(0); 
    opacity: 1; 
}

.card-text-isSkuIncluded{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.150);
    text-align: center;
    font-size: small;
    border: 1px solid #ccc;
    background-color: #ffeef5;
    color: crimson;
    border-top: 2px solid crimson;
    font-family: "Rubik", sans-serif;
    padding: 2px 5px 15px 5px;
    border-radius: 15px 15px 0 0; 
    margin: 8px 0;
    margin-bottom: -10px;
    margin-top: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); 
}

.card-text-isSkuIncludedPlaceIt {
    text-align: center;
    font-size: small;
    border: 1px solid #ccc;
    background-color: #e5ffe5;
    color: #28831a;
    border-top: 2px solid #28831a;
    font-family: "Rubik", sans-serif;
    padding: 2px 5px 15px 5px;
    border-radius: 15px 15px 0 0; 
    margin: 8px 0;
    margin-bottom: -10px;
    margin-top: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    white-space: nowrap;         
    overflow: hidden;            
    text-overflow: ellipsis;    
}


.card-text-isNotSkuIncludedPlaceIt {
    text-align: center;
    font-size: small;
    border: 1px solid #ccc;
    background-color: #ecf0f1;
    color: orangered;
    border-top: 2px solid orangered;
    font-family: "Rubik", sans-serif;
    padding: 2px 5px 15px 5px;
    border-radius: 15px 15px 0 0; 
    margin: 8px 0;
    margin-bottom: -10px;
    margin-top: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); 
}

.card-text-isSkuIncludedPlaceIt > i{
    font-size: 1.2rem;
    color: #28831a;
}

.card-text-isSkuIncluded > i{
    font-size: 1.2rem;
    color: crimson;
}

.card-text-isNotSkuIncludedPlaceIt > i{
    font-size: 1.2rem;
    color: orangered;
}

/* Estilo específico para alertError */
.alertError {
    background-color: red; 
}

/* Cerrar botón */
.alert .close, .alertError .close {
    cursor: pointer;
    margin-left: 10px;
    font-weight: bold;
    font-size: 18px;
    color: white;
    transition: color 0.3s; 
}

.alert .close:hover, .alertError .close:hover {
    color: #ffcc00; 
}
/* Fin Estilo para el alert */

/* Alertas BNA y MELI */
.custom-alert, .custom-alert-error {
    position: fixed;
    bottom: 110px; /* Colocarlo en la parte superior */
    right: 20px;
    background-color: #28a745; 
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10000000 !important;
    transition: transform 0.3s ease, opacity 0.3s ease; 
    transform: translateY(-20px); /* Cambiar para que baje desde arriba */
    opacity: 0; 
    visibility: hidden; 
}

.custom-alert.show, .custom-alert-error.show {
    transform: translateY(0); 
    opacity: 1; 
    visibility: visible; 
}

.custom-alert-error {
    background-color: red; 
}

.custom-alert .close, .custom-alert-error .close {
    cursor: pointer;
    margin-left: 10px;
    font-weight: bold;
    font-size: 18px;
    color: white;
    transition: color 0.3s; 
}

.custom-alert .close:hover, .custom-alert-error .close:hover {
    color: #ffcc00; 
}
/* Alertas BNA y MELI */

.escaneoColecta{
    margin-right: 5px;
}

.table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.table th, .table td {
    text-align: center; 
    vertical-align: middle; 
    border-bottom: 1px solid #e1e1e1; 
}

.table th {
    background-color: #007aff; 
    color: white;
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap; 
}

.table tbody tr {
    transition: background-color 0.3s, color 0.3s; /* Transición para el efecto hover */
}

.table tbody tr:nth-child(odd) {
    background-color: #f9f9f9; /* Color de fondo para filas impares */
}

.table tbody tr:nth-child(odd):hover {
    background-color: rgba(0, 122, 255, 0.2); /* Azul claro al pasar el ratón en filas impares */
    cursor: pointer;
}

.table tbody tr:nth-child(even) {
    background-color: #ffffff; 
}

.table tbody tr:nth-child(even):hover {
    background-color: rgba(255, 165, 0, 0.3); 
    cursor: pointer;
}

/* Estilo de las celdas */
.table td {
    color: #333; 
}

.modal-content {
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    background-color: #ffffff;
    overflow: hidden;
}

.modal-header {
    border-bottom: none; 
    padding: 16px;
    background-color: #007aff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: white;
}

.modal-body {
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.form-control {
    border-radius: 10px;
    border: 1px solid #007aff; /* Color azul iOS */
    padding: 12px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.btn-outline-secondary {
    color: #007bff; /* Color de texto */
    border-color: #007bff; /* Color del borde */
}

.btn-outline-secondary:hover {
    border-color: orangered; /* Color del borde */
    background-color: white;
    color: orangered;
}

.btn-success {
    background-color: #28a745;
}

.btn-success:hover {
    background-color: #006215; /* Efecto hover */
}

#ingresoForm {
    margin: 0;
    background-color: #ffffff; /* Color de fondo blanco */
    border-radius: 12px; /* Bordes redondeados */
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.132); /* Sombra suave */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; /* Tipografía de iOS */
}

.ingreso-egreso{
    gap: 5px;
}

.table td, .table th{
    border-top: none !important;
}

/* Responsividad para dispositivos móviles */
@media (max-width: 768px) {
    .table th, .table td {
        padding: 8px; /* Espacio en celdas en móviles */
        font-size: 12px;
    }

    .modal-header {
        padding: 10px; /* Ajuste de espacio en el encabezado */
    }

    .modal-title {
        font-size: 14px; /* Ajuste de tamaño del título en móviles */
    }
}

/* FIN TABLA DE ENVIOS */

/* ESTILOS DE TABLAS */

.pendiente-despacho {
    color: red !important;
    font-weight: bold;
    background-color: rgba(255, 200, 47, 0.255);
    font-size: .9rem;
}

.estado-despachado,
.estado-entrega,
.estado-entrega2 {
    color: green !important;
    font-weight: bold;
    background-color: rgba(172, 255, 47, 0.255);
    font-size: 1rem;
    max-width: 600px;
    text-overflow: ellipsis;
}

.estado-entrega2 > i {
    font-size: 1.1rem;
}

.table td, .table th{
    padding: .50rem !important;
}

.subdato-texto1{
    background-color: orange;
    color: white;
    padding: 3px;
    border-radius: 5px;
    font-size: .8rem;
    font-weight: 600;
}

.subdato-texto2 {
    background-color: grey;
    color: white;
    padding: 3px;
    border-radius: 5px;
    font-size: .8rem;
    font-weight: 600;
    white-space: nowrap; 
    overflow-x: auto; 
    display: inline-block;
}

.subdato-texto3{
    background-color: green;
    color: white;
    padding: 3px;
    border-radius: 5px;
    font-size: .8rem;
    font-weight: 600;
    white-space: nowrap; 
    overflow-x: auto; 
    display: inline-block;
}

.subdato-texto4{
    background-color: #007bff;
    color: white;
    padding: 3px;
    border-radius: 5px;
    font-size: .8rem;
    font-weight: 600;
    white-space: nowrap; 
    overflow-x: auto; 
    display: inline-block;
}

.subdato-texto5{
    background-color: red;
    color: white;
    padding: 3px;
    border-radius: 5px;
    font-size: .8rem;
    font-weight: 600;
    white-space: nowrap; 
    overflow-x: auto; 
    display: inline-block;
}

.valor-columna {
    color: green !important;
    font-weight: bold; 
    text-align: right; 
}

.remito-columna{
    font-weight: bold; 
}

.tiempo-transcurrido {
    background-color: #f9f9f9;
    padding: 0.6rem 1.2rem;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
    font-size: 0.9em;
    font-weight: 800;
    color: #2c3e50;
    border: 1px solid #bdc3c7;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    animation: pulse 1.5s infinite;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.tiempo-transcurrido:hover {
    background-color: #eaeaea;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.icono-tiempo {
    margin-right: 5px;
}

#promedioBtn {
    right: 65px;
    bottom: 20px;
    position: fixed;
    background-color: #f9f9f9;
    color: #2c3e50; 
    border: 1px solid #bdc3c7; 
    border-radius: 8px; 
    padding: 0.4rem 0.8rem; 
    transition: background-color 0.3s ease, box-shadow 0.3s ease; 
    white-space: nowrap; 
    z-index: 1000;
}

#sinRevisar {
    right: 65px;
    bottom: 60px;
    position: fixed;
    background-color: #f9f9f9;
    color: #2c3e50; 
    border: 1px solid #bdc3c7; 
    border-radius: 8px; 
    padding: 0.4rem 0.8rem; 
    transition: background-color 0.3s ease, box-shadow 0.3s ease; 
    white-space: nowrap; 
    z-index: 1000;
}

/* TRANSPORTE EN TABLAS */
.img-transporte{
    width: 120px;
}

.btn-mc-os-Check{
    margin-bottom: -12px;
    background-color: white;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.btn-ios {
    display: inline-block;
    border-radius: 5px; 
    overflow: hidden; 
    transition: transform 0.2s ease, box-shadow 0.2s ease; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}

.btn-andreani {
    background: linear-gradient(135deg, #ff4d4d, #ff1a1a); 
    color: white; 
}

.btn-andesmar {
    background: linear-gradient(135deg, #007bff, #0056b3); 
    color: white; 
}

.btn-cds {
    background: linear-gradient(135deg, #0055a9, #03284d); 
    color: white; 
}

.btn-oca2 {
    background: linear-gradient(135deg, #5B2B82, #7A3E99);
    color: white; 
}

.btn-placeit {
    background: linear-gradient(135deg, #0055a9, #7A3E99);
    color: white; 
}

/*.btn-placeit:hover {
    cursor: not-allowed;
}*/

.btn-novogar {
    background: linear-gradient(135deg, #717171, #323232); 
    color: white; 
    font-size: .8rem !important;
}

.btn-novogar2 {
    background: linear-gradient(360deg, #ff8000, #ffb936); /* Tono amarillito ocaco */
    color: black; 
    font-weight: 400;
    font-size: .8rem !important;
}

.btn-ios:hover {
    transform: translateY(-2px); 
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); 
}

.img-transporte {
    width: 100px; 
    height: auto; 
    display: block; 
}
/* FIN TRANSPORTE EN TABLAS */

#porcentajes {
    max-width: 100%;
    overflow-x: auto;
    padding: 12px 20px; 
    border-radius: 10px; 
    color: #333; 
    font-weight: 500; 
    display: flex; 
    align-items: center;
    justify-content: center; 
    cursor: pointer;
    transition: all 0.3s ease; 
}

#andreaniPorcentaje {
    color: #e74c3c; 
    font-weight: 700;
}

#andesmarPorcentaje {
    color: #3498db; 
    font-weight: 700; 
}

.icon-state-ios{
    font-size: large;
}

#data-table th:nth-child(5),
#data-table td:nth-child(5) { 
    overflow: hidden;
    text-overflow: ellipsis; 
    white-space: nowrap;
}

.carrito {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.150);
    text-align: center;
    font-size: small;
    border: 1px solid #ccc;
    background-color: #ecf0f1;
    color: #ef5350;
    border-top: 2px solid #ef5350;
    font-family: "Rubik", sans-serif;
    padding: 2px 5px 15px 5px;
    border-radius: 15px 15px 0 0; 
    margin: 8px 0;
    margin-bottom: -10px;
    margin-top: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); 
}

.puntos {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.150);
    text-align: center;
    font-size: small;
    border: 1px solid #ccc;
    background-color: #e9f6fc;
    color: #1a6b8a;
    border-top: 2px solid #1a6b8a;  
    font-family: "Rubik", sans-serif;
    padding: 2px 5px 15px 5px;
    border-radius: 15px 15px 0 0; 
    margin: 8px 0;
    margin-bottom: -10px;
    margin-top: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); 
}

.puntos-icon {
    margin-right: 10px;
    font-size: 1.5em;
    color: #1a6b8a; 
}

.carrito-icon {
    margin-right: 10px;
    font-size: 1.5em;
    color: #c62828; 
}

.gratuito{
    background-color: orange;
    color: white !important;
    padding: 5px;
    border-radius: 5px;
}

.express-meli{
    background-color: green;
    color: white !important;
    padding: 5px;
    border-radius: 5px;
}

.express-meli2{
    background-color: orangered;
    color:  white !important;
    padding: 5px;
    border-radius: 5px;
}

.express-meli-sub{
    font-weight: 400 !important;
}

.cost-amount.neg { color:#d32f2f; font-weight:700; }

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
  }
  .notification .close {
    cursor: pointer;
  }

/* Estilos del carrusel */
.carousel {
    border: solid 1px cornflowerblue;
    background-color: white; 
    border-radius: 0; 
    margin-bottom: 5px; 
    overflow: hidden;
}

.carousel-control-next, .carousel-control-prev{
    color: cornflowerblue !important;
    background-color: cornflowerblue;
}

.carousel-control-next2{
    border-radius: 0 0px 10px 0;
}

.carousel-control-prev2{
    border-radius: 0px 0 0 10px;
}

.carousel2 {
    border-radius: 0 0 10px 10px;
}

.macos-style-producto-meli{
    font-size: small;
    text-align: start;
    background-color: cornflowerblue;
    color: white;
    padding: 10px;
    border-radius: 10px 10px 0 0;
    z-index: 0;
}
/* Fin Estilos del carrusel */

.macos-style {
    text-align: center;
    background-color: white; 
    padding: 10px 5px 5px; 
    height: 38px;
    border: cornflowerblue solid 1px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: cornflowerblue;
    font-weight: 400;
    margin-top: -15px;
    margin-bottom: -1px;
    font-size: 16px; 
}

.macos-style2 {
    text-align: center;
    background-color: white; 
    padding: 10px 5px 5px; 
    border: cornflowerblue solid 1px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: cornflowerblue;
    font-weight: 400;
    margin-top: -15px;
    margin-bottom: -1px;
    font-size: 16px; 
}

.total-simbel{
    background-color: #c9fbc9;
    border-radius: 5px;
    padding: 5px;
}

.medidas-simbel{
    padding: 5px;
    border: 1px dashed cornflowerblue;
    margin-top: -1px;
    border-radius: 0 !important;
}

.payment-cell {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    background-color: #f7f7f8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.payment-cell:hover {
    background-color: #f0f0f5; 
    transform: scale(1.02); 
}

.payment-cell img {
    width: 55px !important; 
    height: auto;
    margin-right: 3px; 
}

.payment-details {
    font-size: 14px;
    color: #333;
}

/* Nuevo estilo iOS para la columna Producto */
.product-cell {
    padding: 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #444; 
    text-align: left;
    font-size: 12px !important; 
    font-weight: 500; 
    line-height: 1.6;
    transition: background-color 0.3s ease, transform 0.2s ease; 
}

td.product-cell:hover{
    background-color: cornflowerblue;
    color: white !important;
}

td.product-cell:hover::after {
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    content: "Ver Fotos 📷";
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    z-index: 1;
}

/* ===== Columna Valor - chip macOS ===== */

.value-cell {
    padding: 8px 10px;
    text-align: right;
    vertical-align: middle;
    border: none;
}

/* Botón/Chip interno que muestra el total facturable */
.value-cell .value-chip {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;

    padding: 6px 12px;
    border-radius: 999px;

    border: 1px solid rgba(15, 23, 42, 0.06);
    background: #f5f5f7;

    font-family: "Rubik", sans-serif;
    font-size: 0.8rem;
    line-height: 1.2;
    color: #111827;

    cursor: pointer;
    outline: none;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.10s ease;
}

/* Hover / active bien sutil tipo macOS */
@media (hover: hover) {
    .value-cell .value-chip:hover {
        background-color: #eef2ff; /* lavanda suave */
        border-color: rgba(37, 99, 235, 0.35);
        box-shadow: 0 0px 5px rgba(15, 23, 42, 0.18);
    }

    .value-cell .value-chip:active {
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.16);
    }
}

/* Columna izquierda del chip: label + monto */
.value-chip-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.value-chip-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280; /* gris neutro */
}

.value-chip-amount {
    font-weight: 600;
    font-size: 0.9rem;
    color: #059669; /* verde lindo tipo iOS */
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Columna derecha: CTA Ver pago */
.value-chip-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #007aff; /* azul iOS */
    white-space: nowrap;
}

.value-chip-cta i {
    font-size: 0.8rem;
}

/* Cancelamos el overlay viejo feo del td */
td.value-cell:hover {
    background-color: transparent;
    color: inherit !important;
}

td.value-cell:hover::after {
    content: none;
}

/* MODAL COMENTARIOS EN FACTURACION */
.input-group .form-control {
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group .form-control:focus {
    border-color: #007aff; /* Azul iOS */
    box-shadow: 0 0 8px rgba(0, 122, 255, 0.5);
    outline: none;
}

.ios-fact{
    color: white;
    font-size: 25px !important;
}

#alertContainerFacturacion {
    display: block !important;
}

.pill-primary{
    background-color: #34C759;
    color: white;
    padding: 10px;
}

.btn-group-logistica > button{
    font-size: 14px;
    font-weight: 600;
}

.btn-primary-2 {
    color: white;
    font-weight: 400;
    background-color: grey; /* Azul iOS */
    border: none;
    border-radius: 0px;
    padding: 10px 20px;
    font-size: 16px;
    transition: background-color 0.3s ease;
    transition: .5s;
}

.btn-primary-2:hover {
    color: white;
    font-weight: 400;
    background-color: #005bb5; 
}

#alertContainerFacturacion{
    color: green;
    font-weight: 600;
    text-align: center;
    padding: 10px;
}
/* FIN MODAL COMENTARIOS EN FACTURACION */

.open-modal-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 50px;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  .open-modal-button:hover {
    background-color: #0056b3;
  }
  
  .notification {
    border: 1px solid cornflowerblue;
    bottom: 90px;
    position: fixed;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    padding: 15px;
    margin: 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
    z-index: 1000;
}

.filtered-pagination > button{
background-color: orangered;
}

.notification .d-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#notificationMessage{
    padding-right:30px;
}

.notification .close {
    background: none;
    padding: 5px;
    border: none;
    font-size: 1.5rem;
    color: orangered;
    cursor: pointer;
    transition: color 0.2s ease;
    position: absolute;
    top: 5px;
    right: 5px;
}

.notification .close:hover {
    color: #d32f2f;
}

.notification .btn {
    background-color: orangered;
    border: none;
    border-radius: 10px;
    color: #fff;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
}

.notification .btn:hover {
    background-color: #005bb5;
}

.notification .btn .icon {
    margin-right: 8px;
    font-size: 1.2rem;
}

.notification .icon-info {
    color: #007aff;
    margin-right: 10px;
    font-size: 1.5rem;
}
  /* FIN NOTIFICACION DE NUEVAS VENTAS */

  .ios-style-id {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    background-color: #1e90ff;
    padding: 5px 18px;
    border-radius: 12px 12px 0 0;
    text-align: center;
    border: none;
    box-shadow: 0 0px 8px rgba(0, 0, 0, 0.4); 
    transition: background-color 0.3s ease;
    z-index: 1000;
}

.ios-style-id-2 {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    background-color: #1e90ff;
    box-shadow: 0 0px 8px rgba(0, 0, 0, 0.4); 
    border-radius: 5px 5px 0 0;
    padding: 5px 18px;
    text-align: center;
    border: none;
    transition: background-color 0.3s ease;
    z-index: 1000;
}

.ios-style-id:hover {
    background-color: #1c86ee;
}

.ios-style-id-container > select{
    border: 1px solid 1e90ff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.4); 
    margin-bottom: 0 !important;
    border-radius: 0 0 10px 10px !important;
    z-index: 1;
}

.alerta {
    font-size: 13px;
    font-weight: 600;
    color: white;
    background-color: #ff3b30; /* Color inicial del fondo */
    padding: 8px;
    border-radius: 5px;
    border: none;
    text-align: center;
    box-shadow: 0 0px 8px rgba(0, 0, 0, 0.2);
    animation: backgroundBlink 1s ease-in-out infinite alternate;
    transition: transform 0.2s;
}

.alerta:hover {
    transform: scale(1.05);
}

@keyframes backgroundBlink {
    0% { background-color: #ff3b30; } /* Rojo típico de alerta */
    100% { background-color: #a32100; } /* Naranja vibrante */
}

#estadoFilter{
    width: auto;
    margin-bottom: 0;
}

#notificationContainer {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    max-width: max-content; /* Ajusta el ancho máximo según tus necesidades */
}

.notificationModal2 {
    background-color: #28a745; /* Color verde */
    color: white;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.notificationModal2 .close {
    cursor: pointer;
    margin-left: 5px;
    color: red;
}

.ios-select-meli {
    height: 47px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: lightslategray;
    border-radius: 5px !important;
    padding: 10px 20px;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    color: white;
    font-weight: 800;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 100%;
    cursor: pointer;
    border: solid 1px ccc;
}

.ios-select-meli:focus {
    border-color: #007aff;
    box-shadow: 0 0 5px rgba(0, 122, 255, 0.5);
}

.ios-select-meli option {
    padding: 10px;
}

#statusCard {
    border: solid 1px cornflowerblue;
    background-color: rgba(255, 255, 255, 0.851);
    backdrop-filter: blur(10px); 
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1050;
    display: none;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); 
}

#statusCard2 {
    max-width: 350px;
    border: solid 1px cornflowerblue;
    background-color: rgba(255, 255, 255, 0.851); /* Fondo blanco con transparencia */
    backdrop-filter: blur(10px); /* Efecto de desenfoque */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    display: none;
    border-radius: 15px; /* Bordes redondeados */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Sombra más pronunciada */
}

.card-body {
    padding: 20px; /* Padding más amplio */
}
.btn-timer {
    padding: 10px;
    margin-inline-end: 5px; /* Espaciado entre botones */
    border-radius: 5px; /* Bordes redondeados en botones */
}
#timer {
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}

.email-notification1{
    font-size: 1.3rem;
    color: red;
}

.email-notification2{
    font-size: 1.3rem;
    color: green;
}

/* QUERY DE MERCADO LIBRE */

.query-modal-content {
    width: 600px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.query-modal-header {
    border-bottom: none;
    background-color: #f7f7f7;
}

.query-modal-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 1.5rem;
    color: #333;
}

.alerta-query {
    text-align: center;
    background-color: #ffeeba; /* Color de fondo de alerta */
    border-bottom: 5px solid #ffc107; /* Color de borde */
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #856404; /* Color del texto */
}

.query-btn-prepararME1,
.query-btn-prepararME2 {
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 1rem;
    width: 45%; /* Ajusta el ancho de los botones */
}

.btn-ios-success {
    background-color: #4CAF50; /* Verde */
    border: none;
    color: white;
    transition: .5s;
}

.btn-ios-danger {
    background-color: #F44336; /* Rojo */
    border: none;
    color: white;
    transition: .5s;
}

.btn-ios-danger:hover {
    color: white;
}

.btn-ios-success:hover {
    color: white;
}

.contenedor-botones-meli{
margin-bottom: 40px;
}

#spinner3 {
    display: none;
    border: 8px solid #f3f3f3; /* Color de fondo */
    border-top: 8px solid orangered; /* Color del spinner */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: auto;
}

.botonImpresion .btn-mark{
    margin-top: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cantidad-Meli {
    max-width:  80px !important;
    color: white !important;
    background-color: red;
    font-weight: 900;
    font-size: 1.2rem !important; /* Tamaño de letra más grande */
    text-align: center;
}

.SKU-Meli {
    text-wrap: wrap !important;
    color: #333; 
    font-weight: 700; 
    font-size: small; 
    text-align: center; 
    padding: 5px;
    border-radius: 5px; 
    background-color: #f0f0f0; 
}

td.SKU-Meli{
   max-width: 100px !important;
   font-size: small;
   text-wrap: wrap;
}

td.imagen-Meli {
    padding: 0 !important;
    max-width: 120px; 
    overflow: hidden; 
    text-align: center; 
}

td.imagen-Meli img {
    height: auto; 
}

.producto-Meli {
    font-size: small;
    max-width: 220px;
    color: #333; 
    font-weight: 500; 
    font-size: 1rem; 
    text-align: left; 
    padding: 5px; 
    border-radius: 5px; 
    background-color: #f0f0f0;
}

.table-striped > thead > tr > th{
    background-color: #000;
    border-radius: 0px !important;
    font-size: 1rem !important;
}

.select-imprimir {
    font-weight: 900;
    width: min-content;
    background-color: #000;
    color: #0051cb;
    background-color: transparent; /* Fondo transparente */
    border: none; /* Sin borde */
    padding: 5px; /* Espaciado interno */
    font-size: 12px; /* Tamaño de fuente */
    cursor: pointer; /* Cambia el cursor al pasar por encima */
}

.card-facturacion-meli {
    border: 1px solid #d0d0d0;
    border-radius: 12px 12px 5px 5px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background-color: #ffffff; /* Fondo blanco para un look limpio */
}

.card-header-facturacion-meli {
    border-radius: 12px 12px 0 0;
    background-color: #007aff; /* Azul similar al de Apple */
    color: white;
    padding: 12px;
    font-weight: bold;
    font-size: 1.1rem; /* Aumentar el tamaño de la fuente */
    border-bottom: 1px solid #d0d0d0;
}

.card-header-facturacion-meli-presea {
    border-radius: 12px 12px 0 0;
    background-color: #a75cb6; /* Color morado */
    color: white;
    padding: 12px;
    font-weight: bold;
    font-size: 1.1rem; /* Aumentar el tamaño de la fuente */
    border-bottom: 1px solid #d0d0d0;
}

.card-body-facturacion-meli {
    padding: 20px;
}

div .card-body-facturacion-meli input, select, textarea {
    margin-bottom: 0px !important ;
    border-radius: 0 0 5px 5px !important;
}

.contenedorDatosCliente > input, .doble-tel-remito > input, .label-mensaje-personalizado, #respuestaNegativa, #respuesta2{
    margin-bottom: 2px;
}

input[disabled] {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}
.btn-primary.success {
    background-color: #28a745;
    border-color: #28a745;
}

.oculto{
    display:  none;
}

.card-body-facturacion-meli div div label{
    margin-bottom: 0 !important;
    font-size: .8rem;
    background-color: rgb(211, 226, 253);
    color: rgb(81, 81, 81);
    border-radius: 5px 5px 0 0;
    padding: 3px;
    border: 1px solid #ccc;
    border-bottom: none;
}

#passwordModal{
    z-index: 10000000;
}

.contenedor-switches {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white; /* Color de fondo claro */
    border: 1px solid #ccc; /* Borde gris claro */
    border-radius: 0 0 0px 0px; /* Bordes redondeados */
    padding: 15px; /* Espaciado interno */
    padding-top: 2px;
    padding-bottom: 0px;
    margin-top: -5px !important;
}

.contenedor-switches div{
    justify-content: center;
    align-items: center;
}

.no-data {
    font-size: 1.2rem !important;
    color: gray !important;
    font-weight: 800;
    text-align: center;
    margin-top: 20px;
}


:root {
  /* Tokens estilo macOS */
  --accent-blue: #0a84ff;   /* Azul macOS */
  --accent-green: #30d158;  /* Verde macOS */
  --accent-red: #ff453a;
  --accent-yellow: #ffd60a;
  --accent-cyan: #64d2ff;

  --surface: rgba(255, 255, 255, 0.65);
  --surface-strong: rgba(255, 255, 255, 0.92); /* para fixed: más legible */
  --border: rgba(0, 0, 0, 0.06);
  --text: #1d1d1f;
  --shadow: 0 6px 20px rgba(0,0,0,.15);
  --radius: 16px;
  --blur: 10px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: rgba(22,22,24,0.55);
    --surface-strong: rgba(22,22,24,0.85);
    --border: rgba(255,255,255,0.12);
    --text: #f5f5f7;
    --shadow: 0 8px 30px rgba(0,0,0,.45);
  }
}

/* Contenedor */
.contadores {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: stretch;
}

/* Base unificada */
.counter,
.counterfila,
.fixed-counter,
.fixed-counter2 {
  --accent: var(--accent-blue);

  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  font-weight: 600;

  backdrop-filter: saturate(1.1) blur(var(--blur));
  -webkit-backdrop-filter: saturate(1.1) blur(var(--blur));

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);

  color: var(--text);
  padding: 14px 20px;
  text-align: center;
  font-size: 18px;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  text-shadow: none;
}

.counter:hover,
.counterfila:hover,
.fixed-counter:hover,
.fixed-counter2:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,.18);
  cursor: pointer;
}

/* Acento sutil: punto a la izquierda */
.counter::before,
.counterfila::before,
.fixed-counter::before,
.fixed-counter2::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.03) inset;
}

/* Variantes */
.counter { --accent: var(--accent-blue); font-weight: 700; }
.counterfila { --accent: var(--accent-green); font-weight: 700; }

/* Mejor contraste cuando están fijos abajo */
.fixed-counter,
.fixed-counter2 {
  position: fixed;
  left: 25px;
  z-index: 1000;

  background: var(--surface-strong);      /* menos transparencia */
  border-color: var(--border);             /* fallback */
  /* Si el navegador soporta color-mix, añade un halo sutil del acento */
  border-color: color-mix(in oklab, var(--accent) 22%, var(--border));
  box-shadow:
    0 8px 28px rgba(0,0,0,.28),
    0 0 0 1px color-mix(in oklab, var(--accent) 25%, transparent);

  /* un pelín de text-shadow para legibilidad sobre fondos complejos */
  text-shadow: 0 1px 0 rgba(255,255,255,.25);
}
@media (prefers-color-scheme: dark) {
  .fixed-counter,
  .fixed-counter2 { text-shadow: 0 1px 0 rgba(0,0,0,.35); }
}

.fixed-counter  { bottom: 20px; }
.fixed-counter2 { bottom: 100px; margin-bottom: -15px; }

/* Iconos NEUTROS: toman el color del texto (sin colores chillones) */
.counter .icon,
.counterfila .icon,
.fixed-counter .icon,
.fixed-counter2 .icon {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  display: inline-block;
  margin-right: 6px;
  color: currentColor;
  opacity: .9;
}
/* Forzar inline SVG a heredar color */
.counter .icon *,
.counterfila .icon *,
.fixed-counter .icon *,
.fixed-counter2 .icon * {
  fill: currentColor !important;
  stroke: currentColor !important;
}

/* Tipografías internas */
.counter .value,
.counterfila .value {
  font-size: 22px;
  font-weight: 750;
}
.counter .label,
.counterfila .label {
  font-size: 12px;
  opacity: .75;
  margin-left: 6px;
}

/* Estados opcionales (por si necesitás semáforos) */
.counter.is-danger { --accent: var(--accent-red); }
.counter.is-warning { --accent: var(--accent-yellow); }
.counter.is-info    { --accent: var(--accent-cyan); }

/* Variante más sólida si querés aún menos transparencia en cualquier estado */
.counter.is-solid,
.counterfila.is-solid {
  background: var(--surface-strong);
  border-color: var(--border);
}

/* Compacto en mobile */
@media (max-width: 560px) {
  .counter,
  .counterfila,
  .fixed-counter,
  .fixed-counter2 {
    font-size: 16px;
    padding: 12px 14px;
    gap: 8px;
  }
  .counter .value,
  .counterfila .value { font-size: 20px; }
}

.rotate {
    animation: rotation 1s infinite linear;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#sku-control-Meli{
    font-weight: 800;
}

.contador-container2 {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.contador2 {
    flex: 1;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    font-size: 1.3rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#contadorPreparados {
    background-color: #28a745;
    color: white;
    margin-right: 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

#contadorPreparados:hover {
    background-color: #218838;
    transform: scale(1.05);
}

#contadorSinPreparar {
    background-color: #dc3545;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

#contadorSinPreparar:hover {
    background-color: #c82333;
    transform: scale(1.05);
}

.alertContador {
    background: linear-gradient(190deg, rgba(255, 77, 77, 0.8), rgba(255, 26, 26, 0.8));
    color: white;
    margin-bottom: -10px !important;
    padding: 8px 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    margin: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.alertContador i {
    margin-right: 8px;
    margin-left: 4px;
}

.contador2 span {
    font-weight: bold;
}

.message{
    display: flex;
    align-items: center;
    justify-content: center;
}

.alerta-card-andesmar {
    position: relative;
    margin-bottom: 5px;
    margin-top: -5px;
    background-color: white; 
    border: 1px solid #d1d1d6;
    border-radius: 5px;
    display: flex; 
    align-items: center; 
    z-index: 10;
}

/* Estilo del círculo rojo */
.alerta-card-andesmar .circle {
    width: 10px; 
    height: 10px; 
    border-radius: 50%; 
    background-color: crimson; 
    margin-right: 10px; 
    animation: pulse-circle 1.5s infinite;
}

/* Animación del círculo */
@keyframes pulse-circle {
    0% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.9); /* Rojo intenso */
    }
    50% {
        transform: scale(1.7);
        box-shadow: 0 0 40px rgba(255, 0, 0, 1); /* Rojo más brillante */
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.9); /* Rojo intenso */
    }
}

#click{
    width: 30px;
}

.alerta-card-andesmar .message {
    padding: 5px;
    font-size: .9rem;
    font-weight: 600;
    color: crimson;
}

#modalFecha {
    display: block; 
    color: crimson; 
    margin-bottom: 10px; 
}

#modalAsunto {
    font-size: 1rem; 
    font-weight: bold; 
    margin-bottom: 15px; 
}

#modalCuerpo {
    font-size: 1rem; 
    line-height: 1.5; 
}

.div-mini-email{
    border: crimson dashed 2px;
    padding: 20px;
    border-radius: 10px;
}

.sku-modal-header {
    background-color: #f0f0f5;
    border-bottom: 1px solid #ccc;
}
.sku-modal-title {
    font-weight: bold;
    color: #333;
}
.sku-input-group {
    display: flex;
    align-items: stretch; 
}
.sku-input , #newEmailPorLogistica {
    border-radius: 10px 0px 0px 10px !important;
    flex: 1;
    margin-right: 0;
    height: 48px !important; 
}
#addSkuButton, #addSkuButtonPlaceIt, #addEmailPorLogistica {
    border-radius: 0px 10px 10px 0px !important;
    height: 48px !important; 
}

.sku-spinner {
    margin-top: 10px;
    text-align: center; 
}

.sku-spinner {
    width: 2rem;  
    height: 2rem; 
    border-width: 0.4rem;
    color: orangered; 
}


.sku-table {
    margin-top: 15px;
}
.sku-table th, .sku-table td {
    text-align: center;
}

/* CALENDARIO */

.mc-os-modal-content {
    background-color: #f0f0f0;
    border-radius: 10px;
    border: none;
}
.mc-os-modal-header {
    background-color: #007bff;
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.mc-os-close {
    color: white;
}
.mc-os-dia{
    margin-bottom: -5px;
    align-items: center;
    justify-content: center;
    display: flex;
    padding: 5px;
    border-radius: 10px 10px 0 0;
    background-color: cornflowerblue;
    color: white;
}
.mc-os-circle {
    display: inline-block;
    border: 1px solid white;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    margin-right: 5px;
}
.mc-os-circle-red {
    background-color: red;
}
.mc-os-circle-blue {
    background-color: orange;
}
.mc-os-select {
    border-radius: 0 0 10px 10px !important;
}
.mc-os-calendar {
    border: solid cornflowerblue 2px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: white;
    border-radius: 0 0 10px 10px;
    padding: 10px;
    margin-top: 10px;
}
.mc-os-calendar > .font-weight-bold{
    color: cornflowerblue;
    margin-top: -10px;
}
.mc-os-calendar div {
    width: 14.28%;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    border: solid #ffff 1px;
}

.btn-group-cp > button{
    font-size: 13px;
}

.mc-os-calendar .mc-os-day-red {
    background-color: red;
    color: white;
}

.mc-os-calendar .mc-os-day-blue {
    background-color: blue;
    color: white;
}

.mc-os-calendar .mc-os-day-green {
    background-color: green;
    color: white;
}

.mc-os-calendar .mc-os-day-lila {
    background-color: #800080;
    color: white;
}

.mc-os-calendar .mc-os-day-red.past,
.mc-os-calendar .mc-os-day-blue.past,
.mc-os-calendar .mc-os-day-green.past,
.mc-os-calendar .mc-os-day-lila.past,
.mc-os-calendar .mc-os-day-all.past,
.mc-os-calendar .mc-os-day-sannicolas-bsas-santafe-rafaela.past,
.mc-os-calendar .mc-os-day-sannicolas-bsas-santafe.past,
.mc-os-calendar .mc-os-day-sannicolas-bsas-rafaela.past,
.mc-os-calendar .mc-os-day-sannicolas-santafe-rafaela.past,
.mc-os-calendar .mc-os-day-bsas-santafe-rafaela.past,
.mc-os-calendar .mc-os-day-sannicolas-bsas.past,
.mc-os-calendar .mc-os-day-sannicolas-santafe.past,
.mc-os-calendar .mc-os-day-sannicolas-rafaela.past,
.mc-os-calendar .mc-os-day-bsas-santafe.past,
.mc-os-calendar .mc-os-day-bsas-rafaela.past,
.mc-os-calendar .mc-os-day-santafe-rafaela.past {
    opacity: 0.5;
}

.mc-os-circle-green {
    background-color: green;
}

.mc-os-circle-lila {
    background-color: #800080; /* Lila */
}

.mc-os-day-all {
    background: linear-gradient(to right, #800080 25%, red 25% 50%, blue 50% 75%, green 75%);
    color: white;
}

.mc-os-day-sannicolas-bsas-santafe-rafaela {
    background: linear-gradient(to right, #800080 25%, red 25% 50%, blue 50% 75%, green 75%);
    color: white;
}

.mc-os-day-sannicolas-bsas-santafe {
    background: linear-gradient(to right, #800080 33.33%, red 33.33% 66.66%, blue 66.66%);
    color: white;
}

.mc-os-day-sannicolas-bsas-rafaela {
    background: linear-gradient(to right, #800080 33.33%, red 33.33% 66.66%, green 66.66%);
    color: white;
}

.mc-os-day-sannicolas-santafe-rafaela {
    background: linear-gradient(to right, #800080 33.33%, blue 33.33% 66.66%, green 66.66%);
    color: white;
}

.mc-os-day-bsas-santafe-rafaela {
    background: linear-gradient(to right, red 33.33%, blue 33.33% 66.66%, green 66.66%);
    color: white;
}

.mc-os-day-sannicolas-bsas {
    background: linear-gradient(to right, #800080 50%, red 50%);
    color: white;
}

.mc-os-day-sannicolas-santafe {
    background: linear-gradient(to right, #800080 50%, blue 50%);
    color: white;
}

.mc-os-day-sannicolas-rafaela {
    background: linear-gradient(to right, #800080 50%, green 50%);
    color: white;
}

.mc-os-day-bsas-santafe {
    background: linear-gradient(to right, red 50%, blue 50%);
    color: white;
}

.mc-os-day-bsas-rafaela {
    background: linear-gradient(to right, red 50%, green 50%);
    color: white;
}

.mc-os-day-santafe-rafaela {
    background: linear-gradient(to right, blue 50%, green 50%);
    color: white;
}

.mc-os-btn {
    background-color: #007bff;
    color: white;
}
.mc-os-month {
    background-color: cornflowerblue;
    padding: 10px;
    color: white;
    border-radius: 10px 10px 0 0;
    margin-top: 10px;
    margin-bottom: -20px;
    font-size: 1.25rem;
    font-weight: bold;
}

.modal-select-logistica{
    display: flex;
}

.modal-select-logistica div{
    padding: 0 5px 0 5px;
    margin-top: 0;
}
/* MODAL LOCALIDADES MELI */

/* MODAL CODIGO POSTAL */
.cp-custom-alert {
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    position: relative;
    z-index: 1000;
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
}
.cp-custom-alert-info-principal {
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}

.cp-custom-alert-info {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.cp-custom-alert-success {
    color: #ffffff;
    background-color: #4cd964;
    border-color: #4cd964;
}

.cp-custom-alert-danger {
    color: #ffffff;
    background-color: #ff3b30;
    border-color: #ff3b30;
}

#cp-alertContainer {
    position: relative;
    margin-top: 10px;
}
/* FIN MODAL CODIGO POSTAL */

.AlertCalendario {
    background-color: #E3F9E5;
    color: #003300;
    border: 1px solid #B5E8B5;
    border-radius: 12px;
    padding: 10px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    text-align: center;
    margin-bottom: 5px;
    margin-top: -10px;
}

#consoleOutput{
    border-radius: 10px;
    border: 1px solid cornflowerblue !important;
}

.alert-modal-logRosario {
    background-color: orangered;
    font-size: small;
    text-align: center;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    padding: 5px;
    align-items: center;
    color: whitesmoke;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.alert-modal-logRosario i {
    text-align: center;
    margin-right: 8px;
    color: yellow;
    font-size: 20px;
}

.Alert33{
    padding: 10px;
    border-radius: 5px;
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.Alert34 {
    padding: 10px;
    border-radius: 5px;
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}

.custom-spinner33 {
    border-width: 0.6em;
}

@media (max-width: 768px) {
    .estado-column {
        min-width: 300px !important;
    }
}

@media (max-width: 1200px) {
    .estado-column {
        min-width: 400px;
    }
}

.Alert35 {
    padding: 10px;
    border-radius: 5px;
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.Alert36 {
    padding: 10px;
    border-radius: 5px;
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.progress {
    height: 20px;
    margin-top: 10px;
}

.progress-bar {
    background-color: #17a2b8;
}

.custom-spinner333 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hidden {
    display: none; /* Oculta el elemento */
}

.historial-list-group-item {
    background-color: #007bff;
    color: white;
    border-radius: 0;
    padding: 10px 15px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.historial-list-group-item:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.text-bg-primary {
    padding: 10px;
    background-color: green;
    color: white;
}

.text-bg-primary:hover {
    padding: 10px;
    background-color: #155724;
    color: white;
}

.text-bg-danger {
    padding: 10px;
    background-color: orangered;
    color: white;
}

.historial-list-group-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    padding: 10px 15px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.historial-list-group-item:hover {
    background-color: #e0f7fa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#current-month{
    margin-top: -0px;
}

.historial-fw-bold {
    background-color: #6841ea;
    padding: 5px;
    border-radius: 5px;
    color: whitesmoke !important;
    width: fit-content;
    font-weight: bold;
}

.list-group-item-primary{
    border-radius: 0;
}

.historial-ms-2 {
    margin-left: 0.5rem;
}

.historial-me-auto {
    margin-right: auto;
}

.historial-strong {
    color: #007aff;
}

.historial-list-group-item div {
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

#fechasList .list-group-item{
    font-size: 13px;
}

#fechasList .list-group-item:nth-child(1){
    font-weight: 700;
    background-color: pink;
}

#fechasList .list-group-item:nth-child(1):hover{
    font-weight: 700;
    color: white;
    background-color: #FF69B4;
}

.etiquetaList .list-group-item:nth-child(1) > .badge {
    background-color: orangered;
}

.etiquetaList .list-group-item:nth-child(1) {
    background-color: #fed4cf;
}

.fixed-size {
    margin-left: 2px;
    width: 38.8px;
    height: 37.2px;
}

.fixed-size i, .fixed-size .spinner-border {
    width: 19.2px; 
    height: 19.2px; 
}

.etiquetaList > .list-group-item > .btn > i{
    width: 19.2px; 
    height: 19.2px; 
}

.etiquetaList .list-group-item:nth-child(1):hover {
    background-color: #fdb1d3;
    color: black;
}

#fechasList .list-group-item:nth-child(1)::after {
    content: "Último";
    background-color: red;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-left: 10px;
    display: inline-block;
}

.loader33 {
    color: #3c44ff;
    font-size: 10px;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: absolute;
    text-indent: -9999em;
    z-index: 100000;
    animation: mulShdSpin 1.3s infinite linear;
    transform: translateZ(0);
  }
  
  @keyframes mulShdSpin {
    0%,
    100% {
      box-shadow: 0 -3em 0 0.2em, 
      2em -2em 0 0em, 3em 0 0 -1em, 
      2em 2em 0 -1em, 0 3em 0 -1em, 
      -2em 2em 0 -1em, -3em 0 0 -1em, 
      -2em -2em 0 0;
    }
    12.5% {
      box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 
      3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, 
      -2em 2em 0 -1em, -3em 0 0 -1em, 
      -2em -2em 0 -1em;
    }
    25% {
      box-shadow: 0 -3em 0 -0.5em, 
      2em -2em 0 0, 3em 0 0 0.2em, 
      2em 2em 0 0, 0 3em 0 -1em, 
      -2em 2em 0 -1em, -3em 0 0 -1em, 
      -2em -2em 0 -1em;
    }
    37.5% {
      box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em,
       3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, 
       -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }
    50% {
      box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em,
       3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, 
       -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }
    62.5% {
      box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em,
       3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, 
       -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
    }
    75% {
      box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 
      3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, 
      -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
    }
    87.5% {
      box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 
      3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, 
      -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
    }
  }

.time-etiquetas-container {
    background-color: cornflowerblue;
    padding: 5px;
    font-weight: 400;
    border-radius: 5px;
    color: white;
}

/* Media query para dispositivos móviles */
@media (max-width: 768px) {
    .time-etiquetas-container {
        font-size: 0.5em;
    }
}

#logContainer {
    margin-top: 0px;
    border-radius: 12px; 
    background-color: #f0f0f5; 
    color: #333333; 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; /* Fuente más moderna */
    display: none;
    max-height: 150px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #d1d1d6; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
    position: relative;
}

#logContainer div {
    white-space: pre-wrap;
    font-size: 14px;
    line-height: 1.6; 
}

#logContainer div:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.05); 
    padding: 5px;
    border-radius: 8px; 
}

#logContainer div:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
    padding: 5px;
    border-radius: 8px; 
}

#commentDiv {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000000;
}

.comment-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.comment-container {
    width: 85%;
    max-width: 500px;
    background-color: rgba(255, 255, 255, 0.9) !important;
    border: 2px dashed #007bff;
    padding: 1rem;
    margin-right: 10px;
    border-radius: 15px;
    box-shadow: 0 0px 12px rgba(0, 0, 0, 0.5); /* Sombra negra */
}

#commentTextarea {
    background-color: white;
}

.comentario-meli-titulo{
    background-color: cornflowerblue;
    padding: 5px;
    border-radius: 10px;
    width: fit-content;
    color: white;
    font-weight: 700;
}

.spinner-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px; 
    transform: translate(-50%, -50%); 
    z-index: 1; 
    pointer-events: none; 
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.button-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
}

.button-container-cds {
    display: flex;
    align-items: flex-start; 
}

.button-container-cds > button {
    text-align: center;
    text-align: center;
    margin-right: 4px;
    height: 48px;
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}

.btn-dark-blue {
    background-color: #003366; 
    color: white;
    border: none;
}

.btn-dark-blue:disabled {
    background-color: #003366;
    color: white;
    opacity: 0.6;
    cursor: not-allowed;
}

button.btn.disabled, .btn:disabled {
    cursor: not-allowed !important;
}

.btn[disabled] {
    cursor: not-allowed !important;
}

.btn-dark-blue:hover {
    background-color: #03284d; 
    color: white;
}

.btn-oca {
    background-color: #5B2B82; 
    color: white;
    border: none;
}

.btn-oca:disabled {
    background-color: #5B2B82;
    color: white;
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-oca:hover {
    background-color: #45176a; 
    color: white;
}

.button-icon {
    width: 25px; 
    height: 25px; 
    margin-right: 8px; 
    vertical-align: middle;
}

.correo-mini{
    border: 1px solid grey;
    background-color: #2f399b;
    padding: 5px;
    border-radius: 5px;
    width: fit-content;
}

.correo-mini > img{
    width: 40px;
}

.select-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 10px;
    background: linear-gradient(180deg, #a9c8ff, #f0f0f5); 
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #688bf3;
}

.select-item {
    display: flex;
    flex-direction: column;
}

.macos-button-porcentaje {
    right: 65px;
    bottom: 70px;
    position: fixed;
    background-color: #f9f9f9;
    color: #2c3e50; 
    border: 1px solid #bdc3c7; 
    border-radius: 8px; 
    padding: 0.4rem 0.8rem; 
    transition: background-color 0.3s ease, box-shadow 0.3s ease; 
    white-space: nowrap; 
    z-index: 1000;
}

.pill-preparacion{
    color: red;
    font-weight: 600 !important;
}

.percentage-card {
    flex: 1 0 auto;
    max-width: 200px;
    background: linear-gradient(to bottom, #f9f9f9, #e1e8f0);
    border: 1px solid #d0d0d0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #2c3e50;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    margin-bottom: 15px;
}

.percentage-card:hover {
    background: linear-gradient(to bottom, #e1e8f0, #f9f9f9);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 762px) {
    .percentage-card {
        max-width: none;
        width: 100%;
        margin: 10px 0;
    }
}

@media (max-width: 762px) {
    #porcentajes, .estadisticas-header {
        display: none !important; 
    }
}


.percentage-card h2 {
    font-size: 1.5em;
    margin: 0;
}

.percentage-card p {
    font-size: 1em;
    color: #7f8c8d;
}

.percentage-card img {
    width: 50px;
}

.conteo{
    display: flex;
    justify-content: center;
    justify-items: center;
    width: fit-content !important;
    margin: 0 !important;
    padding: 0 !important;
}

.percentage-card:nth-child(1):hover {
    background: linear-gradient(to bottom, #ffffff, rgba(220, 53, 69, 0.7));
}

.percentage-card:nth-child(2):hover {
    background: linear-gradient(to bottom, #ffffff, rgba(0, 123, 255, 0.7));
}

.percentage-card:nth-child(3):hover {
    background: linear-gradient(to bottom, #ffffff, rgba(0, 51, 102, 0.7));
}

.percentage-card:nth-child(4):hover {
    background: linear-gradient(to bottom, #ffffff, rgba(91, 43, 130, 0.7));
}

.percentage-card:nth-child(5):hover {
    background: linear-gradient(to bottom, #ffffff, rgba(255, 0, 120, 0.7));
}

.percentage-card2:hover{
    background: linear-gradient(to bottom, #ffffff, rgba(0, 51, 102, 0.5))!important;
}

.conteo-Andreani{
    background-color: rgba(0, 51, 102, 0.7);
    padding: 5px;
    border-radius: 5px;
    color: white;
}

.conteo-andesmar{
    background-color: rgba(0, 51, 102, 0.7);
    padding: 5px;
    border-radius: 5px;
    color: white;
}

.conteo-cds{
    background-color: rgba(0, 51, 102, 0.7);
    padding: 5px;
    border-radius: 5px;
    color: white;
}

.conteo-oca{
    background-color: rgba(0, 51, 102, 0.7);
    padding: 5px;
    border-radius: 5px;
    color: white;
}

.conteo-placeit{
    background-color: rgba(0, 51, 102, 0.7);
    padding: 5px;
    border-radius: 5px;
    color: white;
}

.text-purple {
    color: #800080;
}

.pie-chart {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(
        var(--color) calc(var(--percentage) * 1%),
        #e0e0e0 0
    );
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin: 15px auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pie-chart:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.pie-chart::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent; /* Mantener transparente */
    box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 6px solid rgba(255, 255, 255, 0.5); /* Borde interno */
    transform: translate(-50%, -50%);
}

.pie-chart::after {
    content: attr(data-percentage);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.7);
}

.text-dark-blue{
    color: #003366;
}

img.gray-filter {
    width: 160px;
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(50%) contrast(20%);
}

.estadisticas-header {
    text-align: center;
    font-size: 1rem;
    color: grey;
    border-radius: 12px;
    padding: 10px 20px;
    margin-bottom: -20px;
}

/* ALERTA MERCADO LIBRE */
.alert-ios-ml {
    background-color: #f0f0f5;
    border: 1px solid #d0d0d5;
    border-radius: 12px;
    padding: 15px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    margin-top: -8px;
}

.spinner-ios-ml {
    margin-left: 10px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 6px solid grey;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* FIN ALERTA MERCADO LIBRE */

.error-comment{
    width: 35px;
}

.btn-delete-bna{
    position: absolute;
    right: 0;
    border-radius: 15px 0 0 15px;
    border: none;
}

.btn-delete-bna:hover{
    color: yellow;
}

.ios-style-popup {
    border-radius: 20px;
    padding: 20px;
    font-family: 'San Francisco', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.ios-style-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
}

.ios-style-content {
    font-size: 1.1em;
    color: #666;
}

.ios-style-confirm-button {
    background-color: #007aff;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
}

.ios-style-confirm-button:hover {
    background-color: #005bb5;
}

.counter2 {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease; 
}

.counter2:hover {
    transform: scale(1.1); 
}

.counter2.imported {
    background-color: #4caf50; /* Verde */
}

.counter2.existing {
    background-color: #ff9800; /* Naranja */
}

.counter2.skipped {
    background-color: #f44336; /* Rojo */
}

.counter2.changed {
    background-color: #2196f3; /* Azul */
}

.counter2.cancelled {
    background-color: orchid; /* Orquidea */
}

/* Estilo MacOS para SweetAlert2 */
.swal2-macos-popup {
    border-radius: 16px !important;
    padding: 30px !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    background: #f4f4f7; 
}
  
.swal2-macos-title {
    font-size: 1.875em !important;
    color: #333 !important;
    font-weight: 800;
}
  
.swal2-macos-button {
    border-radius: 8px !important;
    padding: 8px 24px !important;
    background-color: #007aff !important;
    color: white !important;
    font-weight: 500;
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ALERTAS FACTURACION MELI */
.alert-ios-meli {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background-color: #f8f9fa;
    color: #212529;
    border: 1px solid #ced4da;
    border-radius: 10px;
    padding: 10px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    z-index: 1050;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
}

.alert-ios-meli i {
    margin-right: 10px;
}

.alert-ios-meli .close-btn {
    background: none;
    border: none;
    color: #212529;
    font-size: 16px;
    margin-left: 10px;
    cursor: pointer;
}
/* ALERTAS FACTURACION MELI */

/* PAGINATION TIENDAS VIRTUALES */
#filtered-pagination {
    padding-left: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    overflow-x: auto; 
    white-space: nowrap;
}

.pagination-button {
    border-top: 1px solid #007aff; 
    border-bottom: 1px solid #007aff; 
    padding: 10px 15px;
    border-radius: 0;
    background-color: white;
    margin-left: -1px;
    color: #007aff; 
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.pagination-button:nth-child(1) {
    border: 1px solid #007aff; 
    border-radius: 10px 0 0 10px;
    font-weight: bolder;
    background-color: #007aff; 
    color: white; 
}

.pagination-button:nth-child(7) {
    border: 1px solid #007aff; 
    border-radius: 0 10px 10px 0;
    font-weight: bolder;
    background-color: #007aff; 
    color: white; 
}

.pagination-button:hover {
    background-color: #0051ba;
    color: white;
    font-weight: bolder;
}

.pagination-button:disabled {
    border: 1px solid #007aff; 
    background-color: #b0d4ff; 
    color: #0051ba; 
    opacity: 0.8;
    font-weight: bolder;
    cursor: not-allowed;
}

.active-page {
    background-color: #0051ba;
    color: yellow;
    font-weight: bolder;
}

.no-data-message{
    color: #0051ba;
}
/* FIN PAGINATION TIENDAS VIRTUALES */

.macos-popup {
    border-radius: 12px;
    background-color: #f0f4f8; 
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.macos-title {
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50; 
    text-align: center; 
}

.input-container {
    display: flex;
    flex-direction: column;
    align-items: center; 
    margin-top: -35px;
}

.macos-input {
    border: 2px solid #007aff;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    margin-bottom: 5px;
    width: 100%; 
    transition: border 0.3s, box-shadow 0.3s;
}

.macos-input:focus {
    border-color: #005bb5; 
    outline: none;
    box-shadow: 0 0 5px rgba(0, 122, 255, 0.5);
}

.input-description {
    font-size: 14px;
    color: #7f8c8d; 
    text-align: center; 
}

.macos-button {
    background-color: #007aff; 
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    width: 100%;
    margin-top: -10px;
}

.macos-button:hover {
    background-color: #005bb5; /* Color más oscuro al pasar el mouse */
    transform: translateY(-1px); /* Efecto de elevación */
}

.swal2-validation-message{
    text-align: center;
    font-size: small;
    font-weight: 600;
}

/* WIFI */
.notification-ios-wifi {
    display: flex;
    flex-direction: column;
    text-align: center;
    max-width: 300PX;
    display: none;
    position: fixed;
    bottom: 20px;
    border: 1px solid orange;
    left: 20px;
    background-color: orangered;
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 0px 8px rgba(0, 0, 0, 0.6);
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.5s;
}

.notification-ios-wifi.blink {
    animation: fadeIn 2s, colorChange 2s infinite alternate;
}

@keyframes colorChange {
    from { background-color: orangered; }
    to { background-color: lightcoral; }
}

.wifi-icon-ios-wifi {
    width: 120px;
    margin-right: 10px;
}

.close-btn-ios-wifi {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
}

.retry-button-ios-wifi {
    background-color: white;
    color: rgba(255, 0, 0, 0.8);
    border: none;
    border-radius: 8px;
    padding: 5px 10px;
    margin-left: 10px;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    transition: background-color 0.3s, color 0.3s;
}

.retry-button-ios-wifi:hover {
    background-color: rgba(255, 0, 0, 0.8);
    color: white;
}

.LogiPaq-wifi{
    font-family: "Titan One", sans-serif;
    font-size: 1.5rem;
    color: yellow;
}
/* FIN WIFI */

/* ALERTA MERCADO LIBRE - Estilo Danger */
.alert-danger-ml {
    text-align: center;
    background-color: #f8d7da; 
    border: 1px solid #f5c6cb; 
    border-radius: 12px;
    padding: 15px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #721c24; 
    margin-top: -8px;
}

.spinner-danger-ml {
    margin-left: 10px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 6px solid #721c24;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 0.8s linear infinite;
}

.alert-ios2-ml {
    background-color: #d4edda; 
    border: 1px solid #c3e6cb;
    border-radius: 12px;
    padding: 15px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #155724; 
    margin-top: -8px;
}

#camera-preview {
    position: relative;
    width: 100%;
    height: 400px; 
    overflow: hidden;
    display: none; 
}

#camera-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

#camera-preview::after {
    content: "Escanea Codigo de Barras";
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%; 
    height: 80%; 
    border: 2px dashed rgba(255, 255, 0, 0.8);
    border-radius: 10px; 
    transform: translate(-50%, -50%); 
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2); 
    color: #fff; 
    font-size: 1.5em; 
    pointer-events: none; 
}

.focus-area-camera {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%; 
    height: 20%; 
    border: 2px dashed #00ff00; 
    transform: translate(-50%, -50%); 
    pointer-events: none; 
    display: block;
}

.modal-content {
    background-color: rgba(255, 255, 255, 0.9);
}

#btnSlack > img{
    width: 25px;
}

.slack-error-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    background-color: #f5c2c7;
    padding: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    border-inline-end: 1px solid #ccc;
    border-inline-start: 1px solid #ccc;
    border-top: 1px solid #ccc;
    border-bottom: none;
}

.slack-error-header {
    text-align: center;
    display: flex;
    align-items: center;
    color: #721c24;
    font-family: "Rubik", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
}

.slack-error-header2 {
    font-size: medium;
    font-family: "Rubik", sans-serif;
    text-align: center;
    display: flex;
    align-items: center;
    color: #2f610b;
    font-weight: 500;
    text-transform: uppercase;
}

.slack-error-logo {
    width: 30px;
    margin-right: 8px;
}

.slack-error-message {
    color: #dc3545;
    text-align: center;
    font-size: 12px;
    font-family: "Rubik", sans-serif;
}

.slack-error-message2 {
    color: green;
    text-align: center;
    font-size: 12px;
    font-family: "Rubik", sans-serif;
}

.card-facturacion-meli {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 15px;
    background-color: #f9f9f9;
    margin: 10px;
}

.mensaje-desconto {
    font-weight: bold;
}

.prettyContainer{
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-meli .input-group-text{
    padding: 2px;
    background-color: #1e90ff;
}

.modal-meli .input-group .input-group-text i{
    font-size: 1rem !important;
}

.modal-meli .input-group{
    border-radius: 8px;
}

#comentarioInput{
    border-radius: 10px !important;
}

.import-spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo difuminado */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000; /* Asegúrate de que esté por encima de otros elementos */
}

.import-spinner-container {
    text-align: center;
}

.import-spinner-progress {
    margin-top: 12px;
    color: #ffffff;
    font-size: 30px;
    font-family: "Rubik", sans-serif !important;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}
  
.spinner-container-colecta {
    position: relative;
    text-align: center;
}

.spinner-gif-colecta {
    width: 100px !important;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

#fecha-tiendas-virtuales {
    position: relative;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 500;
    width: fit-content;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #007aff;
    border: 1px solid rgba(0, 122, 255, 0.3);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    font-family: "San Francisco", "Helvetica Neue", sans-serif;
}

.dropdown-menu {
    z-index: 100000 !important;
}

.disabled {
    cursor: not-allowed !important;
    pointer-events: none !important; 
}

.remitoCardMeli {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    text-align: center;
    padding: 0.5rem;
    width: fit-content;
    border-radius: 10px 10px 0 0;
    border: solid 1px rgb(145, 182, 250);
    color: black; 
    font-size: 1.4rem;
    font-family: "Rubik", sans-serif !important;
    font-weight: 400;
    margin-bottom: 14px !important;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    transition: .5s;
    margin-bottom: -5px !important;
}

.remitoCardMeli:hover{
    color: cornflowerblue;
}

.estadisticas-placeIt1{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #ededed;
    padding: 5px 0 20px 0;
    border-radius: 12px 0 0 12px;
    border: 1px solid #ccc;
}

.estadisticas-placeIt2{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #ededed;
    padding: 5px 0 20px 0;
    border-radius: 0 12px 12px 0;
    border: 1px solid #ccc;
    margin-left: -1px;
}

.estadisticas-pit{
    display: flex;
    justify-content: center;
    align-items: center;
}

.porcentaje-bordes:last-child{
    border-radius: 0 0 10px 10px;
}

.estadisticas-1 {
    margin-bottom: 0;
    background-color: orangered;
    padding: 10px;
    color: white;
    width: fit-content;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.estadisticas-1 i {
    font-size: 20px;
    margin-right: 5px;
}

.estadisticas-2 {
    margin-bottom: 0;
    background-color: green;
    padding: 10px;
    color: white;
    width: fit-content;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.estadisticas-2 i {
    font-size: 20px;
    margin-right: 5px;
}

.alert-modal-placeit {
    font-size: 1rem;
    text-align: center;
    background-color: #f0f0f5;
    padding: 10px;
    border-radius: 12px;
    color: #333;
}

.alert-modal-Pi {
    background-color: #007aff;
    padding: 10px;
    color: white;
    border-radius: 5px;
    width: fit-content;
}

.porcentaje-resaltado {
    font-size: 1.1rem;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Rubik", sans-serif;
    color: #004085;
    background: linear-gradient(to bottom, #e0f0ffcc, #cce5ffcc);
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid #a4d0f5;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    display: inline-block;
    line-height: 1.4;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.badge-envios-total {
    font-size: 1.05rem;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Rubik", sans-serif;
    color: #004085;
    background: linear-gradient(to bottom, #e0f0ffcc, #cce5ffcc);
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid #a4d0f5;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    display: inline-block;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.estadisticas-header{
    font-size: 1rem;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Rubik", sans-serif;
    color: #1c1c1e;
    background: linear-gradient(to bottom, #ffffffcc, #f0f0f5cc);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #d2d2d7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    display: inline-block;
    line-height: 1.4;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.2s ease;
    margin-bottom: 2px;
}

.btn-excel-log {
    font-size: 1.05rem;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Rubik", sans-serif;
    color: #155724; 
    background-color: #d4edda; 
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid #155724; 
    box-shadow: 0 2px 4px rgba(21, 87, 36, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    display: inline-block;
    margin-left: 6px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-excel-log:hover {
    background-color: #c3e6cb;
    transform: scale(1.05);
}

.total-despachos{
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Estilo para la línea de tiempo PlaceIt*/
.timeline {
  position: relative;
  padding-left: 30px;
  margin: 20px 0;
  list-style: none;
  border-left: 0px solid #d1d1d6; 
}

.timeline-placeit {
    position: relative;
    padding-left: 30px;
    margin: 20px 0;
    list-style: none;
    border-left: 0px solid #d1d1d6; 
}

.timeline-placeit-item {
    position: relative;
    margin-bottom: 20px;
    padding-left: 20px;
}

.timeline-placeit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -24px;
    top: -20px;
    width: 30px;
    height: 30px;
    background-color: orangered; 
    border: 1px solid white; 
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
    z-index: 1;
}

/* Ícono de reloj para todos los elementos excepto el último */
.timeline-placeit-item:not(:last-child)::before {
    content: '\f017'; 
    font-family: 'Font Awesome 5 Free';
    font-weight: 900; 
    color: white; 
    display: flex;
    justify-content: center;
    align-items: center;
}


.timeline-placeit-item:last-child::before {
    font-weight: 900; 
    content: ''; 
    color: white;
    background-color: green;
}

.timeline-placeit-item-title {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 5px;
}

.timeline-placeit-item-date {
    font-size: 0.9rem;
}

.timeline-placeit-item-content {
    border-radius: 10px;
    margin-top: 5px;
    font-size: 0.9rem;
}

.timeline-placeit-item-button {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: green;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.timeline-placeit-item-button:hover {
    background-color: #005bb5;
}
/* Fin Estilo para la línea de tiempo */

/* STOCK PRECIO */
.title-stock-tv {
    font-size: 0.9em;
    font-weight: 600;
    color: #1C1C1E;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.icon-title-stock-tv {
    font-size: 0.8em;
    margin-right: 6px;
    color: #8E8E93;
    padding: 5px;
    text-align: center;
}

.status-box-stock-tv {
    text-align: center;
    padding: 3px 12px;
    border-radius: 15px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    background-color: #ecf0f1;
    padding-top: 40px;
    margin-top: -40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); 
    z-index: -1;
}

.status-box-stock-tv-meli {
    text-align: center;
    padding: 3px 12px;
    border-radius: 0 0 15px 15px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid cornflowerblue;
    background-color: #ecf0f1;
    margin-top: -6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); 
    z-index: -1;
}

.icon-stock-tv {
    font-size: 0.9em;
    margin-right: 6px;
}

.status-text-stock-tv {
    font-size: .9rem;
    font-weight: 500;
    margin: 0;
}

.stock-bajo-stock-tv {
    color: #FF3B30;
    font-family: "Rubik", sans-serif;
}

.stock-pi-bajo-stock-tv{
    color: #FF3B30;
    font-family: "Rubik", sans-serif;
}

.sin-stock{
    color: #FF3B30;
    font-family: "Rubik", sans-serif;
}

.stock-normal-stock-tv {
    color: #28831a;
    font-family: "Rubik", sans-serif;
}

.stock-pi-normal-stock-tv {
    color: purple;
    font-family: "Rubik", sans-serif;
}
/* FIN STOCK PRECIO */

.status-box-stock-Facturacion {
    text-align: center;
    padding: 3px 12px;
    display: flex;
    align-items: center;;
    justify-content: center;
    border: 1px solid #ccc;
    background-color: #ecf0f1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    z-index: 0;
    padding-top: 20px;
    margin-top: -15px;
    border-radius: 10px;
}

.status-box-stock-Facturacion-Full {
    text-align: center;
    display: flex;
    align-items: center;;
    justify-content: center;
    border: 1px solid #ccc;
    background-color: #ecf0f1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    z-index: 0;
    padding-top: 20px;
    margin-top: -20px;
    border-radius: 10px;
}

.stock-normal-stock-Facturacion {
    color: #28831a;
    font-family: "Rubik", sans-serif;
    font-size: .75rem;
    font-weight: 400;
}

.stock-pi-normal-stock-Facturacion {
    color: purple;
    font-family: "Rubik", sans-serif;
    font-size: .75rem;
    font-weight: 400;
}

.stock-bajo-stock-Facturacion {
    color: #FF3B30;
    font-family: "Rubik", sans-serif;
    font-size: .7rem;
    font-weight: 400;
}

.stock-pi-bajo-stock-Facturacion {
    color: #FF3B30;
    font-family: "Rubik", sans-serif;
    font-size: .7rem;
    font-weight: 400;
}

.sin-stock-Facturacion{
    color: #FF3B30;
    font-family: "Rubik", sans-serif;
    font-size: .7rem;
    font-weight: 400;
}

#dateRangePicker.flatpickr-input{
    max-width: 250px;
}

.tituloCorreo{
    margin-left: 0 !important;
}

.tituloCorreo2{
    font-size: .8rem;
}

.pie-chart33 {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(
        #28a745 0% var(--paqueteria),
        #dc3545 var(--paqueteria) var(--fin),
        #e9ecef var(--fin) 100%
    );
}

.pie-chart34 {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(
        #ff0078 0% var(--paqueteria),
        #17a2b8 var(--paqueteria) var(--fin),
        #e9ecef var(--fin) 100%
    );
}
  
/* CONTENEDOR POSVENTA */
.mac-cell-posventa {
    margin-top: 5px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: #f8f8f8;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

.mac-cell-posventa .venta-id {
    font-family: "Rubik", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
    color: #333;
    gap: 10px;
    transition: background-color 0.3s, color 0.3s;
}

.mac-cell-posventa .venta-id:hover {
    background-color: rgba(0, 122, 255, 0.1); 
    border-radius: 5px; 
}

.green-clipboard {
    color: #28a745 !important; 
}


.mac-cell-posventa .venta-id i {
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s;
}

.mac-cell-posventa .venta-id i:hover {
    transform: scale(1.2);
}

.icon-user-plus {
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s;
    color: grey !important;
    z-index: 1000;
}

.icon-user-plus:hover {
    transform: scale(1.2);
}

.mac-cell-posventa .estado-select {
    max-width: 250px;
    padding: 6px 10px;
    border-radius: 8px !important;
    border: 1px solid #ccc;
    font-size: 14px;
    background: #fff;
    appearance: none;
    outline: none;
    transition: border-color 0.2s;
}

.mac-cell-posventa .estado-select:focus {
    border-color: #4caf50;
}
/* FIN CONTENEDOR POSVENTA */

/* AVATARS */
.avatar-container {
    position: fixed;
    right: 20px;
    bottom: 200px;
    height: auto;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease, margin-bottom 0.3s ease;
    margin-bottom: -30px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.avatar:hover {
    margin-bottom: 0;
    border: 4px solid orange;
}

.avatar:hover img {
    transform: scale(1.2);
}

/* Avatar seleccionado (el destacado abajo del todo) */
.selected-avatar {
    position: fixed;
    right: 15px;
    bottom: 110px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #32d554;
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    animation: pulseAvatar 2s infinite;
}

/* Efecto de pulso para el avatar seleccionado */
@keyframes pulseAvatar {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 153, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 153, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 153, 255, 0);
    }
}

/* Imagen del avatar */
.selected-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Contenedor relativo para posicionar el indicador */
.selected-avatar-wrapper {
    position: fixed;
    right: 15px;
    bottom: 110px;
    width: max-content;
    height: max-content;
    z-index: 1001;
}

/* Indicador online fuera del avatar */
.online-indicator {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #32d554;
    border: 3px solid white;
    border-radius: 50%;
    bottom: -10px;
    right: -10px;
    animation: pulseOnline 1.5s infinite;
    z-index: 1002;
}

/* Efecto pulsante */
@keyframes pulseOnline {
    0% {
        box-shadow: 0 0 0 0 rgba(50, 213, 84, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(50, 213, 84, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(50, 213, 84, 0);
    }
}

/* Circulito verde (online) */
.online-indicator {
    position: absolute;
    bottom: 0px;
    right: 10px;
    width: 22px;
    height: 22px;
    background-color: #32d554;
    border: 3px solid white;
    border-radius: 50%;
    z-index: 1002;
}
/* FIN AVATARS */

/* AVATARS BURBUJAS */
.bubble-filaDeDatos {
    display: flex;
    flex-direction: column; 
    align-items: flex-start; 
    border-radius: 10px; 
    padding: 5px; 
    z-index: 1000; 
    max-width: 250px; 
    position: absolute; 
    bottom: -20px; 
    left: -90px; 
    margin-left: 80px; 
}

.avatar-filaDeDatos {
    width: 40px;
    height: 40px; 
    border-radius: 50%;
    margin-bottom: 5px; 
    background-color: white; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
    z-index: 10;
}

.mensaje-filaDeDatos {
    font-size: 0.6rem;
    color: white;
    background-color: #4cd964;
    border-radius: 18px 18px 18px 18px;
    padding: 6px 10px;
    text-align: start;
    white-space: nowrap;
    margin-top: -20px;
    margin-left: 39px;
    position: relative;

    /* Efecto bisel leve */
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 1px 2px rgba(0, 0, 0, 0.1);
}

.mensaje-filaDeDatos::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0px;
    width: 0;
    height: 0;
    border: 9px solid transparent;
    border-top: none;
    border-bottom: 9px solid #4cd964; 
    transform: rotate(80deg);
}


.mensaje-filaDeDatos.orange-day::before {
    border-bottom-color: orange;
  }
  
  .mensaje-filaDeDatos.red-day::before {
    border-bottom-color: red;
  }

.orange-day {
    background-color: orange !important;
  }
  
  .red-day {
    background-color: red !important; 
  }
  
/* FIN AVATARS BURBUJAS */

.filtro-menu {
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    padding: 8px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    width: 200px;
    border-radius: 8px;
  }
  
  .oculto {
    display: none;
  }
  
  th {
    position: relative;
  }
  
  #filtro-estado-btn {
    border: none;
    background: none;
    cursor: pointer;
    margin-left: 5px;
  }
  
/* Estilo macOS para el dropdown de skills */
.skill-filter-dropdown .dropdown-menu.custom-skill-menu {
    max-height: 200px;
    overflow-y: auto;
    padding: 0.3rem 0;
    z-index: 1050;
    width: max-content;
    min-width: 100%;
    white-space: nowrap;
    border-radius: 12px 0 0 12px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #dcdcdc;
    backdrop-filter: saturate(180%) blur(20px); /* Estilo macOS */
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.skill-filter-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-radius: 8px;
    text-transform: capitalize;
}

.skill-filter-dropdown .dropdown-item:hover {
    background-color: rgba(0, 122, 255, 0.1) !important;
    color: #007aff !important;
    border: none !important;
    cursor: pointer;
}

.skill-filter-dropdown .dropdown-item input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
    accent-color: #007aff ;
    transform: scale(1.1);
}

.skill-filter-dropdown .dropdown-item > input {
    width: auto !important;
}

.tabla-posventa > thead > tr > th {
    text-align: center;
    vertical-align: middle; 
}

.tabla-posventa > thead > tr > th > .th-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
/* Estilo macOS para el dropdown de skills */

/* Ocultar el encabezado de la columna Stock */
.stock-header {
    display: none;
}

.sku-table2 th:nth-child(2),
.sku-table2 td:nth-child(2) { 
    display: none;
}
/* Ocultar el encabezado de la columna Stock */

/* BOT */
.circuloBot {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: fixed;
    bottom: 120px;
    right: 10px;
    background: radial-gradient(closest-side, white, beige, #F5DEB3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transición suave para el transform y box-shadow */
}

.circuloBot:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25); /* Aumentar la sombra en hover */
}

/* Anillo giratorio azul Apple */
.circuloBot::before {
    content: "";
    position: absolute;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    border: 5px solid lightskyblue;
    border-top: 5px solid #007aff; 
    border-left: 5px solid #007aff;
    animation: spinBorder 2s linear infinite;
    z-index: 1;
    transition: border 0.5s ease;
}

.circuloBot.active::before {
    border: 5px solid lightgreen; 
    border-top: 5px solid #28a745; 
    border-left: 5px solid #28a745; 
}

/* Imagen central del bot */
.imagenBot {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajustar la imagen sin distorsión */
    clip-path: circle(40px at center); /* Recortar la imagen en forma de círculo */
    position: relative;
    z-index: 2;
}

/* Animación del borde */
@keyframes spinBorder {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/* BOT */

/* CHAT BOT */
.chat {
    display: none;
    position: fixed;
    bottom: 210px; 
    right: 10px;
    width: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), inset 0 4px 10px rgba(255, 255, 255, 0.7); 
    animation: slideIn 0.3s ease forwards; 
    z-index: 1001;
}

/* Estilos para pantallas pequeñas (mobile) */
@media (max-width: 600px) {
    .chat {
        width: 100%;
        left: 0;
        right: 0;
        border-radius: 20px 20px 20px 20px;
    }
}

/* Estilos para la cabecera del chat */
.chat-header {
    background: #34c759; 
    color: white;
    padding: 10px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    font-weight: bold;
}

.chat-messageBot {
    max-height: 350px;
    overflow-y: auto; 
    padding: 10px;
    overflow-x: hidden;
}

/* Estilos para los mensajes */
.messageBot {
    border-radius: 18px;
    padding: 12px 18px;
    margin: 8px 0;
    max-width: 85%;
    position: relative;
    font-size: 15px;
    font-weight: 500;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 
                0 4px 10px rgba(0, 0, 0, 0.15);
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.25), rgba(255,255,255,0));
}

/* Mensaje del bot (azul iMessage) */
.bot-messageBot {
    background-color: #0a84ff;
    color: white;
    margin-left: auto;
}

/* Mensaje del usuario (verde iMessage) */
.user-messageBot {
    background-color: #34c759;
    color: white;
    font-weight: bold;
    margin-right: auto;
}

/* Estilos para la entrada de texto y botón */
.chat-input-container {
    display: flex;
    padding: 10px;
}

.chat-input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    height: 40px;
}

.send-button {
    background: #007aff;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    padding: 0 15px;
    cursor: pointer;
    height: 40px;
    display: flex;
    align-items: center;
}

/* Animación de apertura */
@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Animación de cierre */
@keyframes slideOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(20px);
        opacity: 0;
    }
}
/* FIN CHAT BOT */

.contenedor-macos-tipeo {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; 
    justify-content: space-between;
    padding: 8px; 
    background: rgba(250, 250, 250, 0.75);
    border: 1px solid rgba(200, 200, 200, 0.6);
    border-radius: 16px; 
    font-family: "Rubik", sans-serif;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(5px); 
}

.tarjeta-tipeo {
    flex: 1 1 calc(25% - 8px); 
    border-radius: 16px; 
    padding: 10px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(220, 220, 220, 0.5);
}

.tarjeta-tipeo:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); 
}

.bloque-info-tipeo {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 6px 10px; 
    border-radius: 10px;
    margin-bottom: 6px;
    width: 100%;
    justify-content: center;
    backdrop-filter: blur(6px); 
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: background-color 0.2s ease;
}

.bloque-info-tipeo:hover {
    background-color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
}

.bloque-info-tipeo-doble {
    display: flex;
    gap: 6px;
    width: 100%;
}

.icono-tipeo {
    margin-right: 6px; 
    font-size: 22px; 
    color: #2e2e2e;
}

.numero-tipeo {
    font-weight: 500;
    font-size: 25px; 
    color: #2e2e2e;
    font-family: "Rubik", sans-serif;
}

.botones-tipeo {
    display: flex;
    gap: 8px; 
    margin-top: 8px; 
}

.botones-tipeo .btn {
    border-radius: 50%;
    padding: 2px 7px; 
    font-size: 20px; 
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    transition: background-color 0.2s ease, color 0.2s ease;
    color: #2e2e2e;
}

.botones-tipeo .btn:hover {
    background-color: rgba(200, 200, 200, 0.2);
    color: white;
}

.contenedor-tipeo-andreani {
    display: flex;
    justify-content: space-around;
    padding: 8px; 
    background-color: #f7f7fa;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08); 
}

.texto-etiquetas {
    font-size: 1.2rem;
    margin-left: 5px;
    margin-right: 5px;
    font-family: "Rubik", sans-serif;
  }  

.rojo-tipeo { background-color: #D32F2F; }
.azul-tipeo { background-color: #1976D2; }
.lila-tipeo { background-color: #7B1FA2; }
.azul-oscuro-tipeo { background-color: #0D47A1; }

@media (max-width: 1024px) {
    .tarjeta-tipeo {
        flex: 1 1 calc(50% - 8px);
    }
}

@media (max-width: 600px) {
    .tarjeta-tipeo {
        flex: 1 1 100%;
    }
}

.total-monto-oca,
.total-monto-andreani, 
.total-monto-cds,
.total-monto-andesmar,
.total-monto-icon {
    color: #149c36;
}

.total-monto-contenedor {
    display: flex;
    padding: 8px;
    background-color: rgba(230, 244, 234, 0.7);
    border-radius: 8px;
    border: 1px solid #a5d6a7; 
}

/* CIRCULOS LOGISTICA */
.logistica-circulo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(to bottom right, rgba(255,255,255,0.4), rgba(255,255,255,0));
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.3),
                0 1px 3px rgba(0,0,0,0.2);
    border-radius: 50%;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease-in-out;
}

.logistica-circulo img {
    width: 75%;
    height: auto;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}

.andreani-tablita {
    background: linear-gradient(to bottom, #D32F2F, #B71C1C);
    border: 1px solid #E57373;
}

.andesmar-tablita {
    background: linear-gradient(to bottom, #1976D2, #0D47A1);
    border: 1px solid #64B5F6;
}

.oca-tablita {
    background: linear-gradient(to bottom, #7B1FA2, #4A148C);
    border: 1px solid #BA68C8;
}

.cruz-del-sur-tablita {
    background: linear-gradient(to bottom, #0D47A1, #002171);
    border: 1px solid #42A5F5;
}

.logistica-texto {
    display: none;
}

.logistica-contenedor {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* FIN CIRCULOS LOGISTICA */

/* BULTOS LOGISTICA */
.bultos-tabla-despacho .bultos-box {
    padding: 8px 16px 8px 44px;
    border-radius: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
    text-align: left;
    display: inline-block;
    font-family: "Rubik", sans-serif;
    min-width: 60px;
    font-size: 15px;
    position: relative;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #1c1c1e;
    transition: all 0.3s ease;
}

/* Icono circular base */
.bultos-tabla-despacho .bultos-box::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: white;
    background: rgba(100, 255, 100, 0.3);
}

/* Bultos == 1: Verde estilo glass */
.bultos-tabla-despacho .bultos-box[data-bultos="1"] {
    background: rgba(220, 255, 220, 0.3);
    border: 1px solid rgba(150, 220, 150, 0.4);
    color: #2f662f;
}

.bultos-tabla-despacho .bultos-box[data-bultos="1"]::before {
    content: "✓";
    background: rgba(150, 220, 150, 0.5);
    color: #2f662f;
}

/* Bultos > 1: Rojo cristal + animación */
.bultos-tabla-despacho .bultos-box[data-bultos]:not([data-bultos="1"]) {
    background: rgba(255, 102, 102, 0.25);
    border: 1px solid rgba(255, 80, 80, 0.4);
    color: #a00000;
}

.bultos-tabla-despacho .bultos-box[data-bultos]:not([data-bultos="1"])::before {
    content: "!";
    background: rgba(255, 0, 0, 0.6);
    color: white;
    animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0px rgba(255, 100, 0, 0.3);
        transform: translateY(-50%) scale(1);
    }
    50% {
        box-shadow: 0 0 8px rgba(255, 80, 0, 0.4);
        transform: translateY(-50%) scale(1.04);
    }
    100% {
        box-shadow: 0 0 0px rgba(255, 100, 0, 0.3);
        transform: translateY(-50%) scale(1);
    }
}
/* FIN BULTOS LOGISTICA */

.valor-tabla-despacho {
    color: #388e3c;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    text-align: center;
    font-weight: bold;
    margin: 0 auto;
}

.remito-tipeo-os {
    background-color: rgba(255, 255, 255, 0.9);
    color: #007aff;
    padding: 6px 8px; 
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
}

.seguimiento-contenedor {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #1e1e1e;
    padding: 10px 16px;
    border: 1px solid rgba(200, 200, 200, 0.4);
    border-radius: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    width: fit-content;
    margin: 0 auto;
}

.seguimiento-contenedor a {
    text-decoration: none;
    color: #007aff;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.seguimiento-contenedor a i {
    font-size: 1.1em;
}

.seguimiento-contenedor:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.04);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.badge-camiones-historial-tipeo {
    position: absolute;
    top: -2px;
    top: 1px;
    right: 0px;
    background-color: red;
    border: 1px solid pink;
    color: white;
    font-size: 10px;
    font-weight: bold;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    border-radius: 50%;
    text-align: center;
    pointer-events: none;
    z-index: 10;
}

.selector-camiones-historial-tipeo {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.camion-opcion-historial-tipeo {
    text-transform: capitalize;
    padding: 10px 12px;
    font-weight: 500;
    border-radius: 8px;
}

.logistica-contenedor-historial-tipeo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logistica-texto-historial-tipeo {
    font-weight: bold;
    text-transform: capitalize;
}

.logistica-circulo-historial-tipeo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
}

.tabla-historial-tipeo th,
.tabla-historial-tipeo td {
    vertical-align: middle;
}

mark {
    background-color: #ffc107 !important;
    color: black !important;
    padding: 0 2px;
    font-weight: bold;
    border-radius: 3px;
  }
  
/* PRODCUTOS TABLA TIPEO DESPACHO */

.infoMacOsy {
    background: #f9fafb;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    font-family: 'SF Pro Text', 'Rubik', sans-serif;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.infoDetalleMacOsy {
    font-size: 0.875rem;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.infoUserMac{
    color: #1d4ed8 !important;
    font-size: 1rem !important;
}

.infoDetalleMacOsy span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: #475569;
}

.infoDetalleMacOsy span i {
    font-style: normal;
    font-size: 1rem;
}

.productosRemitoMacOsy {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.productoMacOsy {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 10px;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.2s ease-in-out;
}

.productoMacOsy:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.productoTopMacOsy {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
}

.productoNombreMacOsy {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1d4ed8;
}

.productoCantidadMacOsy {
    background-color: #e0f2fe;
    margin-left: 10px;
    color: #0284c7;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 800;
}

.productoCantidadMacOsyMasDos{
    background-color: #fee2e2;
    margin-left: 10px;
    color: #b91c1c;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 800;
}

.productoDescripcionMacOsy {
    font-size: 0.8125rem;
    color: #64748b;
    max-width: 30ch;
    overflow: hidden;
    white-space: nowrap; 
    text-overflow: ellipsis; 
    display: inline-block; 
    vertical-align: middle;
    gap: 6px;
    padding-right: 2px; 
}

.macos-chat {
    margin-top: -50px;
  border-radius: 15px !important;
  font-family: "San Francisco", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: all 0.2s ease-in-out;
}

#reporteDetallado > .macos-chat > .table{
  margin-bottom: -25px !important;
}

#reporteDetallado > .macos-chat > .table:last-child{
  margin-bottom: 0 !important;
}

#resumenEjecutivo{
    margin-top: -40px;
}

.macos-chat table {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  font-size: 15px;
}

.macos-title {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(245, 245, 245, 0.7);
  border: 1px solid rgba(200, 200, 200, 0.6);
  font-weight: 400;
  font-size: 18px;
  color: black;
  backdrop-filter: blur(6px);
}
.filtros-macos-estadisticas .form-select,
.filtros-macos-estadisticas .form-control,
.filtros-macos-estadisticas .btn {
    border-radius: 8px !important;
    font-size: 1.1rem;
    height: 50px;
}

.filtros-macos-estadisticas select {
    padding: 0.5rem;
    background-color: #f4f4f4;
    color: #333;
}

.filtros-macos-estadisticas select:hover,
.filtros-macos-estadisticas .form-control:hover {
    background-color: #e9ecef;
}

.filtros-macos-estadisticas .btn {
    background-color: #28a745;
    color: white;
    border: none;
}

.filtros-macos-estadisticas .btn:hover {
    background-color: #218838;
}

.filtros-macos-estadisticas i {
    margin-right: 8px;
}

.filtros-macos-estadisticas .form-select {
    font-size: 1rem;
    color: #495057;
}

.resumen-macos {
    border: none;
    border-radius: 12px;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease-in-out;
}

.resumen-macos:hover {
    transform: translateY(-4px);
}

.bg-pastel-pink {
    background-color: #fef4f4;
    border: 1px solid #e0dada;
    box-shadow: 0 2px 6px rgba(255, 192, 203, 0.2);
}

.bg-pastel-green {
    background-color: #f2fbf1;
    border: 1px solid #d9e7d6;
    box-shadow: 0 2px 6px rgba(144, 238, 144, 0.2);
}

.bg-pastel-blue {
    background-color: #f1f8ff;
    border: 1px solid #c9dff7;
    box-shadow: 0 2px 6px rgba(173, 216, 230, 0.2);
}

.bg-pastel-yellow {
    background-color: #fffbea;
    border: 1px solid #eae3c4;
    box-shadow: 0 2px 6px rgba(255, 255, 153, 0.2);
}

.resumen-macos {
    border-radius: 14px;
    color: #333;
    transition: all 0.3s ease-in-out;
}

.resumen-macos:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.resumen-macos .card-title {
    font-family: "Rubik", sans-serif;
    font-size: 1.5rem;
    color: #444;
    font-weight: 500;
}

.resumen-macos .card-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1d4ed8;
    background: lightblue;
    border-radius: 10px;
    width: fit-content;
    padding: 10px;
    font-family: "Rubik", sans-serif;
}

#valorTotal {
    font-size: 1.3rem;
    color: green;
    background: lightgreen;
    border-radius: 10px;
    width: fit-content;
    padding: 10px;
    font-family: "Rubik", sans-serif;
    font-weight: 600;
}

.lista-macos{
    font-family: "Rubik", sans-serif;
    font-weight: 600;
}

.resumen-macos small {
    color: #777;
    font-size: 0.85rem;
}

.resumen-macos i {
    margin-right: 6px;
    color: #666;
}

.grafico-macos {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
}

.grafico-macos:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    background-color: lemonchiffon;
}

.grafico-macos .card-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 1.25rem;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.grafico-macos .card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.grafico-macos .btn-light {
    background-color: #f1f1f1;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 0.85rem;
}

.grafico-macos .btn-light:hover {
    background-color: #e0e0e0;
}

.grafico-macos .dropdown-menu {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.grafico-macos .card-body {
    padding: 1.25rem;
}

.chart-container {
    cursor: pointer;
    background-color: #fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03);
}

.informe-macos {
    cursor: pointer;
    background-color: #fdfdfd;
    border: 1px solid #e2e2e2;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.informe-macos:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.informe-macos .card-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e2e2;
    padding: 1rem 1.25rem;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.informe-macos .card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.informe-macos .btn-success {
    border-radius: 8px;
    font-size: 0.85rem;
    padding: 6px 12px;
    background-color: #4cd964;
    border: none;
    transition: background-color 0.2s ease;
}

.informe-macos .btn-success:hover {
    background-color: #43c45e;
}

.informe-macos .card-body {
    background-color: #fafafa;
    padding: 1.25rem;
    font-family: 'San Francisco', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.95rem;
    color: #444;
    white-space: pre-line;
    line-height: 1.6;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.lista-macos {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.lista-macos li {
    padding: 4px 0;
    border-bottom: 1px solid #eee;
}

.lista-macos li:last-child {
    border-bottom: none;
}

.macos-title2{
    margin-top: -80px !important;
}

/* BUSCADOR DE TANDAS */
.search-button-macos {
  border-radius: 15px;
  padding: 5px 12px;
  font-size: 13px;
  border: 1px solid #d1d1d1;
  background-color: #f8f9fa;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.search-button-macos:hover {
  background-color: #e9ecef;
  border-color: #c4c4c4;
}

.search-input-container-macos {
  position: relative;
  margin-top: 8px;
}

.search-input-macos {
  border-radius: 15px;
  padding: 5px 15px;
  font-size: 13px;
  border: 1px solid #d1d1d1;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.search-results-macos {
  margin-top: 8px;
  padding: 10px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  border: 1px solid #e0e0e0;
  font-size: 13px;
  color: #333;
}

/* Spinner estilo macOS */
#spinnerTandas {
  width: 20px;
  height: 20px;
  border-width: 2px;
  margin: 0 auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.search-result-item:last-child {
  border-bottom: none;
}

.result-icon {
  margin-right: 8px;
  font-size: 16px;
}

.result-success {
  color: #28a745;
}

.result-error {
  color: #dc3545;
}

.result-loading {
  color: #007bff;
} 

#countdownText {
  font-size: 0.8em;
  margin-top: 8px;
  color: #666;
  transition: color 0.3s ease;
  font-style: italic;
}
/* FIN BUSCADOR DE TANDAS */

.transport-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.btn-seguro{
    height: 47px !important;
}

/* ============================ */
/* SECCION FACTURA TIENDAS VIRTUALES */
/* ============================ */

.factura-tv {
    margin-bottom: 6px;
    padding: 4px 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(200, 200, 200, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    color: #333;
    font-family: "Rubik", sans-serif;
    position: relative;
    cursor: default;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.factura-tv.disponible {
    color: #34C759;
    font-weight: 600;
    cursor: pointer;
}

.factura-tv.disponible:hover {
    background: rgba(46, 139, 87, 0.15);
}

.factura-tv.no-disponible {
    color: #e14d4d;
    font-weight: 600;
}

.factura-tv a {
    color: inherit;
    text-decoration: none;
    flex-grow: 1;
    user-select: text;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.factura-tv a:hover {
    text-decoration: underline;
}

.factura-tv .btn-clipboard {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(150, 150, 150, 0.5);
    border-radius: 12px;
    padding: 5px 14px;
    font-size: 12px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    gap: 6px;
}

.factura-tv .btn-clipboard:hover {
    background: lightyellow;
    color: seagreen;
    border-color: seagreen;
}

.icono-factura-tv {
    font-size: 14px;
    vertical-align: middle;
    opacity: 0.85;
}

/* ============================ */
/* FIN SECCION FACTURA TIENDAS VIRTUALES */
/* ============================ */

/* Aviso tipo Mac OS para ME2 */
.alert-macos-meli-me2 {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  gap: 12px;
  background: linear-gradient(90deg, #f0f4ff 0%, #e7e9fc 100%);
  border: 1px solid #bfc9df;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 12px;
  color: #2b2c3e;
  font-size: 0.8rem;
  box-shadow: 0 2px 8px 0 rgba(120,140,180,0.10);
}
.shield-me2 {
  font-size: 2rem;
  color: #007aff;
  margin-top: 2px;
  margin-bottom: -15px;
}

.unlock-me2{
  font-size: 1rem;
  color: #007aff;
}

.alert-macos-meli-me2 .unlock-btn {
  background: #fff;
  border: 1px solid #bfc9df;
  border-radius: 8px;
  color: #007aff;
  font-weight: 500;
  font-family: "Rubik", sans-serif;
  text-transform: uppercase;
  padding: 5px 13px;
  font-size: 0.95em;
  cursor: pointer;
  transition: background 0.18s;
}
.alert-macos-meli-me2 .unlock-btn:hover {
  background: #e7e9fc;
}

.titulo-modal-liquid-glass {
  font-family: "Rubik", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #565656FF;
}

.unlock-title {
  font-family: "Rubik", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.disabled, .btn.disabled, button:disabled {
  pointer-events: none !important;
  opacity: 0.6 !important;
  filter: grayscale(0.2);
}

/* Botón ACEPTAR CLIENTE & REMITO Liquid Glass*/
#btn-modal-lg-ok {
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
}

#btn-modal-lg-ok:hover {
  background: #339cff;
  transform: scale(1.06);
  box-shadow: 0 4px 16px #007aff33;
}

/* Botón CANCELAR CLIENTE & REMITO Liquid Glass*/
#btn-modal-lg-cancel {
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
}

#btn-modal-lg-cancel:hover {
  background: #f3f3f8;
  transform: scale(1.06);
  box-shadow: 0 4px 16px #ccc;
}

/* Estilos generales modales macOS */
.modal-mac {
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-mac-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 16px 20px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.modal-mac-header .modal-title {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.modal-mac-body {
    padding: 20px;
    background-color: #ffffff;
}

.modal-mac-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 16px 20px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.btn-close-mac {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #6c757d;
    transition: all 0.2s;
    padding: 0;
}

.btn-danger.btn-close {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 1.2rem;
    padding: 0;
    opacity: 1;
}

/* Estilos para el contenido de documentación */
.mac-scroll-container {
    scrollbar-width: thin;
    scrollbar-color: #dee2e6 #f8f9fa;
}

.mac-scroll-container::-webkit-scrollbar {
    width: 8px;
}

.mac-scroll-container::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.mac-scroll-container::-webkit-scrollbar-thumb {
    background-color: #dee2e6;
    border-radius: 4px;
}

.mac-logistica-container {
    padding: 15px;
}

.mac-logistica-item {
    background-color: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.mac-logistica-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.mac-logistica-header {
    padding: 12px 15px;
    background-color: #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.mac-logistica-title {
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
}

.mac-logistica-badge {
    background-color: #007bff;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8em;
}

.mac-logistica-content {
    padding: 0;
}

.mac-fecha-item {
    border-bottom: 1px solid #e9ecef;
    padding: 12px 15px;
}

.mac-fecha-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.mac-camion-item > div,
.mac-description {
    display: block;
    margin-top: 6px;
}

.mac-description {
    margin-top: 10px;
    font-size: 0.85em;
    color: grey;
    font-weight: 300;
}

.mac-fecha-title,
.mac-fecha-title2 {
    font-weight: 500;
    color: #1c1c1e;
    margin: 0;
    padding: 12px 18px;
    border-radius: 10px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.35);
    border: 1.5px solid #0a84ff;
}

.mac-fecha-badge {
    background: rgba(255, 255, 255, 0.25);
    color: red;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75em;
    font-weight: 800;
    border: 1.2px solid orangered;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mac-camion-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mac-camion-item {
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f3f5;
}

.mac-camion-item:last-child {
    border-bottom: none;
}

.mac-camion-name {
    font-size: 0.9em;
    font-weight: 500;
    color: whitesmoke;
    padding: 6px 12px;
    border-radius: 5px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: #727272;
    display: inline-block;
    position: relative;
    padding-left: 28px;
}

.mac-camion-name::before {
    content: "📌";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85em;
}

.btn-cargar-doc {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 0.8em;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.btn-cargar-doc:hover {
    background-color: #0069d9;
    transform: translateY(-1px);
}

/* Estilos para las hojas de documento */
.hoja-documento {
    position: relative;
    width: 100%;
    height: 200px;
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hoja-documento:hover {
    border-color: #adb5bd;
    background-color: #e9ecef;
}

.hoja-documento img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hoja-numero {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Barra de progreso */
.progress-container {
    width: 100%;
    height: 28px;
    background-color: #e9ecef;
    border-radius: 14px;
    overflow: hidden;
    margin-top: 15px;
}

.progress-bar-mac {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #17a2b8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.4s ease;
    border-radius: 14px;
    position: relative;
}

.progress-text {
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    position: absolute;
    width: 100%;
    text-align: center;
}

.status-text {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 5px;
}

/* Alertas estilo macOS */
.mac-alert {
    padding: 10px 15px;
    background-color: #e7f5ff;
    border-left: 4px solid #4dabf7;
    border-radius: 4px;
    color: #1864ab;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

/* Botones macOS */
.btn-mac-primary {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.btn-mac-primary:hover {
    background-color: #0069d9;
    transform: translateY(-1px);
}

.btn-mac-secondary {
    background-color: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.btn-mac-secondary:hover {
    background-color: #e9ecef;
    transform: translateY(-1px);
}

.btn-mac-danger {
    background-color: #f8f9fa;
    color: #dc3545;
    border: 1px solid #f1aeb5;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.btn-mac-danger:hover {
    background-color: #f8d7da;
    transform: translateY(-1px);
}

/* Margen para iconos con texto */
i[class^="bi-"] + span,
i[class^="bi-"] + strong,
i[class^="bi-"] + em {
    margin-left: 8px;
}

.mac-scroll-container {
    max-height: 65vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #dee2e6 #f8f9fa;
    padding-right: 10px; /* Espacio para el scroll */
}

.mac-scroll-container::-webkit-scrollbar {
    width: 8px;
}

.mac-scroll-container::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 4px;
}

.mac-scroll-container::-webkit-scrollbar-thumb {
    background-color: #adb5bd;
    border-radius: 4px;
}

.conjuntoDeBtnnes {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.conjuntoDeBtnnes > .btn {
    height: 48px;
}


/* CONTENEDOR FECHAVTEX TIENDAS VIRTUALES */
.contenedor-fecha-vtex {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    margin-bottom: 30px;
}

.fecha-tiendas-virtuales,
.estado-sincronizacion {
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 4px 10px;
    display: flex;
    width: fit-content;
    color: cornflowerblue;
    height: 30px !important;
    font-size: small;
    font-weight: 600;
    align-items: center;
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: inset 0 0 10px rgba(100, 149, 237, 0.15);
}

.fecha-tiendas-virtuales {
    z-index: 2;
}

.estado-sincronizacion {
    left: -10px;
    border-radius: 0 14px 14px 0;
    z-index: 1;
    border: none;
}

.fecha-tiendas-virtuales-vtex{
    border-radius: 14px 0 0 14px;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 10px;
    display: flex;
    width: fit-content;
    color: cornflowerblue;
    height: 30px !important;
    font-size: small;
    font-weight: 600;
    align-items: center;
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: inset 0 0 10px rgba(100, 149, 237, 0.15);
}

.fecha-tiendas-virtuales {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
}

.estado-sincronizacion::before {
    content: "";
    position: absolute;
    top: -100%;
    left: -150%;
    width: 400%;
    height: 400%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.0) 0%,
        rgba(247, 25, 99, 0.15) 30%,          /* VTEX pink (fucsia) suave */
        rgba(255, 255, 255, 0.4) 50%,
        rgba(247, 25, 99, 0.15) 70%,          /* VTEX pink (fucsia) suave */
        rgba(255, 255, 255, 0.0) 100%
    );
    transform: rotate(25deg);
    animation: glassReflection 3.5s linear infinite;
    pointer-events: none;
    z-index: 1;
    filter: blur(3px);
}

@keyframes glassReflection {
    0% {
        transform: translateX(-150%) translateY(-100%) rotate(25deg);
    }
    100% {
        transform: translateX(150%) translateY(100%) rotate(25deg);
    }
}

.estado-sincronizacion img {
    position: relative;
    z-index: 2;
    filter: none;
    margin-right: 5px;
    padding-left: 5px;
}

@keyframes innerPulse {
    0%, 100% {
        box-shadow: inset 0 0 12px rgba(247, 25, 99, 0.2);     /* VTEX pink */
    }
    50% {
        box-shadow: inset 0 0 25px rgba(247, 25, 99, 0.35);    /* Más fuerte en el medio */
    }
}

.estado-sincronizacion {
    animation: innerPulse 5s ease-in-out infinite;
}
/* FIN CONTENEDOR FECHAVTEX TIENDAS VIRTUALES */

.titulo-busqueda-avanzada-tipeo{
    margin-bottom: -20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cantidad-query-meli {
    text-align: center;
    vertical-align: middle;
  }

.cantidad-circulo {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 24px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 30px;
    color: white;
    text-align: center;
    padding-top: 8px;
}

.cantidad-circulo.uno {
    background-color: #f39c12;
    transition: .5s ease;
}

.cantidad-circulo.uno:hover {
    background-color: red;
}

.cantidad-circulo.multiple {
    background-color: #28a745;
    transition: .5s ease;
}

.cantidad-circulo.multiple:hover {
    background-color: red;
}

.badge-promos-tv{
    padding: 10px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.list-group-item.reglasShop:hover {
  background-color: #f2f2f2; 
  color: #000;
  transition: all 0.2s ease-in-out;
  transform: scale(1.01);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid #007aff;
  z-index: 1;
}

.container-skus{
    background-color: #ebebeb; 
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 10px;
}

#skuSuggestions-rules {
    margin-top: 30px;
    width: 94%;
    position: absolute;
    z-index: 1000;
    max-height: 150px;
    overflow-y: auto;
    overflow-x: hidden;
    display: none; 
    animation: fadeIn 0.3s ease-in-out;
    border-radius: 10px 0 0 10px;
    border: 1px solid #007aff;
}

#skuSuggestions-rules > .list-group-item:hover {
    background-color: #007aff;
    color: white; 
    border-radius: 0;
}

.combo-container {
    display: inline-flex;
    align-items: center;
    background-color: #e6f7ff;
    border: 1px solid #80d0ff; 
    border-radius: 14px; 
    padding: 8px 12px;
    height: 34px;
    margin-top: 5px;
    transition: all 0.3s ease;
}

.text-center-modal{
    text-align: center;
}

.combo-container-alone {
    display: inline-flex;
    align-items: center;
    background-color: #f9f9f9; 
    border: 1px solid #d3d3d3; 
    border-radius: 14px; 
    padding: 8px 12px;
    height: 34px; 
    margin-top: 5px;
    transition: all 0.3s ease;
}

.info-rules {
    padding: 10px;
    border-radius: 12px;
    background: #f5f5f7;
    border: 1px solid #e0e0e0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-bottom: 20px;
}

.info-rules small {
    display: block;
    margin-bottom: 0.8rem;
    color: #6e6e73;
    line-height: 1.4;
}

.info-rules small:last-child {
    margin-bottom: 0;
}

.info-rules .bi {
    margin-right: 0.2rem;
    font-size: 1rem;
    color: #0071e3;
}

.info-rules strong {
    color: #1d1d1f;
    font-weight: 500;
}

.skus-container {
    max-height: 100px; /* Ajusta la altura máxima */
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease;
}

.skus-container.expanded {
    max-height: 500px; /* Ajusta según sea necesario */
}

.degradado {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px; /* Ajusta la altura del degradado */
    display: none; /* Ocultar por defecto */
}

.skus-container.expanded .degradado {
    display: block; /* Mostrar cuando está expandido */
}

#spinner4 {
    width: 56px !important;
    height: 56px !important;
    margin: 12px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-width: 6px !important;
    border-color: #e0e0e0 #d1d1d6 #c9c9ce #7b7b8e;
    background: rgba(245,245,250,0.98);
    box-shadow: 0 4px 24px #0001, 0 1px 2px #0001;
    border-radius: 50%;
}
.spinner-dot-macos {
    display: inline-block;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    border: 0.19em solid #6e6e73;
    border-top-color: #b4b4b9;
    animation: macspin 1s linear infinite;
    margin-right: 0.2em;
}
@keyframes macspin {
    to { transform: rotate(360deg); }
}

.cajonBtnMeli-scroll {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.cajonBtnMeli-scroll::-webkit-scrollbar {
  height: 6px;
  background: #f2f2f2;
  border-radius: 3px;
}
.cajonBtnMeli-scroll::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 3px;
}

@keyframes lightning-flash {
  0%, 100% {
    color: #00a650; 
    text-shadow: none;
  }
  10% {
    color: #ffffff;
    text-shadow: 0 0 8px #fff, 0 0 16px #fffa9e, 0 0 24px #ffe600;
  }
  20% {
    color: #00a650;
    text-shadow: none;
  }
  22% {
    color: #ffffff;
    text-shadow: 0 0 8px #fff, 0 0 16px #fffa9e, 0 0 24px #ffe600;
  }
  30% {
    color: #00a650;
    text-shadow: none;
  }
}

.icon-lightning {
  animation: lightning-flash 3s infinite;
}

#btnMe2Meli i {
  color: purple;
}

/* =============== Toast Glass E3 =============== */
.alert-glass-wrap-show-e3{
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: 420px;
  width: calc(100vw - 36px);
  z-index: 2147483647;
  pointer-events: auto;
}
.alert-glass-inner-show-e3 {
  display: grid;
  grid-template-columns: 56px 1fr 36px;
  align-items: center;
  gap: 14px;
  padding: 14px 14px 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.8); 
  backdrop-filter: blur(15px) saturate(150%);
  -webkit-backdrop-filter: blur(40px) saturate(150%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.alert-glass-icon-show-e3{
  width: 56px; height: 56px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--tone-bg, rgba(16,185,129,.12));
  border: 1px solid var(--tone-br, rgba(16,185,129,.35));
}
.alert-glass-icon-show-e3 i{
  font-size: 28px;
  color: var(--tone-fg, #16a34a);
}
.alert-glass-texts-show-e3{
  display: grid; gap: 2px;
}
.alert-title-show-e3{
  font-weight: 800; letter-spacing: .01em;
  color: #0f172a; font-size: 15px;
}
.alert-subtitle-show-e3{
  color: #334155; font-size: 13px;
}
.alert-detail-show-e3{
  margin-top: 2px; color: #64748b; font-size: 12px;
}
.alert-close-show-e3{
  border: none; background: transparent;
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  color: #475569; cursor: pointer;
}
.alert-close-show-e3:hover{ background: rgba(0,0,0,.06); }

/* Paletas */
.is-success-show-e3 .alert-glass-inner-show-e3{
  --tone-bg: rgba(16,185,129,.12);
  --tone-br: rgba(16,185,129,.35);
  --tone-fg: #16a34a;
}
.is-error-show-e3 .alert-glass-inner-show-e3{
  --tone-bg: rgba(239,68,68,.12);
  --tone-br: rgba(239,68,68,.35);
  --tone-fg: #ef4444;
}

/* Animaciones */
@keyframes slideInE3 { from { transform: translateY(12px) scale(.98); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes slideOutE3{ from { transform: translateY(0) scale(1); opacity: 1; } to { transform: translateY(10px) scale(.98); opacity: 0; } }
.enter-show-e3 { animation: slideInE3 .28s ease-out both; }
.leave-show-e3 { animation: slideOutE3 .28s ease-in both; }
/* =============== Fin Toast Glass E3 =============== */

.btn-timeline-TIMELINE_E3 { display: inline-flex; align-items: center; gap: 8px; border-radius: 12px; border: 1px solid #e5e7eb; background: #f8fafc; color: #0f172a; padding: 6px 10px; font-weight: 700; transition: background 0.3s ease, color 0.3s ease !important; } 
.btn-timeline-TIMELINE_E3:hover { background: #007bff; color: white !important; }
.btn-timeline-TIMELINE_E3 img{display:block;object-fit:contain}
.badge-count-TIMELINE_E3{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#ef4444;color:#fff;font-size:.75rem;font-weight:800;}
.wrap-TIMELINE_E3{--accent:#0ea5e9;--card:#ffffff;--muted:#6b7280;--line:#e5e7eb;--glass:rgba(255,255,255,.55)}
.head-TIMELINE_E3{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.timeline-TIMELINE_E3{position:relative;margin:8px 0 2px;padding-left:14px}
.timeline-TIMELINE_E3:before{content:"";position:absolute;left:6px;top:0;bottom:0;width:2px;background: linear-gradient(180deg, #dc3545, transparent); }
.item-TIMELINE_E3{position:relative;margin:0 0 14px 0}
.dot-TIMELINE_E3{position:absolute;left:-19px;top:8px;width:25px;height:25px;border-radius:999px;background:#ef4444;border:2px solid red;box-shadow:0 2px 10px rgba(14,165,233,.25)}
.card-TIMELINE_E3{margin-left:14px;border-radius:14px;background:linear-gradient(180deg,var(--glass),rgba(255,255,255,.40));
    border:1px solid rgba(15,23,42,.08);box-shadow:0 10px 32px rgba(15,23,42,.08);padding:10px 12px}
.meta-TIMELINE_E3{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ts-TIMELINE_E3{display:inline-flex;align-items:center;gap:6px;font-size:.85rem;color:#334155}
.ts-TIMELINE_E3 i{opacity:.6}
.tpl-TIMELINE_E3{display:inline-flex;align-items:center;gap:6px;border-radius:15px;border:1px solid rgba(15,23,42,.08);
    padding:6px 12px;font-size:.75rem;font-weight:800;color:#ffffff; background: linear-gradient(180deg, #dc3545, #dc3545);}
.actions-TIMELINE_E3{margin-left:auto}
.btn-view-TIMELINE_E3 { border: 1px solid #e5e7eb; background: cornflowerblue; border-radius: 5px; padding: 6px 10px; font-weight: 700; transition: background 0.3s ease, color 0.3s ease !important; } 
.btn-view-TIMELINE_E3:hover { background: #007bff; color: white !important; }
.collapse-TIMELINE_E3{display:none;margin-top:10px;border-radius:12px;overflow:hidden;border:1px solid #e5e7eb;background:#fff}
.iframe-wrap-TIMELINE_E3{width:100%;height:auto}
.iframe-TIMELINE_E3{width:100%;border:0;display:block;background:#fff}
.empty-TIMELINE_E3{padding:14px;border-radius:12px;border:1px dashed #e5e7eb;background:#f8fafc;color:#6b7280;text-align:center}

/* ACORDEN TIENDAS VIRTUALES */
:root{
  --ios-accent:#0A84FF;
  --ios-text:#0B1220;
  --ios-muted:#6E7A86;
  --ios-surface:#FFFFFF;
  --ios-surface-soft:#F9FBFF;
  --ios-border:#E6EDF5;
  --ios-border-strong:#D7E2EE;
}

.logi-accordion{
  border-radius:20px;
  background:linear-gradient(180deg,var(--ios-surface) 0%,var(--ios-surface-soft) 100%);
  border:1px solid var(--ios-border);
  backdrop-filter:saturate(180%) blur(8px);
  -webkit-backdrop-filter:saturate(180%) blur(8px);
  overflow:hidden;
  margin-bottom:5px;
}

.logi-summary{
  list-style:none;
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  cursor:pointer;user-select:none;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  color:var(--ios-text);
}
.logi-summary::-webkit-details-marker{display:none;}

.logi-title{
  display:inline-flex;align-items:center;gap:10px;
  font-weight:600;letter-spacing:.2px;
}
.logi-chip{
  padding:6px 10px;border-radius:999px;
  background:#F2F7FF;
  border:1px solid #D6E7FF;
  font-size:.85rem;
  color:var(--ios-text);
}

.logi-right{
  display:inline-flex;align-items:center;gap:10px;
  color:var(--ios-muted);
}

.logi-sku{
  padding:4px 10px;border-radius:12px;
  background:#E9F3FF;
  border:1px solid #CFE4FF;
  color:var(--ios-accent);
  font-weight:700;
  font-size:.86rem;
  letter-spacing:.15px;
}

.logi-chevron{
  transition:transform 220ms ease;
  font-size:1rem;
  color:#8AA3C1;
}
details[open] .logi-chevron{transform:rotate(180deg);}

.logi-content{
  border-top:1px solid var(--ios-border-strong);
  padding:12px 16px 16px;
  max-height:0;overflow:hidden;
  opacity:0;transform:translateY(-6px);
  transition:max-height 320ms ease,opacity 220ms ease,transform 220ms ease;
}
details[open] .logi-content{
  max-height:2400px;
  opacity:1;transform:translateY(0);
}

.logi-summary:focus-visible{
  outline:2px solid rgba(10,132,255,.28);
  outline-offset:3px;
  border-radius:16px;
}

.logi-summary.logi-summary--rows{
  display:grid;
  grid-template-columns:1fr auto;
  grid-template-rows:auto auto;
  grid-template-areas:
    "header chevron"
    "desc   chevron";
  align-items:center;
  gap:6px 12px;
}

.logi-header{
  grid-area:header;
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  gap:10px;
  min-width:0;
}

.logi-sku-line{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.logi-subtitle{
  grid-area:desc;
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  color:var(--ios-muted);
  min-width:0;
}

.logi-chevron{
  grid-area:chevron;
  justify-self:end;
  transition:transform 220ms ease;
}
details[open] .logi-chevron{transform:rotate(180deg);}

/* RESPUESTA DEL WEBSERVICE */
.btn-link-underline-e3{
  background:none;border:none;padding:0;color:#0d6efd;
  text-decoration:underline;text-underline-offset:2px;cursor:pointer;
  display:inline-flex;align-items:center;gap:.4rem;font-size:.9rem;
}
.btn-link-underline-e3 i{font-size:1rem}

.swal2-html-container .ws-list-e3,
.swal2-html-container .ws-item-e3,
.swal2-html-container .ws-head-e3,
.swal2-html-container .ws-body-e3,
.swal2-html-container .ws-actions,
.swal2-html-container .ws-code-wrap,
.swal2-html-container .ws-code-block{
  text-align:left !important;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.swal2-html-container .ws-pre{
  text-align:left !important;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.ws-code-wrap{
  display:grid;grid-template-columns:1fr;gap:10px;padding:10px 12px;
  background:#0b1020;justify-items:stretch;
}
.ws-code-block{
  width:100%;border-radius:8px;overflow:auto;max-height:45vh;border:1px solid #111827;
}
.ws-code-title{color:#a7c7ff;font-size:.8rem;margin-bottom:4px}
.ws-pre{
  margin:0;width:100%;box-sizing:border-box;overflow:auto;
  padding:10px 12px;color:#d1e7ff;font-size:12.6px;line-height:1.45;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
}

.ws-list-e3{display:flex;flex-direction:column;gap:12px}
.ws-item-e3{border:1px solid #e5e7eb;border-radius:12px;background:#fff;overflow:hidden}
.ws-head-e3{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:#f9fafb;border-bottom:1px solid #eef0f2}
.ws-badge{display:inline-flex;align-items:center;gap:.35rem;font-weight:700;font-size:.8rem;padding:.2rem .5rem;border-radius:999px}
.ws-ok{color:#065f46;background:#d1fae5;border:1px solid #10b981}
.ws-err{color:#991b1b;background:#fee2e2;border:1px solid #ef4444}
.ws-ts{color:#6b7280;font-size:.75rem}
.ws-body-e3{padding:10px 12px}

.ws-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;margin:.25rem 0 .25rem}
.ws-pill{border:1px solid #e5e7eb;border-radius:10px;background:#f8fafc;padding:6px 8px;font-size:.9rem;min-height:52px;display:flex;flex-direction:column;justify-content:center}
.ws-pill small{display:block;color:#6b7280;font-size:.7rem;margin-bottom:2px}

.ws-error{margin-top:6px;color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;padding:6px 8px;font-size:.9rem;white-space:pre-wrap}

.ws-actions{padding:8px 12px;border-top:1px dashed #e5e7eb;display:flex;justify-content:flex-end}
.ws-toggle{background:none;border:none;color:#111827;cursor:pointer;display:inline-flex;align-items:center;gap:.35rem;font-size:.9rem;text-decoration:underline;text-underline-offset:2px}

.btn-link-underline-e3,
.ws-toggle{
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.btn-link-underline-e3:hover,
.btn-link-underline-e3:focus-visible,
.ws-toggle:hover,
.ws-toggle:focus-visible{
  background:none;
  color: grey !important;
}

.btn-link-underline-e3:active,
.ws-toggle:active{
  background:#0b5ed7;
  color:#fff;
}

.btn-link-underline-e3 i,
.ws-toggle i{
  color:inherit;
}

.count-badge-e3{
  background-color: #0d6efd;
  color: white;
  font-weight: 900;
  padding: 5px 10px;
  border-radius: 50px;
}

.sin-respuesta-webservice{
  text-align: center;
  color: crimson !important;
  font-weight: 700;
}
/* FIN RESPUESTA DEL WEBSERVICE */

/* BOTONES BNA ACORDEON */
:root{
  --ink:#0b0b0c;
  --muted:#6b7280;
  --accent:#0a84ff;
  --accent-2:#2563eb;
  --tint:#f6f8ff;
  --border:rgba(60,60,67,.18);
  --radius:12px;
  --pad:12px;
  --fs-xs:12px;
  --fs-sm:13px;
  --fs-md:14px;
}

/* Botones que terminan en -collapse */
.btn-bna-collapse{
  border-radius:var(--radius);
  border:1px solid var(--border)!important;
  background:#fff!important;
  color:var(--ink)!important;
  font-weight:600;
  font-size:var(--fs-sm);
  padding:8px 12px;
  display:flex; align-items:center; justify-content:space-between;
  gap:10px;
  box-shadow:none!important;           
  transition:background .18s ease,color .18s ease,border-color .18s ease;
  margin-top:10px;                         
  margin-bottom:5px;                       
}
.btn-bna-collapse .chev{ transition:transform .2s ease; }
.btn-bna-collapse[aria-expanded="true"] .chev{ transform:rotate(180deg); }

/* Hover: color vivo + texto blanco */
.btn-bna-collapse:hover,
.btn-bna-collapse:focus{
  background:var(--accent)!important;
  border-color:var(--accent)!important;
  color:#fff!important; /* esto afecta al texto */
}

/* Color base de los íconos (estado normal) */
.btn-bna-collapse .bi,
.btn-bna-collapse svg{
  color: var(--icon-base, #64748b) !important;
  fill: currentColor; 
  transition: color .2s ease, fill .2s ease;
}

/* En hover/focus mantener los íconos con otro color (no blanco) */
.btn-bna-collapse:hover .bi,
.btn-bna-collapse:focus .bi,
.btn-bna-collapse:hover svg,
.btn-bna-collapse:focus svg{
  color: var(--icon-hover, purple) !important; 
  fill: currentColor !important;
}

/* Panel del collapse */
.bna-collapse-panel{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:linear-gradient(180deg,var(--tint),#fff);
  padding:var(--pad);
  margin-bottom: 5px;
}

/* Filas simples (sin grid) */
.bna-field{
  gap:10px; padding:6px 0;
  border-bottom:1px dashed rgba(60,60,67,.12);
}
.bna-field:last-child{ border-bottom:none; }
.bna-label{ color:var(--muted); font-size:var(--fs-xs); min-width:120px; }
.bna-value{ color:var(--ink); font-size:var(--fs-md); font-weight:600; line-height:1.25; }

/* Pills/etiquetas pequeñas */
.bna-pill{
  align-self:center;
  font-size:11.5px; padding:3px 8px; border-radius:999px;
  border:1px solid var(--border); background:#fff; color:var(--ink);
  white-space:nowrap;
}
.bna-pill.info{ background:#e8f1ff; border-color:#cfe0ff; color:#083e8e; }
.bna-pill.good{ background:#eafaf0; border-color:#cfe9d9; color:#0f5a2a; }
.bna-pill.warn{ background:#fff4e5; border-color:#ffe1bd; color:#8a4b0f; }

/* Botón copiar minimal */
.copy-btn{
  border:none; background:transparent; padding:4px 6px; border-radius:8px;
  color:var(--muted); cursor:pointer; margin-left:6px;
}
.copy-btn:hover{ background:rgba(0,0,0,.06); color:var(--ink); }

/* Bloque de costos (más vida y jerarquía) */
.costs{
  margin-top:8px; border-radius:12px; padding:10px; 
  background:linear-gradient(180deg,#f7fbff,#ffffff);
  border:1px solid var(--border);
}
.cost-line{
  display:flex; justify-content:space-between; align-items:center;
  padding:6px 0; font-size:var(--fs-md);
}
.cost-label{ color:#1f2937; }
.cost-amount{
  font-variant-numeric:tabular-nums; font-feature-settings:"tnum";
  letter-spacing:.02em; font-weight:700;
}
.cost-amount.emph{ font-size:15.5px; }

/* Total destacado */
.total-row{
  margin-top:8px; padding:10px 12px; border-radius:10px;
  background:linear-gradient(180deg,#eaf2ff,#f8fbff);
  border:1px solid #cfe0ff; 
  display:flex; justify-content:space-between; align-items:center;
}
.total-row .total-label{ color:#083e8e; font-weight:700; }
.total-row .total-amount{
  color:#0b3ddb; font-weight:800; font-size:17px;
  font-variant-numeric:tabular-nums; font-feature-settings:"tnum";
}

/* Contenedor CUPÓN/AUTORIZACIÓN */
.contenedor-pago{
  background:#f8fafc; border:1px dashed var(--border);
  border-radius:12px; padding:12px; margin:12px 0;
}

/* Pequeño detalle de color dentro del panel */
.bna-chip{
  display:inline-flex; align-items:center; gap:6px;
  background:#eef2ff; color:#3730a3; border:1px solid #c7d2fe;
  padding:4px 8px; border-radius:999px; font-size:11.5px;
}

/* Mini separador */
.bna-divider{ height:1px; background:linear-gradient(to right,transparent,rgba(60,60,67,.2),transparent); margin:10px 0; }

.copy-btn{border:0;background:transparent;cursor:pointer;padding:0 6px;}
.copy-btn .bi{transition:transform .12s ease, color .12s ease;}
.copy-btn.copied .bi{transform:scale(1.1);color:var(--accent, #0d6efd);}
.copy-btn.copy-error .bi{transform:scale(1.1);color:#dc3545;}
/* FIN BOTONES BNA ACORDEON */

/* CELDA DE PAGO MERCADO LIBRE */
.td-payment { white-space: nowrap; }

.pay-card {
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid #e6e9f2;
    background: linear-gradient(180deg, #ffffff, #f6f8fb);
    box-shadow: 0 4px 12px rgba(16, 24, 40, .06);
    transition: transform .12s 
ease, box-shadow .12s 
ease, border-color .12s 
ease, background .2s 
ease;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
}
.pay-card:hover{ transform: translateY(-1px); box-shadow: 0 8px 18px rgba(16,24,40,.08); }

.pay-left{ display:flex; justify-content:center; align-items: center;gap:8px; min-width:0; text-align: left; font-family: "Rubik", "SF Pro Rounded", -apple-system, system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;}

.pay-logo{
  width:58px; height:32px;
  object-fit: contain;
  border-radius:8px;
}

.pay-logo-fallback{
  display:inline-flex; align-items:center; justify-content:center;
  width:58px; height:32px;
  border-radius:8px;
  background:#eef2ff; color:#3340a3;
  font-weight:800; font-size:.84rem; letter-spacing:.3px;
  border:1px solid #dfe5ff;
}

.pay-meta{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.pay-title{
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size:.86rem; font-weight:700; color:#0f172a; letter-spacing:-.2px;
  max-width:240px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.pay-subtitle{
  font-size:.7rem; color:#5b6477; max-width:240px;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}

.pay-right {
    background-color: #e4fbec;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-top: 4px;
    padding: 2px 4px;
    border-radius: 10px;
}

.pay-amount{
  font-weight:700; font-size:.98rem; letter-spacing:-.25px;
  font-family: "Rubik", "SF Pro Rounded", -apple-system, system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}
.pay-amount.accent{ color:#16a34a; }
.pay-amount.muted { color:#7a8499; text-shadow:none; }
/* tono de alerta para RECLAMO */
.pay-amount.warn  { color:#b45309; /* orange-700 */ }

.pay-badge, .status-badge{
  display:inline-flex; align-items:center; gap:6px;
  padding:4px 9px;
  border-radius:9999px;
  font-size:.66rem; font-weight:600; letter-spacing:.28px;
  line-height:1; user-select:none; vertical-align:middle;
  border:1px solid transparent;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.06);
}

.pay-badge.ok{
  background-color:#22c55e;
  color:#fff;
  border:1px solid rgba(34,197,94,.45);
}

.pay-badge.info, .status-badge.info{
  background: linear-gradient(90deg,#06b6d4,#3b82f6);
  color:#fff; border-color: rgba(59,130,246,.45);
}

.pay-badge.warn, .status-badge.warn{
  background: linear-gradient(90deg,#f59e0b,#f97316);
  color:#1f2937; border-color: rgba(249,115,22,.40);
}

.pay-badge.danger, .status-badge.danger{
  background: linear-gradient(90deg,#ff0033,#ff3b47);
  color:#fff; border-color: rgba(255,0,51,.55);
  text-transform: uppercase; letter-spacing:.33px;
  box-shadow: 0 6px 14px rgba(255,0,51,.28), inset 0 -1px 0 rgba(0,0,0,.08);
}

/* ——— Overlay absoluto para el caso RECLAMO + CANCELADO ——— */
.badge-overlay {
    position: absolute;
    right: 0px;
    top: 0px;
    z-index: 2;
    pointer-events: none;
    padding: 2px 5px;
    border-radius: 0 0 0 5px;
    font-size: .5rem;
    font-weight: 700;
    letter-spacing: .32px;
    line-height: 1;
    /* border: 1px solid transparent; */
    text-transform: uppercase;
    white-space: nowrap;
    /* box-shadow: 0 6px 14px rgba(0, 0, 0, .10); */
}
.badge-overlay.warm{
  background: linear-gradient(90deg,#f59e0b,#f97316); /* warm orange */
  color:#fff;
}

/* ——— ESTADO CANCELADO (rojo) ——— */
.pay-card.is-canceled{
  border-color:#ff0033;
  background: linear-gradient(180deg,#fff5f7 0%, #ffe3e8 100%);
  box-shadow: 0 0 0 2px rgba(255,0,51,.22), 0 12px 28px rgba(255,0,51,.28);
  position: relative; overflow: hidden;
}
.pay-card.is-canceled::before{
  content:""; position:absolute; inset:0; border-radius:10px; pointer-events:none;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255,0,51,.22) 0 7px,
    rgba(255,0,51,.08) 7px 14px
  );
  opacity:.40; mix-blend-mode:multiply;
  animation: stripes 1.05s linear infinite;
}
.pay-card.is-canceled::after{
  content:""; position:absolute; left:0; top:0; bottom:0; width:6px;
  background: linear-gradient(180deg,#ff0033,#ff4b5f);
  box-shadow: 0 0 0 2px rgba(255,0,51,.25), 0 0 16px rgba(255,0,51,.55);
  animation: barPulse 1.35s ease-in-out infinite;
}
.pay-card.is-canceled .pay-amount{
  color:#8b1a1a;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(255,0,51,.65);
}

/* ——— ESTADO EN RECLAMO (naranja) ——— */
.pay-card.is-claim{
  border-color:#f97316; /* orange-500 */
  background: linear-gradient(180deg,#fff7ed 0%, #ffedd5 100%); /* amber-50 → orange-100 */
  box-shadow: 0 0 0 2px rgba(249,115,22,.22), 0 12px 28px rgba(249,115,22,.28);
  position: relative; overflow: hidden;
}
.pay-card.is-claim::before{
  content:""; position:absolute; inset:0; border-radius:10px; pointer-events:none;
  background: repeating-linear-gradient(
    -45deg,
    rgba(249,115,22,.22) 0 7px,
    rgba(249,115,22,.08) 7px 14px
  );
  opacity:.40; mix-blend-mode:multiply;
  animation: stripes 1.05s linear infinite;
}
.pay-card.is-claim::after{
  content:""; position:absolute; left:0; top:0; bottom:0; width:6px;
  background: linear-gradient(180deg,#f59e0b,#f97316); /* amber-500 → orange-500 */
  box-shadow: 0 0 0 2px rgba(249,115,22,.25), 0 0 16px rgba(249,115,22,.55);
  animation: barPulseWarn 1.35s ease-in-out infinite;
}
/* En reclamo: no tachamos, solo tono naranja marcado */
.pay-card.is-claim .pay-amount{ color:#b45309; }

@keyframes stripes{ from{background-position:0 0} to{background-position:60px 0} }
@keyframes barPulse{
  0%,100%{ filter:brightness(1); box-shadow:0 0 0 2px rgba(255,0,51,.25), 0 0 14px rgba(255,0,51,.50) }
  50%    { filter:brightness(1.08); box-shadow:0 0 0 3px rgba(255,0,51,.32), 0 0 20px rgba(255,0,51,.65) }
}
/* Pulso naranja para RECLAMO */
@keyframes barPulseWarn{
  0%,100%{ filter:brightness(1); box-shadow:0 0 0 2px rgba(249,115,22,.25), 0 0 14px rgba(249,115,22,.50) }
  50%    { filter:brightness(1.08); box-shadow:0 0 0 3px rgba(249,115,22,.32), 0 0 20px rgba(249,115,22,.65) }
}

#data-table td{ padding-top:7px; padding-bottom:7px; }

@media (prefers-reduced-motion: reduce){
  .pay-card.is-canceled::before,
  .pay-card.is-canceled::after,
  .pay-card.is-claim::before,
  .pay-card.is-claim::after{
    animation: none !important;
  }
}
/* FIN CELDA DE PAGO MERCADO LIBRE */

/* === PRODUCTO (aislado) — avatar circular + badge fuera + SKU === */
.product-cell-meli-chip { white-space: nowrap; }

.product-chip-meli-chip{
  all: unset;
  display:inline-flex; flex-direction:column; align-items:center; gap:6px;
  cursor:pointer; padding:6px 8px; border-radius:12px;
  transition: transform .12s ease, box-shadow .12s ease, background .2s ease;
}
.product-chip-meli-chip:hover{ transform: translateY(-1px); }
.product-chip-meli-chip:focus-visible{
  outline:none; box-shadow: 0 0 0 3px rgba(59,130,246,.35);
}

/* Wrapper sin overflow para que el badge NO se recorte */
.product-avatar-wrap-meli-chip{
  position:relative;
  width:64px; height:64px;
  display:inline-block;
}

/* Círculo con overflow hidden SOLO en el avatar */
.product-avatar-meli-chip{
  position:relative;
  width:64px; height:64px; border-radius:9999px; overflow:hidden;
  display:grid; place-items:center;
  background: linear-gradient(180deg,#ffffff,#f6f8fb);
  border:1px solid #e6e9f2;
  box-shadow: 0 4px 12px rgba(16,24,40,.06), inset 0 -1px 0 rgba(0,0,0,.04);
}
.product-avatar-meli-chip::after{
  content:""; position:absolute; inset:0; border-radius:9999px; pointer-events:none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -1px 0 rgba(0,0,0,.05);
}
.product-avatar-meli-chip img{
  width:100%; height:100%; object-fit:cover; border-radius:inherit; display:block;
}
.product-avatar-fallback-meli-chip{
  font-size:28px; line-height:1;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.6));
}

/* Badge de cantidad — por fuera del círculo */
.qty-badge-meli-chip{
  position:absolute; right:-6px; top:-6px;
  min-width:22px; height:22px; padding:0 6px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:9999px;
  background: linear-gradient(90deg,#6366f1,#3b82f6); /* default: indigo → blue */
  color:#fff; font-weight:700; font-size:.68rem; letter-spacing:.2px;
  border:1px solid rgba(59,130,246,.5);
  box-shadow: 0 6px 14px rgba(59,130,246,.35), inset 0 -1px 0 rgba(255,255,255,.25);
  pointer-events:none;
}

/* ALERTA: si cantidad > 1, el CÍRCULO DEL BADGE pasa a rojo */
.qty-badge-meli-chip.is-alert-meli-chip{
  background: linear-gradient(90deg,#ef4444,#f43f5e);
  border-color: rgba(244,63,94,.5);
  box-shadow: 0 6px 14px rgba(244,63,94,.35), inset 0 -1px 0 rgba(255,255,255,.25);
}

/* SKU pill debajo */
.sku-label-meli-chip{
  font-family: "Rubik", sans-serif;
  font-size:.72rem; font-weight:500; letter-spacing:-.2px;
  color:#0f172a;
  background:#f2f4f7;
  padding:3px 8px;
  border-radius:9999px;
  max-width:120px; text-overflow:ellipsis; overflow:hidden; white-space:nowrap;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.06);
}

/* Pills dentro del modal */
.macos-style-producto-meli-chip{
  align-items:center;
  gap:8px;
  padding:8px 10px;
  background: linear-gradient(180deg,#111827,#0b1324);
  color:#e5e7eb;
  border-radius:10px 10px 0 0;
  border:1px solid rgba(255,255,255,.06);
  box-shadow: 0 6px 18px rgba(2,6,23,.35), inset 0 -1px 0 rgba(255,255,255,.04);
  font-size:.88rem;
}
.sku-pill-meli-chip{
  display:inline-flex; align-items:center;
  background:#111827; color:#fff;
  border:1px solid rgba(255,255,255,.12);
  padding:2px 8px; border-radius:9999px; font-weight:700; letter-spacing:.2px;
}
.product-name-meli-chip{ color:#cbd5e1; font-weight:500; }

.no-image-pill-meli-chip{
  background:#f2f4f7; color:#334155; border:1px solid #e6e9f2;
  padding:6px 10px; border-radius:9999px; font-weight:600; font-size:.8rem;
}

/* Respeta reduce motion */
@media (prefers-reduced-motion: reduce){
  .product-chip-meli-chip{ transition: none; }
}
/* === FIN PRODUCTO (aislado) — avatar circular + badge fuera + SKU === */

.camion-spinner-wrap{
  min-height: 50vh; 
}
.camion-spinner{
  width: 5rem;
  height: 5rem;
  border-width: .6rem; /
}

/* controlMeliCamion.css
 * Estética macOS, glassmorphism suave, clases terminadas en -md-meli
 */

/* Layout base */
.wrap-md-meli {
  display: grid;
  gap: 16px;
  padding: 12px;
}

/* Config bar */
.cfg-bar-md-meli {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  background: rgba(255,255,255,0.6);
  backdrop-filter: saturate(1.2) blur(12px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 10px 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}
.cfg-item-md-meli { display: flex; align-items: center; gap: 10px; }
.cfg-label-md-meli { font-weight: 600; margin-left: 4px; }
.cfg-spacer-md-meli { display: none; }
.cfg-actions-md-meli { display: flex; gap: 8px; }

.btn-chip-md-meli {
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.1);
  padding: 6px 12px;
  font-weight: 600;
}

/* Info debajo de config */
.cfg-info-md-meli {
  margin: 0;
  font-size: 0.925rem;
  color: #3c3c43;
  background: #f5f5f7;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 10px 12px;
}

/* Pallet badge */
.pallet-head-md-meli {
  display: flex;
  align-items: center;
}
.pill-md-meli {
  background: linear-gradient(#f5f5f7, #ececf0);
  color: #111;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 6px 10px;
  font-weight: 700;
}

/* Área de escaneo */
.scan-area-md-meli {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
}
.scan-stack-md-meli { display: grid; gap: 8px; }
.scan-input-md-meli {
  width: 100%;
  height: 64px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 0 16px;
  font-size: 28px;
  line-height: 64px;
  outline: none;
  background: rgba(255,255,255,0.85);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 4px 14px rgba(0,0,0,0.06);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.scan-input-md-meli:focus {
  border-color: #0071e3;
  box-shadow: 0 0 0 4px rgba(0,113,227,0.15);
  background: rgba(255,255,255,0.95);
}
.scan-error-md-meli {
  border-color: #ff3b30 !important;
  box-shadow: 0 0 0 4px rgba(255,59,48,0.2) !important;
}
.scan-ok-md-meli {
  border-color: #34c759 !important;
  box-shadow: 0 0 0 4px rgba(52,199,89,0.2) !important;
}

.scan-help-md-meli {
  font-size: 0.9rem;
  color: #8e8e93;
  min-height: 1.2em;
  opacity: 0;
  transform: translateY(-4px);
  transition: .2s ease;
}
.scan-help-md-meli.show {
  opacity: 1; transform: translateY(0);
}

.btn-pallet-md-meli {
  height: 64px;
  border-radius: 14px;
  font-weight: 700;
  padding: 0 18px;
}

/* Ficha de producto */
.card-prod-md-meli {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
}
.card-left-md-meli { display: flex; align-items: center; justify-content: center; }
.foto-wrap-md-meli {
  width: 240px; height: 240px;
  border-radius: 16px; overflow: hidden;
  background: #f2f2f7;
  display: grid; place-items: center;
  border: 1px solid rgba(0,0,0,0.06);
}
.foto-wrap-md-meli img { width: 100%; height: 100%; object-fit: cover; display: block; }
.skeleton-md-meli { background: linear-gradient(90deg,#f2f2f7 25%,#e6e6ea 37%,#f2f2f7 63%); background-size: 400% 100%; animation: shimmer-md-meli 1.4s ease infinite; }
@keyframes shimmer-md-meli { 0%{background-position: 100% 0;} 100%{background-position: 0 0;} }

.card-right-md-meli { display: grid; align-content: start; gap: 6px; }

/* Lista estilo macOS */
.list-macos-md-meli {
  list-style: none;
  margin: 0; padding: 0;
  display: grid; gap: 8px;
}
.li-md-meli {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  background: rgba(255,255,255,0.66);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}
.li-left-md-meli { font-weight: 600; color: #111; }
.li-right-md-meli { color: #3c3c43; font-weight: 700; }
.li-kv-md-meli { display: grid; grid-template-columns: 90px 1fr; gap: 8px; }
.li-kv-md-meli span { color: #6b7280; font-weight: 600; }

/* Paneles lista */
.panel-list-md-meli {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 10px 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}
.panel-title-md-meli {
  margin: 0 0 8px 0;
  font-weight: 800;
  color: #111;
}

/* Badges suaves */
.badge-soft-md-meli {
  display: inline-block;
  padding: 6px 10px;
  background: #eef2ff;
  color: #111;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.06);
}

/* Overlays */
.overlay-md-meli {
  position: fixed; inset: 0;
  display: grid; place-items: center;
  background: rgba(0,0,0,0.25);
  z-index: 2000;
}
.overlay-card-md-meli {
  min-width: 300px; max-width: 92vw;
  border-radius: 20px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
  padding: 22px;
  text-align: center;
}
.overlay-warm-md-meli .overlay-card-md-meli { background: rgba(255,246,233,0.9); }
.overlay-warning-md-meli .overlay-card-md-meli { background: rgba(255,240,220,0.92); }
.overlay-danger-md-meli .overlay-card-md-meli { background: rgba(255,230,230,0.92); }
.overlay-mixed-md-meli .overlay-card-md-meli { background: linear-gradient(180deg, rgba(255,240,220,0.95), rgba(255,230,230,0.95)); }

.overlay-icon-md-meli {
  font-size: 48px; color: #111; margin-bottom: 10px;
}
.overlay-title-md-meli { font-weight: 800; font-size: 1.2rem; color: #111; }
.overlay-subtitle-md-meli { color: #3c3c43; margin-top: 2px; margin-bottom: 12px; }
.overlay-actions-md-meli { display: flex; justify-content: center; gap: 10px; }

.spinner-md-meli {
  width: 38px; height: 38px; border-radius: 50%;
  border: 3px solid rgba(0,0,0,0.08);
  border-top-color: #111;
  animation: spin-md-meli 1s linear infinite;
  margin: 6px auto 10px;
}
@keyframes spin-md-meli { to { transform: rotate(360deg); } }

/* Hover letras blancas */
.hover-white-md-meli:hover { color: #fff !important; }

/* ean mismatch */
.ean-mismatch-md-meli {
  background: rgba(255,240,220,0.66);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 10px 12px;
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.06);
}
.ean-title-md-meli { font-weight: 800; color: #111; }
.ean-sub-md-meli { color: #3c3c43; margin-bottom: 8px; }
.ean-actions-md-meli { display: flex; align-items: center; gap: 12px; }
.ean-note-md-meli { color: #6b7280; font-style: italic; }

/* Toast */
.toast-md-meli {
  position: fixed;
  bottom: 24px; right: 24px;
  background: rgba(17,17,17,0.9);
  color: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  opacity: 0; transform: translateY(10px);
  transition: .2s ease;
  z-index: 2100;
}
.toast-md-meli.show { opacity: 1; transform: translateY(0); }

/* Responsivo */
@media (max-width: 992px) {
  .card-prod-md-meli { grid-template-columns: 1fr; }
  .scan-area-md-meli { grid-template-columns: 1fr; }
}

.ni-file-ph{
  position:absolute; inset:0;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:6px;
  background:#f8fafc; color:#0f172a;
}
.ni-file-ph i{ font-size:34px; opacity:.85; }
.ni-file-ext{
  font-weight:800; font-size:.8rem; color:#334155;
  text-transform:uppercase; letter-spacing:.04em;
}

.swal2-container-macos-meliAr {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif;
}

.swal2-popup-macos-meliAr {
  border-radius: 20px;
  padding: 22px 24px;
  background: linear-gradient(180deg, rgba(248,249,251,0.95), rgba(242,244,248,0.92));
  box-shadow:
    0 10px 28px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.55);
}

.swal2-title-macos-meliAr {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: #0f172a;
  text-shadow: 0 1px 0 rgba(255,255,255,0.9);
  margin-bottom: 10px;
}

.swal2-html-macos-meliAr {
  color: #111827;
  font-size: 14px;
  line-height: 1.45;
}

.swal2-confirm-macos-meliAr,
.swal2-cancel-macos-meliAr {
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform .06s ease, box-shadow .12s ease, background .12s ease;
}

.swal2-confirm-macos-meliAr {
  background: linear-gradient(180deg, #22c55e, #16a34a);
  color: #ffffff;
  border-color: #16a34a;
  text-shadow: 0 1px 0 rgba(0,0,0,0.12);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.15) inset,
    0 6px 14px rgba(22,163,74,0.25);
}
.swal2-confirm-macos-meliAr:hover {
  background: linear-gradient(180deg, #16a34a, #15803d);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 10px 18px rgba(21,128,61,0.28);
}
.swal2-confirm-macos-meliAr:active {
  background: linear-gradient(180deg, #15803d, #166534);
  transform: translateY(0);
}
.swal2-confirm-macos-meliAr:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.35), 0 1px 0 rgba(255,255,255,0.2) inset;
}

/* Cancelar: neutro */
.swal2-cancel-macos-meliAr {
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
  color: #334155;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.7) inset,
    0 6px 14px rgba(0,0,0,0.08);
}
.swal2-cancel-macos-meliAr:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 8px 18px rgba(0,0,0,0.12);
}

.card-macos-meliAr {
  display: grid;
  gap: 12px;
}

.card-hd-macos-meliAr {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
}

.title-row-macos-meliAr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.measure-note-macos-meliAr{
  margin-bottom: 0!important;
}

.product-name-macos-meliAr {
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.pill-ok-macos-meliAr,
.pill-warn-macos-meliAr,
.pill-lp-macos-meliAr {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  margin-top: 10px;
}

.pill-ok-macos-meliAr {
  background: rgba(34,197,94,0.14);
  color: #166534;
  border: 1px solid rgba(34,197,94,0.25);
}

.pill-lp-macos-meliAr {
  background: rgba(59,130,246,0.14); 
  color: #1e3a8a;                   
  border: 1px solid rgba(59,130,246,0.25);
}

.pill-warn-macos-meliAr {
  background: rgba(245,158,11,0.16);
  color: #92400e;
  border: 1px solid rgba(245,158,11,0.28);
}

.product-meta-macos-meliAr {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.meta-chip-macos-meliAr {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(0,0,0,0.06);
  color: #334155;
  font-size: 12px;
}

.product-desc-macos-meliAr {
  margin: 0;
  color: #334155;
  font-size: 13px;
  display: none;
}

.measure-box-macos-meliAr {
  background: rgba(255,255,255,0.6);
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.7) inset,
    0 6px 14px rgba(0,0,0,0.06);
  padding: 10px;
}

.measure-title-macos-meliAr {
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.measure-values-macos-meliAr {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.measure-chip-macos-meliAr {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 6px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
}
.measure-chip-macos-meliAr span { color: #475569; font-size: 12px; }
.measure-chip-macos-meliAr strong { color: #0f172a; font-weight: 800; letter-spacing: -0.02em; }
.measure-chip-macos-meliAr small { color: #64748b; }

.counter-flex-macos-meliAr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px;
  background: rgba(255,255,255,0.6);
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.7) inset,
    0 6px 14px rgba(0,0,0,0.06);
}

.counter-btn-macos-meliAr {
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid rgba(0,0,0,0.08);
  background: linear-gradient(180deg, #ffffff, #f3f4f6);
  border-radius: 12px;
  height: 44px;
  width: 44px;
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .05s ease, box-shadow .12s ease;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 6px 14px rgba(0,0,0,0.06);
}
.counter-btn-macos-meliAr:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 8px 18px rgba(0,0,0,0.10);
}

.counter-val-macos-meliAr {
  min-width: 64px;
  text-align: center;
  font-size: 45px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: green;
  text-shadow: 0 1px 0 rgba(255,255,255,0.9);
  font-family: "Rubik", sans-serif;
}

.hint-macos-meliAr {
  margin: 6px 0 0 0;
  opacity: 0.85;
  color: #334155;
  font-size: 12px;
}

.error-box-macos-meliAr {
  padding: 12px 14px;
  background: rgba(255, 0, 0, 0.06);
  border: 1px solid rgba(255, 0, 0, 0.16);
  border-radius: 12px;
  color: #7f1d1d;
}

.loading-wrap-macos-meliAr {
  display: flex;
  align-items: center;
  justify-content: center; 
  gap: 12px;
  padding: 8px 0;
  text-align: center;       
  min-height: 64px;         
  width: 100%;
}

.spinner-macos-meliAr {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.12);
  border-top-color: rgba(0,0,0,0.65);
  animation: spin-macos-meliAr .8s linear infinite;
}

@keyframes spin-macos-meliAr {
  to { transform: rotate(360deg); }
}

.loading-subtitle-macos-meliAr {
  margin: 0;
  color: #334155;
  font-size: 13px;
}

.mono-macos-meliAr {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  color: #1f2937;
  word-break: break-word;
}

/* POPUPS GENERALES (estilo macOS glass) */
.swal-popup-config-quey-tandas,
.swal-popup-loader-quey-tandas,
.swal-popup-resumen-quey-tandas {
    border-radius: 18px !important;
    padding: 18px 20px 22px 20px !important;
    background: rgba(255, 255, 255, 0.86) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

.swal-title-quey-tandas {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 8px !important;
}

/* Botones de Swal */
.swal-confirm-quey-tandas {
    background: linear-gradient(135deg, #0a84ff, #4ba3ff) !important;
    border-radius: 999px !important;
    padding: 8px 20px !important;
    box-shadow: 0 6px 16px rgba(10, 132, 255, 0.35);
    border: none !important;
}

.swal-cancel-quey-tandas {
    background: rgba(142, 142, 147, 0.18) !important;
    border-radius: 999px !important;
    padding: 8px 20px !important;
    border: 1px solid rgba(142, 142, 147, 0.4) !important;
    color: #333 !important;
}

/* TARJETA DE CONFIGURACIÓN */
.config-card-quey-tandas {
    border-radius: 16px;
    padding: 14px 14px 10px 14px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(245, 246, 248, 0.9));
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.config-header-quey-tandas {
    margin-bottom: 10px;
}

.config-title-quey-tandas {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    letter-spacing: -0.01em;
}

.config-subtitle-quey-tandas {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}

.config-options-quey-tandas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}

.config-chip-quey-tandas {
    position: relative;
    border-radius: 12px;
    padding: 10px 10px 9px 10px;
    background: rgba(249, 250, 251, 0.95);
    border: 1px solid rgba(209, 213, 219, 0.9);
    cursor: pointer;
    transition: all 0.18s ease-out;
}

.config-chip-quey-tandas:hover {
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.98);
}

.config-chip-active-quey-tandas {
    border-color: rgba(10, 132, 255, 0.85);
    box-shadow: 0 0 0 1px rgba(10, 132, 255, 0.32);
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.09), rgba(10, 132, 255, 0.02));
}

.config-radio-quey-tandas {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.config-chip-title-quey-tandas {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px;
}

.config-chip-text-quey-tandas {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.35;
}

/* Píldora de info (fecha + tandas) */
.config-pill-quey-tandas {
    margin-top: 12px;
    font-size: 12px;
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(243, 244, 246, 0.9);
}

/* LOADER macOS */
.loader-shell-quey-tandas {
    min-width: 280px;
    max-width: 360px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(245, 246, 248, 0.96));
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
    padding: 12px 16px 14px 16px;
}

.loader-header-quey-tandas {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.loader-dot-quey-tandas {
    width: 9px;
    height: 9px;
    border-radius: 999px;
}

.loader-dot-red-quey-tandas {
    background: #ff5f57;
}

.loader-dot-amber-quey-tandas {
    background: #febc2e;
}

.loader-dot-green-quey-tandas {
    background: #28c840;
}

.loader-body-quey-tandas {
    margin-top: 4px;
}

.loader-title-quey-tandas {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    letter-spacing: -0.01em;
}

.loader-subtitle-quey-tandas {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
    margin-bottom: 10px;
}

.loader-progress-quey-tandas {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(229, 231, 235, 0.95);
    overflow: hidden;
}

.loader-progress-bar-quey-tandas {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, #0a84ff, #64d2ff);
    transition: width 0.25s cubic-bezier(.4,0,.2,1);
}

.loader-percent-quey-tandas {
    font-size: 13px;
    font-weight: 600;
    color: #0a84ff;
    text-align: right;
    margin-top: 6px;
}

/* TABLA RESUMEN */
.tabla-reporte-quey-tandas {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

.tabla-titulo-quey-tandas {
    text-align: center;
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 600;
}

.tabla-meta-quey-tandas {
    text-align: center;
    color: #6b7280;
    font-size: 12px;
    margin: 2px 0;
}

.tabla-wrapper-quey-tandas {
    margin-top: 10px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(209, 213, 219, 0.8);
    background: rgba(255, 255, 255, 0.98);
}

/* Botón imprimir en footer */
.btn-imprimir-quey-tandas {
    border-radius: 999px;
}

/* Detalle de collapse de cada SKU */
.detalle-collapse-quey-tandas {
    padding: 10px;
    background: rgba(249, 250, 251, 0.98);
    border-radius: 12px;
    border: 1px solid rgba(209, 213, 219, 0.9);
}

/* Iconito toggle */
.toggle-collapse-quey-tandas span {
    font-size: 11px;
}

/* BLOQUEO DE SCROLL CUANDO HAY MODAL PROPIO */
.qt-body-lock-quey-tandas {
    overflow: hidden;
}

/* ───────────────────────────────────────────── */
/* OVERLAY + MODAL PROPIO (CONFIG + LOADER)     */
/* ───────────────────────────────────────────── */

.qt-overlay-quey-tandas {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.25);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.qt-modal-shell-quey-tandas {
    width: min(640px, 96vw);
}

.qt-modal-quey-tandas {
    background: #f5f5f7;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(148, 163, 184, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* HEADER macOS */

.qt-modal-header-quey-tandas {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(209, 213, 219, 0.9);
    background: linear-gradient(to bottom, #ffffff, #f3f4f6);
}

.qt-window-dots-quey-tandas {
    display: flex;
    gap: 6px;
}

.qt-window-dots-quey-tandas .dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
}

.qt-window-dots-quey-tandas .dot.red {
    background: #ff5f57;
}

.qt-window-dots-quey-tandas .dot.amber {
    background: #febc2e;
}

.qt-window-dots-quey-tandas .dot.green {
    background: #28c840;
}

.qt-modal-title-group-quey-tandas {
    display: flex;
    flex-direction: column;
}

.qt-modal-title-main-quey-tandas {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
    font-size: 17px;
    font-weight: 600;
    margin: 0;
    color: #111827;
}

.qt-modal-subtitle-main-quey-tandas {
    font-size: 13px;
    color: #6b7280;
    margin: 2px 0 0;
}

/* BODY GENÉRICO */

.qt-modal-body-quey-tandas {
    padding: 12px 16px 10px;
    background: #f9fafb;
}

/* FOOTER GENÉRICO */

.qt-modal-footer-quey-tandas {
    padding: 8px 14px 10px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    border-top: 1px solid rgba(209, 213, 219, 0.9);
    background: #f5f5f7;
}

/* BOTONES */

.qt-btn-primary-quey-tandas,
.qt-btn-secondary-quey-tandas,
.qt-btn-danger-outline-quey-tandas {
    border-radius: 999px;
    font-size: 13px;
    padding: 7px 18px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.15s ease-out;
}

.qt-btn-primary-quey-tandas {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #ffffff;
    border-color: rgba(37, 99, 235, 0.95);
}

.qt-btn-primary-quey-tandas:hover {
    background: linear-gradient(135deg, #1d4ed8, #4338ca);
}

.qt-btn-secondary-quey-tandas {
    background: #ffffff;
    color: #4b5563;
    border-color: rgba(209, 213, 219, 1);
}

.qt-btn-secondary-quey-tandas:hover {
    background: #f3f4f6;
}

.qt-btn-danger-outline-quey-tandas {
    background: #ffffff;
    color: #b91c1c;
    border-color: rgba(239, 68, 68, 0.8);
    font-size: 12px;
    padding: 5px 14px;
}

.qt-btn-danger-outline-quey-tandas:hover {
    background: #fee2e2;
}

/* ───────────────────────────────────────────── */
/* SECCIÓN CONFIGURACIÓN                        */
/* ───────────────────────────────────────────── */

.qt-config-section-quey-tandas {
    margin-bottom: 14px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(209, 213, 219, 0.9);
    padding: 10px 12px;
}

.qt-config-section-header-quey-tandas h3 {
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.qt-config-section-header-quey-tandas p {
    margin: 0 0 8px;
    font-size: 12px;
    color: #6b7280;
}

.qt-option-list-quey-tandas {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qt-option-item-quey-tandas {
    display: block;
}

.qt-option-item-quey-tandas input[type="radio"] {
    display: none;
}

.qt-option-card-quey-tandas {
    border-radius: 12px;
    border: 1px solid rgba(209, 213, 219, 0.9);
    padding: 9px 10px;
    background: linear-gradient(135deg, #ffffff, #f9fafb);
    cursor: pointer;
    transition: all 0.15s ease-out;
}

.qt-option-title-line-quey-tandas {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.qt-option-icon-quey-tandas {
    font-size: 17px;
}

.qt-option-title-quey-tandas {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}

.qt-option-desc-quey-tandas {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

.qt-option-card-quey-tandas:hover {
    border-color: rgba(59, 130, 246, 0.85);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.25);
}

.qt-option-item-quey-tandas input[type="radio"]:checked + .qt-option-card-quey-tandas {
    border-color: rgba(59, 130, 246, 1);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.45), 0 10px 25px rgba(15, 23, 42, 0.08);
    background: linear-gradient(135deg, #e0f2fe, #eef2ff);
}

.qt-config-hint-quey-tandas {
    margin: 8px 0 0;
    font-size: 11px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 4px;
}

.qt-config-hint-quey-tandas i {
    font-size: 12px;
}

.qt-config-error-quey-tandas {
    margin-top: 6px;
    font-size: 12px;
    color: #b91c1c;
}

/* ───────────────────────────────────────────── */
/* LOADER LAYOUT                                */
/* ───────────────────────────────────────────── */

.qt-loader-layout-quey-tandas {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.qt-loader-left-quey-tandas,
.qt-loader-right-quey-tandas {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Spinner */

.qt-loader-spinner-wrap-quey-tandas {
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.qt-loader-spinner-quey-tandas {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 3px solid rgba(209, 213, 219, 0.9);
    border-top-color: #2563eb;
    animation: qt-spin-quey-tandas 0.9s linear infinite;
}

@keyframes qt-spin-quey-tandas {
    to {
        transform: rotate(360deg);
    }
}

.qt-loader-text-block-quey-tandas {
    text-align: center;
}

.qt-loader-subtitle-quey-tandas {
    margin: 4px 0 0;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}

.qt-loader-detail-quey-tandas {
    margin: 2px 0 0;
    font-size: 12px;
    color: #6b7280;
}

/* Info card derecha */

.qt-loader-info-card-quey-tandas {
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(209, 213, 219, 0.9);
    padding: 8px 10px;
    font-size: 12px;
    color: #374151;
}

.qt-loader-info-card-quey-tandas h4 {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}

.qt-loader-info-card-quey-tandas ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qt-loader-info-card-quey-tandas li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 3px;
}

.qt-loader-info-card-quey-tandas li span {
    color: #6b7280;
}

.qt-loader-info-card-quey-tandas li strong {
    color: #111827;
}

/* Barra de progreso */

.qt-loader-progress-block-quey-tandas {
    margin-top: 4px;
    padding: 6px 0 0;
}

.qt-loader-bar-bg-quey-tandas {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.qt-loader-bar-fill-quey-tandas {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    transition: width 0.15s ease-out;
}

.qt-loader-progress-row-quey-tandas {
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #6b7280;
}

.qt-loader-percent-quey-tandas {
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    color: #111827;
}

/* ───────────────────────────────────────────── */
/* SWEETALERT: POPUP RESUMEN (TABLA)            */
/* ───────────────────────────────────────────── */

.swal-popup-resumen-quey-tandas {
    max-width: calc(100vw - 32px) !important;
    width: 1050px !important;
    border-radius: 18px !important;
    padding: 16px 18px !important;
    background: #f5f5f7 !important;
    color: #111827 !important;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35) !important;
}

.swal-popup-resumen-quey-tandas .swal2-title {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 6px;
    text-align: center;
    color: #111827;
}

.swal-popup-resumen-quey-tandas .swal2-html-container {
    margin: 4px 0 0 !important;
    padding: 0 !important;
}

/* CONTENEDOR TABLA */

.tabla-container-quey-tandas {
    max-width: 100%;
    box-sizing: border-box;
}

/* Encabezado */

.tabla-header-quey-tandas {
    text-align: center;
    margin-bottom: 10px;
}

.tabla-titulo-quey-tandas {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px;
}

.tabla-subtitulo-quey-tandas {
    margin: 0;
    font-size: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    color: #4b5563;
}

.meta-chip-quey-tandas {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(209, 213, 219, 0.9);
}

/* Métricas */

.tabla-metricas-quey-tandas {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 8px;
}

.metric-pill-quey-tandas {
    min-width: 150px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #eff6ff, #e0f2fe);
    border: 1px solid rgba(59, 130, 246, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-pill-soft-quey-tandas {
    background: linear-gradient(135deg, #fef9c3, #fef3c7);
    border-color: rgba(234, 179, 8, 0.8);
}

.metric-label-quey-tandas {
    font-size: 11px;
    color: #6b7280;
}

.metric-value-quey-tandas {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

/* IDs Excluidos */

.ids-excluidos-wrapper-quey-tandas {
    margin-bottom: 8px;
    text-align: right;
}

.btn-ver-ids-quey-tandas {
    border-radius: 999px;
    border: 1px solid rgba(209, 213, 219, 0.9);
    background: #ffffff;
    color: #4b5563;
    font-size: 11px;
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.btn-ver-ids-quey-tandas i {
    font-size: 12px;
}

.btn-ver-ids-quey-tandas:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.ids-excluidos-card-quey-tandas {
    margin-top: 6px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px dashed rgba(148, 163, 184, 0.9);
}

.ids-excluidos-title-quey-tandas {
    margin: 0 0 2px;
    font-size: 13px;
}

.ids-excluidos-text-quey-tandas {
    margin: 0 0 4px;
    font-size: 11px;
    color: #6b7280;
}

.ids-excluidos-list-quey-tandas {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-height: 120px;
    overflow-y: auto;
}

.id-pill-quey-tandas {
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 11px;
    background: #f9fafb;
    border: 1px solid rgba(209, 213, 219, 1);
}

/* TABLA PRINCIPAL */

.tabla-wrapper-quey-tandas {
    margin-top: 6px;
    border-radius: 12px;
    border: 1px solid rgba(209, 213, 219, 0.9);
    background: #ffffff;
    overflow: hidden;
    box-sizing: border-box;
}

.tabla-quey-tandas {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 12px;
}

.tabla-head-quey-tandas th {
    background: #2563eb;
    color: #ffffff;
    font-weight: 500;
    padding: 6px 8px;
    border-bottom: 1px solid rgba(37, 99, 235, 1);
    text-align: left;
}

.tabla-quey-tandas th,
.tabla-quey-tandas td {
    border-bottom: 1px solid rgba(229, 231, 235, 1);
    padding: 6px 8px;
    vertical-align: middle;
    word-wrap: break-word;
    white-space: normal;
}

/* Filas alternadas */

.fila-main-quey-tandas:nth-child(even) > td {
    background: #f9fafb;
}

.fila-main-quey-tandas:nth-child(odd) > td {
    background: #ffffff;
}

/* Columnas */

.td-sku-quey-tandas {
    width: 20%;
}

.td-cantidad-quey-tandas {
    width: 8%;
    text-align: center;
}

.td-descripcion-quey-tandas {
    width: 42%;
}

.td-presea-quey-tandas {
    width: 12%;
    text-align: center;
}

.td-tandas-quey-tandas {
    width: 18%;
}

/* SKU + botón */

.sku-main-quey-tandas {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

.sku-text-quey-tandas {
    font-weight: 500;
    font-size: 12px;
}

.btn-detalle-quey-tandas {
    border-radius: 999px;
    border: 1px solid rgba(209, 213, 219, 1);
    background: #f9fafb;
    color: #4b5563;
    width: 24px;
    height: 24px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-detalle-quey-tandas:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

/* Cantidad */

.cantidad-circulo-quey-tandas {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    min-width: 26px;
    height: 26px;
    font-size: 12px;
    font-weight: 600;
}

.cantidad-circulo-quey-tandas.uno {
    background: #dbeafe;
    color: #1d4ed8;
    border: 1px solid #93c5fd;
}

.cantidad-circulo-quey-tandas.multiple {
    background: #bbf7d0;
    color: #166534;
    border: 1px solid #4ade80;
}

/* Presea */

.badge-presea-quey-tandas {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    min-width: 40px;
    height: 22px;
    font-size: 11px;
    padding: 0 8px;
    background: #dcfce7;
    border: 1px solid #22c55e;
    color: #166534;
}

.badge-presea-off-quey-tandas {
    background: #e5e7eb;
    border-color: #9ca3af;
    color: #4b5563;
}

/* Tandas */

.tandas-pill-quey-tandas {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    background: #e0f2fe;
    border: 1px solid #38bdf8;
    color: #075985;
}

/* Detalle IDs */

.fila-detalle-quey-tandas td {
    background: #f9fafb;
}

.detalle-card-quey-tandas {
    margin-top: 4px;
    border-radius: 10px;
    border: 1px solid rgba(229, 231, 235, 1);
    padding: 6px 8px;
    background: #ffffff;
}

.detalle-header-quey-tandas {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.detalle-title-quey-tandas {
    font-size: 12px;
    font-weight: 500;
    color: #111827;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tabla-detalle-quey-tandas {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.tabla-detalle-quey-tandas th,
.tabla-detalle-quey-tandas td {
    border-bottom: 1px solid rgba(229, 231, 235, 1);
    padding: 4px 6px;
}

.tabla-detalle-quey-tandas th {
    background: #f3f4f6;
    color: #111827;
    font-weight: 500;
}

.detalle-cantidad-quey-tandas {
    text-align: center;
}

/* Botón imprimir + footer */

.btn-imprimir-quey-tandas {
    border-radius: 999px;
    border: 1px solid rgba(209, 213, 219, 1);
    background: #ffffff;
    color: #111827;
    padding: 5px 14px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    margin-right: 8px;
}

.btn-imprimir-quey-tandas:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.footer-fecha-quey-tandas {
    font-size: 11px;
    color: #6b7280;
}

/* ───────────────────────────────────────────── */
/* Loader de impresión: texto en footer         */
/* ───────────────────────────────────────────── */

.qt-loader-footer-hint-quey-tandas {
    font-size: 11px;
    color: #6b7280;
}

/* ───────────────────────────────────────────── */
/* Pantalla de error                            */
/* ───────────────────────────────────────────── */

.qt-error-card-quey-tandas {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: 14px;
    padding: 10px 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.qt-error-icon-quey-tandas {
    font-size: 22px;
    line-height: 1;
}

.qt-error-texts-quey-tandas {
    flex: 1;
}

.qt-error-message-quey-tandas {
    margin: 0 0 4px;
    font-size: 13px;
    color: #991b1b;
    font-weight: 500;
}

.qt-error-hint-quey-tandas {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
}

/* ───────────────────────────────────────────── */
/* Selector de tandas                           */
/* ───────────────────────────────────────────── */

.qt-tandas-header-quey-tandas {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.qt-tandas-header-main-quey-tandas h3 {
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.qt-tandas-header-main-quey-tandas p {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
}

.qt-tandas-header-meta-quey-tandas {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.qt-tandas-meta-chip-quey-tandas {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(209, 213, 219, 0.9);
    font-size: 11px;
    color: #4b5563;
}

.qt-tandas-meta-chip-quey-tandas i {
    font-size: 12px;
}

/* Lista de tandas */

.qt-tandas-list-wrapper-quey-tandas {
    max-height: 52vh;
    overflow-y: auto;
    border-radius: 12px;
    border: 1px solid rgba(209, 213, 219, 0.9);
    background: #ffffff;
    padding: 6px 6px 4px;
}

.qt-tandas-list-quey-tandas {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.qt-tanda-item-quey-tandas {
    display: flex;
    align-items: stretch;
    gap: 6px;
}

.qt-tanda-item-quey-tandas input[type="checkbox"] {
    margin-top: 0;
    width: 16px;
    height: 16px;
    accent-color: #2563eb;
}

/* Tarjeta de tanda */

.qt-tanda-card-quey-tandas {
    flex: 1;
    border-radius: 12px;
    padding: 7px 10px;
    background: linear-gradient(135deg, #ffffff, #f9fafb);
    border: 1px solid rgba(209, 213, 219, 0.9);
    display: flex;
    flex-direction: column;
    gap: 3px;
    cursor: pointer;
    transition: all 0.15s ease-out;
}

.qt-tanda-card-main-quey-tandas {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.qt-tanda-name-quey-tandas {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.qt-tanda-name-quey-tandas i {
    font-size: 14px;
    color: #4f46e5;
}

.qt-tanda-count-quey-tandas {
    font-size: 12px;
    color: #4b5563;
}

.qt-tanda-card-meta-quey-tandas {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.qt-tanda-chip-quey-tandas {
    font-size: 11px;
    padding: 2px 9px;
    border-radius: 999px;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    color: #4338ca;
}

.qt-tanda-item-quey-tandas:hover .qt-tanda-card-quey-tandas {
    border-color: rgba(59, 130, 246, 0.9);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.3), 0 10px 22px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

/* Toolbar inferior del selector */

.qt-tandas-toolbar-quey-tandas {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px;
    align-items: center;
}

.qt-tandas-toolbar-left-quey-tandas {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.qt-tandas-toolbar-right-quey-tandas {
    font-size: 11px;
    color: #6b7280;
}

.qt-tandas-toolbar-hint-quey-tandas {
    opacity: 0.9;
}

/* ───────────────────────────────────────────── */
/* Switch tipo iOS para cada tanda               */
/* ───────────────────────────────────────────── */

.qt-tanda-card-meta-row-quey-tandas {
    margin-top: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.qt-tanda-switch-wrap-quey-tandas {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Contenedor del switch iOS */
.qt-switch-ios-quey-tandas {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 22px;
}

/* Ocultar checkbox original */
.qt-switch-ios-quey-tandas input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* Fondo del switch */
.qt-switch-slider-quey-tandas {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background-color: #e5e7eb;
    box-shadow:
        inset 0 0 0 1px rgba(156, 163, 175, 0.7),
        0 0 0 0 rgba(34, 197, 94, 0);
    cursor: pointer;
    transition: background-color 0.18s ease-out, box-shadow 0.18s ease-out;
}

/* "Pip" del switch */
.qt-switch-slider-quey-tandas::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 2px;
    top: 2px;
    border-radius: 999px;
    background-color: #ffffff;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.25),
        0 0 0 0 rgba(34, 197, 94, 0.5);
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

/* Estado encendido (verde tipo iOS) */
.qt-switch-ios-quey-tandas input:checked + .qt-switch-slider-quey-tandas {
    background-color: #22c55e;
    box-shadow:
        inset 0 0 0 1px rgba(22, 163, 74, 0.7),
        0 0 0 3px rgba(34, 197, 94, 0.28);
}

.qt-switch-ios-quey-tandas input:checked + .qt-switch-slider-quey-tandas::before {
    transform: translateX(16px);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.28),
        0 0 0 2px rgba(22, 163, 74, 0.4);
}

/* Hover del switch */
.qt-switch-ios-quey-tandas:hover .qt-switch-slider-quey-tandas {
    box-shadow:
        inset 0 0 0 1px rgba(156, 163, 175, 0.9),
        0 0 0 3px rgba(148, 163, 184, 0.25);
}

.qt-switch-ios-quey-tandas input:checked + .qt-switch-slider-quey-tandas:hover {
    box-shadow:
        inset 0 0 0 1px rgba(22, 163, 74, 0.8),
        0 0 0 4px rgba(34, 197, 94, 0.38);
}

/* Tarjeta activa cuando el switch está encendido */
.qt-tanda-card-active-quey-tandas {
    border-color: rgba(34, 197, 94, 0.9);
    box-shadow:
        0 0 0 1px rgba(34, 197, 94, 0.35),
        0 12px 26px rgba(22, 163, 74, 0.18);
    background: linear-gradient(135deg, #ffffff, #ecfdf3);
}

/* Panel de confirmación cuando se presiona "Cancelar" en el loader */
.qt-loader-cancel-confirm-quey-tandas {
    margin-top: 10px;
    padding: 8px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95), rgba(241, 245, 249, 0.95));
    border: 1px solid rgba(148, 163, 184, 0.45);
}

.qt-loader-cancel-confirm-inner-quey-tandas {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qt-loader-cancel-confirm-text-quey-tandas {
    margin: 0;
    font-size: 13px;
    color: #0f172a;
}

.qt-loader-cancel-confirm-actions-quey-tandas {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* Botón rojo sólido (ya tenemos outline, este es el lleno) */
.qt-btn-danger-quey-tandas {
    border: none;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: #ffffff;
    cursor: pointer;
    box-shadow:
        0 8px 18px rgba(239, 68, 68, 0.35),
        0 0 0 1px rgba(127, 29, 29, 0.4);
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, filter 0.12s ease-out;
}

.qt-btn-danger-quey-tandas:hover {
    transform: translateY(-0.5px);
    filter: brightness(1.03);
    box-shadow:
        0 10px 22px rgba(239, 68, 68, 0.4),
        0 0 0 1px rgba(127, 29, 29, 0.5);
}

.qt-btn-danger-quey-tandas:active {
    transform: translateY(0.5px);
    box-shadow:
        0 4px 10px rgba(239, 68, 68, 0.35),
        0 0 0 1px rgba(127, 29, 29, 0.5);
}

/* ====================== MODAL CONTENEDOR ====================== */

#etiquetasModal .modal-dialog {
    max-width: 960px;
    margin: 1.5rem auto;
}

@media (max-width: 768px) {
    #etiquetasModal .modal-dialog {
        max-width: 100%;
        margin: 0.75rem;
    }
}

/* Contenedor principal del modal */
.etiquetas-modal-mcsono {
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: linear-gradient(135deg, #fdfdfd, #f5f5f7);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.25);
    overflow: hidden;
}

/* Header / Body / Footer */
.modal-header-mcsono {
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
}

.modal-body-mcsono {
    background: radial-gradient(circle at top left, #f5f5f7 0, #ffffff 55%);
    padding-bottom: 0.9rem;
}

.modal-footer-mcsono {
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(248, 249, 251, 0.98);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.6rem;
}

.modal-footer-mcsono > * {
    margin: 0;
}

/* Versión mobile: botones del footer apilados */
@media (max-width: 576px) {
    .modal-footer-mcsono {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .footer-btn-primary-mcsono,
    .footer-btn-danger-mcsono {
        width: 100%;
        justify-content: center;
    }
}

/* Título del modal */
.etiquetas-modal-title-mcsono {
    font-weight: 600;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1rem;
    color: #111827;
}

.etiquetas-modal-title-mcsono i {
    font-size: 1.2rem;
    color: #f59e0b;
}

/* ====================== INPUT ARCHIVO ====================== */

.file-input-mcsono {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.95);
}

.file-input-mcsono:focus {
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
    border-color: rgba(37, 99, 235, 0.75);
}

/* ====================== BUSCADOR TANDAS ====================== */

.search-container-mcsono {
    padding: 0.55rem 0.8rem;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.search-button-mcsono {
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #fefefe, #f3f4f6);
    border-color: rgba(148, 163, 184, 0.7);
}

.search-button-mcsono i {
    font-size: 0.9rem;
}

.search-button-mcsono:hover {
    background: #ffffff;
}

.search-input-container-mcsono {
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    padding: 0.3rem 0.6rem 0.4rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
    align-self: flex-start;
}

@media (max-width: 576px) {
    .search-input-container-mcsono {
        max-width: 100%;
        align-self: stretch;
    }
}

.search-input-mcsono {
    border: none;
    box-shadow: none;
    font-size: 0.8rem;
    background: transparent;
    padding: 0;
    width: 100%;
}

.search-input-mcsono:focus {
    box-shadow: none;
}

.search-results-mcsono {
    max-height: 220px;
    overflow: auto;
    font-size: 0.78rem;
    margin-top: 0.1rem;
    padding-top: 0.1rem;
}

#countdownText {
    font-size: 0.72rem;
    margin-top: 2px;
    color: #6b7280;
}

/* Botones pill genéricos */
.btn-pill-mcsono {
    border-radius: 999px;
    font-size: 0.78rem;
    padding: 0.3rem 1rem;
}

/* ====================== SPINNER / LOG ====================== */

.spinner-wrapper-mcsono {
    padding: 0.25rem 0 0.5rem;
}

.spinner-mcsono {
    width: 2.25rem;
    height: 2.25rem;
}

.log-container-mcsono {
    border-radius: 12px;
    background: rgba(248, 249, 251, 0.95);
    border: 1px dashed rgba(148, 163, 184, 0.55);
    font-size: 0.78rem;
    max-height: 140px;
    overflow: auto;
}

/* ====================== LISTA (CARPETAS / HOJAS) ====================== */

.etiquetaList-mcsono {
    max-height: 360px;
    overflow-y: auto;
    border-radius: 16px;
    background: rgba(249, 250, 251, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.95);
}

/* Items carpeta / archivo (d-flex viene de Bootstrap) */
.etiqueta-folder-item-mcsono,
.etiqueta-file-item-mcsono {
    border: none;
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
    background: transparent;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.08s ease, box-shadow 0.15s ease, border-left-color 0.15s ease;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    position: relative;
    border-left: 3px solid transparent;
    gap: 0.75rem;
}

.etiqueta-folder-item-mcsono:last-child,
.etiqueta-file-item-mcsono:last-child {
    border-bottom: none;
}

/* Hover */
.etiqueta-folder-item-mcsono:hover,
.etiqueta-file-item-mcsono:hover {
    background: linear-gradient(90deg, #eef2ff, #f9fafb);
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(15, 23, 42, 0.06);
    border-left-color: #3b82f6;
    color: #111827;
}

/* Bloque principal izquierda */
.etiqueta-folder-main-mcsono,
.etiqueta-file-main-mcsono {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1 1 auto;
    min-width: 0;
}

/* Títulos */
.etiqueta-folder-title-mcsono,
.etiqueta-file-title-mcsono {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.etiqueta-file-name-mcsono,
.etiqueta-folder-name-mcsono {
    font-size: 0.86rem;
    color: #0f172a;
}

/* Iconos */
.etiqueta-folder-title-mcsono i {
    color: #f59e0b;
}

.etiqueta-file-title-mcsono i {
    color: #2563eb;
}

/* Acciones derecha: carpeta (solo badge) */
.etiqueta-folder-actions-mcsono {
    min-width: max-content;
}

/* Centro archivo: badge en el medio */
.etiqueta-file-center-mcsono {
    min-width: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Botones archivo: extremo derecho */
.etiqueta-file-buttons-mcsono {
    min-width: max-content;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Badge "Archivo (X etiquetas)" y de carpetas */
.etiqueta-badge-mcsono {
    font-size: 0.72rem;
    padding: 0.3rem 0.65rem;
    background: linear-gradient(135deg, #e0f2fe, #dbeafe);
    color: #1d4ed8;
    border-radius: 999px;
    border: 1px solid rgba(129, 140, 248, 0.45);
    cursor: pointer;
    white-space: nowrap;
}

/* Chip de hora con día + hora */
.time-etiquetas-container {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #4b5563;
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.time-etiquetas-container i {
    font-size: 0.8rem;
    color: #9ca3af;
}

.time-etiquetas-mcsono {
    font-size: 0.75rem;
    color: inherit;
}

/* ====================== BOTONES ICONO (3 ACCIONES) ====================== */

.btn-icon-mcsono {
    border-radius: 999px;
    width: 38px;
    height: 38px;
    display: inline-block; /* sin inline-flex */
    text-align: center;
    line-height: 38px;
    padding: 0;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
    vertical-align: middle;
}

.btn-icon-mcsono + .btn-icon-mcsono {
    margin-left: 0.25rem;
}

.btn-icon-mcsono i {
    font-size: 0.95rem;
    line-height: 1;
}

/* Responsive: que no se rompa en mobile */
@media (max-width: 576px) {
    .etiqueta-folder-item-mcsono,
    .etiqueta-file-item-mcsono {
        flex-wrap: wrap;
        align-items: flex-start !important;
    }

    .etiqueta-folder-actions-mcsono,
    .etiqueta-file-center-mcsono,
    .etiqueta-file-buttons-mcsono {
        margin-top: 0.35rem;
    }

    .etiqueta-file-center-mcsono,
    .etiqueta-file-buttons-mcsono {
        justify-content: flex-start;
    }

    .btn-icon-mcsono {
        width: 34px;
        height: 34px;
        line-height: 34px;
    }
}

/* ====================== FOOTER BUTTONS (CERRAR / SUBIR) ====================== */

.footer-btn-primary-mcsono,
.footer-btn-danger-mcsono {
    border-radius: 999px;
    padding: 0.4rem 1.4rem;
    font-size: 0.82rem;
    min-width: 120px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

/* ====================== OVERLAY COMENTARIO ====================== */

.comment-overlay-mcsono {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.25);
    backdrop-filter: blur(12px);
    display: none;
    z-index: 1055;
}

.comment-container-mcsono {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(440px, 100% - 32px);
    border-radius: 18px;
    padding: 1.1rem 1.2rem;
    background: linear-gradient(135deg, #ffffff, #f5f5f7);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.comentario-meli-titulo-mcsono {
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.comentario-meli-titulo-mcsono i {
    color: #0ea5e9;
}

.comment-textarea-mcsono {
    border-radius: 12px !important;
    font-size: 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.65);
    background: rgba(255, 255, 255, 0.96);
}

.comment-textarea-mcsono:focus {
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.28);
    border-color: rgba(37, 99, 235, 0.9);
}

/* Chip de fecha + hora con dos líneas */
.time-etiquetas-container {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #4b5563;
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

.time-etiquetas-container i {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-top: 1px; /* para centrar con el texto de dos líneas */
}

/* Contenedor de las dos líneas de texto del chip */
.time-etiquetas-text-mcsono {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

/* Línea numérica: dd/mm • hh:mm */
.time-line-primary-mcsono {
    font-weight: 500;
    color: #111827;
}

/* Línea con texto: viernes 28 de noviembre */
.time-line-secondary-mcsono {
    font-size: 0.7rem;
    color: #6b7280;
    text-transform: lowercase; /* mantiene 'viernes' en minúscula */
}

/* ================== POPUP SWEETALERT MACOS LIGERO ================== */

.swal-popup-mcsono {
    border-radius: 16px;
    padding: 1.4rem 1.6rem 1.2rem;
    background: radial-gradient(circle at top, #f9fafb 0, #ffffff 55%);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
    border: 1px solid rgba(148, 163, 184, 0.35);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

.swal-title-mcsono {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #111827;
}

/* Icono de pregunta más discreto */
.swal2-icon.swal2-question {
    border-color: rgba(148, 163, 184, 0.6);
    color: #2563eb;
}

/* ================== BOTONES PRINCIPALES (confirm / deny / cancel) ================== */

.swal-actions-mcsono {
    margin-top: 1rem;
    display: flex !important;
    width: 100%;
    gap: 0.5rem;
    justify-content: space-between;
}

/* TODOS los botones de acción iguales */
.swal-actions-mcsono .swal2-styled {
    flex: 1 1 0;
    border-radius: 999px !important;
    font-size: 0.85rem;
    padding: 0.45rem 0;
    border: 1px solid #d4d4d8 !important;
    background: linear-gradient(135deg, #f4f4f5, #e5e7eb) !important;
    color: #111827 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transition: background-color 0.12s ease, border-color 0.12s ease;
}

/* hover muy sutil, sin “resplandor” ni sombras grandes */
.swal-actions-mcsono .swal2-styled:hover {
    background: #e5e7eb !important;
    border-color: #c4c4cc !important;
}

/* anulamos diferencias de color entre confirm / deny / cancel */
.swal-confirm-mcsono,
.swal-deny-mcsono,
.swal-cancel-mcsono {
    background: linear-gradient(135deg, #f4f4f5, #e5e7eb) !important;
    color: #111827 !important;
    border: 1px solid #d4d4d8 !important;
}

/* mobile: apilados, mismos estilos */
@media (max-width: 576px) {
    .swal-actions-mcsono {
        flex-direction: column-reverse;
    }

    .swal-actions-mcsono .swal2-styled {
        width: 100%;
    }
}

.swal-extra-mcsono {
    margin-top: 0.6rem;
}

.swal-extra-divider-mcsono {
    width: 90%;
    margin: 0.6rem auto 0.8rem;
    border: 0;
    border-top: 1px solid rgba(209, 213, 219, 0.9);
}

.swal-extra-buttons-mcsono {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
}

.swal-extra-btn-mcsono {
    border-radius: 999px;
    border: 1px solid #d4d4d8;
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
    background: linear-gradient(135deg, #f4f4f5, #e5e7eb);
    color: #111827;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    box-shadow: none;
    text-shadow: none;
    transition: background-color 0.12s ease, border-color 0.12s ease;
}

.swal-extra-btn-mcsono:hover {
    background: #e5e7eb;
    border-color: #c4c4cc;
}

.swal-extra-btn-icon-mcsono {
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    .swal-extra-buttons-mcsono {
        justify-content: space-between;
    }

    .swal-extra-btn-mcsono {
        flex: 1 1 48%;
        justify-content: center;
    }
}

/* CONTENEDOR PRINCIPAL */
.no-data-wrapper-coffe-girls {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 38px 18px 42px;
    background: radial-gradient(circle at top, #ffe6f4 0, #fff7ff 40%, #f7f8ff 100%);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.18);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
    animation: fadeIn-coffe-girls 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

/* BADGE SUPERIOR */
.coffee-badge-coffe-girls {
    margin-bottom: 10px;
}

.pill-coffe-girls {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, #ffb6e1, #ffd1f2);
    color: #7a255a;
    box-shadow: 0 3px 10px rgba(255, 182, 225, 0.6);
}

/* BLOQUE CAFECITO */
.coffee-icon-wrap-coffe-girls {
    position: relative;
    margin: 6px 0 10px;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Emoji de café, grande */
.coffee-emoji-coffe-girls {
    font-size: 64px;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.22));
    animation: floatCoffee-coffe-girls 2.6s ease-in-out infinite;
}

/* Vapor */
.steam-line-coffe-girls {
    position: absolute;
    width: 14px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(to top, rgba(255,255,255,0), rgba(255,255,255,0.9));
    opacity: 0;
}

.steam-1-coffe-girls {
    left: 16px;
    bottom: 30px;
    animation: steamRise-coffe-girls 2.3s ease-in-out infinite;
}

.steam-2-coffe-girls {
    right: 14px;
    bottom: 32px;
    animation: steamRise-coffe-girls 2.5s ease-in-out 0.7s infinite;
}

.steam-3-coffe-girls {
    left: 36px;
    bottom: 38px;
    animation: steamRise-coffe-girls 2.8s ease-in-out 1.3s infinite;
}

/* CORAZONCITOS / BRILLITOS */
.floating-heart-coffe-girls {
    position: absolute;
    font-size: 18px;
    opacity: 0;
    pointer-events: none;
}

.heart-1-coffe-girls {
    color: #ff6fa9;
    top: 8px;
    left: 10px;
    animation: floatHeart-coffe-girls 3s ease-in-out infinite;
}

.heart-2-coffe-girls {
    color: #ff92c2;
    top: 0;
    right: 6px;
    animation: floatHeart-coffe-girls 3.4s ease-in-out 0.5s infinite;
}

.heart-3-coffe-girls {
    color: #ffd3f5;
    bottom: 8px;
    right: 26px;
    font-size: 16px;
    animation: floatHeart-coffe-girls 3.1s ease-in-out 1s infinite;
}

/* TÍTULO & TEXTOS */
.title-coffe-girls {
    margin: 4px 0 4px;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #3b2342;
    text-align: center;
}

.subtitle-coffe-girls {
    margin: 4px 0 4px;
    font-size: 0.98rem;
    color: #7c5b88;
    text-align: center;
    line-height: 1.5;
}

.tagline-coffe-girls {
    margin-top: 8px;
    font-size: 0.86rem;
    color: #b43f93;
    background: rgba(255, 214, 245, 0.9);
    border-radius: 999px;
    padding: 6px 14px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(255, 167, 221, 0.5);
}

/* ANIMACIONES */
@keyframes fadeIn-coffe-girls {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes floatCoffee-coffe-girls {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes steamRise-coffe-girls {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.7);
    }
    35% {
        opacity: 0.9;
    }
    100% {
        opacity: 0;
        transform: translateY(-16px) scale(1.05);
    }
}

@keyframes floatHeart-coffe-girls {
    0% {
        opacity: 0;
        transform: translateY(4px) scale(0.8);
    }
    20% {
        opacity: 1;
    }
    60% {
        opacity: 0.9;
    }
    100% {
        opacity: 0;
        transform: translateY(-10px) scale(1.05);
    }
}

/* === Pagos múltiples (multi medio de pago) === */

.multiple-payments-container {
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 10px;
    background: linear-gradient(
        135deg,
        rgba(248, 250, 252, 0.95),
        rgba(241, 245, 249, 0.9)
    );
    border: 1px solid rgba(148, 163, 184, 0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.multiple-payments-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

.multiple-payments-badge {
    font-size: 11px;
    border-radius: 999px;
    padding: 4px 10px;
}

.multiple-payments-subtitle {
    font-size: 12px;
    color: #6b7280;
}

/* Tarjeta de cada medio de pago */
.mp-card {
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.mp-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.mp-card-header-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mp-card-index {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

.mp-card-title {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}

.mp-card-entity-pill {
    font-size: 11px;
    border-radius: 999px;
    padding: 3px 9px;
    background: rgba(15, 23, 42, 0.04);
    color: #374151;
    max-width: 55%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* Cuerpo interno */
.mp-card-inner {
    margin-top: 4px;
}

.mp-top-row,
.mp-bottom-row {
    margin-top: 2px;
}

/* Labels e inputs pequeños y prolijos */
.mp-card .form-label-sm {
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    font-weight: 500;
    color: #6b7280;
}

.mp-card .form-control-sm {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 8px;
    border-color: rgba(148, 163, 184, 0.7);
    background-color: #f9fafb;
}

/* Efecto focus sutil */
.mp-card .form-control-sm:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
    background-color: #ffffff;
}

/* Responsive: en móviles que se apilen mejor las columnas */
@media (max-width: 576px) {
    .mp-top-row .col-md-4,
    .mp-bottom-row .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .mp-card-entity-pill {
        max-width: 50%;
    }
}

/* Alineamos el monto a la derecha y con numeración tabular */
.mp-monto-ars {
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: green;
    font-weight: 900;
}

/* ===========================
   MODAL DETALLE DE PAGOS - ESTILO macOS
   Todas las clases comienzan con modal-status-fact
   =========================== */

.modal-status-fact-dialog {
    max-width: 900px;
}

.modal-status-fact-modal {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.98), rgba(243, 245, 249, 0.98));
    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.28),
        0 0 0 1px rgba(148, 163, 184, 0.1);
    backdrop-filter: blur(18px);
    animation: modal-status-fact-fade-in 220ms ease-out;
}

/* Header */

.modal-status-fact-header {
    border-bottom: 0;
    padding: 14px 18px 6px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(229, 239, 255, 0.9));
}

.modal-status-fact-header-main {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.modal-status-fact-header-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.modal-status-fact-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(56, 189, 248, 0.12);
    color: #0369a1;
}

.modal-status-fact-chip i {
    font-size: 0.9rem;
}

.modal-status-fact-header-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-top: 2px;
}

.modal-status-fact-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.modal-status-fact-subtitle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #64748b;
}

.modal-status-fact-subtitle i {
    font-size: 0.9rem;
}

.modal-status-fact-subtitle-strong {
    font-weight: 600;
    color: #0f172a;
}

.modal-status-fact-subtitle-reason {
    margin-top: 2px;
    font-size: 0.8rem;
    color: #475569;
}

.modal-status-fact-header-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    text-align: right;
}

.modal-status-fact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    background: rgba(37, 99, 235, 0.04);
    color: #1d4ed8;
    text-decoration: none;
    transition: background 150ms ease, box-shadow 150ms ease, transform 80ms ease;
}

.modal-status-fact-link i {
    font-size: 0.9rem;
}

.modal-status-fact-link:hover {
    background: rgba(37, 99, 235, 0.1);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.18);
    transform: translateY(-0.5px);
    color: #1d4ed8;
}

.modal-status-fact-subtitle-date {
    font-size: 0.78rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-status-fact-subtitle-date i {
    font-size: 0.9rem;
}

.modal-status-fact-close {
    filter: grayscale(0.2);
}

/* Body */

.modal-status-fact-body {
    padding: 16px 18px 14px;
}

/* Cards */

.modal-status-fact-card {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 12px 12px 10px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.modal-status-fact-card-main {
    margin-bottom: 10px;
}

.modal-status-fact-card-secondary {
    margin-top: 8px;
}

.modal-status-fact-card-history {
    margin-top: 10px;
}

.modal-status-fact-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.modal-status-fact-card-header i {
    font-size: 1rem;
}

/* Resumen facturable */

.modal-status-fact-summary {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.modal-status-fact-summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-size: 0.83rem;
}

.modal-status-fact-summary-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
}

.modal-status-fact-summary-label i {
    font-size: 0.9rem;
}

.modal-status-fact-summary-value {
    font-weight: 600;
    color: #0f172a;
}

.modal-status-fact-summary-negative {
    color: #b91c1c;
}

.modal-status-fact-summary-total .modal-status-fact-summary-label {
    color: #0f172a;
}

.modal-status-fact-summary-total .modal-status-fact-summary-value {
    font-size: 1rem;
    color: #16a34a;
}

.modal-status-fact-summary-divider {
    height: 1px;
    background: linear-gradient(to right, rgba(148, 163, 184, 0.1), rgba(148, 163, 184, 0.4), rgba(148, 163, 184, 0.1));
    margin: 4px 0;
}

.modal-status-fact-summary-extra {
    margin-top: 4px;
    border-radius: 10px;
    background: rgba(248, 250, 252, 0.95);
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.modal-status-fact-summary-extra-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.76rem;
    color: #6b7280;
}

/* Verificación de montos */

.modal-status-fact-amount-check {
    margin-top: 8px;
    border-radius: 11px;
    padding: 8px 9px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.78rem;
}

.modal-status-fact-amount-check i {
    font-size: 1.1rem;
    margin-top: 1px;
}

.modal-status-fact-amount-title {
    font-weight: 600;
    margin-bottom: 1px;
}

.modal-status-fact-amount-text {
    color: #4b5563;
}

.modal-status-fact-amount-check-ok {
    background: rgba(22, 163, 74, 0.09);
    color: #166534;
    border: 1px solid rgba(22, 163, 74, 0.3);
}

.modal-status-fact-amount-check-warning {
    background: rgba(245, 158, 11, 0.08);
    color: #92400e;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

/* Datos de la operación */

.modal-status-fact-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.modal-status-fact-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    padding: 2px 0;
    border-bottom: 1px dashed rgba(226, 232, 240, 0.8);
}

.modal-status-fact-meta-row:last-child {
    border-bottom: none;
}

.modal-status-fact-meta-label {
    color: #6b7280;
}

.modal-status-fact-meta-value {
    font-weight: 500;
    color: #0f172a;
}

/* Pills de estado */

.modal-status-fact-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid transparent;
    white-space: nowrap;
}

.modal-status-fact-pill i {
    font-size: 0.85rem;
}

/* Estados: verde, rojo, naranja, etc. */

.modal-status-fact-pill-approved {
    background: rgba(22, 163, 74, 0.08);
    border-color: rgba(22, 163, 74, 0.35);
    color: #166534;
}

.modal-status-fact-pill-pending {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.45);
    color: #92400e;
}

.modal-status-fact-pill-cancelled {
    background: rgba(248, 113, 113, 0.09);
    border-color: rgba(248, 113, 113, 0.5);
    color: #b91c1c;
}

.modal-status-fact-pill-rejected {
    background: rgba(239, 68, 68, 0.09);
    border-color: rgba(239, 68, 68, 0.6);
    color: #991b1b;
}

.modal-status-fact-pill-refunded {
    background: rgba(56, 189, 248, 0.08);
    border-color: rgba(56, 189, 248, 0.45);
    color: #0369a1;
}

.modal-status-fact-pill-neutral {
    background: rgba(148, 163, 184, 0.12);
    border-color: rgba(148, 163, 184, 0.5);
    color: #4b5563;
}

/* Pagos aprobados */

.modal-status-fact-payments-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 260px;
    overflow-y: auto;
    padding-right: 2px;
}

.modal-status-fact-payment-card {
    border-radius: 11px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.98));
    padding: 8px 9px;
}

.modal-status-fact-payment-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.modal-status-fact-payment-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f172a;
}

.modal-status-fact-payment-title i {
    font-size: 0.95rem;
}

.modal-status-fact-payment-id {
    margin-top: 1px;
    font-size: 0.75rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 4px;
}

.modal-status-fact-payment-body {
    margin-top: 2px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.modal-status-fact-payment-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #4b5563;
}

.modal-status-fact-payment-row span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.modal-status-fact-payment-row i {
    font-size: 0.85rem;
}

.modal-status-fact-payment-amount {
    font-weight: 600;
    color: #16a34a;
}

.modal-status-fact-total-approved {
    margin-top: 6px;
    padding-top: 5px;
    border-top: 1px dashed rgba(226, 232, 240, 0.9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
}

.modal-status-fact-total-approved-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0f172a;
    font-weight: 500;
}

.modal-status-fact-total-approved-label i {
    font-size: 0.9rem;
}

.modal-status-fact-total-approved-value {
    font-weight: 700;
    color: #0f172a;
}

/* Timeline de intentos */

.modal-status-fact-timeline {
    position: relative;
    padding-left: 8px;
    max-height: 210px;
    overflow-y: auto;
}

.modal-status-fact-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(148, 163, 184, 0.2), rgba(148, 163, 184, 0.5));
}

.modal-status-fact-timeline-item {
    position: relative;
    padding-left: 10px;
    margin-bottom: 6px;
}

.modal-status-fact-timeline-dot {
    position: absolute;
    left: -1px;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 2px solid #e5e7eb;
    background: #f9fafb;
}

/* Reutilizamos los colores de los pills para el borde del dot */

.modal-status-fact-timeline-dot.modal-status-fact-pill-approved {
    border-color: rgba(22, 163, 74, 0.8);
    background: rgba(22, 163, 74, 0.8);
}

.modal-status-fact-timeline-dot.modal-status-fact-pill-pending {
    border-color: rgba(245, 158, 11, 0.9);
    background: rgba(245, 158, 11, 0.9);
}

.modal-status-fact-timeline-dot.modal-status-fact-pill-cancelled,
.modal-status-fact-timeline-dot.modal-status-fact-pill-rejected {
    border-color: rgba(239, 68, 68, 0.9);
    background: rgba(239, 68, 68, 0.9);
}

.modal-status-fact-timeline-dot.modal-status-fact-pill-refunded {
    border-color: rgba(56, 189, 248, 0.9);
    background: rgba(56, 189, 248, 0.9);
}

.modal-status-fact-timeline-card {
    border-radius: 10px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(248, 250, 252, 0.98);
    padding: 6px 8px;
}

.modal-status-fact-timeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 2px;
}

.modal-status-fact-timeline-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #0f172a;
}

.modal-status-fact-timeline-title i {
    font-size: 0.9rem;
}

.modal-status-fact-timeline-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.modal-status-fact-timeline:not(:has(.modal-status-fact-timeline-item))::before {
    display: none;
}

.modal-status-fact-timeline-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.76rem;
    color: #4b5563;
}

.modal-status-fact-timeline-row span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.modal-status-fact-timeline-row i {
    font-size: 0.85rem;
}

/* Mensajes vacíos */

.modal-status-fact-empty {
    margin: 4px 0;
    font-size: 0.78rem;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Footer */

.modal-status-fact-footer {
    border-top: 0;
    padding: 8px 18px 10px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.98));
}

.modal-status-fact-footer-left {
    flex: 1;
}

.modal-status-fact-footer-text {
    font-size: 0.75rem;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Animación */

@keyframes modal-status-fact-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsivo */

@media (max-width: 767.98px) {
    .modal-status-fact-header-title-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .modal-status-fact-header-links {
        align-items: flex-start;
    }

    .modal-status-fact-body {
        padding: 12px 14px 10px;
    }

    .modal-status-fact-card {
        padding: 10px 10px 8px;
    }

    .modal-status-fact-payments-list,
    .modal-status-fact-timeline {
        max-height: 220px;
    }
}

/* Resumen de métodos de pago dentro de la celda */
.pay-methods-summary {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
}

.pay-method-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
}

.pay-method-main {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.pay-method-label {
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #374151;
}

.pay-logo-mini,
.pay-logo-mini-fallback {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    object-fit: contain;
    background: #f3f4f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: #4b5563;
}

/* Barrita de porcentaje */
.pay-method-bar-outer {
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.35);
    overflow: hidden;
}

.pay-method-bar-inner {
    height: 100%;
    border-radius: 999px;
    background: #22c55e; /* verde suave */
}

.pay-method-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
    font-variant-numeric: tabular-nums;
}

.pay-method-percent {
    font-weight: 600;
    color: #111827;
}

.pay-method-money {
    font-size: 0.68rem;
    color: #6b7280;
}

/* Logos apilados cuando hay varios medios */
.pay-logo-stack-wrap {
    position: relative;
    width: 52px;
    height: 26px;
}

.pay-logo-stack {
    position: absolute;
    top: 0;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    object-fit: contain;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: #fff;
}

/* MEDIOS DE ENVIO */
/* ===========================
   MEDIOS DE ENVÍO – limpio / legible
   =========================== */

/* Celda envío */
.shipping-cell-style-meli {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
    padding: 6px 10px;
    vertical-align: middle;
    text-align: left;
}

/* Chip base */
.shipping-chip-style-meli {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 8px;               /* ▶ apenas redondeado */
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    font-size: 0.75rem;
    color: #0f172a;
    max-width: 260px;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.shipping-chip-style-meli:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    cursor: pointer;
}

/* Icono cuadradito */
.shipping-chip-icon-style-meli {
    width: 22px;
    height: 22px;
    border-radius: 6px;               /* ▶ menos redondo */
    background: #f3f4f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
    color: #4b5563;
}

/* Texto principal + secundario */
.shipping-chip-text-style-meli {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.shipping-chip-main-style-meli {
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shipping-chip-sub-style-meli {
    font-size: 0.68rem;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Tag extra (ej: prov. especial) */
.shipping-chip-tag-style-meli {
    margin-left: 6px;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
    color: #4b5563;
}

/* ===========================
   VARIANTES POR TIPO DE ENVÍO
   =========================== */

/* FULL */
.shipping-chip-full-style-meli {
    background: #f0fdf4;
    border-color: #22c55e;
}

.shipping-chip-full-style-meli .shipping-chip-icon-style-meli {
    background: #dcfce7;
    color: #15803d;
}

/* CROSS DOCKING */
.shipping-chip-cross-style-meli {
    background: #fffbeb;
    border-color: #fbbf24;
}

.shipping-chip-cross-style-meli .shipping-chip-icon-style-meli {
    background: #fef3c7;
    color: #b45309;
}

/* ===========================
   FACTURAR EXPRESS (condición 40–60)
   =========================== */

.shipping-chip-express-style-meli {
    border-width: 2px;
    border-color: #2563eb;
    background: #e5efff;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.25);
}

.shipping-chip-express-style-meli::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, #38bdf8, #2563eb);
}

.shipping-chip-express-style-meli .shipping-chip-main-style-meli {
    color: #1d4ed8;
    font-weight: 700;
    text-transform: uppercase;
}

.shipping-chip-express-style-meli .shipping-chip-sub-style-meli {
    color: #1e40af;
}

.shipping-chip-express-style-meli .shipping-chip-icon-style-meli {
    background: #dbeafe;
    color: #1d4ed8;
}

/* ===========================
   FACTURAR EXPRESS (forzado reciente)
   =========================== */

.shipping-chip-express2-style-meli {
    border-width: 2px;
    border-color: #7c3aed;
    background: #ede9fe;
    box-shadow: 0 1px 3px rgba(124, 58, 237, 0.25);
}

.shipping-chip-express2-style-meli::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, #a855f7, #4f46e5);
}

.shipping-chip-express2-style-meli .shipping-chip-main-style-meli {
    color: #4f46e5;
    font-weight: 700;
    text-transform: uppercase;
}

.shipping-chip-express2-style-meli .shipping-chip-sub-style-meli {
    color: #4338ca;
}

.shipping-chip-express2-style-meli .shipping-chip-icon-style-meli {
    background: #e0e7ff;
    color: #4338ca;
}

/* 🔥 Animación del rayito (icono dentro del chip EXPRESS) */
.shipping-chip-express-style-meli .shipping-chip-icon-style-meli i,
.shipping-chip-express2-style-meli .shipping-chip-icon-style-meli i {
    display: inline-block;
    animation: lightning-pulse-style-meli 1.4s infinite ease-in-out;
    transform-origin: center;
}

/* Keyframes del pulso del rayo – suave */
@keyframes lightning-pulse-style-meli {
    0% {
        transform: scale(1);
        text-shadow: 0 0 0 rgba(251, 191, 36, 0);
        opacity: 0.9;
    }
    20% {
        transform: scale(1.12);
        text-shadow: 0 0 6px rgba(251, 191, 36, 0.7);
        opacity: 1;
    }
    40% {
        transform: scale(0.97);
        text-shadow: 0 0 3px rgba(251, 191, 36, 0.4);
    }
    70% {
        transform: scale(1.04);
        text-shadow: 0 0 4px rgba(251, 191, 36, 0.5);
        opacity: 0.95;
    }
    100% {
        transform: scale(1);
        text-shadow: 0 0 0 rgba(251, 191, 36, 0);
        opacity: 0.9;
    }
}

/* LOCALIDAD EXPRESS SIN STOCK DEP 60 */
.shipping-chip-express-local-style-meli {
    background: #fef2f2;
    border-color: #f97373;
}

.shipping-chip-express-local-style-meli .shipping-chip-icon-style-meli {
    background: #fee2e2;
    color: #b91c1c;
}

/* ALERTA: provincias prohibidas / especial */
.shipping-chip-alert-style-meli {
    background: #fef2f2;
    border-color: #ef4444;
}

.shipping-chip-alert-style-meli .shipping-chip-icon-style-meli {
    background: #fee2e2;
    color: #b91c1c;
}

.shipping-chip-tag-alert-style-meli {
    background: #fee2e2;
    color: #b91c1c;
    border-color: #fca5a5;
}

/* ENVÍO GRATIS */
.shipping-chip-free-style-meli {
    background: #ecfeff;
    border-color: #22d3ee;
}

.shipping-chip-free-style-meli .shipping-chip-icon-style-meli {
    background: #cffafe;
    color: #0369a1;
}

/* ENVÍO CON CARGO */
.shipping-chip-cost-style-meli {
    background: #eef2ff;
    border-color: #4f46e5;
}

.shipping-chip-cost-style-meli .shipping-chip-icon-style-meli {
    background: #e0e7ff;
    color: #4338ca;
}

/* SIN DATOS / GHOST */
.shipping-chip-ghost-style-meli {
    background: #f9fafb;
    border-color: #e5e7eb;
}

.shipping-chip-ghost-style-meli .shipping-chip-icon-style-meli {
    background: #e5e7eb;
    color: #6b7280;
}
/* FIN MEDIOS DE ENVIO */

/* ================================
   FECHA / HORA MELI FACTURACION
   ================================ */

.date-cell-style-meli {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
    padding: 6px 10px;
    vertical-align: middle;
    text-align: left;
    white-space: nowrap;
}

.date-line-style-meli {
    display: flex;
    align-items: center;
    gap: 6px;
}

.date-line-sub-style-meli {
    margin-top: 2px;
}

.date-icon-style-meli {
    font-size: 0.85rem;
    color: #6b7280;
    flex-shrink: 0;
}

.date-text-main-style-meli {
    font-size: 0.80rem;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.date-text-sub-style-meli {
    font-size: 0.72rem;
    color: #6b7280;
}

.link-img-cell-style-meli {
    padding: 4px 8px;
    vertical-align: middle;
    text-align: left;
}

.link-img-style-meli {
    display: inline-block;
    text-decoration: none;
    cursor: pointer; 
}

.link-img-icon-style-meli {
    display: block;
    height: 35px;    
    width: auto;
}
/* ================================
   FECHA / HORA MELI FACTURACION
   ================================ */

/* ====== PAGOS MERCADO LIBRE – ESTILO macOS SONOMA CLARO ====== */

.cell-payment-meli {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 3px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    color: #111827;
    font-size: 12px;
    line-height: 1.35;
    transition:
        background 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.1s ease;
}

.empty-payment-meli {
    background: #f9fafb;
    border-style: dashed;
    border-color: rgba(148, 163, 184, 0.6);
    color: #6b7280;
    font-style: italic;
}

.pending-payment-meli {
    border-left: 3px solid #f59e0b;
    background: linear-gradient(
        90deg,
        #fffbeb 0%,
        #ffffff 55%
    );
}

.single-payment-meli {
    border-left: 3px solid #3b82f6;
    background: linear-gradient(
        90deg,
        #eff6ff 0%,
        #ffffff 55%
    );
}

.multi-payment-meli {
    border-left: 3px solid #10b981;
    background: linear-gradient(
        90deg,
        #ecfdf5 0%,
        #ffffff 55%
    );
}

/* Layout interno */

.wrap-payment-meli {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
}

.main-payment-meli {
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.01em;
    color: #111827;
}

.amount-payment-meli {
    font-weight: 500;
    color: #374151;
}

.status-payment-meli {
    margin-top: 2px;
    font-size: 11px;
    color: #6b7280;
}

.total-payment-meli {
    margin-top: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    align-self: flex-start;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    background: rgba(37, 99, 235, 0.06);
    color: #1d4ed8;
    border: 1px solid rgba(37, 99, 235, 0.18);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.total-payment-meli strong {
    font-weight: 700;
}

/* Intentos cancelados / rechazados */

.canceled-payment-meli {
    margin-top: 4px;
    font-size: 11px;
    color: #b45309;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Logos */

.logo-payment-meli {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.18));
}

.multi-logo-payment-meli {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Listado de múltiples pagos */

.multi-list-payment-meli {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px dashed rgba(148, 163, 184, 0.5);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.multi-row-payment-meli {
    display: flex;
    align-items: center;
    gap: 8px;
}

.multi-text-payment-meli {
    display: flex;
    flex-direction: column;
}

/* Responsivo */

@media (max-width: 576px) {
    .cell-payment-meli {
        padding: 8px 10px;
        border-radius: 12px;
    }
    
    .logo-payment-meli {
        width: 26px;
        height: 26px;
    }

    .total-payment-meli {
        font-size: 11px;
        padding: 3px 8px;
    }
}

/* ====== Intentos de pago – Collapse macOS claro ====== */

.attempts-payment-meli {
    margin-top: 6px;
}

/* Botón que abre/cierra el detalle */
.attempts-toggle-payment-meli {
    border: 0;
    background: transparent;
    padding: 4px 0;
    font-size: 11px;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition:
        color 0.18s ease,
        transform 0.08s ease;
}

.attempts-toggle-payment-meli:hover {
    background-color: grey!important;
    color: white!important;
}

.attempts-toggle-payment-meli span {
    text-decoration: underline dotted rgba(148, 163, 184, 0.9);
    text-underline-offset: 2px;
}

.attempts-toggle-payment-meli i {
    font-size: 12px;
    transition: transform 0.18s ease;
}

/* Rotar flechita cuando está abierto */
.attempts-toggle-payment-meli[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Panel que se despliega */
.attempts-body-payment-meli {
    margin-top: 4px;
    padding: 6px 8px 4px;
    border-radius: 10px;
    background: rgba(248, 250, 252, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
}

/* Cada intento */
.attempts-row-payment-meli {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 4px 0;
}

.attempts-row-payment-meli + .attempts-row-payment-meli {
    border-top: 1px dashed rgba(203, 213, 225, 0.9);
    margin-top: 3px;
    padding-top: 7px;
}

/* Línea principal: estado + monto */
.attempts-row-main-payment-meli {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
}

.attempts-row-status-payment-meli {
    font-weight: 600;
    color: #b45309; /* tostado suave, no rojo fuerte */
}

.attempts-row-amount-payment-meli {
    font-weight: 600;
    color: #111827;
}

/* Línea secundaria: fecha + método */
.attempts-row-meta-payment-meli {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 10px;
    color: #6b7280;
}

.attempts-row-meta-payment-meli span {
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.1);
}

/* Responsive suave */
@media (max-width: 576px) {
    .attempts-body-payment-meli {
        padding: 6px 6px 4px;
    }

    .attempts-row-main-payment-meli {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .attempts-row-amount-payment-meli {
        font-size: 11px;
    }
}

/* INDEX GENERACION DE ETIQUETAS */
/* ============================
   NUEVO LAYOUT FORM ANDESMAR
   Estilo macOS Sonoma Light
   ============================ */

#andesmarForm {
    width: fit-content;
    padding: 1.5rem 1rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "SF Pro Text", "Roboto", sans-serif;
}

#andesmarForm select {
    border-radius: 5px !important;
    margin-bottom: 0px !important;
}

#andesmarForm input {
    border-radius: 5px !important;
    margin-bottom: 0px !important;
}

/* Wrapper principal: en desktop fit-content, mobile 100% */
#andesmarForm-wrapper-index {
    width: 100%;
    max-width: 1200px;
}

@media (min-width: 992px) {
    #andesmarForm-wrapper-index {
        width: fit-content;
        max-width: 1200px;
    }
}

/* Encabezado del formulario */
#andesmarForm-header-index {
    margin-bottom: 1.5rem;
}

#andesmarForm-header-index .andesmarForm-badge-index {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(15, 23, 42, 0.04);
    color: #111827;
}

#andesmarForm-header-index .andesmarForm-title-index {
    margin-top: 0.5rem;
    margin-bottom: 0.2rem;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #0f172a;
}

#andesmarForm-header-index .andesmarForm-subtitle-index {
    margin: 0;
    max-width: 650px;
    font-size: 0.9rem;
    color: #4b5563;
}

/* GRID principal */
#andesmarForm-grid-index {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 1.5rem;
}

#andesmarForm .andesmarForm-column-index {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Tarjetas estilo Sonoma light (sin hover loco) */
#andesmarForm .andesmarForm-card-index {
    background: rgba(255, 255, 255, 0.88);
    border-radius: 18px;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(148, 163, 184, 0.55);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.12),
        0 0 0 0.5px rgba(255, 255, 255, 0.7) inset;
    backdrop-filter: blur(20px);
}

/* Títulos de sección */
#andesmarForm .andesmarForm-section-title-index {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #111827;
}

/* Filas y campos */
#andesmarForm .andesmarForm-row-index {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

#andesmarForm .andesmarForm-row-3-index {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.6rem;
}

#andesmarForm .andesmarForm-field-index {
    margin-bottom: 0.6rem;
}

#andesmarForm .andesmarForm-label-index {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #374151;
}

/* Inputs / selects base */
#andesmarForm .andesmarForm-control-index,
#andesmarForm .andesmarForm-control-index[type="number"],
#andesmarForm .andesmarForm-control-index[type="text"],
#andesmarForm .andesmarForm-control-index[type="email"],
#andesmarForm textarea#observaciones {
    width: 100%;
    border-radius: 11px;
    border: 1px solid #d1d5db;
    padding: 0.55rem 0.75rem;
    font-size: 0.9rem;
    background: #f9fafb;
    color: #111827;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

#andesmarForm .andesmarForm-control-index:focus,
#andesmarForm textarea#observaciones:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.4);
    background: #ffffff;
}

/* Selects en el formulario (incluye Tipo de producto) */
#andesmarForm select,
#andesmarForm #tipoElectrodomestico {
    color: #111827 !important;
    background-color: #f9fafb !important;
    border-radius: 11px;
    border: 1px solid #d1d5db;
    padding: 0.55rem 0.75rem;
    font-size: 0.9rem;
}

#andesmarForm select option {
    color: #111827;
    background-color: #ffffff;
}

/* Mensaje CP */
#andesmarForm .andesmarForm-cpMsg-index {
    font-size: 0.83rem;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    background: rgb(221 254 219 / 90%);
    color: #4a7f4a;
    margin: 0.35rem 0;
}

/* Provincia label */
#andesmarForm .andesmarForm-provincia-label-index {
    margin-top: 0.3rem;
    font-size: 0.83rem;
    color: #4b5563;
}

/* Localidad */
#andesmarForm .andesmarForm-localidad-wrapper-index {
    position: relative;
}

#andesmarForm .andesmarForm-localidad-wrapper-index .clear-button {
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    cursor: pointer;
    opacity: 0.6;
}

/* Observaciones / mensaje armado */
#andesmarForm .mensaje-personalizado {
    margin-top: 0.4rem;
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
    border-radius: 9px;
    border: 1px dashed rgba(148, 163, 184, 0.9);
    background: rgba(248, 250, 252, 0.95);
}

/* Volumen */
#andesmarForm .andesmarForm-volumen-wrapper-index {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.8rem;
}

#andesmarForm .andesmarForm-volumen-card-index {
    border-radius: 13px;
    padding: 0.6rem 0.9rem;
    background: linear-gradient(135deg, #eff6ff, #e0f2fe);
    border: 1px solid rgba(129, 140, 248, 0.55);
}

#andesmarForm .andesmarForm-volumen-label-index {
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #1d4ed8;
}

#andesmarForm .andesmarForm-volumen-label-index img {
    width: 22px;
    height: 22px;
}

#andesmarForm .andesmarForm-volumen-value-index {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 0.2rem;
    color: #111827;
}

/* Medidas de bultos */
#andesmarForm .andesmarForm-section-header-inline-index {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

#andesmarForm .andesmarForm-chip-index {
    font-size: 0.78rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: rgba(219, 234, 254, 0.95);
    color: #1e3a8a;
    white-space: nowrap;
}

#andesmarForm .bultoDescripccion {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    font-size: 0.78rem;
}

#andesmarForm .bultoImput {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.3rem;
}

#andesmarForm .removeBultoButton {
    margin-top: 0.4rem;
    align-self: flex-end;
    border-radius: 999px;
    border: 1px solid rgba(248, 113, 113, 0.45);
    background: rgba(254, 242, 242, 0.96);
    color: #b91c1c;
    padding: 0.25rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.1s ease;
}

/* Estilo base compartido (misma altura, padding, tipografía, etc.) */
#andesmarForm .andesmarForm-addBulto-btn-index,
#andesmarForm .andesmarForm-addBulto-btn-index2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;

    height: 2.4rem;              /* 👈 misma altura para ambos */
    padding: 0 1rem;             /* mismo padding lateral */
    border-radius: 999px;

    font-size: 0.85rem;
    font-weight: 600;
    border-width: 1px;
    border-style: solid;
    margin-top: 0 !important;

    cursor: pointer;
    background-clip: padding-box;
    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease;
}

/* Botón: Agregar bulto vacío (azulado) */
#andesmarForm .andesmarForm-addBulto-btn-index {
    background-color: #e0f2fe;
    border-color: #93c5fd;
    color: #0369a1;
}

#andesmarForm .andesmarForm-addBulto-btn-index:hover {
    background-color: #dbeafe;
    border-color: #60a5fa;
    color: #075985;
    box-shadow: 0 0 0 1px rgba(191, 219, 254, 0.9),
                0 8px 18px rgba(15, 23, 42, 0.16);
}

/* Botón: Agregar bulto de E3 (ámbar) */
#andesmarForm .andesmarForm-addBulto-btn-index2 {
    background-color: #fef3c7;   /* ámbar suave */
    border-color: #fbbf24;       /* borde ámbar */
    color: #92400e;              /* texto ámbar oscuro */
}

#andesmarForm .andesmarForm-addBulto-btn-index2:hover {
    background-color: #fde68a;
    border-color: #f59e0b;
    color: #78350f;
}

/* Cotizaciones */
#andesmarForm .andesmarForm-card-cotizaciones-index .grid-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.8rem;
}

/* Opciones de envío */
#andesmarForm .andesmarForm-opciones-grid-index {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 0.7rem;
}

#andesmarForm .andesmarForm-opcion-card-index {
    border-radius: 13px;
    border: 1px solid rgba(209, 213, 219, 0.9);
    padding: 0.7rem 0.85rem;
    background: rgba(249, 250, 251, 0.96);
}

#andesmarForm .andesmarForm-opcion-title-index {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #111827;
}

#andesmarForm .andesmarForm-servicio-grid-index {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 0.4rem;
}

/* Botones de acciones */
#andesmarForm .andesmarForm-acciones-wrapper-index {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
}

#andesmarForm .andesmarForm-mainBtn-index,
#andesmarForm .andesmarForm-secondaryBtn-index {
    border-radius: 999px;
    padding-inline: 1.3rem;
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 992px) {
    #andesmarForm-grid-index {
        grid-template-columns: 1fr;
    }

    #andesmarForm .andesmarForm-card-cotizaciones-index .grid-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #andesmarForm .andesmarForm-opciones-grid-index {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    #andesmarForm {
        padding: 1rem 0.75rem 2.5rem;
    }

    #andesmarForm .andesmarForm-row-index,
    #andesmarForm .andesmarForm-row-3-index,
    #andesmarForm .andesmarForm-servicio-grid-index {
        grid-template-columns: 1fr;
    }

    #andesmarForm .andesmarForm-volumen-wrapper-index {
        grid-template-columns: 1fr;
    }

    #andesmarForm .andesmarForm-card-cotizaciones-index .grid-container {
        grid-template-columns: 1fr;
    }

    #andesmarForm .andesmarForm-opciones-grid-index {
        grid-template-columns: 1fr;
    }
}

.andesmarForm-row-index input {
    width: 100% !important;
}

/* ===== PISO / DEPTO FULL WIDTH DENTRO DEL FORM ===== */

#andesmarForm .PisoyDepto .andesmarForm-row-index {
    display: grid;                 /* aseguramos grid acá también */
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    width: 100%;
}

#andesmarForm .PisoyDepto .andesmarForm-field-index {
    width: 100%;
}

/* Forzamos que los inputs de piso / depto ocupen el 100% del ancho de su celda */
#andesmarForm #pisolDestinatario,
#andesmarForm #deptoDestinatario {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    flex: 1 1 auto;
}

/* Por si en tu CSS viejo hay algo tipo .piso input { width: 80px } */
#andesmarForm .PisoyDepto .piso input,
#andesmarForm .PisoyDepto .depto input {
    width: 100% !important;
    max-width: 100% !important;
}

/* En mobile los apilamos uno debajo del otro para que respiren */
@media (max-width: 768px) {
    #andesmarForm .PisoyDepto .andesmarForm-row-index {
        grid-template-columns: 1fr;
    }
}

/* ========== LOCALIDAD: SELECTOR MACOS GLASS ========== */

#andesmarForm .andesmarForm-localidad-wrapper-index {
    position: relative;
}

/* Dropdown de localidades (ocupa todo el ancho del input) */
#andesmarForm .andesmarForm-localidad-wrapper-index .lista-localidades {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    width: 100% !important;          /* pisa el 47.5% anterior */
    max-height: 240px;
    display: none;                    /* se sigue manejando por JS */
    overflow-y: auto;

    padding: 0.25rem 0;
    border-radius: 0 0 14px 14px;
    border: 1px solid rgba(148, 163, 184, 0.6);

    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    box-shadow:
        0 18px 30px rgba(15, 23, 42, 0.18),
        0 0 0 0.5px rgba(255, 255, 255, 0.9) inset;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    font-size: 0.85rem;
    color: #111827;
    z-index: 9999;
}

/* Ítems del dropdown */
#andesmarForm .andesmarForm-localidad-wrapper-index .lista-localidades div {
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    transition: background-color 0.12s ease, color 0.12s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Separadores suaves entre ítems */
#andesmarForm .andesmarForm-localidad-wrapper-index .lista-localidades div + div {
    border-top: 1px solid rgba(226, 232, 240, 0.7);
}

/* Hover estilo Sonoma */
#andesmarForm .andesmarForm-localidad-wrapper-index .lista-localidades div:hover {
    background: linear-gradient(120deg, #2563eb, #4f46e5);
    color: #f9fafb;
}

/* Scrollbar suave en navegadores WebKit */
#andesmarForm .andesmarForm-localidad-wrapper-index .lista-localidades::-webkit-scrollbar {
    width: 6px;
}

#andesmarForm .andesmarForm-localidad-wrapper-index .lista-localidades::-webkit-scrollbar-track {
    background: transparent;
}

#andesmarForm .andesmarForm-localidad-wrapper-index .lista-localidades::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.8);
    border-radius: 999px;
}

/* Botón de limpiar (X) dentro del input de localidad */
#andesmarForm .andesmarForm-localidad-wrapper-index .clear-button {
    background-color: rgba(148, 163, 184, 0.15);
    padding: 0.1rem 0.35rem;
    border-radius: 999px;
    cursor: pointer;
    position: absolute;
    right: 0.55rem;
    top: 50%;
    transform: translateY(-50%);
    color: #2563eb;
    font-size: 0.75rem;
    line-height: 1;
    border: none;
    display: none; /* el JS la muestra cuando haya texto */
}

/* Aseguramos que el input de localidad tenga espacio para la X y el spinner */
#andesmarForm #localidad.andesmarForm-control-index {
    padding-right: 3rem; /* espacio para spinner + X */
}

/* Spinner Font Awesome dentro del input (macOS-like) */
#andesmarForm #loadingSpinner.andesmarForm-spinner-localidad-index {
    position: absolute;
    right: 1.9rem;              /* spinner a la izquierda de la X */
    top: 33%;
    transform: translateY(-50%);
    margin: 0;
    font-size: 0.9rem;
    color: #94a3b8;             /* gris azulado suave */
    pointer-events: none;
}

/* Si querés que en mobile el dropdown se vea un toque más grande */
@media (max-width: 768px) {
    #andesmarForm .andesmarForm-localidad-wrapper-index .lista-localidades {
        max-height: 280px;
        font-size: 0.9rem;
    }
}

/* ========== BULTOS: CARDS ESTILO MACOS SONOMA ========== */

#andesmarForm #medidasBultosContainer {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Card visual: se aplica a cualquier .bulto dentro del contenedor,
   y también a la clase específica por si la usás en JS */
#andesmarForm #medidasBultosContainer .bulto,
#andesmarForm .andesmarForm-bulto-card-index {
    position: relative;
    border-radius: 20px;
    padding: 1rem 1.1rem 0.9rem;
    background: radial-gradient(circle at 0% -30%, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.96));
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.12),
        0 0 0 0.5px rgba(255, 255, 255, 0.85) inset;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* Barra de acento lateral */
#andesmarForm #medidasBultosContainer .bulto::before,
#andesmarForm .andesmarForm-bulto-card-index::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #2563eb, #a855f7);
    opacity: 0.9;
}

/* Título del bulto */
#andesmarForm #medidasBultosContainer .bulto .bultoTitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

#andesmarForm #medidasBultosContainer .bulto .bultoTitle::before {
    content: "📦";
    font-size: 1rem;
}

/* Fila de labels Alto/Ancho/Largo/Cantidad */
#andesmarForm #medidasBultosContainer .bulto .bultoDescripccion {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.25rem;
    font-size: 0.72rem;
    color: #6b7280;
}

/* Fila de inputs */
#andesmarForm #medidasBultosContainer .bulto .bultoImput {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.4rem;
}

#andesmarForm #medidasBultosContainer .bulto .bultoImput input {
    width: 100%;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.85);
    padding: 0.35rem 0.7rem;
    font-size: 0.82rem;
    background: rgba(248, 250, 252, 0.95);
    box-sizing: border-box;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease;
}

#andesmarForm #medidasBultosContainer .bulto .bultoImput input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.28);
    outline: none;
    background: #ffffff;
}

/* Botón "Agregar otro bulto" */
#andesmarForm #addBultoButton,
#andesmarForm .andesmarForm-addBulto-btn-index {
    margin-top: 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.45);
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #1d4ed8;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

#andesmarForm #addBultoButton i,
#andesmarForm .andesmarForm-addBulto-btn-index i {
    font-size: 1rem;
}

#andesmarForm #addBultoButton:hover,
#andesmarForm .andesmarForm-addBulto-btn-index:hover {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-color: rgba(37, 99, 235, 0.7);
    box-shadow: none !important;
}

#andesmarForm #addBultoButton:active,
#andesmarForm .andesmarForm-addBulto-btn-index:active {
    transform: scale(0.97);
}

/* Botón para eliminar bulto */
#andesmarForm .andesmarForm-bulto-remove-index {
    margin-top: 0.4rem;
    align-self: flex-end;
    border-radius: 999px;
    border: 1px solid rgba(248, 113, 113, 0.45);
    background: rgba(254, 242, 242, 0.96);
    color: #b91c1c;
    padding: 0.25rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.1s ease;
}

#andesmarForm .andesmarForm-bulto-remove-index i {
    font-size: 0.9rem;
}

#andesmarForm .andesmarForm-bulto-remove-index:hover {
    background: rgba(254, 226, 226, 0.98);
    border-color: rgba(248, 113, 113, 0.75);
    box-shadow: 0 0px 22px rgba(248, 113, 113, 0.4);
}

#andesmarForm .andesmarForm-bulto-remove-index:active {
    transform: scale(0.97);
    box-shadow: 0 4px 10px rgba(248, 113, 113, 0.35);
}

/* Responsive: en mobile, 2 columnas para las medidas */
@media (max-width: 768px) {
    #andesmarForm #medidasBultosContainer .bulto .bultoDescripccion,
    #andesmarForm #medidasBultosContainer .bulto .bultoImput {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #andesmarForm #addBultoButton,
    #andesmarForm .andesmarForm-addBulto-btn-index {
        width: 100%;
        justify-content: center;
    }
}

.andesmarForm-bulto-card-index , .bulto{
    border-radius: 0 20px 20px 0 !important;
}

.andesmarForm-paso {
    padding: 5px 12px;
    background: linear-gradient(45deg, #2563eb, #a855f7);
    width: fit-content;
    border-radius: 18px;
    position: absolute;
    right: 5px;
    top: 5px;
    color: white;
    font-weight: 900;
    font-size: larger;
    font-family: "Chakra Petch", sans-serif;
}

/* ===================== COTIZACIONES – SONOMA STYLE ===================== */

.andesmarForm-card-cotizaciones-index {
    margin-top: 1.75rem;
}

.andesmarForm-card-cotizaciones-index .andesmarForm-subsection-subtitle-index {
    margin-top: 0.25rem;
    font-size: 0.82rem;
    color: #6b7280;
}

/* Grid de cards */
.cotizaciones-grid-macos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

/* Card base estilo macOS Sonoma */
.cotizacion-card-macos {
    position: relative;
    border-radius: 18px;
    padding: 0.9rem 1rem 0.85rem;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.14),
        0 0 0 1px rgba(148, 163, 184, 0.30);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.95);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.45rem;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease;
}

.cotizacion-card-macos:hover {
    cursor: pointer;
    transform: translateY(-2px);
    box-shadow:
        0 24px 45px rgba(15, 23, 42, 0.22),
        0 0 0 1px rgba(96, 165, 250, 0.65);
    border-color: rgba(129, 140, 248, 0.7);
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.99), rgba(241, 245, 249, 0.97));
}

/* Header: logo + "Incluye IVA" + tag API */
.cotizacion-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.cotizacion-header-main {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Logo pill */
.cotizacion-logo-pill {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.12rem 0.6rem 0.12rem 0.25rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.12);
}

.cotizacion-logo-pill span {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #111827;
}

/* Badge "Incluye IVA 21%" debajo de la imagen */
.cotizacion-iva-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.1rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 500;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(248, 250, 252, 0.9);
    color: #4b5563;
}

/* Tag "API" a la derecha */
.cotizacion-tag {
    font-size: 0.7rem;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(248, 250, 252, 0.9);
    color: #6b7280;
}

/* Body */
.cotizacion-card-body {
    margin-top: 0.25rem;
}

.cotizacion-monto {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #0f172a;
}

.cotizacion-monto .valor-cotizacion {
    display: inline-flex;
    align-items: center;
    min-height: 1.4em;
}

.cotizacion-placeholder {
    font-size: 0.9rem;
    font-weight: 500;
    color: #9ca3af;
}

.cotizacion-subcopy {
    margin: 0.3rem 0 0;
    font-size: 0.78rem;
    color: #6b7280;
}

/* Badge de plazo de entrega (debajo del precio) */
.cotizacion-plazo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.4rem;
    padding: 0.16rem 0.6rem;
    border-radius: 999px;
    font-size: 0.72rem;
    background: rgba(37, 99, 235, 0.06);
    color: #1d4ed8;
    border: 1px solid rgba(129, 140, 248, 0.45);
}

.cotizacion-plazo-badge .fa-clock {
    font-size: 0.8rem;
}

/* Spinner / estados de carga */
.cotizacion-spinner-icon {
    font-size: 1rem;
    margin-right: 0.25rem;
}

/* Errores / no disponible */
.cotizacion-error {
    color: #b91c1c;
    font-size: 0.9rem;
}

/* Colores por transporte – IVA + API + spinner */

.cotizacion-card-andreani .cotizacion-iva-badge {
    background: rgba(248, 113, 113, 0.08);
    border-color: rgba(248, 113, 113, 0.65);
    color: #b91c1c;
}

.cotizacion-card-andreani .cotizacion-tag {
    border-color: rgba(248, 113, 113, 0.65);
    color: #b91c1c;
}

.cotizacion-card-andreani .cotizacion-spinner-icon {
    color: #b91c1c;
}

.cotizacion-card-andesmar .cotizacion-iva-badge {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.65);
    color: #1d4ed8;
}

.cotizacion-card-andesmar .cotizacion-tag {
    border-color: rgba(59, 130, 246, 0.65);
    color: #1d4ed8;
}

.cotizacion-card-andesmar .cotizacion-spinner-icon {
    color: #1d4ed8;
}

.cotizacion-card-oca .cotizacion-iva-badge {
    background: rgba(124, 58, 237, 0.08);
    border-color: rgba(124, 58, 237, 0.65);
    color: #6d28d9;
}

.cotizacion-card-oca .cotizacion-tag {
    border-color: rgba(124, 58, 237, 0.65);
    color: #6d28d9;
}

.cotizacion-card-oca .cotizacion-spinner-icon {
    color: #6d28d9;
}

.cotizacion-card-cruz .cotizacion-iva-badge {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.75);
    color: #b45309;
}

.cotizacion-card-cruz .cotizacion-tag {
    border-color: rgba(245, 158, 11, 0.75);
    color: #b45309;
}

.cotizacion-card-cruz .cotizacion-spinner-icon {
    color: #b45309;
}

/* Responsive */
@media (max-width: 640px) {
    .cotizacion-card-macos {
        padding: 0.85rem 0.85rem 0.8rem;
    }
    .cotizacion-monto {
        font-size: 1.3rem;
    }
}

/* Para accesibilidad visualmente oculto (usado en spinner) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Base del logo: pill neutro */
.cotizacion-logo-pill img {
    padding: 5px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.5);
}

/* Fondo según la logística (círculo de color atrás del logo) */
.cotizacion-card-andreani .cotizacion-logo-pill img {
    background: radial-gradient(circle at 30% 20%, #f97373, #b91c1c); /* rojo Andreani fuerte */
}

.cotizacion-card-andesmar .cotizacion-logo-pill img {
    background: radial-gradient(circle at 30% 20%, #60a5fa, #1d4ed8); /* azul Andesmar fuerte */
}

.cotizacion-card-oca .cotizacion-logo-pill img {
    background: radial-gradient(circle at 30% 20%, #a855f7, #4c1d95); /* violeta OCA fuerte */
}

.cotizacion-card-cruz .cotizacion-logo-pill img {
    background: radial-gradient(circle at 30% 20%, #fb923c, #c05621); /* naranja Cruz del Sur fuerte */
}

/* Icono de plazo con Bootstrap Icons */
.cotizacion-plazo-badge .bi-clock-history {
    font-size: 0.8rem;
}

/* Colores fuertes por transporte */
.cotizacion-card-andreani .andesmarForm-spinner-cotizacion-index {
    color: #dc2626;   /* rojo fuerte Andreani */
}

.cotizacion-card-andesmar .andesmarForm-spinner-cotizacion-index {
    color: #1d4ed8;   /* azul fuerte Andesmar */
}

.cotizacion-card-oca .andesmarForm-spinner-cotizacion-index {
    color: #4c1d95;   /* violeta fuerte OCA */
}

.cotizacion-card-cruz .andesmarForm-spinner-cotizacion-index {
    color: #b45309;   /* naranja fuerte Cruz del Sur */
}

/* (por si no los tenés ya) badge de plazo con look macOS */
.cotizacion-card-macos .cotizacion-plazo-badge {
    margin-top: 0.15rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;

    padding: 0.15rem 0.55rem;
    border-radius: 999px;

    font-size: 0.78rem;
    font-weight: 500;

    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
}

.cotizacion-card-macos .cotizacion-plazo-badge i {
    font-size: 0.85rem;
}

/* Clase global del spinner que ya usás */
.andesmarForm-spinner-localidad-index {
    line-height: 1;
}

/* Normaliza tamaño y alineación de TODOS los spinners de cotización */
.cotizacion-spinner-icon {
    font-size: 1.25rem;      /* ajustá este valor si lo querés un poquito más grande o chico */
    line-height: 1;
    margin-right: 0.25rem;
    vertical-align: middle;
}

/* Por si algún font-size del contenedor intenta pisarlo */
.cotizacion-monto .fa-spinner,
.cotizacion-monto .fas.fa-spinner {
    font-size: 1.25rem !important;
    line-height: 1;
}

/* Badge de plazo: botón "Ver sucursal" alineado al lado */
.cotizacion-plazo-badge {
    margin-top: 0.35rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.04);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(148, 163, 184, 0.45);
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0f172a;
}

.cotizacion-plazo-badge i {
    font-size: 0.85rem;
}

/* Botón sutil "Ver sucursal" */
.cotizacion-plazo-badge .cruz-ver-sucursal-btn {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    padding: 0.15rem 0.7rem;
    font-size: 0.73rem;
    font-weight: 500;
    background: rgba(15, 23, 42, 0.03);
    color: #0f172a;
    cursor: pointer;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        transform 0.12s ease,
        box-shadow 0.12s ease;
}

.cotizacion-plazo-badge .cruz-ver-sucursal-btn:hover {
    background: rgba(37, 99, 235, 0.06);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0px 18px rgba(15, 23, 42, 0.12);
}

.cotizacion-plazo-badge .cruz-ver-sucursal-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Modal estilo macOS suave */
.andesmar-modal-macos {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow:
        0 24px 80px rgba(15, 23, 42, 0.45),
        0 0 0 1px rgba(15, 23, 42, 0.05);
}

.cruz-sucursal-info {
    margin-bottom: 0.75rem;
}

.cruz-sucursal-map {
    width: 100%;
    height: 320px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.28);
}
/* FIN INDEX GENERACION DE ETIQUETAS */

.andesmarForm-addBulto-wrapper-liquid-index {
    display: flex;
    gap: 10px;
}

/* Wrapper de búsqueda SKU E3 */
.e3-sku-search-liquid-index {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgb(179 179 179 / 25%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    /* box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08); */
}

/* Label SKU */
.e3-sku-label-liquid-index {
    font-size: 0.86rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
    display: block;
}

/* Input SKU E3 (arriba e inline reutilizan la misma clase) */
.e3-sku-input-liquid-index {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.92);
    padding: 0.45rem 0.9rem;
    font-size: 0.9rem;
    outline: none;
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.e3-sku-input-liquid-index:focus {
    box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.35);
    border-color: rgba(0, 122, 255, 0.65);
}

/* Listado de resultados SKU (máx 2 cards visibles + scroll) */
.e3-results-list-liquid-index {
    margin-top: 0.55rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 210px;       /* aprox 2 cards */
    overflow-y: auto;
    padding-right: 0.25rem;
}

/* Scrollbar sutil */
.e3-results-list-liquid-index::-webkit-scrollbar {
    width: 6px;
}
.e3-results-list-liquid-index::-webkit-scrollbar-track {
    background: transparent;
}
.e3-results-list-liquid-index::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.65);
    border-radius: 999px;
}

/* Estados: loading / vacío / error */
.e3-result-loading-liquid-index,
.e3-result-empty-liquid-index,
.e3-result-error-liquid-index {
    font-size: 0.8rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px dashed rgba(148, 163, 184, 0.8);
}

.e3-result-error-liquid-index {
    border-color: rgba(255, 59, 48, 0.7);
    color: #d63333;
}

/* Card de resultado liquid glass */
.e3-result-item-liquid-index {
    padding: 0.7rem 0.85rem;
    border-radius: 16px;
    border: 1px solid rgb(231 231 231 / 90%);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* Header de resultado */
.e3-result-header-liquid-index {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.86rem;
    font-weight: 500;
}

/* SKU BIEN RESALTADO */
.e3-result-sku-liquid-index {
    font-family: "Chakra Petch", system-ui, -apple-system, BlinkMacSystemFont;
    letter-spacing: 0.08em;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.95rem;
    padding: 0.1rem 0.6rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgb(255 255 255 / 25%), rgb(255 255 255 / 15%));
    color: #3c60ed;
    box-shadow: 0 0 0 1px rgba(0, 122, 255, 0.35);
}

.e3-result-stock-liquid-index {
    font-size: 0.78rem;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: rgba(52, 199, 89, 0.08);
    color: #138000;
}

/* Nombre (con elipsis) */
.e3-result-name-liquid-index {
    font-size: 0.86rem;
    font-weight: 500;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Medidas */
.e3-result-measures-liquid-index {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    font-size: 0.78rem;
    color: #4b5563;
}

/* Footer: precio + botón */
.e3-result-footer-liquid-index {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.25rem;
}

.e3-result-price-liquid-index {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
}

/* Botoncitos glass (SIN translateY en hover) */
.e3-result-add-btn-liquid-index {
    border-radius: 999px;
    border: 1px solid rgba(0, 122, 255, 0.55);
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.18), rgba(52, 199, 89, 0.08));
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #0f172a;
    cursor: pointer;
    transition: box-shadow 0.15s ease, background 0.2s ease, border-color 0.15s ease;
}

.e3-result-add-btn-liquid-index:hover {
    box-shadow: 0 0px 10px rgba(15, 23, 42, 0.28);
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.28), rgba(52, 199, 89, 0.18));
    border-color: rgba(0, 122, 255, 0.75);
}

/* Wrapper de botones de bultos */
.andesmarForm-addBulto-wrapper-liquid-index {
    margin-top: 1.1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

/* Inline de E3 */
.addBultoE3-inline-liquid-index {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Form inline que aparece al clickear "Agregar bulto de E3" */
.addBultoE3-form-liquid-index {
    display: none;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.45rem 0.6rem;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 1);
    /* box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12); */
}

/* Bultos E3: header con SKU + name */
.bultoHeader-liquid-index {
    margin-bottom: 0.35rem;
}

.bultoTitleSku-liquid-index {
    font-family: "Chakra Petch", system-ui, -apple-system, BlinkMacSystemFont;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Esto como vos pediste */
.bultoTitleTag-liquid-index {
    font-size: 0.8rem;
    margin-left: 0.4rem;
    color: #ffca00;
}

/* Subtítulo con el nombre del producto (elipsis) */
.bultoSubtitle-liquid-index {
    font-size: 0.78rem;
    color: #4b5563;
    margin: 0.15rem 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Marcar bulto vacío de forma sutil */
.bultoVacio-liquid-index {
    border-style: dashed;
    border-color: rgba(148, 163, 184, 0.8);
}

#valor-cotizacion .cotizacion-typing-text {
    margin-left: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.85;
}

#valor-cotizacion2 .cotizacion-typing-text {
    margin-left: 0.4rem;
    font-size: 0.9rem;
    opacity: 0.85;
}

#valor-cotizacion3 .cotizacion-typing-text {
    margin-left: 0.4rem;
    font-size: 0.9rem;
    opacity: 0.85;
}

#valor-cotizacion4 .cotizacion-typing-text {
    margin-left: 0.4rem;
    font-size: 0.9rem;
    opacity: 0.85;
}

.badge-presea-insuf-quey-tandas {
    margin-left: 6px;
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* =========================
   Switch iOS (PlaceIt)
   ========================= */
.switch-ios-placeit{
  position: relative;
  display: inline-block;
  width: 40px;   /* más compacto */
  height: 24px;  /* más compacto */
}
.switch-ios-placeit input{
  opacity: 0;
  width: 0;
  height: 0;
}
.slider-ios-placeit{
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: #d1d1d6;
  transition: .2s;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.slider-ios-placeit:before{
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  top: 2px;
  background: #fff;
  transition: .2s;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(0,0,0,.18);
}
.switch-ios-placeit input:checked + .slider-ios-placeit{ background: #34c759; }
.switch-ios-placeit input:checked + .slider-ios-placeit:before{ transform: translateX(16px); }
.switch-ios-placeit input:focus + .slider-ios-placeit{
  box-shadow: 0 0 0 4px rgba(52,199,89,.18), inset 0 0 0 1px rgba(0,0,0,.08);
}

/* =========================
   Tabla PlaceIt - compactación real según contenido
   SKU/Hijo/Primo: texto simple (sin badge)
   Express: switch
   Stock: badge chico
   Acciones: solo ícono
   ========================= */
#skuPlaceItModal table.sku-table{
  table-layout: auto; /* que no estire de más */
}

#skuPlaceItModal table.sku-table th,
#skuPlaceItModal table.sku-table td{
  vertical-align: middle;
}

/* SKU / Hijo / Primo: lo mínimo posible */
#skuPlaceItModal table.sku-table th:nth-child(1),
#skuPlaceItModal table.sku-table td:nth-child(1),
#skuPlaceItModal table.sku-table th:nth-child(2),
#skuPlaceItModal table.sku-table td:nth-child(2),
#skuPlaceItModal table.sku-table th:nth-child(3),
#skuPlaceItModal table.sku-table td:nth-child(3){
  width: 1%;
  white-space: nowrap;
  padding-left: 10px;
  padding-right: 10px;
}

/* Express (switch) */
#skuPlaceItModal table.sku-table th:nth-child(4),
#skuPlaceItModal table.sku-table td:nth-child(4){
  width: 20px !important;            /* justo para switch */
  white-space: nowrap;
  text-align: center;
  padding-left: 8px;
  padding-right: 8px;
}

/* Stock (badge) */
#skuPlaceItModal table.sku-table th:nth-child(5),
#skuPlaceItModal table.sku-table td:nth-child(5){
  width: 1%;
  white-space: nowrap;
  padding-left: 8px;
  padding-right: 8px;
}

/* Acciones (solo ícono) */
#skuPlaceItModal table.sku-table th:nth-child(6),
#skuPlaceItModal table.sku-table td:nth-child(6){
  width: 20px !important;            /* justo para el botón ícono */
  white-space: nowrap;
  text-align: center;
  padding-left: 6px;
  padding-right: 6px;
}

/* Botón acciones más compacto */
#skuPlaceItModal table.sku-table td:nth-child(6) .btn{
  padding: 4px 8px !important;
  line-height: 1 !important;
}

/* Badge stock un poquito más chico */
#skuPlaceItModal table.sku-table td:nth-child(5) span{
  font-size: 0.72em !important;
  padding: 3px 8px !important;
}
/* =========================
   Fin PlaceIt
   ========================= */

/* =========================
   Collapse PlaceIt (sin .card)
   ========================= */
.collapse-placeit{
  border: 1px solid #e5e5ea;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.04);
}
.collapse-placeit__btn{
  width: 100%;
  border: 0;
  background: #f7f7fb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  font-weight: 900;
  color: #111827;
  cursor: pointer;
  outline: none;
  border-radius: 0 !important;
}

.collapse-placeit__btn:hover{
  background: var(--accent-blue);
  color: white !important;
}

.collapse-placeit__btn:hover .collapse-placeit__sub{
  color: yellow !important;
}

.collapse-placeit__left{
  display: inline-flex;
  align-items: center;
  gap: 0px;
}
.collapse-placeit__sub{
  margin-left: 10px;
  font-weight: 700;
  color: #6b7280;
  font-size: .85em;
}
.collapse-placeit__chev{
  color: #6b7280;
  font-size: 14px;
  transition: transform .18s ease;
}
.collapse-placeit__btn[aria-expanded="true"] .collapse-placeit__chev{
  transform: rotate(90deg);
}
.collapse-placeit__body{
  padding: 12px;
  background: #fff;
  border-top: 1px solid #e5e5ea;
}

/* helpers cps */
.placeit-help{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:10px 12px;
  border:1px solid #e5e5ea;
  background:#fbfbfe;
  border-radius:12px;
  margin-bottom:10px;
}
.placeit-help-ic{ font-size:18px; color:#2563eb; margin-top:2px; }
.placeit-help-title{ font-weight:900; color:#111827; margin-bottom:2px; }
.placeit-help-desc{ color:#374151; font-size:.92em; line-height:1.35; }

.placeit-actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
  flex-wrap:wrap;
}

/* =========================
   CPS badges - (PlaceIt)
   ========================= */
.cp-badges-wrap{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding:8px 2px;
  align-items:center;
}

.cp-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:7px 12px;
  border-radius:999px;

  background: rgba(245, 246, 250, .78);
  border: 1px solid rgba(17, 24, 39, .10);
  box-shadow:
    0 10px 22px rgba(0,0,0,.06),
    inset 0 1px 0 rgba(255,255,255,.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-weight: 850;
  color:#111827;
  font-size: .90em;
  letter-spacing: .1px;
  white-space:nowrap;

  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.cp-badge:hover{
    cursor: pointer;
  transform: translateY(-1px);
  border-color: rgba(17, 24, 39, .16);
  box-shadow:
    0 14px 28px rgba(0,0,0,.08),
    inset 0 1px 0 rgba(255,255,255,.78);
}

/* Texto secundario dentro del badge (ej: → 24hs) */
.cp-badge small{
  font-weight: 800 !important;
  color: rgba(107, 114, 128, .95) !important;
  letter-spacing: .1px;
}

/* Botón X estilo iOS */
.cp-badge-x{
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(192, 57, 43, .28);
  background: rgba(231, 76, 60, .10);
  color: rgba(192, 57, 43, .92);

  width: 22px;
  height: 22px;
  border-radius: 999px;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  font-weight: 900;
  font-size: 14px;
  line-height: 1;
  padding: 0;
  cursor:pointer;

  transition: transform .14s ease, background .14s ease, border-color .14s ease, box-shadow .14s ease;
}

.cp-badge-x:hover{
  transform: scale(1.05);
  background: rgba(231, 76, 60, .16);
  border-color: rgba(192, 57, 43, .40);
  box-shadow: 0 8px 16px rgba(231, 76, 60, .12);
}

.cp-badge-x:active{
  transform: scale(.98);
}

#cpStdSpinner,
#cpExpSpinner{
  width: 28px;
  height: 28px;
  border-width: .22em;
  vertical-align: middle;
  margin-left: 6px;
}
