/* zoom slider */
.zoom-control-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.4);
    padding: 5px 15px;
    border-radius: 20px;
    margin-right: 15px; /* Separación de los botones */
}

.zoom-control-container span {
    /*color: white;
    font-size: 18px;
    user-select: none;*/
}
.zoom-control-container {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.6); /* Un poco más oscuro para que resalte la línea */
    padding: 8px 18px;
    border-radius: 30px;
    margin-right: 15px;
}

.zoom-icon {
    font-size: 30px !important;
    user-select: none;
    color: #ffffff !important; /* Blanco puro */
    opacity: 1; /* Ligeramente tenue para no distraer */
    /*transition: opacity 0.2s ease;
    cursor: pointer;*/
}
/*.zoom-icon:hover {
    opacity: 1;  Brilla al pasar el mouse 
}*/




/* --- ESTILIZADO DEL RANGE --- */
#zoom-slider {
    -webkit-appearance: none; /* Quita el estilo por defecto */
    width: 100px;
    height: 2px; /* La línea horizontal fina */
    background: rgba(255, 255, 255, 0.3); /* Color de la línea de fondo */
    outline: none;
    border-radius: 2px;
}
/* Estilo del Slider (Personalízalo a tu gusto) */
#zoom-slider {
    /*cursor: pointer;
    accent-color: #FFFFFF;  Color del puntito en navegadores modernos */
}
/* El círculo (Thumb) para Chrome, Safari, Edge y Opera */
#zoom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #000000; /* Interior negro */
    border: 2px solid #ffffff; /* Perímetro del color de la línea */
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
}

/* El círculo (Thumb) para Firefox */
#zoom-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: #000000;
    border: 2px solid #ffffff;
    border-radius: 50%;
    cursor: pointer;
}

/* Efecto opcional: que el círculo crezca un poco al tocarlo */
#zoom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}






/* Ocultar en pantallas muy pequeñas si estorba (Opcional) */
@media (max-width: 400px) {
    .zoom-control-container {
        display: none; 
    }
}


/*Control de la musica*/
.control-audio-contenedor {
    text-align: center;
    margin-top: 10px;
    padding: 10px;
}
.btn-audio-minimal {
    background: none;
    border: none;
    color: #9a84a3; /* Púrpura desaturado */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    padding: 5px 10px;
}
.btn-audio-minimal:hover {
    color: #784090; /* Un poco más de saturación al pasar el mouse */
}
.btn-audio-minimal .material-symbols-outlined {
    font-size: 20px;
}
#texto-musica {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    opacity: 0.8;
}
/* Animación de pulso discreta para atraer el primer clic */
.btn-audio-minimal {
    animation: pulsoSutil 2s infinite;
}
@keyframes pulsoSutil {
0% {
transform: scale(1);
opacity: 0.7;
}
50% {
transform: scale(1.5);
opacity: 1;
}
100% {
transform: scale(1);
opacity: 0.7;
}
}
/*Boton flotante confirmar*/
.trianguloInvertido {
--r: 20px; /* Radio de redondeo */
    width: 139px;
    aspect-ratio: 1/cos(30deg); /* Aspecto correcto para triángulos equiláteros */
    background: var(--palo-rosa);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
-webkit-mask: conic-gradient(from -30deg at 50% calc(200% - 3*var(--r)/2), #000 60deg, #0000 0) 0 100%/100% calc(100% - 3*var(--r)/2) no-repeat, radial-gradient(var(--r) at 50% calc(2*var(--r)), #000 98%, #0000 101%), radial-gradient(var(--r), #000 98%, #0000 101%) space no-repeat 0 100%/calc(2*tan(60deg)*var(--r)) calc(2*var(--r));
    /* 2. Propiedades de posición y comportamiento (Rescatadas de .btn-flotante) */
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 1000;
    rotate: 180deg;  /*Lo invertimos para que apunte abajo */
    /* 3. Lógica de visibilidad (Rescatada de .btn-flotante) */
    opacity: 0;
    transform: translateY(100px); /* Aparece desde abajo */
    transition: all 0.4s ease-in-out;
    /* 4. Centrado de contenido */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* Sombra suave */
}
/* Cuando JS le pone la clase .visible */
.trianguloInvertido.visible {
    opacity: 1;
    transform: translateY(0);
}
/* 5. Estilos del texto (Rescatados para que no se vean de cabeza) */
.trianguloInvertido .contenido {
    rotate: 180deg; /* Volteamos el texto para que se lea bien */
    color: white;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px; /* Empuja el texto hacia la parte ancha del triángulo */
}
/* Clase que activará el JavaScript */
/* Usamos el nombre de clase correcto */
.trianguloInvertido:hover {
    background-color: #d4a5a5; /* Tu color palo rosa clarito */
    /* Mantenemos el translateY(0) para que no se mueva de su sitio al escalar */
    transform: translateY(0) scale(1.1);
    transition: all 0.3s ease;
}
/* Ajuste de seguridad para el click */
.trianguloInvertido:active {
    transform: translateY(0) scale(0.95);
}
/* Clase para el estado de reposo (Scroll detenido) */
.trianguloInvertido.en-reposo {
    opacity: 0; /* Esto es un 60% de transparencia (puedes ajustarlo a 0.3 o 0.5) */
    filter: grayscale(20%); /* Opcional: un toque sutil para que se vea más "apagado" */
}
/* Asegúrate de que el hover siempre lo regrese al 100% aunque esté en reposo */
.trianguloInvertido:hover {
    opacity: 1 !important;
    filter: grayscale(0%);
    transform: translateY(0) scale(1.1);
}

@media print {
/* Si intentan imprimir la página a PDF para sacar las fotos */
img, #img-ampliada {
    display: none !important;
}
}
#img-ampliada {
    /* Evita que el mouse interactúe con el archivo */
    pointer-events: none !important;
    /* Evita que se seleccione como contenido */
    user-select: none !important;
    /* Un "escudo" extra: si intentan arrastrar, no habrá nada */
    -webkit-user-drag: none !important;
}
/* Evitamos que el navegador resalte la imagen al hacer clic */
.visor-cuerpo img {
    -webkit-tap-highlight-color: transparent;
}
/* La imagen se vuelve "intocable" para el navegador */
#img-ampliada, .foto-item img {
    pointer-events: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
}
/* El cristal protector que sí recibe el clic pero no tiene menú de guardado */
.visor-cuerpo {
    position: relative;
    user-select: none;
}
/* Capa invisible superior */
.capa-protectora {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10006; /* Por encima de la imagen */
    background: rgba(0,0,0,0); /* Transparente */
    cursor: pointer;
}
/* Las flechas deben estar por ENCIMA de la capa protectora */
.arrow-btn {
    z-index: 10010 !important;
}
/* Contenedor relativo para que el cristal sepa dónde ponerse */
.foto-item, .visor-cuerpo {
    position: relative;
}
/* El Cristal: una capa invisible sobre la foto */
.cristal-protector {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: rgba(0,0,0,0);
    /* Bloqueo de selección de texto/elementos */
    -webkit-user-select: none;  /* Safari y Chrome antiguo */
    -moz-user-select: none;     /* Firefox */
    -ms-user-select: none;      /* Internet Explorer/Edge antiguo */
    user-select: none;          /* Estándar moderno */
    /* Bloqueo de menú emergente en móviles (iOS es el más crítico) */
    -webkit-touch-callout: none;
    /* Evita el sombreado azul al tocar en algunos Android */
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-user-drag: none;
    cursor: pointer; /* Para que al hacer click sepa que cierra */
    pointer-events: all; /* Asegura que reciba los eventos */
}

