.limitContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40%;
    height: auto;
}

.header-tab {
    background: var(--color-terceiario);
    font-family: var(--fuente-montserrat);
    color: white;
    padding: 6px 12px;
    width: 130px;
    border-radius: 6px 6px 0 0;
    position: relative;
    top: -56px;
    left: 50%;
    transform: translateX(-52%);
    font-weight: bold;
    font-size: 1rem;
}

.containerCotizador {
    border: 2px solid var(--color-terceiario);
    border-radius: 12px;
    padding: 20px;
    width: 590px;
    height: 875;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Contenedor para botones de opciones de prestamos */
.tp_crd {
    display: flex;
    flex-direction: row;
    width: 90%;
    justify-content: space-between;
    gap: 10px;
}

/* Boton sin seleccionar */
.btn_inf_opc {
    background: var(--color-primario);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    border: none;
    width: 170px;
    height: 130px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
}

/* Boton cuando esta el mouse encima */
.btn_inf_opc:hover {
    cursor: pointer;
}

/* Boton seleccionado */
.btn_inf_opc_enf {
    background: var(--color-primario);
    border-radius: 10px;
    border: none;
    height: 150px;
    width: 190px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
}

.animacion_pr {
    height: 60%;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

/* h2 de opciones de prestamos  */
.h2_inf_opc {
    font-family: var(--fuente-montserrat);
    color: var(--color-blanco);
    font-size: 20px;
    font-weight: 900;
    margin: 0;
    line-height: 1;
}

/* p de opciones de prestamos */
.p_inf_opc {
    font-family: var(--fuente-montserrat);
    color: var(--color-terceiario);
    font-size: 20px;
    font-weight: 900;
    margin: 0;
    line-height: 1;
}

/* FORMULARIO COTIZADOR */
.mntSlc {
    font-family: var(--fuente-poppins);
    color: var(--color-terceiario);
    font-size: 40px;
    font-weight: 200;
    line-height: 0;
    margin: 40px 0 20px;
}

.montoCot {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-primario);
    border: 2px solid var(--color-primario);
    border-radius: 12px;
    text-align: center;
    background: white;
    outline: none;
    width: 200px;
    box-sizing: border-box;
    margin: 20px 0;
}

.montoCot:focus {
    border-color: var(--color-terceiario);
}

.montoCot::-webkit-outer-spin-button,
.montoCot::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* Contenedor para botones de opciones de prestamos */
.tipo-cuota {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    gap: 20px;
    margin: 20px 0;
}

.cuotaButton {
    background: var(--color-gris);
    border: none;
    border-radius: 12px;
    color: var(--color-primario);
    font-family: var(--fuente-poppins);
    font-size: 20px;
    font-weight: 600;
    padding: 10px;
    flex: 1;
}

.cuotaButton:hover {
    cursor: pointer;
}

.cuotaButtonActive {
    background: var(--color-primario);
    border: none;
    border-radius: 12px;
    color: var(--color-blanco);
    font-family: var(--fuente-poppins);
    font-weight: 600;
    font-size: 20px;
    padding: 10px;
    width: 50%;
}

.plzSlc {
    font-family: var(--fuente-poppins);
    color: var(--color-primario);
    font-size: 35px;
    font-weight: 200;
    line-height: 0;
    margin: 40px 0 20px;
}

/* 1. RESET Y CONFIGURACIÓN BASE DEL INPUT */
.rangePlazo {
    -webkit-appearance: none; /* Obligatorio para Chrome/Safari/Edge */
    width: 100%;
    margin: 10px 0;
    background: transparent; /* Quita el fondo blanco por defecto */
    cursor: pointer;
}

/* Quita el borde azul de selección al hacer clic */
.rangePlazo:focus {
    outline: none;
}

/* Chrome, Safari, Edge, Opera */
.rangePlazo::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 30px;
    width: 40px;
    background: url('/assets/img/prestamos/flechaProgreso.svg') no-repeat center;
    background-size: contain; /* Asegura que el SVG se vea completo */
    cursor: pointer;
    
    /* CÁLCULO PARA CENTRAR VERTICALMENTE EN CHROME:
       (Altura del Track - Altura del Thumb) / 2 
       (18px - 30px) / 2 = -6px 
    */
    margin-top: -6px; 
    position: relative;
    z-index: 2;
}

