﻿html body {
    height: 100vh;
    font-family: 'Montserrat', Arial, sans-serif;
    background-color: var(--primary);
    color: black;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat.woff2') format('woff2'),
         url('fonts/Montserrat.ttf') format('truetype');
    font-weight: 100 900;   /* fuente variable: todos los grosores en un archivo */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Italic.woff2') format('woff2'),
         url('fonts/Montserrat-Italic.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

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

    100% {
        transform: rotate(360deg);
    }
}

/* ============================================================
   Escala para pantallas grandes
   --u = 1px hasta 1920px de ancho; por encima crece en proporción al ancho
   (2560px -> 1.33px, 3840px -> 2px). Todos los tamaños en px de este archivo
   usan calc(N * var(--u)), así textos, botones y bloques crecen con la pantalla
   en lugar de quedarse con un límite fijo y dejar espacios vacíos.
   Para un tamaño nuevo: escribir calc(N * var(--u)) en lugar de Npx.
   ============================================================ */
:root {
    --u: max(1px, calc(100vw / 1920));
}

html {
    /* Bootstrap usa rem: así botones, grilla y espaciados de Bootstrap también escalan */
    font-size: max(100%, calc(100vw / 120));
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out forwards;
}

.fade-out {
    animation: fadeOut 0.5s ease-in-out forwards;
}

@keyframes pulseScale {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.img-pulse {
    animation: pulseScale 1.5s ease-in-out infinite;
}

:root {
    --primary: #4056FE;
    --secondary: #05E9FE;
    --third: #4056FE;
    --button: #4056FE;
    --button-hover: #647AFF;
    --btn-large-text: #647AFF;
    --btn-large-border: #4056FE;
    --border: black;
    --border-hover: #4056FE;
    --btn-back-color: #647AFF;
    --box-lg: #647AFF;
    --bloque-transparente: rgba(64, 86, 254, 0.2);
    --subtitle: black;
    --titulos-formulario: #4056FE;
    --text-primary: black;
    --text-secondary: #4056FE;
    --text-third: #4056FE;
}

.btn-transparente {
    color: var(--primary);
    width: auto;
    margin-right: calc(20 * var(--u));
    margin-top: calc(4 * var(--u));
    font-weight: 600;
}
    .btn-transparente:focus,
    .btn-transparente:hover,
    .btn-transparente:active {
        color: var(--secondary);
        box-shadow: none;
    }

.indece-landing {
    color: var(--primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    margin-right: calc(20 * var(--u));
    padding: calc(10 * var(--u));
    transition: color 0.5s ease;
    animation: fadeIn 1s ease-in-out;
}

    .indece-landing:hover,
    .indece-landing:focus {
        color: var(--secondary);
        text-decoration: none;
        font-size: 1rem;
        font-weight: 500;
        margin-right: calc(20 * var(--u));
        padding: calc(10 * var(--u));
        border-radius: 0px;
        border-bottom: none;
        animation: fadeIn 1s ease-in-out;
    }

    .indece-landing:active {
        color: var(--secondary);
        text-decoration: none;
        font-size: 1rem;
        font-weight: 500;
        margin-right: calc(20 * var(--u));
        padding: calc(10 * var(--u));
        border-radius: calc(10 * var(--u));
        border-bottom: none;
        box-shadow: none;
        outline: none;
    }

.background {
    margin-top: 10vh;
    position: relative;
    overflow: hidden;
    background: var(--primary);
}

.background2 {
    padding-left: calc(55 * var(--u));
    padding-right: calc(55 * var(--u));
    padding-top: calc(35 * var(--u));
    padding-bottom: calc(70 * var(--u));
    text-align: justify;
    height: auto;
    background-color: white;
    background-size: cover; /* Escala la imagen para cubrir toda la pantalla */
    background-repeat: no-repeat; /* Evita que se repita */
    background-position: center; /* Centra la imagen */
    background-attachment: fixed; /* Hace que el fondo se quede fijo al hacer scroll */
    overflow: hidden;
}

.btn-observaciones {
    position: relative;
    background-color: var(--button);
    border: 2px solid var(--button);
    font-size: clamp(calc(12 * var(--u)), 0.8vw, calc(17 * var(--u)));
    border-radius: calc(7 * var(--u));
    padding: 0.15rem;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    overflow: hidden;
    color: white;
    font-weight: 600;
    height: 1.6rem;
    width: auto;
    animation: fadeIn 1s ease-in-out;
    box-shadow: none;
}

    .btn-observaciones:hover {
        background-color: var(--button-hover);
        border: 2px solid var(--button-hover);
        color: white;
    }

    .btn-observaciones:focus {
        color: white;
        outline: none;
        box-shadow: none;
    }

    .btn-observaciones:active {
        transform: scale(1.05);
        outline: none !important;
        box-shadow: none !important;
    }
.header3 {
    padding-left: calc(55 * var(--u));
    padding-right: calc(55 * var(--u));
    padding-top: calc(35 * var(--u));
    padding-bottom: calc(70 * var(--u));
    text-align: justify;
    height: auto;
    background-color: #f8fafc;
    background-size: cover; /* Escala la imagen para cubrir toda la pantalla */
    background-repeat: no-repeat; /* Evita que se repita */
    background-position: center; /* Centra la imagen */
    background-attachment: fixed; /* Hace que el fondo se quede fijo al hacer scroll */
    overflow: hidden;
}

.Producto {
    color: var(--text-primary);
    font-weight: 600;
    font-size: clamp(calc(23 * var(--u)), 1.6vw, calc(50 * var(--u)));
}

.btn-login-land {
    position: relative;
    background-color: white;
    color: var(--primary);
    border-radius: calc(12 * var(--u));
    border: 1px solid var(--primary);
    font-size: 0.9rem !important;
    text-align: center !important;
    font-weight: 600;
    min-height: 2.5rem;
    height: auto;
    max-height: 5rem;
    max-width: 20rem;
    width: 10rem;
    overflow: hidden;
}

    .btn-login-land:hover,
    .btn-login-land:focus
    {
        background-color: var(--primary);
        color: white;
        border-radius: calc(12 * var(--u));
        border: 1px solid var(--primary);
        font-size: 0.9rem !important;
        text-align: center !important;
        font-weight: 600;
        min-height: 2.5rem;
        height: auto;
        max-height: 5rem;
        box-shadow: none;
        max-width: 20rem;
        width: 10rem;
    }

    .btn-login-land:active {
        background-color: var(--primary);
        color: white;
        border-radius: calc(12 * var(--u));
        font-size: 0.9rem !important;
        text-align: center !important;
        font-weight: 600;
        min-height: 2.5rem;
        height: auto;
        max-height: 5rem;
        max-width: 20rem;
        width: 10rem;
        animation: fadeIn 1s ease-in-out;
        transform: scale(1.05);
        outline: none;
        box-shadow: none;
    }

.Precio {
    color: var(--primary);
    font-size: clamp(calc(27 * var(--u)), 2.3vw, calc(50 * var(--u)));
    font-weight: 500;
}

.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 1rem;
    height: auto;
}

.slider-container {
    margin-left: 5vw;
    overflow: hidden;
    width: 90%;
    height: auto;
    margin-right: 5vw;
}

.slider-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0 2rem;
}

    .slider-track::-webkit-scrollbar {
        display: none;
    }

.arrow {
    background-color: rgba(0,0,0,0);
    border: none;
    color: var(--primary);
    font-size: 2.5rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    cursor: pointer;
}

    .arrow.left {
        position: absolute;
        left: 0.5rem;
    }

    .arrow.right {
        position: absolute;
        right: 0.5rem;
    }

/* Carrusel de precios en celular: una tarjeta a la vez, centrada, con un poco de las vecinas a los lados */
@media (max-width: 768px) {
    .slider-wrapper {
        padding: 1rem 0;
    }

    .slider-container {
        width: auto;
        flex: 1 1 auto;
        min-width: 0;
        margin: 0 2.25rem;
    }

    .slider-track {
        gap: 0.75rem;
        padding: 0 8%;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 8%;
    }

    .slider-track .priceCard {
        flex: 0 0 100%;
        box-sizing: border-box;
        min-width: 0;
        margin: 15px 0;
        scroll-snap-align: center;
    }

    .arrow.left {
        left: 0.25rem;
    }

    .arrow.right {
        right: 0.25rem;
    }
}

.bloque-sec {
    object-fit: contain;
    background-color: var(--bloque-transparente);
    white-space: nowrap;
    overflow: hidden;
    padding: 1.05rem;
    margin: calc(10 * var(--u));
    border-radius: calc(10 * var(--u));
    min-width: 20rem;
    height: auto;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

.bloque-sec-left {
    background-color: var(--bloque-transparente);
    white-space: nowrap;
    overflow: hidden;
    padding-top: 1.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
    margin: calc(10 * var(--u));
    border-radius: calc(10 * var(--u));
    width: 95%;
    min-height: 72vh;
    height: auto;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

.bloque-sec-right {
    object-fit: contain;
    justify-content: center;
    background-color: var(--bloque-transparente);
    overflow: hidden;
    padding-top: 1.5rem;
    padding-left: 3rem;
    justify-items: center;
    align-items: center;
    padding-right: 3rem;
    padding-bottom: 0.15rem;
    margin: calc(10 * var(--u));
    border-radius: calc(10 * var(--u));
    width: 95%;
    height: auto;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

.btn-circle {
    width: calc(40 * var(--u));
    height: calc(40 * var(--u));
    background-color: var(--primary); /* Puedes cambiar el color */
    border-radius: 50%; /* Esto da la forma de círculo */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: calc(5 * var(--u));
    color: white;
    font-weight: bold;
}

.priceCard {
    scroll-snap-align: start;
    margin: calc(15 * var(--u));
    padding: 4vh;
    font-weight: 500;
    text-align: center;
    min-width: 20rem;
    width: auto;
    min-height: 10rem;
    height: auto;
    background-color: #FFFFFF;
    background-size: 9vh;
    background-repeat: no-repeat;
    background-position: left center;
    background-position-x: 1rem;
    padding-left: 4.5vh;
    font-size: 0.9rem;
    color: var(--btn-large-text);
    border: 1px solid grey;
    border-radius: calc(20 * var(--u));
    cursor: pointer;
    box-shadow: none;
    transition: background-color 0.5s ease, transform 0.2s ease;
    animation: fadeIn 1s ease-in-out;
}

    .priceCard:hover,
    .priceCard:active {
        border: 1px solid grey;
        outline: none;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    }


.btn-large {
    margin: calc(8 * var(--u));
    display: flex;
    font-weight: 500;
    text-align: left;
    min-width: 15vw;
    width: auto;
    height: 10vh;
    background-color: #FFFFFF;
    background-image: url('icons/Logo-Firmas2.png');
    background-size: 5.5vh;
    background-repeat: no-repeat;
    background-position: left center;
    background-position-x: 1rem;
    padding-left: 3vh;
    font-size: 1rem;
    color: var(--btn-large-text);
    border: 1px solid var(--btn-large-border);
    border-radius: calc(12 * var(--u));
    transition: background-color 0.5s ease, transform 0.2s ease;
    animation: fadeIn 1s ease-in-out;
}

    .btn-large:focus,
    .btn-large:active {
        background-color: var(--btn-large-border);
        color: white;
        border: none;
        transform: scale(1.05);
        background-image: url('icons/Logo-Firmas3.png');
        background-size: 5.5vh;
        background-repeat: no-repeat;
        background-position: left center;
        background-position-x: 1rem;
        outline: none;
        box-shadow: none;
    }

    .btn-large:hover:focus {
        background-color: var(--btn-large-border);
        color: white;
        border: none;
        transform: scale(1.05);
        background-image: url('icons/Logo-Firmas3.png');
        background-size: 5.5vh;
        background-repeat: no-repeat;
        background-position: left center;
        background-position-x: 1rem;
        outline: none;
        box-shadow: none;
    }

    .btn-large:hover {
        color: var(--btn-large-border);
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    }

.back-dashboard {
    background-color: white !important;
    overflow: hidden;
    height: 100%;
    width: 100%;
    padding: 4vh;
}

.background-consultar {
    z-index: 99999;
    position: fixed;
    left: 50%;
    top: 50%;
    min-height: 45vh;
    height: auto;
    width: 78vw;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
}

.background-filtrar {
    z-index: 998;
    position: fixed;
    left: 50%;
    top: 50%;
    min-height: 45vh;
    height: auto;
    width: 50vw;
    justify-items: center;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    animation: fadeIn 1s ease-in-out;
}

.bloque-datos-cc-left {
    background-color: var(--bloque-transparente);
    padding: 2rem;
    min-height: 22rem;
    width: auto;
    word-wrap: break-word;
    border-radius: calc(10 * var(--u));
    text-align: left;
    margin-bottom: 2vh;
    align-items: center;
    animation: fadeIn 1s ease-in-out;
}

.bloque-datos-cc-right {
    background-color: var(--bloque-transparente);
    padding: 2rem;
    min-height: 22rem;
    width: auto;
    word-wrap: break-word;
    border-radius: calc(10 * var(--u));
    animation: fadeIn 1s ease-in-out;
}

.bloque-datos-pf-left {
    background-color: var(--bloque-transparente);
    padding: 2rem;
    min-height: 34.5rem;
    height: auto;
    max-height: 34.5rem;
    min-width: 20vw;
    width: auto;
    margin-right: 1rem;
    margin-left: 1rem;
    max-width: 100%;
    border-radius: calc(10 * var(--u));
    text-align: left;
    align-items: center;
    animation: fadeIn 1s ease-in-out;
}

.bloque-primary {
    margin-top: 17vh;
    margin-bottom: 4vh;
    justify-content: center;
    background-color: white;
    padding: 5vh;
    border-radius: calc(10 * var(--u));
    min-width: 55vw;
    width: 60%;
    max-width: 90vw;
    height: auto;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

.bloque-dashboard {
    overflow: auto !important;
    background-color: white;
    padding: 1.95rem;
    z-index: 10;
    border-radius: calc(10 * var(--u));
    width: 70%;
    margin: 5vh;
    height: auto;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

.bloque-second {
    position: absolute;
    margin: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--third);
    border-radius: calc(10 * var(--u));
    width: 60vw;
    min-height: 75vh;
    height: auto;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

.bloque-datos-pf-right {
    background-color: var(--bloque-transparente);
    padding: 1.75rem;
    min-height: 30.5rem;
    height: auto;
    width: auto;
    min-width: 25rem;
    max-width: 26rem;
    border-radius: calc(10 * var(--u));
    align-items: center;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease-in-out
}


.bloque-alt {
    align-items: center; /* Centra verticalmente */
    justify-content: left;
    margin: 0 auto;
    padding: 1.25vh;
    padding-left: 2vh;
    background-color: var(--bloque-transparente);
    min-width: 70%;
    max-width: 82%;
    height: auto;
    border-radius: calc(15 * var(--u));
    animation: fadeIn 1s ease-in-out;
}

.box-alert {
    background-color: red;
    color: white;
    border-radius: calc(10 * var(--u));
    font-weight: 600;
}

.btn-fact {
    position: relative;
    background-color: var(--button);
    border: 1px solid var(--button);
    font-size: clamp(calc(8 * var(--u)), 0.7vw, calc(17 * var(--u)));
    border-radius: 0.6rem;
    overflow: hidden;
    color: white;
    font-weight: 600;
    height: 1.75rem;
    width: auto;
    animation: fadeIn 1s ease-in-out;
    box-shadow: none;
}

    .btn-fact:hover {
        background-color: var(--button-hover);
        border: 1px solid var(--button-hover);
        color: white;
    }

    .btn-fact:focus {
        background-color: var(--button-hover);
        border: 1px solid var(--button-hover);
        outline: none;
        color: white;
        box-shadow: none;
    }

    .btn-fact:active {
        background-color: var(--button-hover);
        border: 1px solid var(--button-hover);
        outline: none !important;
        color: white;
        box-shadow: none !important;
    }

.btn-primary {
    position: relative;
    background-color: var(--button);
    border: 1px solid var(--button);
    font-size: clamp(calc(14 * var(--u)), 1.25vw, calc(17 * var(--u)));
    border-radius: 0.6rem;
    overflow: hidden;
    color: white;
    font-weight: 600;
    height: 2.5rem;
    width: auto;
    animation: fadeIn 1s ease-in-out;
    box-shadow: none;
}

    .btn-primary:hover {
        background-color: var(--button-hover);
        border: 1px solid var(--button-hover);
    }

    .btn-primary:focus {
        background-color: var(--button-hover);
        border: 1px solid var(--button-hover);
        outline: none;
        box-shadow: none;
    }

    .btn-primary:active {
        background-color: var(--button-hover);
        border: 1px solid var(--button-hover);
        transform: scale(1.05);
        outline: none !important;
        box-shadow: none !important;
    }

.btn-comprobante {
    position: relative;
    background-color: var(--button);
    border: 1px solid var(--button);
    font-size: clamp(calc(14 * var(--u)), 1.25vw, calc(17 * var(--u)));
    border-radius: 0.6rem;
    overflow: hidden;
    color: white;
    margin-top: 1.9rem;
    font-weight: 600;
    height: 2.4rem !important;
    width: 100% !important;
    animation: fadeIn 1s ease-in-out;
    box-shadow: none;
}

    .btn-comprobante:hover {
        background-color: var(--button-hover);
        border: 1px solid var(--button-hover);
    }

    .btn-comprobante:focus {
        background-color: var(--button-hover);
        border: 1px solid var(--button-hover);
        outline: none;
        box-shadow: none;
    }

    .btn-comprobante:active {
        background-color: var(--button-hover);
        border: 2px solid var(--button-hover);
        transform: scale(1.01);
        outline: none !important;
        box-shadow: none !important;
    }

.btn-landing {
    position: relative;
    background:white;
    border: none;
    font-size: clamp(calc(14 * var(--u)), min(1.25vw, 2.2vh), calc(30 * var(--u)));
    border-radius: 0.6em;
    overflow: hidden;
    color: var(--primary);
    font-weight: 600;
    padding: 0.6em 1.4em;
    height: auto;
    min-width: 15vw;
    width: auto;
    box-shadow: none;
    transition: background-color 0.5s ease, transform 0.2s ease;
    animation: fadeIn 1s ease-in-out;
}

    .btn-landing:hover {
        transform: translateY(-2px);
        border: none;
    }

    .btn-landing:focus {
        outline: none;
        box-shadow: none;
    }

    .btn-landing:active {
        outline: none !important;
        box-shadow: none !important;
    }

.btn-del {
    background-color: var(--button);
    border: 2px solid var(--button);
    font-size: clamp(calc(12 * var(--u)), 1vw, calc(16 * var(--u)));
    border-radius: 0.6rem;
    overflow: hidden;
    color: white;
    font-weight: 600;
    height: 2.25rem;
    width: auto;
    animation: fadeIn 1s ease-in-out;
    box-shadow: none;
}

    .btn-del:hover {
        background-color: var(--button-hover);
        border: 2px solid var(--button-hover);
        color: white;
    }

    .btn-del:focus {
        background-color: var(--button-hover);
        border: 2px solid var(--button-hover);
        color: white;
        outline: none;
        box-shadow: none;
    }

    .btn-del:active {
        background-color: var(--button-hover);
        border: 2px solid var(--button-hover);
        transform: scale(1.05);
        color: white;
        outline: none !important;
        box-shadow: none !important;
    }

.btn-login {
    position: relative;
    background-color: var(--button);
    border: 2px solid var(--button);
    font-size: clamp(calc(14 * var(--u)), 1.25vw, calc(17 * var(--u)));
    border-radius: 0.6rem;
    overflow: hidden;
    font-weight: 600;
    height: 2.5rem;
    width: 100%;
    color: white;
    animation: fadeIn 1s ease-in-out;
    box-shadow: none;
}

    .btn-login:hover {
        background-color: var(--button-hover);
        border: 2px solid var(--button-hover);
        color: white;
    }

    .btn-login:focus {
        background-color: var(--button-hover);
        border: 2px solid var(--button-hover);
        outline: none;
        box-shadow: none;
        color: white;
    }

    .btn-login:active {
        background-color: var(--button-hover);
        border: 2px solid var(--button-hover);
        transform: scale(1.05);
        outline: none !important;
        color: white;
        box-shadow: none !important;
    }
.btn-secondary {
    background: var(--primary);
    border: 1px solid white;
    border-radius: calc(10 * var(--u));
    color: white;
    font-size: 1rem !important;
    margin-top: 0.8vh;
    text-align: center !important;
    font-weight: 600;
    min-height: 2.5rem;
    height: auto;
    max-height: 5rem;
    width: auto;
    padding-left: calc(30 * var(--u));
    padding-right: calc(30 * var(--u));
    animation: fadeIn 1s ease-in-out;
    transition: all 0.3s ease;
}
.btn-close2 {
    background-color: white;
    border: 1px solid white;
    color: var(--primary);
    font-size: 1rem;
    padding: 0;
    text-align: center !important;
    font-weight: 600;
    height: auto;
    width: auto;
    animation: fadeIn 1s ease-in-out;
}

.wait-wrap {
    min-height: calc(100vh - 0px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(24 * var(--u));
    background-color: none;
}


.wait-card {
    width: min(80%, calc(900 * var(--u)));
    height: 90vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: calc(18 * var(--u));
    padding: calc(58 * var(--u));
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    text-align: center;
    border: 1px solid rgba(0,0,0,.06);
    animation: fadeIn 1s ease-in-out;
}

.wait-spinner {
    width: calc(48 * var(--u));
    height: calc(48 * var(--u));
    margin: 0 auto calc(16 * var(--u)) auto;
    border-radius: calc(999 * var(--u));
    border: 5px solid rgba(0,0,0,.10);
    border-top-color: rgba(0,0,0,.55);
    animation: waitspin 0.9s linear infinite;
}

@keyframes waitspin {
    to {
        transform: rotate(360deg);
    }
}

.wait-title {
    position: relative;
    font-size: clamp(calc(20 * var(--u)), 1.95vw, calc(50 * var(--u)));
    margin: 0 0 calc(8 * var(--u)) 0;
    line-height: 1.2;
    color: #0f172a;
    font-weight: 600;
}

.whatsapp-float {
    position: fixed;
    bottom: calc(25 * var(--u));
    right: calc(25 * var(--u));
    width: calc(60 * var(--u));
    height: calc(60 * var(--u));
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 9999;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .whatsapp-float:hover {
        transform: scale(1.08);
        box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    }

.wait-sub {
    position: relative;
    font-size: clamp(calc(20 * var(--u)), 1.5vw, calc(50 * var(--u)));
    text-wrap: auto;
    margin: 0 0 calc(14 * var(--u)) 0;
    color: #475569;
    line-height: 1.45;
}

.wait-count {
    margin: calc(10 * var(--u)) 0 calc(18 * var(--u)) 0;
    font-size: calc(18 * var(--u));
    color: #334155;
    padding: calc(10 * var(--u)) calc(12 * var(--u));
    background: #f1f5f9;
    border-radius: calc(12 * var(--u));
    display: inline-block;
}

.wait-btn {
    border: 0;
    border-radius: calc(12 * var(--u));
    padding: calc(10 * var(--u)) calc(14 * var(--u));
    font-weight: 700;
    background: var(--primary);
    min-width: 10rem;
    color: #fff;
    cursor: pointer;
}

    .wait-btn:hover {
        opacity: .92;
    }

.btn-secondary:hover {
    color: white;
    background: var(--secondary);
    border: 1px solid white;
    transform: translateY(-2px);
}

.btn-secondary:focus {
    color: white;
    position: relative;
    background: var(--primary);
    border: 1px solid white;
    outline: none;
    box-shadow: none;
}
.btn-secondary:active {
    color: white;
    position: relative;
    background-color: white;
    border: 1px solid white;
    outline: none !important;
    box-shadow: none !important;
    border: white;
    transform: scale(0.95);
}

.btn-dashboard-sm-bottom {
    background-color: white;
    padding: 2rem;
    justify-content: center;
    align-items: center;
    margin-bottom: calc(20 * var(--u));
    border-radius: calc(10 * var(--u));
    border: solid 1px rgb(1,1,1,0);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    height: 100%;
    width: 100%;
    transition: background-color 0.5s ease, transform 0.2s ease;
    animation: fadeIn 1s ease-in-out;
}

    .btn-dashboard-sm-bottom:hover {
        transform: scale(1.01);
    }

    .btn-dashboard-sm-bottom:active {
        transform: scale(0.9);
    }

.btn-dashboard-sm-top {
    background-color: white;
    padding: 2rem;
    margin-top: calc(15 * var(--u));
    justify-content: center;
    align-items: center;
    border-radius: calc(10 * var(--u));
    border: solid 1px rgb(1,1,1,0);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    height: 100%;
    width: 100%;
    transition: background-color 0.5s ease, transform 0.2s ease;
    animation: fadeIn 1s ease-in-out;
}

    .btn-dashboard-sm-top:hover {
        transform: scale(1.01);
    }

    .btn-dashboard-sm-top:active {
        transform: scale(0.9);
    }

.btn-dashboard-md {
    margin-top: calc(15 * var(--u));
    background-color: white;
    padding-top: 2rem;
    padding-left: 3rem;
    padding-right: 3rem;
    text-align: center;
    border: solid 1px rgb(1,1,1,0);
    border-radius: calc(10 * var(--u));
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    height: 37vh;
    width: 46.5vw;
    transition: background-color 0.5s ease, transform 0.2s ease;
    animation: fadeIn 1s ease-in-out;
}

.btn-dashboard {
    width: 100%;
    height: 4.5rem;
    color: white;
    background-color: rgb(1,1,1,0);
    font-weight: 600;
    border: 1px solid rgb(1,1,1,0);
    font-size: 1rem;
    padding: calc(10 * var(--u));
    text-align: center;
    justify-content: center;
    align-content: center;
    transition: background-color 0.5s ease, transform 0.2s ease;
    animation: fadeIn 1s ease-in-out;
}
    .btn-dashboard:hover {
        background-color: white;
        color: var(--text-third);
        border: 1px solid white;
        transform: scale(1.01);
    }
    .btn-dashboard:active {
        background-color: white;
        color: var(--text-third);
        border: 1px solid white;
        transform: scale(1.01);
    }

.btn-letter {
    background-color: white;
    border: none;
    font-size: 0.9rem;
    color: var(--border);
}
    .btn-letter:active {
        color: var(--button-hover);
        outline: none;
        box-shadow: none;
    }

.btn-letter2 {
    background-color: none;
    border: none;
    font-size: 0.9rem;
    color: var(--border);
}

    .btn-letter2:active {
        color: var(--button-hover);
        outline: none;
        box-shadow: none;
    }
    .btn-letter2:focus {
        color: var(--border);
        outline: none;
        box-shadow: none;
    }

.btn-download {
    background-color: var(--button);
    border: 2px solid var(--button);
    font-size: 0.8rem !important;
    font-weight: 600;
    color: white;
    border-radius: 0.6rem;
    overflow: hidden;
    height: 2rem;
    width: auto;
    animation: fadeIn 1s ease-in-out;
    box-shadow: none;
}

    .btn-download:hover {
        background-color: var(--button-hover);
        border: 2px solid var(--button-hover);
        color: white;
    }

    .btn-download:focus {
        background-color: var(--button-hover);
        border: 2px solid var(--button-hover);
        outline: none;
        color: white;
        box-shadow: none;
        transform: scale(1.05);
    }

    .btn-download:active {
        background-color: var(--button-hover);
        border: 2px solid var(--button-hover);
        outline: none !important;
        box-shadow: none !important;
    }

.circle {
    display: flex;
    width: calc(40 * var(--u));
    height: calc(40 * var(--u));
    background-color: var(--primary); /* Puedes cambiar el color */
    border-radius: 50%; /* Esto da la forma de círculo */
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    animation: fadeIn 1s ease-in-out;
}
    .circle:hover,
    .circle:active,
    .circle:focus{
        color: white;
        box-shadow: none;
    }

.circle-active {
    display: flex;
    width: calc(40 * var(--u));
    height: calc(40 * var(--u));
    background-color: var(--button-hover); /* Puedes cambiar el color */
    border-radius: 50%; /* Esto da la forma de círculo */
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.container-crear-micro {
    background-color: var(--bloque-transparente);
    padding-left: 2.5rem;
    padding-top: 1rem;
    padding-right: 2.5rem;
    margin-top: 1vh;
    min-height: 100%;
    height: auto;
    width: 100%;
    border-radius: calc(10 * var(--u));
    overflow: hidden;
    position: relative;
    padding-bottom: 1rem;
    animation: fadeIn 1s ease-in-out;
}

.container-landing {
    text-align: left;
    border-radius: calc(12 * var(--u));
    background-color: none;
    border: 1px solid rgba(0,0,0,0.2);
    min-height: calc(280 * var(--u));
    height: auto;
    width: 100%;
    margin: calc(5 * var(--u));
    padding: 2rem;
    transition: background-color 0.5s ease, transform 0.2s ease;
    animation: fadeIn 1s ease-in-out;
}

.container-landing2 {
    text-align: left;
    border-radius: calc(12 * var(--u));
    background-color: white;
    border: 1px solid grey;
    min-height: calc(190 * var(--u));
    height: 100%;
    width: 100%;
    margin-right: calc(5 * var(--u));
    margin-left: calc(5 * var(--u));
    padding: 2rem;
}

    .container-landing2:hover,
    .container-landing2:active {
        outline: none;
        box-shadow: none;
    }

.IVA {
    margin-top: calc(10 * var(--u));
    text-align: center;
    padding-left: calc(10 * var(--u));
    padding-right: calc(10 * var(--u));
    padding-top: calc(4 * var(--u));
    padding-bottom: calc(4 * var(--u));
    width: auto;
    background-color: var(--secondary);
    color: white;
    border-radius: calc(60 * var(--u));
    font-size: clamp(calc(12 * var(--u)), 0.7vw, calc(50 * var(--u)));
    font-weight: 600;
}

.container-pago {
    background-color: var(--bloque-transparente);
    border: 2px solid var(--secondary);
    border-radius: calc(10 * var(--u));
    width: auto;
    max-width: 90%;
    height: 60vh;
    padding: 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    animation: fadeIn 1s ease-in-out;
}

.container-dashboard {
    width: 100%;
    height: 6rem;
    background-color: black;
}

.container-datos-ventas {
    background-color: var(--bloque-transparente);
    border-radius: calc(10 * var(--u));
    text-align: center;
    justify-items: center;
    width: 100%;
    min-height: 8rem;
    font-size: 1rem !important;
    padding: 0.75rem;
}

.container-edit-blanco {
    background-color: white;
    padding: 3%;
    min-height: 19rem;
    height: auto;
    width: 95%;
    border-radius: calc(10 * var(--u));
    overflow: hidden;
    animation: fadeIn 1s ease-in-out;
}

.container-reporte-ventas {
    background-color: var(--bloque-transparente);
    border-radius: calc(10 * var(--u));
    min-height: 50vh;
    height: auto;
    min-width: 100%;
    width: auto;
    box-sizing: border-box;
    position: relative;
    padding-top: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: calc(5 * var(--u));
    overflow: hidden;
    animation: fadeIn 1s ease-in-out;
}

.container-datos-factura {
    width: 100%;
    height: auto;
    margin-top: 1rem;
    background-color: var(--bloque-transparente);
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 1rem;
    padding-bottom: 2rem;
    border-radius: calc(8 * var(--u));
}

.container-tabla-reporte {
    width: 100%;
    min-height: 55vh;
    padding: calc(10 * var(--u));
    height: auto;
    border-radius: calc(8 * var(--u));
    background-color: white;
}

.container-tabla-consulta {
    width: 100%;
    min-height: 12vh;
    height: auto;
    padding: 0.75rem;
    border-radius: calc(8 * var(--u));
    background-color: white;
    z-index: 2;
}

.container-tabla-reporte-ventas {
    width: 100%;
    min-height:34.5vh;
    height: auto;
    padding: 0.45rem;
    border-radius: calc(8 * var(--u));
    background-color: white;
}

.container-editar-precios {
    background-color: var(--bloque-transparente);
    padding-left: 2.5rem;
    padding-top: 1rem;
    padding-right: 2.5rem;
    margin-top: 1vh;
    min-height: 100%;
    height: auto;
    width: 100%;
    border-radius: calc(10 * var(--u));
    overflow: hidden;
    position: relative;
    padding-bottom: 1rem;
    animation: fadeIn 1s ease-in-out;
}

.container-estadisticas {
    background-color: var(--bloque-transparente);
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    padding-top: 1rem;
    padding-bottom: 1.5rem;
    min-height: 100%;
    height: auto;
    width: 100%;
    border-radius: calc(10 * var(--u));
    overflow: hidden;
    animation: fadeIn 1s ease-in-out;
}

.container-blanco-ranking {
    background-color: white;
    border-radius: calc(10 * var(--u));
    overflow: hidden;
    position: relative;
    animation: fadeIn 1s ease-in-out;
    min-height: 56vh;
    height: auto;
    width: 100%;
    padding: 1rem;
    margin-top: 0.5rem;
}

.container-datos-pf-left {
    background-color: white;
    justify-content: center;
    padding: 3%;
    height: 8.5rem;
    width: 100%;
    margin-bottom: 1rem;
    border-radius: calc(10 * var(--u));
    left: 50%;
    animation: fadeIn 1s ease-in-out
}

.container-datos-bancarios-left {
    object-fit: contain;
    background-color: white;
    justify-items: left;
    padding: 1rem;
    height: auto;
    width: 50%;
    border-radius: calc(10 * var(--u));
    animation: fadeIn 1s ease-in-out
}

.container-comprobante2 {
    justify-content: center;
    align-content: center;
    height: 49vh;
    padding: 0.8rem;
    background-color: var(--bloque-transparente);
    border-radius: calc(10 * var(--u)) !important;
    border: 2px solid var(--border-hover);
    width: 80%;
    object-fit: contain;
    animation: fadeIn 1s ease-in-out;
}

.container-mostrar-pago {
    z-index: 999;
    position: fixed;
    left: 50%;
    top: 50%;
    min-width: 25%;
    width: auto;
    min-height: 84vh;
    height: auto;
    transform: translate(-50%, -50%);
    background-color: white;
    padding-top: 0.75%;
    padding-left: 1.5%;
    padding-right: 1.5%;
    padding-bottom: 1.5%;
    border: 2px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
}

.container-revisar {
    z-index: 997;
    position: fixed;
    left: 50%;
    top: 50%;
    width: 100%;
    min-height: 100vh;
    height: 100%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding-top: 1%;
    padding-left: 2.5%;
    padding-right: 2.5%;
    padding-bottom: 2.4%;
    border: 2px solid white;
    overflow: auto;
}

.badge-style {
    background-color: var(--primary);
    color: white;
    width: 95%;
    margin-bottom: calc(10 * var(--u));
    border-radius: calc(5 * var(--u));
    height: 2rem;
    font-size: 1rem;
    font-weight: 600;
    padding: calc(4 * var(--u));
    text-align: center;
}

.container-mostrar-estado {
    z-index: 9999;
    position: fixed;
    left: 50%;
    top: 50%;
    min-width: 30%;
    width: auto;
    min-height: 40vh;
    height: auto;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    overflow: hidden;
}

.container-lista-solicitudes {
    background-color: var(--bloque-transparente);
    border-radius: calc(10 * var(--u));
    height: 4vh;
    width: 79vw;
    box-sizing: border-box;
    position: relative;
    padding-top: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: calc(30 * var(--u));
    overflow: hidden;
    animation: fadeIn 1s ease-in-out;
}

.container-estado-firmas {

    background-color: var(--bloque-transparente);
    border-radius: calc(10 * var(--u));
    height: 72vh;
    width: 76vw;
    box-sizing: border-box;
    position: relative;
    padding: 1rem;
    padding-bottom: calc(40 * var(--u));
    overflow: hidden;
    animation: fadeIn 1s ease-in-out;
}
.container-estado-flotante {
    z-index: -1;
    position: fixed;
    left: 50%;
    top: 50%;
    min-height: 45vh;
    height: 100%;
    width: 78vw;
    transform: translate(-50%, -50%);
    background-color: var(--bloque-transparente);
    padding: 2rem;
    border-radius: 1rem;
}
.container-filtrar {
    z-index: -1;
    position: fixed;
    left: 50%;
    top: 50%;
    min-height: 45vh;
    height: 100%;
    width: 100%;
    transform: translate(-50%, -50%);
    background-color: var(--bloque-transparente);
    padding: 2%;
    border-radius: 1rem;
    animation: fadeIn 1s ease-in-out;
}

.container-asignar-precios {
    z-index: 999;
    position: fixed;
    left: 50%;
    top: 50%;
    width: 28vw;
    min-height: 70vh;
    height: auto;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 2%;
    border: 2px solid white;
    border-radius: 1rem;
}

.container-aprobar-precios {
    background-color: var(--bloque-transparente);
    border-radius: calc(10 * var(--u));
    min-height: 70vh;
    height: auto;
    width: 100%;
    padding-top: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: calc(20 * var(--u));
    animation: fadeIn 1s ease-in-out;
}

.Columna1 {
    width: 25%;
}

.Columna2 {
    width: 20%;
}

.Columna3 {
    width: 60%;
    text-align: right !important;
}

.Columna4 {
    width: 40%;
}

.Columna-Pagos-Nombre {
    width: 30%;
    white-space: nowrap;
}

.Columna-Firmas-Nombre {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    width: 15%;
}

.Columna-Firmas-Obs {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    width: auto;
    max-width: 25%;
}

.Columna-Firmas-Sm {
    width: 7%;
}

.Columna-Firmas-Left {
    width: 7%;
    text-align: left;
}

.Columna-Firmas-Tipo {
    width: 13%;
    text-align: left;
    white-space: nowrap;
}

.Columna-Firmas-Correo {
    white-space: nowrap;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    width: 14%;
}

.Columna-Ventas-Nombre {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 24%;
}

.Columna-Ventas-Sm {
    width: 14%;
}

.Columna-Ventas-Tipo {
    width: 20%;
    white-space: nowrap;
}

.Columna-Ventas-Correo {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 16%;
}

.Columna-Fecha-Vencimiento {
    white-space: nowrap;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    width: 13%;
}
.Columna-Cedula-Vencimiento {
    white-space: nowrap;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    width: 13%;
}
.Columna-Nombre-Vencimiento {
    white-space: nowrap;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    width: 27%;
}
.Columna-Celular-Vencimiento {
    white-space: nowrap;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    width: 12%;
}
.Columna-Correo-Vencimiento {
    white-space: nowrap;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    width: 20%;
}
.Columna-Tipo-Vencimiento {
    white-space: nowrap;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 11%;
}
.Columna-Vigencia-Vencimiento {
    white-space: nowrap;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 12%;
}


.datos-ventas-blanco {
    background-color: white;
    width: 95%;
    min-height: 4.25rem;
    height: auto;
    padding: calc(10 * var(--u));
    align-content: center;
    border-radius: calc(8 * var(--u));
}

.dashboard-selected {
    width: 100%;
    height: 4.25rem;
    color: var(--text-third);
    background-color: white;
    font-weight: 600;
    border: white;
    font-size: 1rem;
    padding: calc(10 * var(--u));
    text-align: center;
    justify-content: center;
    align-content: center;
}


.Encabezado {
    font-size: clamp(calc(15 * var(--u)), 1.5vw, calc(25 * var(--u)));
    font-weight: 600;
    margin-right: 13vw;
    color: var(--btn-large-text);
    font-stretch: extra-condensed;
}

.btn-back {
    position: relative;
    z-index: 10;
    background-color: var(--button);
    border: 2px solid var(--button);
    font-size: 1rem !important;
    border-radius: 0.6rem;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 2.5rem;
    min-width: calc(40 * var(--u));
    width: 5vw;
    animation: fadeIn 1s ease-in-out;
    box-shadow: none;
}
    .btn-back:hover {
        background-color: var(--button-hover);
        border: 2px solid var(--button-hover);
    }

    .btn-back:focus {
        background-color: var(--button-hover);
        border: 2px solid var(--button-hover);
        outline: none;
        box-shadow: none;
        transform: scale(1.05);
    }

    .btn-back:active {
        background-color: var(--button-hover);
        border: 2px solid var(--button-hover);
        outline: none !important;
        box-shadow: none !important;
        transform: scale(1.05);
    }

.form-label {
    color: var(--primary);
    font-size: 0.9rem;
    animation: fadeIn 1s ease-in-out;
}

.form-label2 {
    color: var(--primary);
    animation: fadeIn 1s ease-in-out;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center !important;
}

.form-control {
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    font-size: 0.9rem;
    animation: fadeIn 1s ease-in-out;
}

    .form-control:focus {
        outline: none;
        box-shadow: 0px 0px 3px var(--border-hover);
        border: 1px solid var(--border-hover);
    }

.form-control1 {
    border: 1px solid var(--text-primary);
    border-radius: 0.6rem;
    font-size: 0.75rem;
    max-width: 80%;
    animation: fadeIn 1s ease-in-out;
    padding-left: 3%;
}

    .form-control1:focus {
        border: 1px solid var(--border-hover);
        outline: none;
        box-shadow: 0px 0px 3px var(--border-hover);
    }

.form-control2 {
    border: 1px solid var(--text-primary);
    margin-left: 1rem;
    border-radius: 0.6rem;
    font-size: 1rem;
    animation: fadeIn 1s ease-in-out;
    padding-left: 2%;
    height: 1.75rem;
    width: 92%;
}

    .form-control2:focus {
        border: 1px solid var(--border-hover);
        outline: none;
        box-shadow: 0px 0px 3px var(--border-hover);
    }

.form-control3 {
    border: 1px solid var(--text-primary);
    margin-left: 1rem;
    border-radius: 0.6rem;
    font-size: 1rem;
    animation: fadeIn 1s ease-in-out;
    padding-left: 2%;
    height: 1.75rem;
    width: 80%;
}

    .form-control3:focus {
        border: 1px solid var(--border-hover);
        outline: none;
        box-shadow: 0px 0px 3px var(--border-hover);
    }

.form-select {
    border: 1px solid var(--border);
    color: var(--text-color);
    font-size: 0.9rem;
    border-radius: calc(12 * var(--u));
    animation: fadeIn 1s ease-in-out;
}

    .form-select:focus {
        outline: none;
        box-shadow: 0px 0px 3px var(--border-hover);
        border: 1px solid var(--border-hover);
    }
.file-label {
    padding: 0.5rem;
    justify-content: center;
    text-align: center;
    background-color: var(--button);
    width: auto;
    height: 2.5rem;
    font-size: 0.9rem;
    color: white;
    border-radius: calc(6 * var(--u));
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.file-delete {
    text-align: left;
    padding: 0.45rem;
    padding-left: 0.5rem;
    background-color: var(--button);
    width: auto;
    height: 2.25rem;
    font-size: clamp(calc(14 * var(--u)), 1.25vw, calc(14 * var(--u)));
    color: white;
    text-align:center;
    justify-content: center;
    align-content: center;
    border-radius: calc(6 * var(--u));
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}
    .file-delete:hover {
        background-color: var(--button-hover);
        color: white;
    }
    .file-delete:active {
        background-color: var(--button-hover);
        border: 2px solid var(--button-hover);
        transform: scale(1.05);
        outline: none !important;
        box-shadow: none !important;
    }

.file-label:hover {
    background-color: var(--button-hover);
}
.formulario {
    left: 50%;
    background-color: white;
    padding: calc(20 * var(--u));
    width: 70%;
    min-height: 100vh;
    height: auto;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: fadeIn 1s ease-in-out;
}

.img-dashboards {
    font-size: calc(50 * var(--u));
    color: var(--primary);
    width: auto;
    margin-bottom: calc(10 * var(--u));
    align-items: center
}
.img-dashboards-P {
    font-size: calc(60 * var(--u));
    color: var(--button);
    width: auto;
    margin-bottom: calc(10 * var(--u));
    align-items: center
}

.fotos-container {
    justify-content: center;
    align-content: center;
    height: 31vh;
    padding: 0.8rem;
    background-color: var(--bloque-transparente);
    border-radius: calc(10 * var(--u)) !important;
    border: 2px solid var(--border-hover);
    width: 100%;
    object-fit: contain;
    animation: fadeIn 1s ease-in-out;
}

.fotos-format2 {
    font-size: 1.25rem;
    margin-right: calc(10 * var(--u));
    animation: fadeIn 1s ease-in-out;
}

.fotos-format {
    border-radius: calc(8 * var(--u));
    max-height: 100%;
    width: auto;
    max-width: 100%;
    margin-bottom: calc(5 * var(--u));
    animation: fadeIn 1s ease-in-out;
}
.imagenes-header {
    height: auto;
    max-height: 50%;
    width: auto;
    align-content: start;
    margin-right: 0.5rem
}

.imagenes-header2 {
    height: auto;
    max-height: 50%;
    width: auto;
    align-content: start;
    margin-right: 0.25rem;
    margin-bottom: 0.25vw;
}

.lupa-format {
    border-radius: calc(8 * var(--u));
    height: 80% !important;
    width: auto;
    max-width: 100%;
    margin-bottom: calc(5 * var(--u));
    animation: fadeIn 1s ease-in-out;
}

.lupa-small-format {
    border-radius: calc(8 * var(--u));
    height: 80% !important;
    width: auto;
    max-width: 100%;
    animation: fadeIn 1s ease-in-out;
}

.header {
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding: 0.5rem;
    align-items: center;
    background-color: white;
    min-height: 10vh;
    height: auto;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.8);
}

.headerMenu {
    width: 100%;
    padding: 0.5rem;
    align-items: center;
    background-color: white;
    min-height: 10vh;
    height: auto;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.8);
}

.header2 {
    width: 100%;
    background-color: var(--third);
    height: auto;
    padding-top: 2rem;
    padding-bottom: 1rem;
    padding-right: 3rem;
    padding-left: 3rem;
    overflow: hidden;
}

.imagen-landing {
    height: 65vh;
    width: auto;
}

/* Hero del landing: columna de texto con relleno proporcional y centrada verticalmente junto a la imagen */
.hero-texto {
    padding: clamp(calc(24 * var(--u)), calc(4vw + calc(24 * var(--u))), calc(180 * var(--u)));
    text-align: justify;
}

    .hero-texto .titulo-landing {
        text-align: left;
    }

#Inicio > .row {
    align-items: center;
}

.input-group.custom-width {
    height: 1.5rem;
}

.input-escondido {
    display: none;
}


.loading-spinner {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid var(--primary); /* Blue */
    border-radius: 50%;
    width: calc(60 * var(--u));
    height: calc(60 * var(--u));
    animation: spin 1s linear infinite;
    margin: auto;
}

.background-loading {
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: white;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    justify-content: center;
    align-items: center;
}

.loading-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    justify-content: center;
    align-items: center;
    height: calc(200 * var(--u)); /* o el tamaño que necesites */
    z-index: 10;
}

.logo {
    background-color: white;
    border-radius: calc(10 * var(--u));
    width: auto;
    height: calc(200 * var(--u));
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.mostrar-imagen {
    background-color: var(--bloque-transparente);
    border-radius: calc(8 * var(--u));
    justify-items: center;
    padding: 1.05rem;
    margin-bottom: 3vh;
    min-height: 50vh;
    height: auto;
    width: 100%;
    overflow: hidden;
    animation: fadeIn 1s ease-in-out;
}

.mostrar-icono {
    background-color: white;
    border-radius: calc(8 * var(--u));
    border-radius: calc(10 * var(--u));
    height: 40vh;
    width: auto;
    padding: calc(10 * var(--u));
    border: 2px solid var(--border);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    animation: fadeIn 1s ease-in-out;
}

.numeros-cuentas {
    margin-top: 10%;
    font-size: 1rem;
    text-align: center;
    font-weight: bold;
    color: var(--primary);
}

.pagination {
    width: 100%;
    justify-items: center;
}
.pagination-ranking {
    width: 100%;
    margin-top: 40.25%;
}

.paginar-reporte-ventas {
    width: 94%;
    position: absolute;
    top: 76%;
    padding: 2% !important;
}

.paginar-estado-solicitudes {
    width: 100%;
    position: absolute;
    top: 85%;
    padding: 2% !important
}
.quickgrid-table {
    margin-top: calc(5 * var(--u));
    font-size: 0.9rem;
    width: 100%;
    animation: fadeIn 1s ease-in-out;
}

    .quickgrid-table thead {
        border-block-end: 1px solid var(--bloque-transparente);
        color: var(--text-third);
        animation: fadeIn 1s ease-in-out;
    }

    .quickgrid-table td {
        border-block-end: 1px solid var(--bloque-transparente);
        color: black;
        margin-right: calc(10 * var(--u));
        animation: fadeIn 1s ease-in-out;
    }

.tabla-micro-container {
    background-color: white;
    border-radius: calc(10 * var(--u));
    min-height: 16.5rem;
    height: auto;
    width: 100%;
    padding: calc(15 * var(--u));
    padding-bottom: calc(10 * var(--u));
    overflow: hidden;
    white-space: nowrap;
    animation: fadeIn 1s ease-in-out;
}

.quickgrid-table2 {
    table-layout: fixed;
    width: 100%;
    text-align: left;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    overflow-x: auto;
    height: auto;
    animation: fadeIn 1s ease-in-out;
}

    .quickgrid-table2 thead {
        border-block-end: 1px solid var(--bloque-transparente);
        color: var(--text-secondary);
        animation: fadeIn 1s ease-in-out;
    }

    .quickgrid-table2 td {
        color: var(--text-third);
        margin-top: 5%;
        margin-bottom: 5%;
        height: 2.25rem;
        animation: fadeIn 1s ease-in-out;
    }

.row-reporte-ventas {
    flex-grow: 1;
    padding-top: 1%;
    padding-left: 2%;
    padding-right: 2%;
    padding-bottom: 60spx;
}

.subtitulo-datos-bancarios {
    font-size: clamp(calc(14 * var(--u)), 1.2vw, calc(26 * var(--u)));
    font-weight: bold;
    color: var(--primary)
}

.subtitulo {
    font-size: clamp(calc(16 * var(--u)), 1.5vw, calc(28 * var(--u)));
    font-weight: 300;
    animation: fadeIn 1s ease-in-out;
    color: var(--subtitle);
    font-stretch: extra-condensed;
    margin-bottom: 2px;
}

.text-landing {
    font-size: clamp(calc(16 * var(--u)), min(1.35vw, 2.5vh), calc(40 * var(--u)));
    line-height: 1.5;
    font-weight: 200;
    animation: fadeIn 1s ease-in-out;
    color: white;
    font-stretch: extra-condensed;
    margin-bottom: 2px;
}

.subtitulo-alt {
    font-size: clamp(calc(16 * var(--u)), 1.5vw, calc(28 * var(--u)));
    font-weight: 600;
    animation: fadeIn 1s ease-in-out;
    color: var(--text-third);
    font-stretch: extra-condensed;
    margin-bottom: 2px;
}

.text {
    color: var(--text-primary);
}

.text-bancos {
    font-weight: 400;
    font-size: clamp(calc(13 * var(--u)), 1vw, calc(24 * var(--u)));
}
.text-bancos-bold {
    font-weight: 600;
    font-size: clamp(calc(13 * var(--u)), 1vw, calc(24 * var(--u)));
}

.text-secondary {
    color: rgba(0,0,0,0.7) !important;
}

.text-secondary-alt-right {
    color: rgba(0,0,0,0.7) !important;
    font-weight: 500;
    text-align: right;
    font-size: clamp(calc(15 * var(--u)), 1.15vw, calc(28 * var(--u)));
}

.text-highlighted {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: clamp(calc(15 * var(--u)), 1.15vw, calc(28 * var(--u)));
}

.text-left-datos-bancarios {
    text-align: left;
    font-weight: bold;
    color: var(--text-secondary);
    font-size: clamp(calc(13 * var(--u)), 1vw, calc(26 * var(--u)));
}

.text-right-datos-bancarios {
    text-align: left;
    font-weight: 500;
    color: var(--text-third);
    font-size: clamp(calc(13 * var(--u)), 1vw, calc(26 * var(--u)));
}

.titulo {
    color: var(--primary);
    font-size: clamp(calc(17 * var(--u)), 1.3vw, calc(25 * var(--u))) !important;
    font-weight: 600;
    animation: fadeIn 1s ease-in-out;
    word-wrap: break-word;
    font-stretch: extra-condensed;
}

.titulo-login {
    color: white;
    font-size: clamp(calc(20 * var(--u)), 3vw, calc(50 * var(--u)));
    font-weight: 600;
    animation: fadeIn 1s ease-in-out;
    word-wrap: break-word;
    font-stretch: extra-condensed;
}

.titulo-primary {
    color: var(--primary);
    font-size: clamp(calc(20 * var(--u)), 1.8vw, calc(35 * var(--u)));
    font-weight: 600;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
    word-wrap: break-word;
    font-stretch: extra-condensed;
}

.titulo-landing {
    color: white;
    /* Crece con el ancho, pero también se limita por el alto para no desbordar pantallas anchas y bajas */
    font-size: clamp(calc(30 * var(--u)), min(3.2vw, 6vh), calc(110 * var(--u)));
    line-height: 1.15;
    font-weight: 600;
    animation: fadeIn 1s ease-in-out;
    word-wrap: break-word;
    font-stretch: extra-condensed;
}

.titulo-alt {
    color: black;
    font-size: clamp(calc(17 * var(--u)), 1.3vw, calc(28 * var(--u)));
    font-weight: 600;
    animation: fadeIn 1s ease-in-out;
}

.titulo-dashboard {
    color: var(--text-third);
    font-size: clamp(calc(16 * var(--u)), 1.25vw, calc(26 * var(--u)));
    font-weight: 600;
    animation: fadeIn 1s ease-in-out;
}

.titulos-formulario {
    color: var(--titulos-formulario);
    font-size: clamp(calc(20 * var(--u)), 3.5vw, calc(28 * var(--u)));
    font-stretch: extra-condensed;
    text-align: center;
    font-weight: 600;
    animation: fadeIn 1s ease-in-out;
}

.titulo-tabla {
    white-space: break-spaces;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    text-align: left;
}



.top-0 {
    margin-top: calc(20 * var(--u)) !important;
}

.end-0 {
    margin-right: calc(20 * var(--u)) !important;
}


.error {
    background-color: crimson !important;
    font-weight:900;
}

.success {
    background-color: forestgreen !important;
    font-weight: 600;
}

.warning {
    background-color: gold !important;
    color: black !important;
    font-weight: 600;
}

/* Estilos para el contenedor de todos los toasts */
#toastContainer {
    position: fixed; /* Fijo en la pantalla */
    top: calc(20 * var(--u)); /* A 20px del borde superior */
    right: calc(20 * var(--u)); /* A 20px del borde derecho */
    z-index: 1050; /* Asegura que esté por encima de casi todo lo demás */
    display: flex; /* Usa flexbox para apilar los toasts */
    flex-direction: column; /* Apila verticalmente */
    gap: calc(10 * var(--u)); /* Espacio de 10px entre toasts */
    pointer-events: none; /* Permite hacer clic 'a través' del contenedor si no hay toasts */
}

/* Estilos para cada mensaje de toast individual */
.toast-message {
    background-color: #333; /* Fondo oscuro */
    color: #fff; /* Texto blanco */
    padding: calc(15 * var(--u)) calc(20 * var(--u)); /* Espaciado interno */
    border-radius: calc(10 * var(--u)); /* Bordes redondeados */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Sombra suave */
    opacity: 0; /* Inicialmente oculto */
    transform: translateY(-20px); /* Ligeramente desplazado hacia arriba para la animación de entrada */
    transition: opacity 0.3s ease-out, transform 0.3s ease-out; /* Transición suave para aparecer/desaparecer */
    pointer-events: all; /* Permite interacción con el toast si es necesario */
    max-width: calc(300 * var(--u)); /* Ancho máximo para que el texto no se extienda demasiado */
    word-wrap: break-word; /* Rompe palabras largas para evitar desbordamiento */
}

    /* Clase para mostrar el toast (activa la animación de entrada) */
    .toast-message.show {
        opacity: 1;
        transform: translateY(0); /* Vuelve a la posición original */
    }

    /* Clase para ocultar el toast (activa la animación de salida) */
    .toast-message.hide {
        opacity: 0;
        transform: translateY(-20px); /* Desplaza hacia arriba y lo hace transparente */
    }


    /*Adicional*/

.imagenes {
    height: 10vh;
    width: auto;
    justify-items: center;
    margin-left: 5vh;
}
    @media (max-width: 1000px) {
        .container-mostrar-pago {
            z-index: 999;
            position: fixed;
            left: 50%;
            top: 50%;
            min-width: 40%;
            width: auto;
            min-height: 87vh;
            transform: translate(-50%, -50%);
            background-color: white;
            padding: 2%;
            border: 2px solid var(--border);
            border-radius: 1rem;
        }
    }

    @media (max-width: 768px) {
        .bloque-primary {
            min-width: 90vw !important;
            width: auto !important;
            padding: 4vh !important;
            margin-bottom: 5vh !important;
            height: auto !important;
        }

        .background-filtrar {
            z-index: 998;
            position: fixed;
            left: 50%;
            top: 50%;
            min-height: 45vh;
            height: auto;
            width: 80vw;
            justify-items: center;
            transform: translate(-50%, -50%);
            background-color: white;
            padding: 1.5rem;
            border-radius: 1rem;
            animation: fadeIn 1s ease-in-out;
        }

        .container-estadisticas {
            background-color: var(--bloque-transparente);
            padding-left: 1.5rem;
            padding-right: 1.5rem;
            padding-top: 1rem;
            padding-bottom: 1.5rem;
            min-height: 100%;
            height: auto;
            width: 100%;
            border-radius: 10px;
            overflow: hidden;
            animation: fadeIn 1s ease-in-out;
        }

        .form-control3 {
            border: 1px solid var(--text-primary);
            margin-left: 1rem;
            border-radius: 0.6rem;
            font-size: 0.8rem;
            animation: fadeIn 1s ease-in-out;
            padding-left: 2%;
            height: 1.75rem;
            width: 80%;
        }

            .form-control3:focus {
                border: 2px solid var(--border-hover);
                outline: none;
                box-shadow: none;
            }

        .container-mostrar-pago {
            z-index: 999;
            position: fixed;
            left: 50%;
            top: 50%;
            min-width: 85%;
            width: auto;
            min-height: 84vh;
            transform: translate(-50%, -50%);
            background-color: white;
            padding: 2%;
            border: 2px solid var(--border);
            border-radius: 1rem;
        }

        .container-asignar-precios {
            z-index: 999;
            width: 90%;
            min-height: 70vh;
            height: auto;
            background-color: white;
            padding: 2rem;
            border: 2px solid white;
            border-radius: 1rem;
        }

        .titulo-tabla {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--primary);
            text-align: center;
        }
        .container-blanco-ranking {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
            animation: fadeIn 1s ease-in-out;
            min-height: 56vh;
            height: auto;
            width: 100%;
            padding: 1rem;
            margin-top: 0.5rem;
        }


        .btn-secondary {
            width: 50% !important;
            margin-bottom: 0.5rem;
            font-size: 8px;
        }
        .btn-large {
            margin: 8px;
            display: flex;
            flex-direction: column;
            top: 50%;
            font-weight: 500;
            text-align: left;
            min-width: 18vw;
            width: auto;
            height: 10vh;
            background-color: #FFFFFF;
            background-image: url('icons/Logo-Firmas2.png');
            background-size: 5.5vh; /* Ajusta el tamaño de la imagen */
            background-repeat: no-repeat; /* Evita que se repita */
            background-position: left center; /* Centra la imagen */
            background-position-x: 1rem; /* Espacio entre la imagen y el texto */
            font-size: 1rem;
            color: var(--btn-large-text);
            border: 2px solid var(--btn-large-border);
            border-radius: 12px;
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
            transition: background-color 0.5s ease;
            animation: fadeIn 1s ease-in-out;
        }

            .btn-large:focus {
                background-color: var(--primary);
                color: white;
                border: none;
                transform: scale(1.05);
                background-image: url('icons/Logo-Firmas3.png');
                background-size: 5.5vh; /* Ajusta el tamaño de la imagen */
                background-repeat: no-repeat; /* Evita que se repita */
                background-position: left center; /* Centra la imagen */
                background-position-x: 1rem; /* Espacio entre la imagen y el texto */
                outline: none;
                box-shadow: none;
            }

            .btn-large:active {
                background-color: var(--primary);
                color: white;
                border: none;
                transform: scale(1.05);
                background-image: url('icons/Logo-Firmas3.png');
                background-size: 5.5vh; /* Ajusta el tamaño de la imagen */
                background-repeat: no-repeat; /* Evita que se repita */
                background-position: left center; /* Centra la imagen */
                background-position-x: 1rem; /* Espacio entre la imagen y el texto */
                outline: none;
                box-shadow: none;
            }

            .btn-large:hover {
                transform: scale(1.05);
            }

        /* Ajusta tamaños de texto si quieres */
        .titulo {
            font-size: clamp(15px, 1.15vw, 28px);
        }

        .imagenes {
            height: 8vh;
            width: auto;
            margin-top: 0.65vh;
            margin-left: 1vh;
        }

        .formulario {
            left: 50%;
            background-color: white;
            padding: 30px;
            width: 100%;
            min-height: 100vh;
            height: auto;
            align-items: center;
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
            overflow: hidden;
            animation: fadeIn 1s ease-in-out;
        }

        .Columna3 {
            width: 60%;
            text-align: right !important;
        }

        .Columna4 {
            width: 40%;
        }

        .circle {
            width: 37px;
            height: 35px;
            background-color: var(--primary); /* Puedes cambiar el color */
            border-radius: 50%; /* Esto da la forma de círculo */
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            animation: fadeIn 1s ease-in-out;
        }

        .container-mostrar-estado {
            z-index: 998;
            position: fixed;
            min-width: 90%;
            min-height: 70vh;
            height: auto;
            background-color: white;
            padding: 2rem;
            border: 2px solid var(--border);
            border-radius: 1rem;
            overflow: hidden;
        }

        .circle-active {
            width: 37px;
            height: 35px;
            background-color: var(--button-hover); /* Puedes cambiar el color */
            border-radius: 50%; /* Esto da la forma de círculo */
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
        }

        .Encabezado {
            font-size: clamp(15px, 1.5vw, 25px);
            font-weight: 600;
            margin-right: 8vw;
            color: var(--btn-large-text);
            font-stretch: extra-condensed;
        }

        .container-comprobante2 {
            justify-content: center;
            align-content: center;
            height: 48vh;
            padding: 0.8rem;
            background-color: var(--bloque-transparente);
            border-radius: 10px !important;
            border: 2px solid var(--border-hover);
            width: 100%;
            object-fit: contain;
            animation: fadeIn 1s ease-in-out;
        }

        .bloque-second {
            background-color: var(--third);
            width: 97vw;
            height: 70vh;
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
            text-align: center;
            animation: fadeIn 1s ease-in-out;
        }

        .bloque-dashboard {
            overflow: auto;
            background-color: white;
            padding: 1rem;
            border-radius: 0px;
            width: 100%;
            margin: 0;
            min-height: 100vh;
            height: auto;
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
            text-align: center;
            animation: fadeIn 1s ease-in-out;
        }

        .container-crear-micro {
            background-color: var(--bloque-transparente);
            padding-left: 2rem;
            padding-top: 1rem;
            padding-right: 2rem;
            min-height: 71vh;
            height: auto;
            width: 100%;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
            padding-bottom: 1rem;
            animation: fadeIn 1s ease-in-out;
        }

        .container-edit-blanco {
            background-color: white;
            padding: 3%;
            min-height: 19rem;
            height: auto;
            font-size: 0.85rem;
            width: 100%;
            border-radius: 10px;
            overflow: hidden;
            animation: fadeIn 1s ease-in-out;
        }

        .quickgrid-table {
            margin-top: 5px;
            font-size: 0.85rem;
            width: 100%;
            animation: fadeIn 1s ease-in-out;
        }
    }

.link-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.link-modal {
    position: relative;
    width: 100%;
    max-width: calc(620 * var(--u));
    background: #ffffff;
    border-radius: calc(24 * var(--u));
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
    padding: 2rem;
    animation: modalFadeIn 0.22s ease;
    z-index: 10000;
}

.link-modal-close {
    position: absolute;
    top: calc(14 * var(--u));
    right: calc(14 * var(--u));
    width: calc(42 * var(--u));
    height: calc(42 * var(--u));
    border: none;
    border-radius: 50%;
    background: #f3f4f6;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .link-modal-close:hover {
        background: #e5e7eb;
        transform: scale(1.05);
    }

.link-modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.link-modal-icon {
    width: calc(72 * var(--u));
    height: calc(72 * var(--u));
    margin: 0 auto 1rem auto;
    border-radius: calc(20 * var(--u));
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #17295B;
}

.link-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

.link-modal-header p {
    margin: 0.6rem 0 0 0;
    color: #6b7280;
    font-size: 0.98rem;
}

.link-modal-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #374151;
}

.link-input-group {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
    margin-bottom: 1.2rem;
}

.link-input {
    flex: 1;
    min-width: 0;
    height: calc(52 * var(--u));
    border: 1px solid #e5e7eb;
    border-radius: calc(14 * var(--u));
    background: #f9fafb;
    padding: 0 1rem;
    font-size: 0.95rem;
    color: #111827;
    outline: none;
}

.link-copy-btn {
    height: calc(52 * var(--u));
    border: none;
    border-radius: calc(14 * var(--u));
    padding: 0 1.1rem;
    background: #17295B;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .link-copy-btn:hover {
        background: #10204a;
        transform: translateY(-1px);
    }

.link-modal-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.link-wa-btn,
.link-close-btn {
    flex: 1 1 calc(220 * var(--u));
    height: calc(52 * var(--u));
    border-radius: calc(14 * var(--u));
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.2s ease;
}

.link-wa-btn {
    background: #25D366;
    color: #fff;
    border: none;
}

    .link-wa-btn:hover {
        background: #1ebe5a;
        transform: translateY(-1px);
        color: #fff;
    }

.link-close-btn {
    background: #f3f4f6;
    color: #111827;
    border: none;
    cursor: pointer;
}

    .link-close-btn:hover {
        background: #e5e7eb;
        transform: translateY(-1px);
    }

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 640px) {
    .link-modal {
        padding: 1.35rem;
        border-radius: 20px;
    }

    .link-input-group {
        flex-direction: column;
    }

    .link-copy-btn,
    .link-wa-btn,
    .link-close-btn,
    .link-input {
        width: 100%;
    }
}

/* ── Tarjetas de selección de modalidad de renovación ── */

.tarjeta-modalidad {
    cursor: pointer;
    border: 2px solid white;
    border-radius: calc(12 * var(--u));
    padding: 1.5rem;
    background: #fff;
    height: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

    .tarjeta-modalidad:hover {
        border-color: var(--secondary);
        box-shadow: 0 4px 16px rgba(13, 110, 253, 0.13);
    }

.tarjeta-modalidad-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.tarjeta-modalidad-icono {
    background: var(--bloque-transparente);
    border-radius: 50%;
    width: 2.8rem;
    height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .tarjeta-modalidad-icono i {
        font-size: 1.3rem;
        color: var(--secondary);
    }

.tarjeta-modalidad-titulo {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--secondary);
}

.tarjeta-modalidad-hr {
    margin: 0.5rem 0;
}

.tarjeta-modalidad-lista {
    font-size: 0.82rem;
    color: #444;
    padding-left: 1rem;
    margin: 0.6rem 0 0.4rem;
    text-align: left;
    flex-grow: 1;
}

.tarjeta-modalidad-footer {
    margin-top: 1rem;
    text-align: center;
}

.tarjeta-modalidad-btn {
    pointer-events: none;
    height: auto !important;
}

/* ==============================
   EMISORES - Listado
   ============================== */

.btn-nuevo-emisor {
    width: auto !important;
    max-width: 12rem !important;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.card-emisor {
    background-color: #ffffff;
    border-radius: calc(12 * var(--u));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .card-emisor:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    }

.card-emisor-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(80 * var(--u));
    margin-bottom: 0.8rem;
}

    .card-emisor-logo img {
        max-height: calc(80 * var(--u));
        max-width: 100%;
        object-fit: contain;
    }

    .card-emisor-logo i {
        font-size: 3rem;
        color: #c0c0c0;
    }

.card-emisor-body h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    text-align: center;
}

.card-emisor-body .ruc {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.3rem;
    text-align: center;
}

.card-emisor-body .nombre-comercial {
    font-size: 0.85rem;
    font-style: italic;
    color: #888;
    margin-bottom: 0.3rem;
    text-align: center;
}

.card-emisor-body .comprobantes {
    font-size: 0.8rem;
    color: #555;
    margin-top: 0.5rem;
    text-align: center;
}

.card-emisor-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid #eee;
    justify-content: center;
}

.btn-editar {
    background-color: #f0f0f0;
    color: #333;
    border: none;
    padding: 0.3rem 0.8rem;
    border-radius: calc(6 * var(--u));
    font-size: 0.8rem;
    cursor: pointer;
}

    .btn-editar:hover {
        background-color: #e0e0e0;
    }

.btn-eliminar {
    background-color: #fdecec;
    color: #c0392b;
    border: none;
    padding: 0.3rem 0.8rem;
    border-radius: calc(6 * var(--u));
    font-size: 0.8rem;
    cursor: pointer;
}

    .btn-eliminar:hover {
        background-color: #f8d7d7;
    }

/* ==============================
   EMISORES - Formulario
   ============================== */

.archivo-info {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: #2c7a2c;
}

    .archivo-info i {
        margin-right: 0.3rem;
    }

.form-check-label-custom {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
}

.logo-preview-container {
    margin-top: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(120 * var(--u));
    background-color: #fafafa;
    border-radius: calc(8 * var(--u));
    border: 1px dashed #d0d0d0;
    padding: 0.8rem;
}

.logo-preview {
    max-height: calc(120 * var(--u));
    max-width: 100%;
    object-fit: contain;
}

/* ==============================
   MODAL FACTURACIÓN
   ============================== */

.modal-factura-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 1050;
    padding: 2rem 1rem;
    overflow-y: auto;
}

.modal-factura {
    background: #fff;
    border-radius: calc(12 * var(--u));
    width: 100%;
    max-width: calc(900 * var(--u));
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    animation: modalEntra 0.18s ease-out;
}

@keyframes modalEntra {
    from {
        transform: translateY(-12px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-factura-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
    position: relative;
}

.btn-cerrar-modal {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #888;
}

    .btn-cerrar-modal:hover {
        color: #333;
    }

.modal-factura-body {
    padding: 0.5rem 1rem;
}

.modal-factura-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #eee;
}

.resumen-factura {
    margin: 0.8rem 1rem 0;
    padding: 0.8rem 1rem;
    background: #f7f9fc;
    border-radius: calc(8 * var(--u));
    font-size: 0.9rem;
}

    .resumen-factura > div {
        display: flex;
        justify-content: space-between;
        padding: 0.2rem 0;
    }

    .resumen-factura .total {
        border-top: 1px solid #dde3ec;
        margin-top: 0.4rem;
        padding-top: 0.5rem;
        font-size: 1.05rem;
    }

.btn-facturar {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.3rem 0.8rem;
    border-radius: calc(6 * var(--u));
    font-size: 0.8rem;
    cursor: pointer;
}

    .btn-facturar:hover {
        background-color: var(--button-hover);
        color: white;
    }
/* ============================================================
   Modal de selección de Flujo (Simplificado vs Tradicional)
   ============================================================ */

.flujo-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1080;
    padding: 1rem;
    animation: flujoFadeIn 0.18s ease-out;
}

@keyframes flujoFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.flujo-modal {
    background: #ffffff;
    border-radius: calc(14 * var(--u));
    width: 100%;
    max-width: calc(560 * var(--u));
    padding: 1.75rem 1.75rem 1.5rem;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35);
    animation: flujoSlideUp 0.22s ease-out;
}