/* Solo cuando la escala es mayor a 1, mostramos que se puede arrastrar */
.visor-galeria.con-zoom .cristal-protector {
    cursor: grab;
}
/* Aseguramos que la imagen esté debajo del cristal */
.foto-item img, #img-ampliada {
    position: relative;
    z-index: 5;
}
@font-face {
    font-family: 'amsterdamSignature';
    src: url('../fonts/woff/amsterdam-signature-one.woff2') format('woff2'), url('../fonts/ttf/amsterdam-signature-one.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
:root {
--palo-rosa: #784090;
--azul-nunito: #827db3;
--fondo-suave: #f5eded;
--fuente-firma: 'amsterdamSignature', cursive;
--fuente-base: 'Nunito', sans-serif;
}
body {
    font-family: var(--fuente-base);
    /*background-color: #f2f2f2;*/
    background-color: var(--fondo-suave);
    color: var(--azul-nunito);
}
.main-container {
    background-color: white;
    min-height: 100vh;
    box-shadow: 0 0 50px rgba(0,0,0,0.1);
    overflow-x: hidden;
}





.multiMuro-container {
    /*background-color: var(--fondo-suave);*/
    background-color: white;
    height: calc(100dvh - 75px); /* 'dvh' significa Dynamic Viewport Height */
    box-shadow: 0 0 50px rgba(0,0,0,0.1);
    overflow-x: hidden;
     /*Importante para que el contenido interno se pueda desplazar*/ 
    overflow-y: hidden; 
    /* Esto asegura que el cálculo se mantenga firme */
    display: flex;
    flex-direction: column;
   
}

.firma {
    font-family: var(--fuente-firma) !important;
    color: var(--palo-rosa);
    text-transform: none !important;
    display: block;
    line-height: 1.5;
    margin-bottom: 2.5rem;
    padding-top: 10px;
}
.display-firma-grande {
    font-size: 4.5rem;
    margin-top: 1rem;
    margin-bottom: 3.5rem;
}
.display-firma-media {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
}
.display-firma-chica {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
}
.hero-img {
    width: 100%;
    height: auto;
    display: block;
}
.section-padding {
    padding: 40px 25px;
}
.texto-intro {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--azul-nunito);
    margin-bottom: 2rem;
}
.gift-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}
.btn-gift {
    background-color: var(--palo-rosa);
    color: white !important;
    border-radius: 50px;
    padding: 8px 25px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
}
.divisor {
    width: 50px;
    height: 1px;
    background-color: var(--palo-rosa);
    opacity: 0.5;
    margin: 4rem auto;
}
.divisorPleca {


    margin: 4rem auto;
}
/* Estilos para la pleca */
.pleca-svg {
    display: block;
    height: auto;
    margin: 0 auto;
}

/* Ajuste para Móvil (Pantallas pequeñas) */
@media (max-width: 767px) {
.pleca-svg {
    /* En móvil queremos que se note, ocupando gran parte del ancho */
    width: 75% !important;
    min-width: 150px; /* Evita que se vea minúscula */
}
.divisorPleca {
    /* Reducimos un poco el margen en móvil para que no haya huecos gigantes */
    margin: 2.5rem auto !important;
}
}

/* Ajuste para Escritorio (Pantallas grandes) */
@media (min-width: 768px) {
.pleca-svg {
    width: 35% !important; /* Tu tamaño original para escritorio */
    max-width: 300px;
}
}
.btn-custom {
    background-color: var(--palo-rosa);
    color: white;
    border-radius: 50px;
    padding: 10px 25px;
    border: none;
    font-weight: bold;
}
.btn-custom:hover {
    background-color: var(--azul-nunito) !important;
    color: var(--palo-rosa);
}