/* Firefox */
.rangePlazo::-moz-range-thumb {
    border: none;
    height: 30px;
    width: 40px;
    background: url('/assets/img/prestamos/flechaProgreso.svg') no-repeat center;
    background-size: contain;
    cursor: pointer;
    /* Firefox centra automáticamente, no necesita margin-top */
}

/* Chrome, Safari, Edge */
.rangePlazo::-webkit-slider-runnable-track {
    width: 100%;
    height: 18px;
    background: #dddddd00;
    border-radius: 10px;
    cursor: pointer;
}

/* Firefox */
.rangePlazo::-moz-range-track {
    width: 100%;
    height: 18px;
    background: #ddd;
    border-radius: 10px;
    cursor: pointer;
}

/* Firefox: Soporta esto nativamente con CSS */
.rangePlazo::-moz-range-progress {
    background-color: var(--color-primario);
    height: 18px;
    border-radius: 10px;
}

/* IE / Edge Legacy (Versiones muy antiguas) */
.rangePlazo::-ms-fill-lower {
    background-color: var(--color-primario);
    border-radius: 10px;
}

.plazoValores {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 15px;
}

.limitPlz {
    font-family: var(--fuente-poppins);
    color: var(--color-primario);
    font-size: 1.3rem;
    font-weight: 600;
}

.plazoSelect {
    font-family: var(--fuente-poppins);
    color: var(--color-terceiario);
    font-size: 1.9rem;
    font-weight: 600;
    width: 60px;
    line-height: 1;
    padding: 10px;
    border: 2px solid var(--color-primario);
}

