﻿@media (max-width: 767.98px) {
    #divcaptcha {
        display: flex;
        justify-content: center;
    }
}





/* ===============================
   PWA INSTALL BANNER
================================ */
.pwa-banner {
    position: fixed;
    /*bottom: 0;*/
    left: 0;
    right: 0;
    z-index: 1050;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    border-top: 1px solid #eaeaea;
    padding: 10px 14px;
}

.pwa-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pwa-banner-left {
    flex: 0 0 auto;
}

.pwa-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.pwa-banner-center {
    flex: 1;
    line-height: 1.2;
}

.pwa-title {
    font-weight: 600;
    font-size: 12px;
}

.pwa-subtitle {
    font-size: 13px;
    color: #6c757d;
}

.pwa-banner-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pwa-close {
    background: transparent;
    border: none;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    color: #6c757d;
}

    .pwa-close:hover {
        color: #000;
    }

/* Mobile optimization */
@media (max-width: 480px) {
    .pwa-title {
        font-size: 14px;
    }

    .pwa-subtitle {
        font-size: 12px;
    }
}


/* ===============================
   iOS PWA POPUP
================================ */
.ios-pwa-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ios-pwa-popup {
    background: #111;
    color: #fff;
    max-width: 360px;
    width: 90%;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    position: relative;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

    .ios-pwa-popup img {
        width: 100%;
        max-width: 220px;
        margin: 0 auto 16px;
        display: block;
    }

    .ios-pwa-popup h2 {
        font-size: 20px;
        margin-bottom: 8px;
        color: #fff;
    }

    .ios-pwa-popup p {
        font-size: 14px;
        line-height: 1.5;
        opacity: 0.9;
    }

.ios-pwa-ok {
    margin-top: 16px;
    width: 100%;
    padding: 12px;
    background: #fd3c00;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.btn-config-cookie {
    margin-top: 16px;
    width: 100%;
    padding: 12px;
    background: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.ios-pwa-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 22px;
    color: #aaa;
    cursor: pointer;
}

.pwa-hidden {
    display: none !important;
}


/* ===============================
   COOKIE PWA POPUP
================================ */
.cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .cookie-overlay.hidden {
        display: none;
    }

.cookie-popup {
    /*width: 90%;*/
    width: 95%;
    max-width: 420px;
    max-height: 95vh;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: popupIn .25s ease-out;
}

/* Header */
.cookie-header {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

    .cookie-header h2 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
        color: #111;
    }

/* Content scrolleable */
.cookie-content {
    padding: 16px 20px;
    overflow-y: auto;
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

    .cookie-content h3 {
        margin-top: 16px;
        font-size: 15px;
    }

    .cookie-content ul {
        padding-left: 18px;
    }

/* Footer fijo */
.cookie-footer {
    padding: 14px 20px;
    border-top: 1px solid #eee;
    background: #fff;
}

.btn-ok {
    width: 100%;
    padding: 12px;
    background: #007aff;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

    .btn-ok:active {
        transform: scale(0.98);
    }

/* Animación iOS-like */
@keyframes popupIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cookie-popup {
    position: relative;
}

.popup-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #374151;
    font-size: 22px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

    .popup-close-btn:hover {
        background: #f3f4f6;
        transform: scale(1.08);
        box-shadow: 0 6px 14px rgba(0,0,0,0.2);
    }






/* ===============================
   PUSH NOTIFICATION ACTIVATION BUTTON
================================ */


.btn-push-activar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #E6F1FB;
    color: #185FA5;
    border: 1px solid #B5D4F4;
    border-radius: 20px;
    padding: 5px 14px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

    .btn-push-activar:hover {
        background: #B5D4F4;
        border-color: #378ADD;
    }

    .btn-push-activar:active {
        background: #85B7EB;
        border-color: #185FA5;
    }

    /* Oculto cuando está verificado */
    .btn-push-activar.d-none {
        display: none !important;
    }


/*param nobr cerrar*/
.push-modal-overlay {
    pointer-events: all;
}

.push-modal-box {
    pointer-events: all;
}


.push-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}

.push-modal-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    max-width: 340px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.push-modal-icon {
    width: 64px;
    height: 64px;
    background: #E6F1FB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.push-modal-title {
    font-size: 17px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0;
}

.push-modal-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.push-modal-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #185FA5;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    justify-content: center;
}

    .push-modal-btn-primary:hover {
        background: #0C447C;
    }

.push-modal-btn-secondary {
    background: transparent;
    border: none;
    color: #888;
    font-size: 13px;
    cursor: pointer;
    padding: 4px;
}

    .push-modal-btn-secondary:hover {
        color: #444;
    }

.push-instructions-list {
    text-align: left;
    font-size: 13px;
    color: #555;
    line-height: 1.8;
    padding-left: 1.2rem;
    margin: 0;
    width: 100%;
}

.push-instructions-list strong {
        color: #1a1a1a;
        font-weight: 500;
}


/* Wrapper que agrupa los dos paneles */
.permisos-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

/* Etiqueta de sección */
.permisos-seccion-label {
    font-size: 11px;
    font-weight: 500;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 6px;
    padding: 0 2px;
}









.question-card {
    /*border: 1px solid #ddd;
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 500px;
    margin: 1rem auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);*/
    background: #fff;
}

    .question-card h4 {
        margin-bottom: 1rem;
        font-weight: 600;
        font-size: 1.1rem;
        text-align: center;
    }

.button-row {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.option-btn {
    background: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0.7rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-size: 0.95rem;
    text-align: center;
}

    /* Hover y activo */
    .option-btn:hover {
        background: #f0f0f0;
    }

    .option-btn.active {
        background: #007bff;
        color: white;
        border-color: #007bff;
    }


/*Whatsapp Button*/
/*#whatsappButton {
    position: fixed;
    bottom: 20px; 
    right: 20px; 
    width: 60px;
    height: 60px;
    background-color: #25D366; 
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000; 
    transition: transform 0.3s ease; 
}

    #whatsappButton:hover {
        transform: scale(1.1); 
    }

    #whatsappButton img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
    }
*/

/* Botón base */
#whatsappButton,
#clientAccessButton {
    position: fixed;
    bottom: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: transform 0.3s ease;
}

/* WhatsApp - esquina inferior derecha */
#whatsappButton {
    right: 20px;
    background-color: #25D366;
}

    #whatsappButton:hover {
        transform: scale(1.1);
    }