.bg-custom-a {
    background-color: #e0d8e1 !important;
    color: #9B97C4;
}
.lugarMapa {
    width: 45px;
    height: auto;
    transition: transform 0.3s ease;
}
.lugarMapa:hover {
    transform: scale(1.1);
}
.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 30px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--palo-rosa);
    opacity: 0.6;
}
.timeline-item::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 25px;
    width: 1px;
    height: calc(100% + 10px);
    background-color: var(--palo-rosa);
    opacity: 0.2;
}
.timeline-item:last-child::after {
    display: none;
}
.hora-itinerario {
    font-weight: 700;
    color: var(--palo-rosa);
    display: block;
    font-size: 0.9rem;
}
.carta-padres-container {
    background-color: #ffffff;
    padding: 80px 20px;
}
.carta-borde-doble {
    max-width: 100%;
    margin: 0 auto;
    padding: 3rem 1.5rem 2rem 1.5rem;
    border: 3px double var(--palo-rosa);
    border-radius: 20px;
    position: relative;
    background: white;
}

.banner-borde-doble {
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem;
    border: 3px double var(--palo-rosa);
    border-radius: 20px;
    /*position: relative;*/
    background: white;
}

.icono-sobre {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0 15px;
    border-radius: 25px;
}
.texto-carta {
    color: var(--azul-nunito);
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: 300;
    margin-top: 1rem;
}
.firma-carta {
    font-weight: 700;
    color: var(--palo-rosa);
    margin-top: 1.5rem;
    letter-spacing: 2px;
    font-size: 0.8rem;
}
.info-card {
    padding: 30px 20px;
}
.btn-whatsapp {
    text-decoration: none;
    padding: 8px 20px;
    border: 1px solid var(--palo-rosa);
    color: var(--palo-rosa);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    display: inline-block;
}
.btn-whatsapp:hover {
    background-color: var(--palo-rosa);
    color: white !important;
}
.menu-item {
    margin-bottom: 3rem;
}
.menu-categoria {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--palo-rosa);
    font-size: 0.85rem;
    margin-bottom: 8px;
}
.menu-plato {
    font-size: 1.15rem;
    color: var(--azul-nunito);
    line-height: 1.5;
    font-weight: 300;
}
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 48;
    font-size: 60px;
    color: var(--palo-rosa);
    display: block;
    margin-bottom: 10px;
}

.visor-icons {
    font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 48;
    font-size: 40px !important;
    user-select: none;
    color: #ffffff !important; /* Blanco puro */
    opacity: 1; /* Ligeramente tenue para no distraer */
    /*transition: opacity 0.2s ease;
    cursor: pointer;*/
}
.white-icons-smll {
    font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 48;
    font-size: 20px !important;
    user-select: none;
    color: #ffffff !important; /* Blanco puro */
    opacity: 1; /* Ligeramente tenue para no distraer */
    /*transition: opacity 0.2s ease;
    cursor: pointer;*/
}




/*.zoom-control-container .material-symbols-outlined {
    color: #ffffff;  El blanco gana sin necesidad de !important 
}*/

/* Tuneado para la pleca clara con iconos morados */
.material-symbols-outlined-b {
    font-variation-settings: 'FILL' 0, 'wght' 600, 'GRAD' 0, 'opsz' 48;
    font-size: 30px;
    color: var(--palo-rosa) !important; /* Ahora es morado en lugar de blanco */
    display: block;
    margin-bottom: 0px !important;
    cursor: pointer;
}
.flip-horizontal {
    transform: scaleX(-1);
    display: inline-block;
}
/* Contenedor para que la etiqueta no se salga de la foto */
.foto-item-muro {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 100px; /* Un poco más alto para que luzca el nombre */
}
/* La etiqueta con el nombre del invitado */
.nombre-invitado-galeria {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7)); /* Graduado elegante */
    color: white;
    font-size: 11px;
    padding: 20px 5px 5px 5px; /* Más espacio arriba para el degradado */
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Corta nombres muy largos con ... */
    backdrop-filter: blur(2px);
    pointer-events: none; /* No estorba el clic */
}

#caja-chat {
    height: 68vh !important; /* Altura fija en vista normal */
    overflow-y: auto !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    background-color: #ffffff;
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
    transition: height 0.3s ease;/*Scroll abajo mientras se encoge */
}

.reply-container-push
{
  height: 40vh !important;  
}

/*Lupa para las fotos del chat*/
/* Contenedor relativo para que la lupa se posicione dentro */
.chat-img-container {
    position: relative;
    display: inline-block;
    margin-top: 8px;
}

/* El botón de la lupa */
/* El botón de la lupa (Actualizado) */
.btn-zoom-lupa {
    position: absolute;
    top: 14px; /* Un poco más de margen */
    right: 14px;
    background: rgba(128, 95, 165, 0.5); /* Fondo un poco más oscuro para contraste */
    color: #FFFFFF !important; /* Blanco puro para el icono */
    border-radius: 50%;
    width: 42px; /* Lupa más grande y "tocable" */
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /*border: 2px solid rgba(255, 255, 255, 0.5);  Borde blanco sutil */
    z-index: 10;
    transition: transform 0.2s, background 0.2s;
    
    /* Efecto de sombra para que resalte*/ 
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.btn-zoom-lupa:active {
    transform: scale(0.92);
    background: rgba(0, 0, 0, 0.9);
}

.btn-zoom-lupa:hover {
    transform: scale(1.1);
    background: rgba(128, 95, 165, 1);
}

/* El Icono dentro de la lupa (Crucial) */
.btn-zoom-lupa span {
    color: #FFFFFF !important; /* Forzamos blanco */
    font-size: 26px !important; /* Icono más grande */
    
    /* APLICAMOS TUS PARÁMETROS AQUÍ */
    font-variation-settings: 
        'FILL' 0,   /* Sin relleno (contorno) */
        'wght' 300, /* GROSOR MÁXIMO (antes 400) */
        'GRAD' 0, 
        'opsz' 24;
}


@media (max-width: 600px) {
    #caja-chat {
     height: 52vh !important; /* Altura fija en vista normal */
    }
}




/* Opcional: Estilizar la barra de scroll para que se vea más moderna */
#caja-chat::-webkit-scrollbar {
width: 6px;
}
#caja-chat::-webkit-scrollbar-thumb {
background-color: rgba(120, 64, 144, 0.3); /* Color palo rosa suave */
border-radius: 10px;
}
 /* Ajuste para que el chat se vea bien en FullScreen */
