﻿
@media (max-width: 767.98px) {
    #divcaptcha {
        display: flex;
        justify-content: center;
    }
}


.icon-social-media {
    height: 23px !important;
    width: 23px !important;
}



/* ===============================
   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: 15px;
}

.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: 18px;
    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);
}


/* ===============================
   CSS - confetti - POPUP
================================ */

#confettiCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 30;
}

.cookie-popup {
    position: relative;
    z-index: 20;
}





.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;
    }





.btn-hidden {
    display: none;
}

.lblCalculator{
    margin-top:15px!important;
}
/*.custom-top-adjustment {
    margin-top: -50px; 
}
*/
.inputCalculator {
    margin-top: 10px !important;
    text-align: center !important;
    height: 40px !important;
    background-color: white !important;
    margin-bottom: 1rem !important;
    font-weight: 700 !important;
    /*line-height: 1.2 !important;*/
    color: #2C3038 !important;
    font-size: 1.1rem !important;
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.09) !important;
    /*box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2), 0 5px 5px rgba(0, 0, 0, 0.15);*/
    border-radius: 1rem !important; /* antes 0.3125rem */
    border: 1px solid #EAEDF2;
    background-color: #001244 !important;
    color: #fff !important;
}

    .inputCalculator:focus {
        margin-top: 10px !important;
        text-align: center !important;
        height: 40px !important;
        background-color: white !important;
        margin-bottom: 1rem !important;
        font-weight: 700 !important;
        /*line-height: 1.2 !important;*/
        color: #2C3038 !important;
        font-size: 1.1rem;
        box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.09) !important;
        /*box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2), 0 5px 5px rgba(0, 0, 0, 0.15);*/
        border-radius: 1rem !important; /* antes 0.3125rem */
        border: 1px solid #EAEDF2;
        background-color: #001244 !important;
        color: #fff !important;
    }

.inputCalculatorReg {
    margin-top: 1px !important;
    text-align: center !important;
    height: 30px !important;
    background-color: white !important;
    margin-bottom: .2rem !important;
    font-weight: 700 !important;
    color: #2C3038 !important;
    font-size: 1rem !important;
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.09) !important;
    border-radius: 1rem !important;
    border: 1px solid #EAEDF2;
    background-color: #001244 !important;
    color: #fff !important;
}




.hr-compact {
    margin: .5em 0 !important;
}

/*.loan-summary_ {
    background: #ffffff;
    border: 2px dashed rgba(15, 23, 42, 0.18);
    border-radius: 16px;
    padding: 1rem 1.1rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.10), 0 3px 8px rgba(15, 23, 42, 0.06);
    margin: .75rem 0;
}
*/

.loan-summaryV1 {
    position: relative;
    background: linear-gradient( 180deg, #ffffff 0%, #f8fafc 100% );
    /*border: 1.5px solid rgba(15, 23, 42, 0.12);*/
    border: 2px dashed rgba(15, 23, 42, 0.18);
    border-radius: 18px;
    padding: 1.1rem 1.2rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08), 0 4px 10px rgba(15, 23, 42, 0.05);
    margin: .9rem 0;
}

.loan-summaryV2 {
    position: relative;
    background: linear-gradient(135deg, rgba(22,163,74,.06), rgba(253,60,0,.05)), #ffffff;
    border: 2px dashed rgba(22,163,74, 0.35);
    border-radius: 18px;
    padding: 1.1rem 1.2rem;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.10), 0 3px 8px rgba(15, 23, 42, 0.06);
    margin: .9rem 0;
}

.loan-summary {
    background: radial-gradient(circle at top right, rgba(15,23,42,.06), transparent 60%), #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.15);
    border-radius: 16px;
    padding: 1.1rem 1.2rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 10px 24px rgba(15,23,42,.08);
    margin: .9rem 0;
}

/*.loan-summary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 4px;
    border-radius: 0 0 6px 6px;
    background: linear-gradient( 90deg, #16a34a, #ffb703, #fd3c00 );
}*/

.cookie-popup .loan-summary {
    animation: fadeUp .35s ease-out;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.loan-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .45rem 0;
    border-bottom: 1px dashed rgba(0,0,0,.08);
}

.loan-row:last-child {
    border-bottom: none;
}

.loan-label {
    font-size: .9rem;
    color: #64748b; /* gris fintech */
}

.loan-value {
    font-size: .95rem;
    font-weight: 600;
    color: #0f172a; /* azul oscuro */
}

.loan-highlight {
    color: #16a34a; /* verde éxito */
    font-size: 1rem;
}





.text-blue-dark {
    color: #001244 !important;
}




/*
@media (min-width: 992px) {
    .custom-top-adjustment {
        margin-top: -70px;
    }
}*/

/*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%;
    }

/* 🔹 Mostrar solo en dispositivos móviles */
@media (max-width: 768px) {
    #clientAccessButton {
        display: flex;
    }
}



/*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;
}

.icon-footer {
    height: 20px !important;
    width: 20px !important;
}


@media all and (max-width: 680px) { 
    .img-fluid-desktop {
        max-width: 100% !important;
    }
    .hideInMobile {
        display: none !important;
    }
    .showInMobile {
        display: block !important;
    }

    .copyright {
        text-align: center;
        padding: .5rem 0;
        background-color: #fff;
        border-top: 1px solid #dee2e6;
        font-size: 90%;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        padding: 10px 20px;
        background: white;
        border-top: 1px solid #e7eaec;
        margin-left: 0px !important;
        background-color: transparent;
        padding: 0px 0px;
        border: 0px solid transparent;
    }

}

.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;
}