/* Acceso Cliente - esquina inferior izquierda */
#clientAccessButton {
    left: 20px; /* o left: 0 si lo quieres pegado del todo */
    background-color: #fff; /* Azul tipo login */
    display: none; /* 🔹 Oculto por defecto */
}

    /* Imágenes */
    #whatsappButton img,
    #clientAccessButton img {
        /*width: 70%;
        height: 70%;*/
        border-radius: 50%;
    }


/*google Translate*/
iframe.VIpgJd-ZVi9od-ORHb-OEVmcd, /* clases dinámicas de la barra */
.goog-te-banner-frame {
    display: none !important;
}

.VIpgJd-ZVi9od-l4eHX-hSRGPd {
    display: none !important;
}

.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0px !important;
}
/*google Translate*/


.img-fluid-desktop {
    max-width: 180% !important;
}

.showInMobile {
    display: none !important;
}

@media all and (max-width: 680px) { 
    .img-fluid-desktop {
        max-width: 100% !important;
    }
    .hideInMobile {
        display: none !important;
    }
    .showInMobile {
        display: block !important;
    }
}

.mt10 {
    margin-top: 10px !important;
}

.mt20 {
    margin-top: 20px !important;
}

.mt30 {
    margin-top: 30px !important;
}

.mt40 {
    margin-top: 40px !important;
}

.mt50 {
    margin-top: 50px !important;
}

.mt60 {
    margin-top: 60px !important;
}