/* VISTA FULL SCREEN (Solo cuando el elemento está activo) */
#tab-chat:fullscreen {
background-color: #f8f9fa !important;
padding: 20px !important;
width: 100vw;
height: 100vh;
display: flex !important;
flex-direction: column !important;
}
#tab-chat:fullscreen #caja-chat {
flex: 1; /* Ocupa todo el espacio intermedio */
height: auto !important;
margin-bottom: 20px;
}
/* Cuando el contenedor del muro entra en Full Screen */
#area-muro:fullscreen {
background-color: #fcfaff !important; /* Tu color de fondo */
padding: 20px !important;
display: flex !important;
flex-direction: column !important;
overflow-y: auto;
}

/* Ajuste del chat dentro del Full Screen del muro */
#area-muro:fullscreen #caja-chat {
height: 65vh !important; /* Le damos mucha más altura */
flex-grow: 1;
}

/* Ajuste de la galería dentro del Full Screen */
#area-muro:fullscreen #galeria-fotos {
height: 70vh !important;
/* Espacio extra abajo para que el último elemento no quede pegado al borde del móvil */
    padding-bottom: 100px !important;
    /* Mejora el desplazamiento en iOS */
    -webkit-overflow-scrolling: touch;
}
#area-muro{
    height: 100% !important;
}

#tab-pase
 {
    height: 70vh;
}


.burbuja {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 15px;
    position: relative;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
/* Mensajes de otros (Izquierda) */
.burbuja-otro {
    align-self: flex-start;
    background-color: #ffffff;
    color: #333;
    border-bottom-left-radius: 2px;
}
/* Mensajes propios (Derecha) */
.burbuja-yo {
    align-self: flex-end;
    background-color: #e2d9e6; /* Un tono palo rosa muy suave */
    color: #333;
    border-bottom-right-radius: 2px;
}
.chat-nombre {
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--palo-rosa);
    margin-bottom: 2px;
    display: block;
}
.chat-img-adjunta {
    max-width: 100%;
    border-radius: 10px;
    margin-top: 5px;
    cursor: pointer;
}
.burbuja {
    cursor: pointer;
    transition: transform 0.1s;
}
.burbuja:active {
    transform: scale(0.98);
}
/* Para que el texto citado no sea gigante y tenga buen contraste */
.bg-dark.bg-opacity-10 {
    background-color: rgba(0, 0, 0, 0.07) !important;
    border-radius: 8px;
    margin-bottom: 5px;
}
.text-truncate {
    max-width: 180px; /* Evita que la cita deforme la burbuja */
    display: inline-block;
    vertical-align: bottom;
}
    

    


/* =========================================
   5. PESTAÑAS (TABS / PILLS)
   ========================================= */
/* Estilo base para las pestañas */
.nav-pills .nav-link {
    color: var(--azul-nunito);
    background-color: #e9ecef;
    margin: 0 5px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Espacio entre icono y texto */
    font-weight: 600;
    transition: all 0.3s ease;
}
/* Pestaña Activa */
.nav-pills .nav-link.active {
    background-color: var(--palo-rosa) !important;
    color: white !important;
}
      

/* Color para pestañas inactivas */
.nav-tabs .nav-link {
    color: #495057; /* Texto */
    background-color: #e9ecef; /* Fondo *//*border-color: #dee2e6;*/
}
/* Color para la pestaña activa */
.nav-tabs .nav-link.active {
    color: white;
    background-color: var(--palo-rosa); /* Color personalizado */
    border-color: var(--palo-rosa);
}
/* Iconos de las pestañas */
.tabIcon {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24 !important;
    font-size: 22px !important;
    margin-bottom: 0 !important;
    color: var(--lavanda-inactivo) !important; /* Lavanda cuando está inactiva */
    transition: color 0.3s ease;
}

.tabIconGhost {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24 !important;
    font-size: 22px !important;
    margin-bottom: 0 !important;
    color: var(--palo-rosa) !important;
    transition: color 0.3s ease;
}


/* Color al pasar el mouse (hover) */
.nav-tabs .nav-link:hover {
    border-color: #007bff;
    background-color: #cce5ff;
    cursor: pointer;
}



/* Cuando el link es activo, el icono pasa a ser blanco */
.nav-link.active .tabIcon {
    color: #FFFFFF !important;
}
.whiteIcon {
    color: #FFFFFF !important;
}

@media (min-width: 600px) {
/* Color al pasar el mouse (hover) */
.nav-tabs .nav-link:hover {
    border-color: #007bff;
    background-color: #cce5ff;
    cursor: pointer;
}
}
.icono-escritorio {
    display: block;
}
.icono-movil {
    display: none;
}

@media (max-width: 600px) {
.display-firma-grande {
    font-size: 3rem;
}
.display-firma-media {
    font-size: 2rem;
}
.display-firma-chica {
    font-size: 1rem;
    text-align: left;
}
.icono-escritorio {
    display: none;
}
.icono-movil {
    display: block;
}
}
/* Clase para imitar el Fullscreen */
.fake-fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999 !important;
    background-color: white; /* O el color de fondo de tu boda */
    margin: 0 !important;
    padding: 0 !important;
    overflow-y: auto; /* Para que sigan pudiendo hacer scroll si el chat es largo */
}