/* DATOS DEL USUARIO */
.datosUser {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.formRow {
    display: flex;
    gap: 10px;
    width: 60%;
}

.formRow label {
    font-size: 1rem;
    font-family: var(--fuente-poppins, sans-serif);
    font-weight: 600;
    color: var(--color-primario);
}

.formRow input {
    flex: 1;
    border: 2px solid var(--color-terceiario);
    border-radius: 8px;
    padding: 6px 10px;
    font-family: var(--fuente-poppins, sans-serif);
    font-size: 1.1rem;
    height: 35px;
    width: 80%;
    outline: none;
}

.formRow input:focus {
    border-color: var(--color-primario);
}

.btnCuota {
    background: var(--color-primario);
    border: none;
    border-radius: 12px;
    color:var(--color-blanco);
    font-family: var(--fuente-poppins);
    font-weight: 600;
    font-size: 1.25rem;
    padding: 10px;
    width: 60%;
    margin: 30px auto 0;
    cursor: pointer;
    border-radius: 60px;
}

.cuotaMensual {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: var(--fuente-poppins);
    color: var(--color-primario);
}

.montoCuota {
    font-size: 1.6rem;
    font-weight: bold;
    font-family: var(--fuente-poppins);
    color: var(--color-terceiario);
}

.nota {
    font-size: 0.77rem;
    font-family: var(--fuente-poppins);
    color: var(--color-primario);
    margin-top: 10px;
}

@media (max-width: 400px) {
    /* Contenedor del cotizador */
    .limitContainer {
        margin-top: 50px;
        width: 100%;
        height: auto;
    }

    /* delimitador del formulario */
    .containerCotizador {
        border: 2px solid var(--color-terceiario);
        padding: 20px;
        width: 90%;
    }

    /* Boton sin seleccionar */
    .btn_inf_opc {
        width: 90px;
        height: 70px;
    }
    
    /* Boton seleccionado */
    .btn_inf_opc_enf {
        height: 80px;
        width: 95px;
    }

    .animacion_pr {
        height: 60%;
    }

    /* h2 de opciones de prestamos  */
    .h2_inf_opc {
        font-size: 0.7rem;
    }

    /* p de opciones de prestamos */
    .p_inf_opc {
        font-size: 0.6rem;
    }

    /* FORMULARIO COTIZADOR */
    .mntSlc {
        font-size: 1.25rem;
        margin: 40px 0 20px;
    }

    /* Contenedor para botones de opciones de prestamos */
    .tipo-cuota {
        gap: 10px;
    }

    .cuotaButton {
        font-size: 1rem;
    }

    .cuotaButtonActive {
        font-size: 1.1rem;
    }

    .plzSlc {
        font-size: 1.25rem;
    }

    .plazoSelect {
        font-size: 1.25rem;
        width: 65px;
    }

    .formRow {
        display: flex;
        gap: 10px;
        width: 90%;
    }
 
    .btnCuota {
        width: 80%;
    }
}

@media (400px <= width <= 560px) {
    /* Contenedor del cotizador */
    .limitContainer {
        margin-top: 50px;
        width: 100%;
        height: auto;
    }

    /* delimitador del formulario */
    .containerCotizador {
        border: 2px solid var(--color-terceiario);
        padding: 20px;
        width: 90%;
    }

    /* Boton sin seleccionar */
    .btn_inf_opc {
        width: 100px;
        height: 90px;
    }
    
    /* Boton seleccionado */
    .btn_inf_opc_enf {
        height: 100px;
        width: 110px;
    }

    .animacion_pr {
        height: 60%;
    }

    /* h2 de opciones de prestamos  */
    .h2_inf_opc {
        font-size: 0.7rem;
    }

    /* p de opciones de prestamos */
    .p_inf_opc {
        font-size: 0.7rem;
    }

    /* FORMULARIO COTIZADOR */
    .mntSlc {
        font-size: 2rem;
        margin: 40px 0 20px;
    }

    /* Contenedor para botones de opciones de prestamos */
    .tipo-cuota {
        gap: 10px;
    }

    .cuotaButton {
        font-size: 1rem;
    }

    .cuotaButtonActive {
        font-size: 1.1rem;
    }

    .plzSlc {
        font-size: 1.5rem;
    }

    .plazoSelect {
        font-size: 1.7rem;
        width: 65px;
    }

    .formRow {
        display: flex;
        gap: 10px;
        width: 90%;
    }
}

@media (560px <= width <= 790px) {
    /* Contenedor del cotizador */
    .limitContainer {
        margin-top: 50px;
        width: 100%;
        height: auto;
    }

    /* delimitador del formulario */
    .containerCotizador {
        border: 2px solid var(--color-terceiario);
        padding: 20px;
        width: 90%;
    }

    /* Boton sin seleccionar */
    .btn_inf_opc {
        width: 145px;
        height: 125px;
    }
    
    /* Boton seleccionado */
    .btn_inf_opc_enf {
        height: 145px;
        width: 165px;
    }

    .animacion_pr {
        height: 60%;
    }

    /* h2 de opciones de prestamos  */
    .h2_inf_opc {
        font-size: 0.9rem;
    }

    /* p de opciones de prestamos */
    .p_inf_opc {
        font-size: 0.9rem;
    }

    /* FORMULARIO COTIZADOR */
    .mntSlc {
        font-size: 2rem;
        margin: 40px 0 20px;
    }

    /* Contenedor para botones de opciones de prestamos */
    .tipo-cuota {
        gap: 10px;
    }

    .cuotaButton {
        font-size: 1rem;
    }

    .cuotaButtonActive {
        font-size: 1.1rem;
    }

    .plzSlc {
        font-size: 1.5rem;
    }

    .plazoSelect {
        font-size: 1.7rem;
        width: 65px;
    }

    .formRow {
        display: flex;
        gap: 10px;
        width: 80%;
    }
}

@media (790px <= width <= 1000px) {
    /* Contenedor del cotizador */
    .limitContainer {
        margin-top: 50px;
        width: 80%;
        height: auto;
    }

    /* delimitador del formulario */
    .containerCotizador {
        border: 2px solid var(--color-terceiario);
        padding: 20px;
        width: 90%;
    }

    /* Boton sin seleccionar */
    .btn_inf_opc {
        width: 175px;
        height: 145px;
    }
    
    /* Boton seleccionado */
    .btn_inf_opc_enf {
        height: 175px;
        width: 195px;
    }

    .animacion_pr {
        height: 60%;
    }

    /* h2 de opciones de prestamos  */
    .h2_inf_opc {
        font-size: 0.9rem;
    }

    /* p de opciones de prestamos */
    .p_inf_opc {
        font-size: 0.9rem;
    }

    /* FORMULARIO COTIZADOR */
    .mntSlc {
        font-size: 2rem;
        margin: 40px 0 20px;
    }

    /* Contenedor para botones de opciones de prestamos */
    .tipo-cuota {
        gap: 10px;
    }

    .cuotaButton {
        font-size: 1rem;
    }

    .cuotaButtonActive {
        font-size: 1.1rem;
    }

    .plzSlc {
        font-size: 1.5rem;
    }

    .plazoSelect {
        font-size: 1.7rem;
        width: 65px;
    }

    .formRow {
        display: flex;
        gap: 10px;
        width: 80%;
    }
}

@media (1000px <= width <= 1100px) {
    /* Contenedor del cotizador */
    .limitContainer {
        margin-top: 50px;
        width: 50%;
        height: auto;
    }

    /* delimitador del formulario */
    .containerCotizador {
        border: 2px solid var(--color-terceiario);
        padding: 20px;
        width: 90%;
    }

    /* Boton sin seleccionar */
    .btn_inf_opc {
        width: 125px;
        height: 105px;
    }
    
    /* Boton seleccionado */
    .btn_inf_opc_enf {
        height: 125px;
        width: 145px;
    }

    .animacion_pr {
        height: 60%;
    }

    /* h2 de opciones de prestamos  */
    .h2_inf_opc {
        font-size: 0.9rem;
    }

    /* p de opciones de prestamos */
    .p_inf_opc {
        font-size: 0.9rem;
    }

    /* FORMULARIO COTIZADOR */
    .mntSlc {
        font-size: 2rem;
        margin: 40px 0 20px;
    }

    /* Contenedor para botones de opciones de prestamos */
    .tipo-cuota {
        gap: 10px;
    }

    .cuotaButton {
        font-size: 1rem;
    }

    .cuotaButtonActive {
        font-size: 1.1rem;
    }

    .plzSlc {
        font-size: 1.5rem;
    }

    .plazoSelect {
        font-size: 1.7rem;
        width: 65px;
    }

    .formRow {
        display: flex;
        gap: 10px;
        width: 80%;
    }
}

@media (1100px <= width <= 1200px) {
    /* Contenedor del cotizador */
    .limitContainer {
        margin-top: 50px;
        width: 50%;
        height: auto;
    }

    /* delimitador del formulario */
    .containerCotizador {
        border: 2px solid var(--color-terceiario);
        padding: 20px;
        width: 90%;
    }

    /* Boton sin seleccionar */
    .btn_inf_opc {
        width: 145px;
        height: 125px;
    }
    
    /* Boton seleccionado */
    .btn_inf_opc_enf {
        height: 145px;
        width: 165px;
    }

    .animacion_pr {
        height: 60%;
    }

    /* h2 de opciones de prestamos  */
    .h2_inf_opc {
        font-size: 0.9rem;
    }

    /* p de opciones de prestamos */
    .p_inf_opc {
        font-size: 0.9rem;
    }

    /* FORMULARIO COTIZADOR */
    .mntSlc {
        font-size: 2rem;
        margin: 40px 0 20px;
    }

    /* Contenedor para botones de opciones de prestamos */
    .tipo-cuota {
        gap: 10px;
    }

    .cuotaButton {
        font-size: 1rem;
    }

    .cuotaButtonActive {
        font-size: 1.1rem;
    }

    .plzSlc {
        font-size: 1.5rem;
    }

    .plazoSelect {
        font-size: 1.7rem;
        width: 65px;
    }

    .formRow {
        display: flex;
        gap: 10px;
        width: 80%;
    }
}

@media (1200px <= width <= 1400px) {
    /* Contenedor del cotizador */
    .limitContainer {
        margin-top: 50px;
        width: 50%;
        height: auto;
    }

    /* delimitador del formulario */
    .containerCotizador {
        border: 2px solid var(--color-terceiario);
        padding: 20px;
        width: 90%;
    }

    /* Boton sin seleccionar */
    .btn_inf_opc {
        width: 165px;
        height: 125px;
    }
    
    /* Boton seleccionado */
    .btn_inf_opc_enf {
        height: 145px;
        width: 175px;
    }

    .animacion_pr {
        height: 60%;
    }

    /* h2 de opciones de prestamos  */
    .h2_inf_opc {
        font-size: 0.9rem;
    }

    /* p de opciones de prestamos */
    .p_inf_opc {
        font-size: 0.9rem;
    }

    /* FORMULARIO COTIZADOR */
    .mntSlc {
        font-size: 2rem;
        margin: 40px 0 20px;
    }

    /* Contenedor para botones de opciones de prestamos */
    .tipo-cuota {
        gap: 10px;
    }

    .cuotaButton {
        font-size: 1rem;
    }

    .cuotaButtonActive {
        font-size: 1.1rem;
    }

    .plzSlc {
        font-size: 1.5rem;
    }

    .plazoSelect {
        font-size: 1.7rem;
        width: 65px;
    }

    .formRow {
        display: flex;
        gap: 10px;
        width: 80%;
    }
}