@keyframes flujoSlideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flujo-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

    .flujo-modal-header h3 {
        margin: 0;
        font-size: 1.25rem;
        font-weight: 600;
        color: #0f172a;
    }

.flujo-modal-close {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 1.65rem;
    line-height: 1;
    width: 2rem;
    height: 2rem;
    border-radius: calc(6 * var(--u));
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

    .flujo-modal-close:hover {
        background: #f1f5f9;
        color: #0f172a;
    }

.flujo-modal-subtitle {
    margin: 0 0 1.25rem 0;
    color: #64748b;
    font-size: 0.95rem;
}

.flujo-options {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
}

@media (min-width: 540px) {
    .flujo-options {
        grid-template-columns: 1fr 1fr;
    }
}

.flujo-option {
    position: relative;
    text-align: left;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: calc(10 * var(--u));
    padding: 1rem 1rem 0.9rem;
    cursor: pointer;
    transition: border-color 0.18s, box-shadow 0.18s, transform 0.12s;
    color: inherit;
    font-family: inherit;
}

    .flujo-option:hover {
        border-color: var(--secondary);
        box-shadow: 0 4px 14px -4px rgba(37, 99, 235, 0.25);
    }

    .flujo-option:active {
        transform: translateY(1px);
    }

    .flujo-option:focus-visible {
        outline: 2px solid #2563eb;
        outline-offset: 2px;
    }

.flujo-option-badge {
    position: absolute;
    top: -10px;
    left: calc(12 * var(--u));
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: calc(3 * var(--u)) calc(8 * var(--u));
    border-radius: calc(999 * var(--u));
}

.flujo-option-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.flujo-option-desc {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.4;
}


/* ============================================================
   Dropdown de Ciudad (con búsqueda y chevron)
   ============================================================ */

.ciudad-field {
    position: relative;
    margin-bottom: 1rem;
}

.ciudad-input-wrap {
    position: relative;
}

.ciudad-input {
    padding-right: 2.5rem;
}

.ciudad-chevron {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    border-radius: calc(6 * var(--u));
    transition: color 0.15s, background 0.15s, transform 0.18s;
}

    .ciudad-chevron:hover {
        background: #f1f5f9;
        color: #0f172a;
    }

.ciudad-input-wrap.open .ciudad-chevron {
    transform: translateY(-50%) rotate(180deg);
    color: #2563eb;
}

.ciudad-dropdown {
    /* In-flow: empuja el contenido en lugar de flotar sobre él,
       de modo que el formulario crece y se puede hacer scroll normal. */
    position: relative;
    margin-top: calc(4 * var(--u));
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: calc(8 * var(--u));
    box-shadow: 0 10px 25px -8px rgba(15, 23, 42, 0.18);
    max-height: calc(240 * var(--u));
    overflow-y: auto;
    animation: ciudadFade 0.14s ease-out;
}

@keyframes ciudadFade {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ciudad-option {
    padding: 0.55rem 0.85rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: #0f172a;
    transition: background 0.12s;
}

    .ciudad-option:hover {
        background: #f1f5f9;
    }

    .ciudad-option.selected {
        background: #eff6ff;
        color: #1d4ed8;
        font-weight: 500;
    }

.ciudad-empty {
    padding: 0.75rem 0.85rem;
    color: #94a3b8;
    font-size: 0.9rem;
    font-style: italic;
}

/* Scrollbar más sutil dentro del dropdown */
.ciudad-dropdown::-webkit-scrollbar {
    width: calc(6 * var(--u));
}

.ciudad-dropdown::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: calc(3 * var(--u));
}

    .ciudad-dropdown::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }
/* =====================================================
   FLUJO SIMPLIFICADO - Banner informativo
   ===================================================== */
.alert-info-simplificado {
    background-color: #e7f3ff;
    border: 1px solid #b3d7ff;
    color: #0c5460;
    padding: 0.8rem 1rem;
    border-radius: calc(8 * var(--u));
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.4rem;
}

    .alert-info-simplificado i {
        font-size: 1.2rem;
        flex-shrink: 0;
    }

/* =====================================================
   MODAL DE LINK (Compartir enlace por WhatsApp / Copiar)
   ===================================================== */
.link-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1100;
    padding: 1rem;
    animation: fadeIn 0.18s ease-out;
}

.link-modal {
    background: #ffffff;
    border-radius: calc(14 * var(--u));
    width: 100%;
    max-width: calc(480 * var(--u));
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    animation: modalSlideIn 0.22s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-12px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.link-modal-close {
    position: absolute;
    top: 0.7rem;
    right: 0.9rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #888;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 50%;
    transition: background 0.15s ease;
}

    .link-modal-close:hover {
        background: #f0f0f0;
        color: #333;
    }

.link-modal-header {
    text-align: center;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid #eee;
}

.link-modal-icon {
    width: calc(56 * var(--u));
    height: calc(56 * var(--u));
    margin: 0 auto 0.8rem;
    background: linear-gradient(135deg, #4f8bff, #2461d1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.link-modal-header h3 {
    margin: 0 0 0.3rem;
    font-size: 1.2rem;
    color: #1d2939;
}

.link-modal-header p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

.link-modal-body {
    padding: 1.2rem 1.5rem 1.5rem;
}

.link-modal-label {
    display: block;
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.link-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.link-input {
    flex: 1;
    padding: 0.55rem 0.8rem;
    border: 1px solid #d6dbe1;
    border-radius: calc(8 * var(--u));
    font-size: 0.85rem;
    background: #f7f9fc;
    color: #344054;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .link-input:focus {
        outline: none;
        border-color: #4f8bff;
        background: #fff;
    }

.link-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.9rem;
    border: none;
    border-radius: calc(8 * var(--u));
    background: #4f8bff;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
    white-space: nowrap;
}

    .link-copy-btn:hover {
        background: #2461d1;
    }

.link-modal-actions {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.link-wa-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: calc(8 * var(--u));
    background: #25d366;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease;
}

    .link-wa-btn:hover {
        background: #1ebe5b;
        color: #fff;
    }

    .link-wa-btn i {
        font-size: 1.05rem;
    }

.link-close-btn {
    padding: 0.65rem 1rem;
    border: 1px solid #d6dbe1;
    border-radius: calc(8 * var(--u));
    background: #fff;
    color: #344054;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

    .link-close-btn:hover {
        background: #f5f6f8;
        border-color: #b8bfc7;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =============================================================================
   pagar-deuna.css
   Subconjunto de estilos necesarios para el componente Pagar.razor (DeUna).
   Extraído verbatim de la hoja global. Se conservan reglas duplicadas
   (modales) en su orden original para preservar la cascada exacta.

   DEPENDENCIAS EXTERNAS (no son CSS de este archivo):
   - Fuente "Inter" (ver @font-face opcional abajo).
   - Bootstrap Icons (clases bi bi-*: clipboard, check-lg, clock-history,
     exclamation-triangle, info-circle, x-circle, whatsapp, arrow-repeat).
   - Imagen del boot: css/FirmaSegura/banner.png
   ============================================================================= */

/* -----------------------------------------------------------------------------
   VARIABLES (solo las referenciadas por este componente)
   ----------------------------------------------------------------------------- */
:root {
    --sf-primary: #0395e6;
    --sf-primary-2: #0395e6;
    --sf-background: #dfe8f2;
    --sf-secondary: #00C2CC;
    --sf-text: #334052;
    --sf-muted: #5f6b85;
}

/* -----------------------------------------------------------------------------
   FUENTE (opcional — si quieres mantener la tipografía Inter)
   Ajusta la ruta del archivo según tu proyecto destino.
   ----------------------------------------------------------------------------- */
/* Inter se carga desde Google Fonts (ver index.html). El @font-face que había apuntaba a un archivo inexistente. */

/* -----------------------------------------------------------------------------
   KEYFRAMES usados
   ----------------------------------------------------------------------------- */
@keyframes boot-move {
    0% {
        transform: translateX(-120%);
    }

    50% {
        transform: translateX(120%);
    }

    100% {
        transform: translateX(220%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translate(-50%, -48%) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes buy-modal-fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes buy-modal-pop {
    from {
        opacity: 0;
        transform: translate(-50%, -48%) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* =============================================================================
   LAYOUT DE PAGO (DeUna)
   ============================================================================= */
.pagar-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sf-background);
}

.pagar-card {
    width: 100vw;
    background: none;
    padding: calc(25 * var(--u));
    backdrop-filter: blur(10px);
}

.pagar-header {
    text-align: center;
    margin-bottom: calc(20 * var(--u));
}

    .pagar-header h2 {
        margin: 0 0 calc(10 * var(--u)) 0;
        font-size: 2rem;
        font-weight: 600;
        color: #17295B;
    }

    .pagar-header p {
        margin: 0 auto;
        max-width: calc(760 * var(--u));
        color: #5b6883;
        line-height: 1.6;
    }

.pagar-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: calc(24 * var(--u));
    align-items: start;
}

.left-column,
.right-column {
    display: flex;
    flex-direction: column;
    gap: calc(20 * var(--u));
}

.panel {
    background: #fff;
    border: 1px solid #e9eef7;
    border-radius: calc(24 * var(--u));
    padding: calc(20 * var(--u));
    min-height: calc(70 * var(--u));
}

.panel-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--sf-primary);
    margin-bottom: calc(10 * var(--u));
}

.panel-label2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sf-primary);
    margin-bottom: calc(20 * var(--u));
}

.qr-panel {
    min-height: calc(300 * var(--u));
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-image {
    width: min(100%, calc(300 * var(--u)));
    max-width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
    border-radius: calc(18 * var(--u));
    background: #fff;
}

.codigo-panel {
    min-height: calc(50 * var(--u));
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.codigo-value {
    font-size: 2rem;
    font-weight: 600;
    color: #17295B;
    letter-spacing: calc(8 * var(--u));
    line-height: 1.1;
}

.time-value {
    font-size: 2rem;
    font-weight: 600;
    color: #17295B;
    line-height: 1.1;
}

    .time-value.expired {
        color: #d64545;
    }

.tiempo-mensaje {
    border-radius: calc(14 * var(--u));
    font-size: 0.93rem;
    font-weight: 700;
    line-height: 1.45;
    background: none;
    color: #4d5a74;
}

    .tiempo-mensaje.error {
        color: #d64545;
        background: none;
    }

    .tiempo-mensaje.success {
        color: #149c5a;
        background: none;
    }

.pasos-panel {
    flex: 1;
    height: auto;
    display: flex;
    flex-direction: column;
}

.paso-item {
    display: flex;
    align-items: center;
    gap: calc(12 * var(--u));
    margin-bottom: calc(16 * var(--u));
    color: var(--primary);
    line-height: 1.5;
}

.paso-numero {
    width: calc(50 * var(--u));
    height: calc(50 * var(--u));
    border-radius: calc(12 * var(--u));
    display: grid;
    place-items: center;
    background: var(--primary);
    color: white;
    font-size: 1.7rem;
    font-weight: 600;
    box-shadow: none;
    flex-shrink: 0;
}

@media (max-width: 1000px) {
    .pagar-card {
        padding: 18px;
        border-radius: 0px;
    }

    .pagar-layout {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    /* Permite que los hijos de las columnas se reordenen libremente */
    .left-column,
    .right-column {
        display: contents;
    }

    .order-mobile-1 {
        order: 1;
    }

    .order-mobile-2 {
        order: 2;
    }

    .order-mobile-3 {
        order: 3;
    }

    .order-mobile-4 {
        order: 4;
    }

    .order-mobile-5 {
        order: 5;
    }

    .qr-panel {
        min-height: auto;
    }

    .qr-image {
        width: min(100%, 280px);
    }

    .pasos-panel {
        min-height: auto;
    }

    /* Forzar ancho completo a las cards en mobile/tablet */
    .pagar-layout > *,
    .pagar-layout .codigo-tiempo-row,
    .pagar-layout .monto-panel,
    .pagar-layout .qr-panel,
    .pagar-layout .pasos-panel,
    .pagar-layout .pagar-header {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* -----------------------------------------------------------------------------
   MONTO
   ----------------------------------------------------------------------------- */
.monto-panel {
    text-align: center;
}

.monto-vigencia {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(4 * var(--u));
    line-height: 1;
}

.monto-precio {
    font-size: 2.4rem;
    font-weight: 600;
    color: #17295B;
    line-height: 1;
}

.monto-separador {
    /* Oculto en desktop; aparece solo en mobile como separador inline */
    display: none;
    color: #94a3b8;
    font-weight: 700;
}

.monto-vigencia-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #5b6883;
}

@media (max-width: 1000px) {
    .monto-vigencia {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        justify-content: center;
    }

    .monto-precio {
        font-size: 1.7rem;
    }

    .monto-separador {
        display: inline;
    }

    .monto-vigencia-text {
        font-size: 1rem;
    }
}

/* -----------------------------------------------------------------------------
   FILA CÓDIGO + TIEMPO
   ----------------------------------------------------------------------------- */
.codigo-tiempo-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: calc(16 * var(--u));
}

    .codigo-tiempo-row > .panel {
        margin: 0;
    }

@media (max-width: 1000px) {
    .codigo-tiempo-row {
        gap: 12px;
    }

        .codigo-tiempo-row .codigo-value {
            font-size: 1.4rem;
            letter-spacing: 3px;
        }

        .codigo-tiempo-row .time-value {
            font-size: 1.4rem;
        }

        .codigo-tiempo-row .panel {
            padding: 14px 12px;
        }

        .codigo-tiempo-row .panel-label {
            font-size: 0.82rem;
            margin-bottom: 6px;
        }
}

@media (max-width: 480px) {
    .codigo-tiempo-row .codigo-value {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    .codigo-tiempo-row .time-value {
        font-size: 1.2rem;
    }

    .codigo-tiempo-row .panel {
        padding: 12px 10px;
    }
}

/* -----------------------------------------------------------------------------
   BOTÓN COPIAR CÓDIGO
   ----------------------------------------------------------------------------- */
.codigo-value-wrap {
    display: flex;
    align-items: center;
    gap: calc(10 * var(--u));
    flex-wrap: nowrap;
}

    .codigo-value-wrap .codigo-value {
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.codigo-copy-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: calc(6 * var(--u));
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    border-radius: calc(10 * var(--u));
    padding: calc(8 * var(--u)) calc(10 * var(--u));
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

    .codigo-copy-btn i {
        font-size: 1.05rem;
    }

    .codigo-copy-btn:hover {
        background: #e2e8f0;
        color: #1e293b;
    }

    .codigo-copy-btn:active {
        transform: scale(0.96);
    }

    .codigo-copy-btn.copied {
        background: #dcfce7;
        border-color: #86efac;
        color: #15803d;
    }

        .codigo-copy-btn.copied:hover {
            background: #bbf7d0;
            color: #166534;
        }

.codigo-copy-text {
    font-weight: 700;
}

@media (max-width: 1000px) {
    .codigo-copy-btn {
        padding: 6px 8px;
        font-size: 0.78rem;
    }

        .codigo-copy-btn i {
            font-size: 0.95rem;
        }

        .codigo-copy-btn .codigo-copy-text {
            display: none;
        }
}

/* =============================================================================
   MODALES — BLOQUE 1 ("Antes del pago")
   (se conserva por cascada: aporta padding del modal, header margin, etc.)
   ============================================================================= */
.buy-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 1000;
    animation: fadeIn 0.2s ease;
}

.buy-modal-expirado {
    width: min(94vw, calc(460 * var(--u)));
}

    .buy-modal-expirado .buy-modal-actions {
        justify-content: center;
    }

    .buy-modal-expirado .buy-btn-primary {
        min-width: calc(200 * var(--u));
    }

.buy-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: calc(16 * var(--u));
    padding: calc(28 * var(--u));
    width: 90%;
    max-width: calc(460 * var(--u));
    z-index: 1001;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalIn 0.2s ease;
}

.buy-modal-header {
    display: flex;
    align-items: center;
    gap: calc(14 * var(--u));
    margin-bottom: calc(16 * var(--u));
}

.buy-modal-icon {
    width: calc(48 * var(--u));
    height: calc(48 * var(--u));
    border-radius: calc(12 * var(--u));
    background: rgba(3, 149, 230, 0.12);
    color: #0395e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.buy-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #1e293b;
    font-weight: 600;
}

.buy-modal-body {
    margin-bottom: calc(24 * var(--u));
}

    .buy-modal-body p {
        margin: 0 0 calc(14 * var(--u));
        color: #64748b;
        font-size: 0.9rem;
        line-height: 1.5;
    }

.buy-modal-hint {
    font-size: 0.82rem !important;
    color: #94a3b8 !important;
    margin: 0 !important;
}

.buy-modal-actions {
    display: flex;
    gap: calc(10 * var(--u));
    justify-content: flex-end;
}

.buy-btn-secondary {
    padding: calc(10 * var(--u)) calc(20 * var(--u));
    border-radius: calc(10 * var(--u));
    background: white;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .buy-btn-secondary:hover {
        background: #f8fafc;
        border-color: #cbd5e1;
    }

/* =============================================================================
   BOTÓN PRIMARIO (base, definido en zona de compra)
   ============================================================================= */
.buy-btn-primary {
    width: 100%;
    min-height: calc(52 * var(--u));
    border: none;
    border-radius: calc(8 * var(--u));
    background: #0395e6;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.18s ease, transform 0.18s ease;
    font-family: Inter, Arial, sans-serif;
}

    .buy-btn-primary:hover:not(:disabled) {
        filter: brightness(0.98);
        transform: translateY(-1px);
    }

    .buy-btn-primary:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

@media (max-width: 768px) {
    .buy-btn-primary {
        min-height: 38px;
    }
}

/* =============================================================================
   INPUT BASE (zona de compra) — usado en los campos de corrección
   ============================================================================= */
.buy-input {
    width: 100%;
    min-height: calc(40 * var(--u));
    border-radius: calc(9 * var(--u));
    border: 1px solid #b8c6da;
    background: #ffffff;
    padding: 0 calc(14 * var(--u));
    box-sizing: border-box;
    outline: none;
    font-size: 0.98rem;
    color: #354a6d;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    font-family: Inter, Arial, sans-serif;
}

    .buy-input::placeholder {
        color: #6a7f9f;
    }

    .buy-input:focus {
        border-color: #8fa7c8;
        box-shadow: 0 0 0 3px rgba(143, 167, 200, 0.14);
    }

@media (max-width: 768px) {
    .buy-input {
        min-height: 35px;
        border-radius: 9px;
        border: 1px solid #b8c6da;
        background: #ffffff;
        padding: 0 12px;
        box-sizing: border-box;
        outline: none;
        font-size: 0.8rem;
        color: #354a6d;
        transition: border-color 0.15s ease, box-shadow 0.15s ease;
        font-family: Inter, Arial, sans-serif;
    }
}

/* Wrap + estado válido genérico (zona "Ciudad Selector") */
.buy-input-wrap {
    position: relative;
}

.buy-input-valid {
    border-color: #10b981 !important;
    background: rgba(16, 185, 129, 0.03);
}

.buy-input-check {
    position: absolute;
    right: calc(12 * var(--u));
    top: 50%;
    transform: translateY(-50%);
    color: #10b981;
    font-size: 1.1rem;
    pointer-events: none;
}

/* =============================================================================
   ALERTAS (base, zona de compra)
   ============================================================================= */
.buy-alert {
    width: min(100%, calc(630 * var(--u)));
    margin: 0 auto calc(16 * var(--u));
    border-radius: calc(14 * var(--u));
    padding: calc(12 * var(--u)) calc(14 * var(--u));
    box-sizing: border-box;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.5;
}

.buy-alert-error {
    background: #fff3f3;
    color: #b42318;
    border: 1px solid #f4c7c7;
}

/* =============================================================================
   MODALES — BLOQUE 2 ("Error post-pago")
   Versión más completa; sobrescribe por cascada al bloque 1 donde aplica.
   ============================================================================= */
.buy-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    z-index: 1040;
    animation: buy-modal-fade 180ms ease-out;
}

.buy-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, calc(520 * var(--u)));
    max-height: 90vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: calc(16 * var(--u));
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    animation: buy-modal-pop 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.buy-modal-correccion {
    width: min(94vw, calc(560 * var(--u)));
}

.buy-modal-soporte {
    width: min(92vw, calc(480 * var(--u)));
}

.buy-modal-header {
    display: flex;
    align-items: center;
    gap: calc(14 * var(--u));
    padding: calc(24 * var(--u)) calc(28 * var(--u)) calc(12 * var(--u)) calc(28 * var(--u));
}

    .buy-modal-header h3 {
        margin: 0;
        font-size: 1.15rem;
        font-weight: 700;
        color: #0f172a;
        line-height: 1.3;
    }

.buy-modal-icon {
    flex-shrink: 0;
    width: calc(44 * var(--u));
    height: calc(44 * var(--u));
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.buy-modal-icon-warning {
    background: #fef3c7;
    color: #b45309;
}

.buy-modal-icon-error {
    background: #fee2e2;
    color: #b91c1c;
}

.buy-modal-body {
    padding: calc(8 * var(--u)) calc(28 * var(--u)) calc(20 * var(--u)) calc(28 * var(--u));
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.55;
}

    .buy-modal-body p {
        margin: 0 0 calc(14 * var(--u)) 0;
    }

.buy-modal-hint {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: calc(8 * var(--u)) !important;
}

.buy-modal-actions {
    display: flex;
    gap: calc(10 * var(--u));
    justify-content: flex-end;
    padding: calc(16 * var(--u)) calc(28 * var(--u)) calc(24 * var(--u)) calc(28 * var(--u));
    border-top: 1px solid #f1f5f9;
}

    .buy-modal-actions .buy-btn-primary,
    .buy-modal-actions .buy-btn-secondary {
        min-width: calc(130 * var(--u));
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: calc(6 * var(--u));
    }

@media (max-width: 480px) {
    .buy-modal-actions {
        flex-direction: column-reverse;
    }

        .buy-modal-actions .buy-btn-primary,
        .buy-modal-actions .buy-btn-secondary {
            width: 100%;
        }
}

/* -----------------------------------------------------------------------------
   MODAL DE CORRECCIÓN DE DATOS
   ----------------------------------------------------------------------------- */
.correccion-intentos {
    display: flex;
    align-items: flex-start;
    gap: calc(10 * var(--u));
    padding: calc(10 * var(--u)) calc(14 * var(--u));
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: calc(8 * var(--u));
    font-size: 0.85rem;
    color: #78350f;
    margin-bottom: calc(16 * var(--u));
    line-height: 1.45;
}

    .correccion-intentos i {
        color: #b45309;
        font-size: 1.05rem;
        flex-shrink: 0;
        margin-top: 1px;
    }

    .correccion-intentos strong {
        color: #78350f;
        font-weight: 700;
    }

.correccion-form {
    display: flex;
    flex-direction: column;
    gap: calc(14 * var(--u));
    margin-top: calc(10 * var(--u));
}

.correccion-field {
    display: flex;
    flex-direction: column;
    gap: calc(4 * var(--u));
}

    .correccion-field label {
        font-size: 0.82rem;
        font-weight: 600;
        color: #475569;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

    .correccion-field .buy-input-wrap {
        position: relative;
    }

    .correccion-field .buy-input {
        width: 100%;
        padding: calc(10 * var(--u)) calc(40 * var(--u)) calc(10 * var(--u)) calc(12 * var(--u));
        border: 1.5px solid #e2e8f0;
        border-radius: calc(8 * var(--u));
        font-size: 0.95rem;
        transition: border-color 120ms ease, box-shadow 120ms ease;
        background: #ffffff;
    }

        .correccion-field .buy-input:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
        }

        .correccion-field .buy-input.buy-input-valid {
            border-color: #22c55e;
            background: #f0fdf4;
        }

    .correccion-field .buy-input-check {
        position: absolute;
        right: calc(12 * var(--u));
        top: 50%;
        transform: translateY(-50%);
        color: #16a34a;
        font-size: 1.05rem;
        pointer-events: none;
    }

.correccion-error {
    font-size: 0.8rem;
    color: #dc2626;
    min-height: 1em;
}

.correccion-error-hint {
    font-size: 0.8rem;
    color: #64748b;
    font-style: italic;
    min-height: 1em;
}

/* -----------------------------------------------------------------------------
   MODAL DE SOPORTE (WhatsApp)
   ----------------------------------------------------------------------------- */
.soporte-info {
    display: flex;
    align-items: center;
    gap: calc(14 * var(--u));
    padding: calc(14 * var(--u)) calc(16 * var(--u));
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: calc(10 * var(--u));
    margin: calc(12 * var(--u)) 0 calc(16 * var(--u)) 0;
}

    .soporte-info i {
        font-size: 1.7rem;
        color: #16a34a;
        flex-shrink: 0;
    }

    .soporte-info strong {
        display: block;
        font-size: 0.9rem;
        color: #14532d;
        margin-bottom: 2px;
    }

    .soporte-info span {
        display: block;
        font-size: 1rem;
        font-weight: 600;
        color: #166534;
        letter-spacing: 0.02em;
    }

.soporte-detalle {
    font-size: 0.8rem;
    color: #64748b;
    background: #f8fafc;
    border-left: 3px solid #cbd5e1;
    padding: calc(8 * var(--u)) calc(12 * var(--u));
    border-radius: 0 calc(6 * var(--u)) calc(6 * var(--u)) 0;
    margin: calc(12 * var(--u)) 0 !important;
    word-break: break-word;
}

.buy-modal-actions a.buy-btn-primary {
    text-decoration: none;
}

    .buy-modal-actions a.buy-btn-primary:hover {
        text-decoration: none;
    }

/* -----------------------------------------------------------------------------
   ALERTAS (utilidades, sobrescriben padding/borde por cascada)
   ----------------------------------------------------------------------------- */
.buy-alert {
    padding: calc(10 * var(--u)) calc(14 * var(--u));
    border-radius: calc(8 * var(--u));
    font-size: 0.9rem;
    margin-top: calc(10 * var(--u));
}

.buy-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* =============================================================================
   Selector de método de pago (DeUna / Transferencia)
   Pega esto en la hoja de estilos del tema (la misma que define .titulo,
   .bloque-datos-cc-right, .btn-primary, etc.). Color de acento: #064772.
   ============================================================================= */

.metodo-pago-bloque {
    margin-top: 1.5rem;
}

.metodo-pago-grid {
    display: flex;
    flex-direction: column;
    gap: calc(14 * var(--u));
    margin-top: 1rem;
}

.metodo-pago-card {
    display: flex;
    align-items: flex-start;
    gap: calc(12 * var(--u));
    width: 100%;
    text-align: left;
    padding: calc(16 * var(--u));
    border: 2px solid #d7e0ec;
    border-radius: calc(14 * var(--u));
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

    .metodo-pago-card:hover {
        border-color: var(--secondary);
        background: white;
        box-shadow: 0px 0px 3px var(--border-hover);
        
    }

    .metodo-pago-card.selected {
        border-color: var(--primary);
    }

/* Indicador tipo radio */
.metodo-pago-radio {
    flex: 0 0 auto;
    width: calc(20 * var(--u));
    height: calc(20 * var(--u));
    margin-top: 2px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    position: relative;
    transition: border-color 0.15s ease;
}

.metodo-pago-card.selected .metodo-pago-radio {
    border-color: var(--primary);
}

    .metodo-pago-card.selected .metodo-pago-radio::after {
        content: "";
        position: absolute;
        inset: calc(3 * var(--u));
        border-radius: 50%;
        background: var(--primary);
    }

.metodo-pago-info {
    display: flex;
    flex-direction: column;
    gap: calc(4 * var(--u));
    min-width: 0;
}

.metodo-pago-nombre {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
}

.metodo-pago-desc {
    font-size: 0.82rem;
    color: #5f7393;
    line-height: 1.4;
}

/* ============================================================
   Landing – cambios "Cambios y Mejoras de la Web FirmaYa" (sep-2026)
   ============================================================ */

/* 1. Eslogan "en minutos" junto al logo */
.logo-app-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-eslogan {
    color: var(--primary);
    font-size: clamp(calc(20 * var(--u)), min(2vw, 3.6vh), calc(40 * var(--u)));
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    white-space: nowrap;
    /* banner.png tiene ~1.07x su alto de relleno transparente a la derecha: se compensa para pegar el texto al logo */
    margin-left: calc(-10.7vh + 0.8rem);
    animation: fadeIn 1s ease-in-out;
}

@media (max-width: 768px) {
    .logo-eslogan {
        margin-left: calc(-8.56vh + 0.6rem);
    }
}

@media (min-width: 768px) {
    .logo-app-wrap {
        justify-content: flex-start;
    }
}

/* 2. Hero: lista de beneficios, nota y biometría */
.beneficios-landing {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0 0;
    text-align: left;
    animation: fadeIn 1s ease-in-out;
}

    .beneficios-landing li {
        display: flex;
        align-items: flex-start;
        gap: 0.6em;
        color: white;
        font-size: clamp(calc(16 * var(--u)), min(1.35vw, 2.5vh), calc(40 * var(--u)));
        font-weight: 500;
        line-height: 1.4;
        margin-bottom: 0.45em;
    }

        .beneficios-landing li .bi {
            color: var(--secondary);
            flex-shrink: 0;
            margin-top: 0.1em;
        }

.nota-landing {
    color: var(--secondary);
    font-size: clamp(calc(13 * var(--u)), min(1vw, 1.9vh), calc(26 * var(--u)));
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
    margin: 1.4rem 0 1.6rem 0;
    max-width: 46em;
    animation: fadeIn 1s ease-in-out;
}

.hero-biometria {
    position: relative;
    display: inline-block;
    line-height: 0;
}

    .hero-biometria .biometria-overlay {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
    }

.biometria-chip {
    position: absolute;
    left: 50%;
    bottom: 7%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    padding: 0.55em 0.95em;
    border-radius: calc(999 * var(--u));
    background: white;
    color: var(--primary);
    font-size: clamp(calc(12 * var(--u)), min(0.85vw, 1.6vh), calc(20 * var(--u)));
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    animation: fadeIn 1.4s ease-in-out;
}

/* 3 y 5. Subtítulo bajo los títulos de sección */
.subtitulo-landing {
    color: #5b6478;
    font-size: clamp(calc(15 * var(--u)), 1.1vw, calc(22 * var(--u)));
    font-weight: 500;
    text-align: center;
    margin-bottom: 1rem;
}

/* 4. Instituciones destacadas en "Trámites con el Estado" */
.entidad-destacada {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.12em;
    letter-spacing: 0.02em;
}

/* 5. Bloque "Hazlo Fácil y Rápido en 4 pasos" */
.paso-landing {
    position: relative;
    height: 100%;
    text-align: center;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: calc(12 * var(--u));
    padding: 2.4rem 1.4rem 1.6rem 1.4rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: fadeIn 1s ease-in-out;
}

    .paso-landing:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(64, 86, 254, 0.15);
    }

.paso-numero {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(36 * var(--u));
    height: calc(36 * var(--u));
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.paso-icono {
    display: block;
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.paso-titulo {
    color: black;
    font-size: clamp(calc(17 * var(--u)), 1.3vw, calc(28 * var(--u)));
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.paso-texto {
    color: #5b6478;
    font-size: clamp(calc(14 * var(--u)), 0.95vw, calc(19 * var(--u)));
    margin: 0;
}

/* Botón "Compra Ya" sobre fondo claro */
.btn-landing-solid {
    background: var(--primary);
    color: white;
}

    .btn-landing-solid:hover {
        background: var(--button-hover);
        color: white;
    }

/* Contenedores de Bootstrap: su ancho máximo fijo (1320px) también escala */
@media (min-width: 1400px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
        max-width: calc(1320 * var(--u));
    }
}

/* ============================================================
   Header y hero del landing (ajuste móvil / imagen pegada al siguiente bloque)
   ============================================================ */

/* Header sticky: ocupa su propio espacio, así el hero siempre empieza debajo y nunca queda tapado */
.header.header-app {
    position: sticky;
    top: 0;
}

    .header-app > .row {
        align-items: center;
        flex-wrap: nowrap;
        margin: 0;
    }

.nav-app {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 2.5%;
}

.btn-nav-app {
    margin-right: 2%;
    white-space: nowrap;
}

.background.hero-landing {
    margin-top: 0;
}

/* Los enlaces del menú (#Precios, #Usos...) no quedan escondidos bajo el header */
#Inicio, #Precios, #Requisitos, #Usos, #Pasos, #Contacto {
    scroll-margin-top: calc(10vh + 1rem);
}

/* Hero: texto centrado verticalmente, imagen apoyada en el borde inferior (pegada al bloque siguiente) */
.hero-row {
    align-items: stretch !important;
    margin: 0;
}

    .hero-row > .hero-texto {
        align-self: center;
    }

.hero-imagen-col {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}

    .hero-imagen-col .hero-biometria {
        display: block;
        width: 100%;
        /* crece con el ancho de la pantalla, sin superar el alto visible en pantallas anchas y bajas */
        max-width: 85vh;
        margin-top: calc(24 * var(--u));
    }

    .hero-imagen-col .imagen-landing {
        display: block;
        width: 100%;
        height: auto;
    }

/* ----- Móvil ----- */
@media (max-width: 767.98px) {
    .header.header-app {
        min-height: auto;
        padding: 0.5rem 0.25rem;
    }

    .header-app .imagenes {
        height: 52px;
        margin: 0 0 0 -50px; /* compensa el relleno transparente del lado izquierdo del logo */
    }

    .header-app .logo-eslogan {
        font-size: 17px;
        margin-left: calc(-56px + 0.5rem);
    }

    .logo-app-wrap {
        justify-content: flex-start;
        min-width: 0;
    }

    .nav-app {
        flex: 0 0 auto;
        width: auto;
        padding-right: 0.5rem;
    }

    .header-app .btn-nav-app {
        flex-shrink: 0;
        width: max-content !important; /* anula el width: 50% !important global de .btn-secondary en móvil */
        margin: 0 !important;
        min-height: auto;
        padding: 0.45rem 0.8rem;
        font-size: 0.85rem !important;
    }

    #Inicio, #Precios, #Requisitos, #Usos, #Pasos, #Contacto {
        scroll-margin-top: 80px;
    }

    /* Imagen arriba del texto, recortada para enfocar a la persona */
    .hero-imagen-col .hero-biometria {
        position: relative;
        max-width: none;
        margin-top: 0;
        aspect-ratio: 4 / 3;
        overflow: hidden;
    }

        .hero-imagen-col .hero-biometria .imagen-landing,
        .hero-imagen-col .hero-biometria .biometria-overlay {
            position: absolute;
            inset: auto;
            top: -14%;
            left: 6%;
            width: 130%;
            height: auto;
        }

    .hero-row > .hero-texto {
        padding-top: 1.25rem;
    }
}

@media (max-width: 360px) {
    .header-app .logo-eslogan {
        font-size: 15px;
    }

    .btn-nav-app .bi {
        display: none;
    }
}

/* ============================================================
   Barra de navegación compartida (landing, compra, paneles Macro/Micro)
   Uso: <div class="header header-app"> o <div class="headerMenu header-app">
        logo en .logo-app-wrap, botones en .nav-app con clase .btn-nav-app.
        En móvil, los textos con .nav-texto se ocultan y queda solo el ícono.
   ============================================================ */
.header-app {
    position: sticky !important;
    top: 0;
    z-index: 1000;
}

/* La página de compra ya no necesita dejar hueco para un header fijo */
.header-app + div > .bloque-primary {
    margin-top: 6vh;
}

.nav-app {
    gap: calc(8 * var(--u));
}

/* Títulos de texto que usaban .header (Términos y Condiciones): flujo normal, no fijos */
.header.header-texto {
    position: static;
    box-shadow: none;
    padding: 2rem 1rem;
}

@media (max-width: 767.98px) {
    .header-app {
        min-height: auto;
        padding: 0.5rem 0.25rem;
    }

    .nav-app {
        gap: 0.4rem;
    }

    .header-app .btn-nav-app {
        flex-shrink: 0;
        width: max-content !important;
        margin: 0 !important;
        min-height: auto;
        padding: 0.45rem 0.8rem;
        font-size: 0.85rem !important;
    }

    .header-app .btn-transparente.btn-nav-app {
        padding: 0.45rem 0.55rem;
        font-size: 1.15rem !important;
    }

    .header-app .nav-texto {
        display: none;
    }

    .header-app + div > .bloque-primary {
        margin-top: 3vh;
    }
}

/* Con dos botones en pantallas muy angostas, el eslogan cede su espacio */
@media (max-width: 400px) {
    .header-app:has(.btn-nav-app + .btn-nav-app) .logo-eslogan {
        display: none;
    }
}

/* Tercera línea del bloque de precios: "Elige el tiempo que deseas olvidarte al renovar" */
.lema-precios {
    color: var(--primary);
    font-size: clamp(calc(16 * var(--u)), 1.2vw, calc(24 * var(--u)));
    font-weight: 700;
    text-align: center;
    margin-top: 1.25rem;
    margin-bottom: 1rem;
}

/* ===== Promoción: precio anterior tachado (firmas de 1 a 5 años) ===== */
.precio-anterior {
    color: #8a8fa3;
    font-weight: 400;
    margin-right: 0.35rem;
    text-decoration-thickness: 1.5px;
}

.precio-anterior-landing {
    display: block;
    color: #8a8fa3;
    font-size: 0.95rem;
    font-weight: 400;
}

    .precio-anterior-landing s {
        text-decoration-thickness: 1.5px;
    }

.badge-descuento {
    display: inline-block;
    margin-left: 0.4rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background-color: var(--primary);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    vertical-align: middle;
}