/* 2. Ajuste exclusivo para Escritorio (Laptops/PC) */
@media (min-width: 992px) {
.fake-fullscreen {
    /* Aquí está el truco: 1/3 de página (aprox 33%) */
    width: 40% !important;
    left: 30% !important; /* Centrado: (100% - 30%) / 2 = 35% */
    box-shadow: 0 0 50px rgba(0,0,0,0.2); /* Sombra para que se vea elegante */
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

    /* Opcional: Oscurecer el fondo detrás del muro en PC */
    body:has(.fake-fullscreen)::before {
content: "";
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.05); /* Un tinte muy suave */
z-index: 9998;
}
}
/* Ajuste opcional para que el contenido respire */
.fake-fullscreen .container {
    max-width: 100% !important;
}
#progreso-container {
    background-color: #e9ecef;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
}
.progress-bar {
    background-color: var(--palo-rosa) !important; /* Usamos tu color principal */
    transition: width .4s ease;
}
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 150px;
    grid-auto-flow: dense;
    gap: 8px; /* Un poco más de aire ayuda a la estética */
    align-items: start; /* Evita que las celdas se estiren de más verticalmente */
    min-height: 200px;
}
/* Los candados de seguridad que aplican a las fotos de AMBAS vistas */
#galeria-estatica img, #galeria-publica img {
    pointer-events: none !important;
    -webkit-user-drag: none;
    user-select: none;
}
.foto-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden; /* CORTA cualquier desborde de la imagen */
    border-radius: 8px; /* Un toque elegante */
}
.foto-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mantiene la proporción interna sin deformar la caja */
    display: block;
}
.foto-item:hover img {
    transform: scale(1.1);
}
.foto-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1 / 1; /* Cuadrados perfectos */
}
/* Clases de Proporción */
.foto-grande {
    grid-column: span 2;
    grid-row: span 2;
}
.foto-landscape {
    grid-column: span 2;
    grid-row: span 1;
}

/* Ajuste para móvil: 3 columnas */
@media (max-width: 768px) {
.galeria-grid {
    grid-template-columns: repeat(3, 1fr);
}
}
.card_header {
    background: var(--fondo-suave) !important;
    border-bottom: 1px solid rgba(120, 64, 144, 0.1);
}
.hideInFull {
    display: none;
}

/* Altura expandida cuando se activa el Modo Inmersivo (fake-fullscreen) */
.fake-fullscreen #caja-chat {
    /* Calculamos: 100% de la altura de pantalla menos el espacio de cabecera, pestañas e input */
    height: calc(100vh - 350px) !important;
}

/* Cuando el panel de stickers está abierto, reducimos el chat */
.panel-activo .fake-fullscreen #caja-chat {
   /* height: calc(100vh - 560px) !important;  Ajusta este valor según la suma de tu input + panel */
    
    /* En lugar de 100vh, usa 100dvh (Dynamic Viewport Height) */
/* Esto se adapta en tiempo real si la barra del navegador aparece o desaparece */
    height: calc(100dvh - 500px) !important;
    transition: height 0.3s ease; /* Para que el empuje sea suave y no un salto brusco */
}



















/* Ajuste de simetría para la galería en modo 'fake-fullscreen' */
.fake-fullscreen #galeria-fotos {
    /* Restamos un poco más para dar espacio a la barra de estado y el margen del móvil */
    height: calc(100vh - 360px) !important;
    overflow-y: auto;
    /* Colchón extra para que la última fila de fotos no choque con el borde */
    padding-bottom: 40px !important;
    /* Suavidad de scroll en móviles */
    -webkit-overflow-scrolling: touch;
}
.seccion-galeria {
    margin-bottom: 20px;
}
.plecaTimer {
    background-color: #e0d8e1 !important;
    color: var(--palo-rosa);/*height: 50px;*/
}
.plecaAlert {
    background-color: #e0d8e1 !important;
    color: var(--palo-rosa) !important;/*height: 50px;*/
}
.textAlert {
    font-size: 1.15rem;
    color: var(--palo-rosa) !important;
    line-height: 1.5;
    font-weight: 300;
}
.dressUp {
    color: var(--palo-rosa) !important;
    display: block;
    margin-bottom: 10px;
}
/* Estilo base para el objeto */
.icono-responsive {
    display: block;
    height: auto;
    transition: width 0.3s ease; /* Suaviza el cambio de tamaño */
}

/* Pantallas móviles (menos de 768px) */
@media (max-width: 767px) {
.icono-responsive {
    width: 20% !important; /* Lo hacemos más grande en celular */
    min-width: 80px;      /* Pero que no baje de 80px */
}
}

/* Pantallas de escritorio (768px o más) */
@media (min-width: 768px) {
.icono-responsive {
    width: 10% !important; /* Se mantiene discreto en PC */
    max-width: 100px;
}
}
/* Estilo base para el objeto */
.svgResponsive {
    display: block;
    height: auto;
    transition: width 0.3s ease; /* Suaviza el cambio de tamaño */
}

/* Pantallas móviles (menos de 768px) */
@media (max-width: 767px) {
.svgResponsive {
    width: 100% !important; /* Lo hacemos más grande en celular */
    min-width: 80px;      /* Pero que no baje de 80px */
}
}

/* Pantallas de escritorio (768px o más) */
@media (min-width: 768px) {
.svgResponsive {
    width: 100% !important; /* Se mantiene discreto en PC *//*max-width: 300px;*/
}
}
.bg-personalizado {
    background-image: url('../recursos/vale_pattern_04.png');
    background-size: cover; /* Ajusta la imagen al div */
    background-position: center;
    background-repeat: space;
    min-height: 300px; /* Define una altura mínima */
}
/* Contenedor principal de la galería */

/* Estilo de las cajas (Sin redondeo) */
    
    
    
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 120px; /* Bajamos un poco la base para más flexibilidad */
    grid-auto-flow: dense;
    gap: 4px;
}
/* La primera siempre grande para dar estilo */
.galeria-grid .box:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}
.galeria-grid .box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Esto es lo que la recorta, pero mantiene el orden */
    display: block;
}
.galeria-grid .box {
    overflow: hidden;
    position: relative;
    border-radius: 0; /* Esquinas totalmente rectas */
    cursor: pointer;
}
/* Evita que las imágenes se deformen pero asegura que llenen el espacio */

/* Diseño de Mosaico (Se aplica a todos los tamaños) */
.galeria-grid .box:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

/* Ajuste específico de altura para Escritorio */
@media (min-width: 768px) {
.galeria-grid {
    grid-auto-rows: 250px; /* Más grandes en PC */
    gap: 4px; /* Filete ligeramente más grueso en PC */
}
}
.blindProof {
    font-weight: bolder!important;
    color: var(--palo-rosa);
    font-size: 1rem;
}

@media (max-width: 400px) {
.blindProof {
    font-weight: bolder!important;
    color: var(--palo-rosa);
    font-size: 1rem;
}
}
.flip-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-family: 'Arial', sans-serif;
}
.flip-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.flip-card {
    background: #784090; /* Púrpura principal de tu paleta */
    color: #E9DEED;      /* Lavanda claro para los números */
    width: 45px;
    height: 52px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    position: relative;
    /* Efecto de línea divisoria del flip clock */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.flip-card::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: rgba(0,0,0,0.2);
    top: 50%;
}
.flip-label {
    color: #784090;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 8px;
    letter-spacing: 0.5px;
}

/* Ajuste para móviles */
@media (max-width: 400px) {
.flip-card {
    width: 30px;
    height: 35px;
    font-size: 1.5rem;
}
.flip-label {
    font-size: 0.45rem;
}
}
/* Animación de entrada/cambio */
@keyframes flipAction {
0% {
transform: rotateX(0deg);
}
50% {
transform: rotateX(-90deg);
opacity: 0.7;
}
100% {
transform: rotateX(0deg);
opacity: 1;
}
}
.pulse {
    animation: flipAction 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Mejora visual: profundidad 3D */
.flip-card {
    perspective: 1000px;
    transform-style: preserve-3d;
}
/*Estilos del visor inicia*/
.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 20px 10px;
    cursor: pointer;
    z-index: 10001; /* Por encima de la imagen */
    transition: background 0.3s;
    border-radius: 5px;
}
.arrow-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}
.prev-btn {
    left: 10px;
}
.next-btn {
    right: 10px;
}
.arrow-btn .material-icons {
    font-size: 40px;
}

/* Opcional: Ocultar en pantallas muy pequeñas si estorban */
@media (max-width: 480px) {
.arrow-btn {
    background: none;
    padding: 5px;
}
.arrow-btn .material-icons {
    font-size: 30px;
    opacity: 0.5;
}
}
.visor-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    display: flex;
    flex-direction: column;
}
.visor-header {
    display: flex;
    justify-content: flex-end;
    padding: 10px;
    gap: 15px;
}
.btn-visor {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}
.visor-cuerpo {
    flex: 1;
    display: flex;

    align-items: center;
    justify-content: center;
    overflow: hidden;
}
#img-ampliada {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    /*transition: opacity 0.3s ease-in-out, transform 0.1s ease-out;  El transform debe ser rápido para el zoom*/ 
    -webkit-user-drag: none;
    pointer-events: none !important; /* El mouse/dedo "atraviesa" la imagen */
    user-select: none !important;
    -webkit-touch-callout: none !important; /* Bloqueo total en iPhone */
    touch-action: none; /* CRUCIAL: Evita que el navegador intente hacer scroll nativo mientras haces zoom */
    transition: opacity 0.3s ease; /* Quitamos 'transform' de la transición para que el zoom sea instantáneo al mover los dedos */
    will-change: transform; /* Optimización para móviles */
    
    cursor: grab; /* Por defecto, mano abierta (indica que se puede agarrar) */
}
/* Cuando la imagen se está arrastrando (grabbing se aplica en el JS) */
#img-ampliada[style*="grabbing"] {
    cursor: grabbing !important; /* Mano cerrada */
}




.visor-cuerpo {
    touch-action: none; /* Evita que el navegador haga scroll mientras haces swipe */
}
.visor-cuerpo {
    /* Como la imagen es intocable, el clic de cerrar lo recibe el fondo del cuerpo */
    cursor: pointer;
}
#img-ampliada {
    transition: transform 0.1s ease-out; /* Transición rápida para que se sienta fluido */
    transform-origin: center center;
    touch-action: none; /* Crucial: evita que el navegador mueva la página */
    will-change: transform;
}

/* En PC la imagen no ocupa todo el ancho */
@media (min-width: 992px) {
#img-ampliada {
    max-width: 40%;
}
}
.visor-footer {
    color: white;
    text-align: center;
    padding: 20px;
    background: rgba(0,0,0,0.5);
}
.d-none {
    display: none !important;
}




/*Estilos del visor termina*/
 /* --- MEJORAS PARA GALERÍA 3 Y VISOR --- */

/* Contenedor de "Mis Fotos" dentro de la pestaña de subida */
#galeria-fotos {
    height: 66vh;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
    background: #ffffff !important; /* Fondo blanco para que el filo sea blanco */
    border-radius: 10px;
    padding: 1px !important;
    /* Suaviza el scroll en móviles */
    -webkit-overflow-scrolling: touch;
}
/* Pantallas móviles (menos de 768px) */
@media (max-width: 767px) {
#galeria-fotos {
 height: 49vh;   
}
}



/* Badge de "Pendiente" con tus colores */
.badge-pendiente {
    background-color: var(--palo-rosa) !important;
    color: #E9DEED !important; /* El lavanda claro de tus flip-cards */
    font-size: 0.65rem !important;
    padding: 3px 8px !important;
    border-radius: 50px !important;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
/* Efecto hover sutil para las miniaturas del historial */
.foto-item-muro:hover img {
    opacity: 0.8;
    transform: scale(1.05);
    transition: all 0.3s ease;
}
/* Ajuste de los iconos de navegación del visor */
.arrow-btn .material-icons {
    color: #E9DEED; /* Lavanda claro para que no sea un blanco puro chillón */
}
/* Ajuste del nombre del invitado en el mosaico general */
.nombre-invitado-galeria {
    font-family: var(--fuente-base);
    background: linear-gradient(transparent, rgba(120, 64, 144, 0.8)); /* Gradiente morado palo-rosa */
    font-weight: 600;
}
/* Spinner para el visor */
.loader-visor {
    width: 40px;
    height: 40px;
    border: 4px solid #E9DEED;
    border-top: 4px solid var(--palo-rosa);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    z-index: 10002;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
/* Clase para el filo mínimo entre fotos */
.p-05 {
    padding: 1px !important;
}
#galeria-fotos img {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* Forzar bordes rectos solo en esta galería si fuera necesario */
#galeria-fotos .foto-item {
    aspect-ratio: auto !important; /* Anulamos el cuadrado forzado */
    height: 100% !important;
    width: 100% !important;
    border-radius: 0 !important;
}
#galeria-fotos .position-relative {
    height: 100px !important; /* Forzamos la altura aquí */
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
/* Limpieza definitiva para la Galería 3 */
#galeria-fotos .col-4 {
    padding: 1px !important; /* El filo blanco */
    margin: 0 !important;   /* Elimina cualquier margen top/bottom */
    line-height: 0 !important; /* Mata el espacio de fuente */
}








/* Contenedor relativo para posicionar el badge */
.foto-item {
    position: relative;
}

.badge-gif {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.2); /* Fondo blanco muy traslúcido */
    backdrop-filter: blur(4px);            /* Efecto de vidrio esmerilado */
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 50px;                   /* Estilo píldora */
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    pointer-events: none;
    text-transform: uppercase;
}

/* Opcional: un icono de "play" pequeño junto al texto */
.badge-gif::before {
    content: "▶ ";
    font-size: 8px;
    vertical-align: middle;
    position: relative !important;
}

.hidden { display: none !important; }


.reply-bubble-content {
    background: rgba(0, 0, 0, 0.05);
    border-left: 3px solid #8e44ad; /* Tu color morado */
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 5px;
}

/* En modo sticker, quizás quieras ocultar la alusión o hacerla muy minimalista */
.sticker-mode .reply-bubble-content {
    background: rgba(255, 255, 255, 0.5);
    border-left: 3px solid #ccc;
}

/* Reserva espacio para que el scroll no salte tanto */
.chat-img-adjunta {
    min-height: 100px; 
    display: block;
}

.chat-sticker {
    min-height: 80px;
    display: block;
}

/* Si las réplicas empujan el contenido, asegúrate que tengan altura calculada */
.reply-bubble-content {
    min-height: 40px;
}
/* 1. MATAMOS EL FONDO ROSA Y BLANCO PARA CUALQUIER STICKER */
/* Usamos el atributo class para que tenga prioridad sobre cualquier otra regla */
#caja-chat div.burbuja[class*="sticker-mode"] {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    max-width: fit-content !important;
}

/* 2. ASEGURAMOS QUE NO HAYA "SOBRAS" DE COLOR */
#caja-chat .sticker-mode::before, 
#caja-chat .sticker-mode::after {
    display: none !important; /* Por si tienes algún "pico" de burbuja hecho con pseudoelementos */
}

/* 3. ALINEACIÓN FORZADA */
.burbuja-yo.sticker-mode {
    margin-left: auto !important;
    margin-right: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
}

.burbuja-otro.sticker-mode {
    margin-right: auto !important;
    margin-left: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

/* 4. EL GATITO */
.chat-sticker {
    max-width: 160px !important;
    height: auto !important;
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.3)) !important;
    transition: transform 0.2s;
}




/*Subir stickers*/
/* Contenedor principal para mantener el orden */
.chat-footer-wrapper {
    position: relative;
    background: white;
}





/* El panel ahora es fijo para que descanse sobre la tab-bar */
.sticker-panel-container {
    height: 250px;
    background: #fdfbff;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    
    position: fixed;
    bottom: 75px; /* Altura de tu tab-bar */
    left: 50%;
    transform: translateX(-50%); /* Centrado horizontal */
    width: 100%;
    max-width: 500px; /* Limita el ancho en escritorio para que no se amontone */
    z-index: 1040;
}


/* Navegación interna (Tabs) */
.sticker-nav {
    display: flex;
    justify-content: center;
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
    padding: 5px 0;
}

.sticker-tab {
    flex: 1;
    font-weight: bold;
    background: none;
    border: none;
    padding: 8px 20px;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.2s;
}

.sticker-tab.active {
    border-bottom: 2px solid #8e44ad;
    background: #8e44ad; /* Tu color morado */
    color: white;
    font-weight: bold;
}




/* Cuadrícula de stickers */
.sticker-grid {
    flex: 1;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 10px;
}

.sticker-item-img {
    width: 100%;
    cursor: pointer;
    transition: transform 0.1s;


/* Ajuste para que los GIFs se vean bien en el mosaico */

    height: 70px;
    object-fit: contain; /* Evita que el GIF se estire feo */
}




.sticker-item-img:active { transform: scale(0.9); }

.sticker-footer { padding: 8px; background: white; }

/* Cuando el panel está activo, añadimos un margen al fondo del contenedor del chat */
body.panel-activo .seccion-app {
    padding-bottom: 325px !important; /* Altura panel (250px) + Tab Bar (75px) */
}



/* Contenedor de la caja de texto y botones de enviar */
.input-group.flex-wrap {
    margin-bottom: 2px; /* Para que nunca quede detrás de la tab-bar */
    background: white;
    padding: 10px;
    position: relative;
    z-index: 1060;
}

/* LA MAGIA: Empujar el chat y el input solo dentro del muro */
#view-muro.panel-abierto {
    padding-bottom: 335px !important; /* Panel(250) + TabBar(75) + 10px aire */
}

/* Si tienes un contenedor para el input (el que tiene los botones), 
   asegúrate de que también suba cuando el panel esté abierto */
#view-muro.panel-abierto .input-group {
    position: fixed;
    bottom: 325px; /* Se posa sobre el panel */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    z-index: 1050;
    background: white;
    padding: 10px;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
}
#view-muro{
    height: 100% !important;
}

/*spinner de carga*/
@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner-send {
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

/* Opcional: un estilo visual para el botón cuando está cargando */
.btn-loading {
    opacity: 0.7;
    pointer-events: none; /* Evita clics extra */
}

/* Encabezado del chat */
/*.avatar-header {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background-color: #eee;
    flex-shrink: 0;
}

.img-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}*/
.avatar-header {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden; /* Corta el exceso del 150% */
    border: 2px solid rgba(255, 255, 255, 0.8);
    background-color: #eee;
    flex-shrink: 0;
    display: flex; /* Ayuda a centrar la imagen base */
    align-items: center;
    justify-content: center;
}
.img-avatar {
    width: 200%; /* Tu zoom deseado */
    height: 200%;
    object-fit: cover;
    display: block;
    /* CONTROL DE POSICIÓN CON TRANSFORM */
    /* El primer valor (X) mueve izquierda/derecha */
    /* El segundo valor (Y) mueve arriba/abajo */
    transform: translate(0%, 5%);
}

/* Ajuste opcional para el título */
.display-firma-chica {
    line-height: 1;
    vertical-align: middle;
}




.seccion-app {
    display: none; /* Por defecto todas ocultas */
}
.seccion-app.activa {
    display: block; /* Solo la que tenga esta clase se verá */
}
/* --- CONTENEDOR PRINCIPAL --- */
.tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 75px; /* Ajuste ligero para dar aire a las etiquetas */
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(15px); /* Efecto de cristal esmerilado más fuerte */
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 2000;
    padding-bottom: env(safe-area-inset-bottom); /* Manejo de notch en iPhone */
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.03);
}
/* --- BOTONES INDIVIDUALES --- */
.tab-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    color: #a0a0a0; /* Gris suave para inactivos */
    text-decoration: none !important;
    cursor: pointer;
    outline: none !important;
    /* Transición suave y elástica tipo Apple */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom center;
}
/* --- EL ICONO --- */
.tab-btn .material-symbols-outlined {
    font-size: 26px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    transition: transform 0.3s ease, font-variation-settings 0.3s ease;
}
/* --- LA ETIQUETA (Texto) --- */
.tab-btn span:last-child {
    font-size: 10px;
    font-weight: 600;
    margin-top: 4px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* --- EFECTO MAC OS: HOVER --- */
@media (hover: hover) {
.tab-btn:hover {
    color: #784090; /* Palo Rosa */
}
.tab-btn:hover .material-symbols-outlined {
    transform: scale(1.3) translateY(-8px); /* Crece y flota */
}
.tab-btn:hover span:last-child {
    opacity: 1;
    transform: translateY(-2px);
}
}
/* --- ESTADO ACTIVO --- */
.tab-btn.active {
    color: #784090 !important;
}
.tab-btn.active .material-symbols-outlined {
    transform: scale(1.15);
    font-variation-settings: 'FILL' 1; /* Rellena el icono al estar activo */
}
.tab-btn.active span:last-child {
    font-weight: 800;
    opacity: 1;
}
/* --- INDICADOR DE SALIDA (PELIGRO) --- */
.tab-btn.text-danger:hover {
    color: #dc3545 !important;
}



/* logo fluido */
/* CSS Adicional */
.img-logo-fluido {
    width: 65%; /* Ocupa todo el ancho de la columna (col-md-4) */
    max-width: 150px; /* Pero nunca más de esto para no pixelarse */
    height: auto;
    display: block;
    margin: 0 auto;
    transition: all 0.3s ease; /* Para que el cambio de tamaño sea suave */
}

/* Opcional: Para evitar que se vean GIGANTES en pantallas muy anchas */
@media (min-width: 992px) { /* A partir de pantallas grandes (lg) */
    .img-logo-fluido {
        width: 100%;     /* En PC, dejan que la columna col-md-4 mande */
        max-width: 130px; /* Tamaño ideal para que no choquen entre sí */
    }
}


.svg-icons {
    width: 60px; /* Aquí controlas el tamaño exacto */
    height: auto;
    display: block;
    /*margin: 25px auto;  Para darle aire y centrarlo 
    margin-right: 1rem !important;*/
    margin-top: 0px !important;
    margin-right: 1.5rem !important;
    margin-bottom: 10px !important;
    margin-left: 0.5rem !important;
    
    

}

@media (max-width: 768px) {
    .svg-icons {
        width: 45px; /* Se encoge un poco en móviles */
    }
}




/*Drop menú de inicio*/
/* Quitar la flecha por defecto de Bootstrap */
.dropdown-toggle::after {
    display: none !important;
}

/* Estilo del menú desplegable */
.dropdown-menu {
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding: 0.5rem 0;
    /* Efecto Glassmorphism */
    box-shadow: 0 -10px 25px rgba(0,0,0,0.1) !important;
}

.dropdown-item {
    color: #444;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

.dropdown-item span {
    color: #794191; /* El color de tu pareja bailando para mantener la línea */
}

.dropdown-header {
    margin-bottom: 5px;
    letter-spacing: 1px;
    opacity: 0.7;
}

/*Banner flotante*/
.banner-flotante {
    position: fixed;
    bottom: -80%; /* Inicia fuera de la pantalla */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 380px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(122, 40, 138, 0.2);
    border-radius: 20px;
    padding: 20px;
    z-index: 2000;
    transition: bottom 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.banner-flotante.mostrar {
    bottom: 120px; /* Sube a su posición */
}

.banner-contenido {
    position: relative;
    text-align: center;
    color: #4a4a4a;
    font-size: 0.95rem;
}

.icono-banner {
    color: #7A288A;
    margin-bottom: 10px;
    display: block;
}

.btn-cerrar-banner {
    position: absolute;
    top: -10px;
    right: -2px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--palo-rosa);
    cursor: pointer;
}
