/* /Components/Layout/EmptyLayout.razor.rz.scp.css */
.page[b-6lfdk0lxv8] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

/* ===== Header ===== */
.site-header[b-6lfdk0lxv8] {
    flex: none;
    height: 72px;
    background: var(--card);
    border-bottom: 1px solid var(--accent);
}

.header-inner[b-6lfdk0lxv8] {
    max-width: 1160px;
    height: 100%;
    margin: auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo[b-6lfdk0lxv8] {
    width: 152px;
    height: 40px;
    object-fit: contain;
}

.header-product[b-6lfdk0lxv8] {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: var(--muted-foreground);
}

    .header-product strong[b-6lfdk0lxv8] {
        color: var(--foreground);
        font-family: var(--font-display);
        font-size: 15px;
        padding-right: 14px;
        border-right: 1px solid var(--border);
    }

/* ===== Contenido ===== */
.credito-main[b-6lfdk0lxv8] {
    position: relative;
    flex: 1 0 auto;
    padding: 12px 20px 28px;
    overflow: hidden;
}

/* ===== Footer ===== */
.site-footer[b-6lfdk0lxv8] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 23px 20px;
    background: var(--foreground);
    color: var(--primary-foreground);
    font-size: 10px;
}

@media (min-width: 1600px) {
    .credito-main[b-6lfdk0lxv8] {
        padding-top: 54px;
        padding-bottom: 54px;
    }
}

@media (max-width: 600px) {
    .site-header[b-6lfdk0lxv8] {
        height: 56px;
    }

    .header-inner[b-6lfdk0lxv8] {
        padding: 0 20px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 16px;
    }

    .brand-logo[b-6lfdk0lxv8] {
        width: 116px;
        height: 30px;
    }

    .header-product[b-6lfdk0lxv8] {
        gap: 0;
    }

        .header-product strong[b-6lfdk0lxv8] {
            font-size: 12px;
            padding: 0;
            border: 0;
        }

        .header-product span[b-6lfdk0lxv8] {
            display: none;
        }

    .credito-main[b-6lfdk0lxv8] {
        padding: 14px 12px 20px;
    }

    .site-footer[b-6lfdk0lxv8] {
        padding: 16px 20px;
    }
}

#blazor-error-ui[b-6lfdk0lxv8] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-6lfdk0lxv8] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-hr003bjm4v] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-hr003bjm4v] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


.listado-page[b-hr003bjm4v] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

/* ===== Header ===== */
.site-header[b-hr003bjm4v] {
    flex: none;
    height: 72px;
    background: var(--card);
    border-bottom: 1px solid var(--accent);
}

.header-inner[b-hr003bjm4v] {
    max-width: 1160px;
    height: 100%;
    margin: auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo[b-hr003bjm4v] {
    width: 152px;
    height: 40px;
    object-fit: contain;
}

.header-product[b-hr003bjm4v] {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: var(--muted-foreground);
}

    .header-product strong[b-hr003bjm4v] {
        color: var(--foreground);
        font-family: var(--font-display);
        font-size: 15px;
        padding-right: 14px;
        border-right: 1px solid var(--border);
    }

/* ===== Contenido ===== */
.credito-main[b-hr003bjm4v] {
    position: relative;
    flex: 1 0 auto;
    padding: 12px 20px 28px;
    overflow: hidden;
}

/* ===== Footer ===== */
.site-footer[b-hr003bjm4v] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 23px 20px;
    background: var(--foreground);
    color: var(--primary-foreground);
    font-size: 10px;
}

@media (min-width: 1600px) {
    .credito-main[b-hr003bjm4v] {
        padding-top: 54px;
        padding-bottom: 54px;
    }
}

@media (max-width: 600px) {
    .site-header[b-hr003bjm4v] {
        height: 56px;
    }

    .header-inner[b-hr003bjm4v] {
        padding: 0 20px;
    }

    .brand-logo[b-hr003bjm4v] {
        width: 116px;
        height: 30px;
    }

    .header-product strong[b-hr003bjm4v] {
        display: none;
    }

    .btn-salir span[b-hr003bjm4v] {
        display: none;
    }

    .credito-main[b-hr003bjm4v] {
        padding: 14px 12px 20px;
    }

    .site-footer[b-hr003bjm4v] {
        padding: 16px 20px;
    }
}

/* Filtros de fecha */
.filtros-fecha[b-hr003bjm4v] {
    background: var(--muted);
    border-color: var(--accent) !important;
}

.filtro-periodo[b-hr003bjm4v] {
    width: auto;
    min-width: 160px;
}

.filtro-fecha[b-hr003bjm4v] {
    width: auto;
}

    .filtro-fecha .input-group-text[b-hr003bjm4v] {
        margin: 0;
        background: var(--muted) !important;
        font-size: 13px;
        color: var(--muted-foreground);
    }

.card-header[b-hr003bjm4v]  .filtros-control,
.card-header .filtros-control[b-hr003bjm4v] {
    height: 38px;
    border-color: var(--border);
    border-radius: 6px;
    background-color: var(--card);
    font-size: 14px;
    color: var(--foreground);
}

    .card-header .filtros-control:focus[b-hr003bjm4v] {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px color-mix(in oklch, var(--primary) 10%, transparent);
    }

    .card-header .filtros-control.is-invalid[b-hr003bjm4v] {
        border-color: var(--destructive);
        background-image: none;
    }

@media (max-width: 600px) {
    .buscador[b-hr003bjm4v] {
        min-width: 0;
        flex: 1;
    }

    .card-header > div[b-hr003bjm4v] {
        width: 100%;
    }

    .filtro-periodo[b-hr003bjm4v],
    .filtro-fecha[b-hr003bjm4v] {
        flex: 1 1 100%;
        width: 100%;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-lsgh9tkkvr],
.components-reconnect-repeated-attempt-visible[b-lsgh9tkkvr],
.components-reconnect-failed-visible[b-lsgh9tkkvr],
.components-pause-visible[b-lsgh9tkkvr],
.components-resume-failed-visible[b-lsgh9tkkvr],
.components-rejoining-animation[b-lsgh9tkkvr] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-lsgh9tkkvr],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-lsgh9tkkvr],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-lsgh9tkkvr],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-lsgh9tkkvr],
#components-reconnect-modal.components-reconnect-retrying[b-lsgh9tkkvr],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-lsgh9tkkvr],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-lsgh9tkkvr],
#components-reconnect-modal.components-reconnect-failed[b-lsgh9tkkvr],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-lsgh9tkkvr] {
    display: block;
}


#components-reconnect-modal[b-lsgh9tkkvr] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-lsgh9tkkvr 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-lsgh9tkkvr 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-lsgh9tkkvr 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-lsgh9tkkvr]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-lsgh9tkkvr 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-lsgh9tkkvr {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-lsgh9tkkvr {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-lsgh9tkkvr {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-lsgh9tkkvr] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-lsgh9tkkvr] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-lsgh9tkkvr] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-lsgh9tkkvr] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-lsgh9tkkvr] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-lsgh9tkkvr] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-lsgh9tkkvr] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-lsgh9tkkvr 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-lsgh9tkkvr] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-lsgh9tkkvr {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Fecha/DateRangePicker.razor.rz.scp.css */
.drp[b-n9gtzvmv0l] {
    --drp-accent: #2563eb;
    --drp-accent-soft: #dbeafe;
    --drp-accent-text: #1e40af;
    --drp-border: #e5e7eb;
    --drp-text: #111827;
    --drp-muted: #9ca3af;
    --drp-secondary: #6b7280;
    --drp-hover: #f3f4f6;
    --drp-danger: #dc2626;

    width: 100%;
    max-width: 340px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--drp-border);
    border-radius: 12px;
    font-family: inherit;
    color: var(--drp-text);
    box-sizing: border-box;
}

.drp button[b-n9gtzvmv0l] {
    font: inherit;
    cursor: pointer;
}

.drp-presets[b-n9gtzvmv0l] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 16px;
}

.drp-preset[b-n9gtzvmv0l] {
    height: 36px;
    font-size: 13px;
    background: transparent;
    color: var(--drp-text);
    border: 1px solid var(--drp-border);
    border-radius: 8px;
}

.drp-preset:hover[b-n9gtzvmv0l] { background: var(--drp-hover); }

.drp-preset.is-active[b-n9gtzvmv0l] {
    background: var(--drp-accent-soft);
    color: var(--drp-accent-text);
    border-color: var(--drp-accent);
}

.drp-header[b-n9gtzvmv0l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.drp-month[b-n9gtzvmv0l] {
    font-size: 15px;
    font-weight: 500;
}

.drp-nav[b-n9gtzvmv0l] {
    width: 36px;
    height: 36px;
    font-size: 20px;
    line-height: 1;
    background: transparent;
    color: var(--drp-text);
    border: 1px solid var(--drp-border);
    border-radius: 8px;
}

.drp-nav:hover[b-n9gtzvmv0l] { background: var(--drp-hover); }

.drp-grid[b-n9gtzvmv0l] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 2px 0;
}

.drp-weekdays span[b-n9gtzvmv0l] {
    font-size: 12px;
    color: var(--drp-muted);
    text-align: center;
    padding-bottom: 4px;
}

.drp-day[b-n9gtzvmv0l] {
    height: 40px;
    font-size: 14px;
    background: transparent;
    color: var(--drp-text);
    border: none;
    border-radius: 8px;
}

.drp-day:hover:not(:disabled)[b-n9gtzvmv0l] { background: var(--drp-hover); }

.drp-day.is-outside[b-n9gtzvmv0l] { color: var(--drp-muted); }

.drp-day.is-today[b-n9gtzvmv0l] { box-shadow: inset 0 0 0 1px var(--drp-secondary); }

.drp-day.is-between[b-n9gtzvmv0l] {
    background: var(--drp-accent-soft);
    color: var(--drp-accent-text);
    border-radius: 0;
}

.drp-day.is-start[b-n9gtzvmv0l],
.drp-day.is-end[b-n9gtzvmv0l],
.drp-day.is-start:hover[b-n9gtzvmv0l],
.drp-day.is-end:hover[b-n9gtzvmv0l] {
    background: var(--drp-accent);
    color: #fff;
}

.drp-day.is-edge.is-start[b-n9gtzvmv0l] { border-radius: 8px 0 0 8px; }
.drp-day.is-edge.is-end[b-n9gtzvmv0l] { border-radius: 0 8px 8px 0; }

.drp-day:disabled[b-n9gtzvmv0l] {
    color: var(--drp-border);
    cursor: not-allowed;
}

.drp-footer[b-n9gtzvmv0l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--drp-border);
}

.drp-hint[b-n9gtzvmv0l] {
    font-size: 12px;
    color: var(--drp-secondary);
}

.drp-range[b-n9gtzvmv0l] {
    font-size: 14px;
    font-weight: 500;
}

.drp-apply[b-n9gtzvmv0l] {
    height: 36px;
    padding: 0 16px;
    background: var(--drp-accent);
    color: #fff;
    border: 1px solid var(--drp-accent);
    border-radius: 8px;
}

.drp-apply:hover[b-n9gtzvmv0l] { filter: brightness(0.95); }

.drp-error[b-n9gtzvmv0l] {
    margin-top: 8px;
    font-size: 13px;
    color: var(--drp-danger);
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* Diseño tomado de BaseD/autofacil-express-main/src/styles.css.
   Los tokens (--primary, --highlight, etc.) viven en wwwroot/app.css. */

/* ===== Hero ===== */
.intro[b-zb1bhvka22] {
    position: relative;
    margin-bottom: 16px;
    text-align: center;
    color: var(--foreground);
}

    .intro h1[b-zb1bhvka22] {
        margin: 0 0 10px;
        font-family: var(--font-display);
        font-size: 40px;
        font-weight: 800;
        line-height: 1.12;
    }

        .intro h1 span[b-zb1bhvka22] {
            position: relative;
            display: inline-block;
        }

            .intro h1 span[b-zb1bhvka22]::after {
                content: '';
                position: absolute;
                left: 0;
                right: 0;
                bottom: -5px;
                height: 5px;
                border-radius: 2px;
                background: var(--highlight);
            }

    .intro p[b-zb1bhvka22] {
        margin: 0;
        font-size: 15px;
        line-height: 1.6;
        color: var(--muted-foreground);
    }

/* ===== Card ===== */
.form-card[b-zb1bhvka22] {
    position: relative;
    max-width: 560px;
    margin: auto;
    background: var(--card);
    border: 1px solid var(--accent);
    border-radius: 8px;
    box-shadow: var(--shadow-form);
}

/* ===== Stepper ===== */
.steps[b-zb1bhvka22] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 13px 34px;
    list-style: none;
    background: var(--muted);
    border-bottom: 1px solid var(--accent);
    border-radius: 7px 7px 0 0;
}

.step[b-zb1bhvka22] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    white-space: nowrap;
    color: var(--muted-foreground);
}

    .step.active[b-zb1bhvka22] {
        color: var(--foreground);
        font-weight: 600;
    }

.step-number[b-zb1bhvka22] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 23px;
    height: 23px;
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 10px;
}

    .step-number i[b-zb1bhvka22] {
        font-size: 13px;
        line-height: 1;
    }

.step.active .step-number[b-zb1bhvka22] {
    background: var(--foreground);
    color: var(--primary-foreground);
    border-color: var(--foreground);
}

.step.done .step-number[b-zb1bhvka22] {
    background: var(--highlight);
    border-color: var(--highlight);
    color: var(--foreground);
}

.step-line[b-zb1bhvka22] {
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ===== Formulario ===== */
.form-body[b-zb1bhvka22] {
    padding: 18px 34px 12px;
}

.form-title[b-zb1bhvka22] {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

.form-description[b-zb1bhvka22] {
    margin: 6px 0 14px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted-foreground);
}

.fields[b-zb1bhvka22] {
    display: grid;
    gap: 12px;
}

.name-grid[b-zb1bhvka22] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field[b-zb1bhvka22] {
    min-width: 0;
}

    .field label[b-zb1bhvka22] {
        display: block;
        margin-bottom: 6px;
        font-size: 12px;
        font-weight: 500;
        color: var(--muted-foreground);
    }

        .field label .required[b-zb1bhvka22] {
            margin-left: 2px;
            color: var(--secondary);
        }

/* InputText y ValidationMessage no reciben el atributo de aislamiento: ::deep */
.form-card[b-zb1bhvka22]  .field-input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
    outline: none;
    font-size: 14px;
    color: var(--foreground);
    transition: border-color .15s, box-shadow .15s;
}

    .form-card[b-zb1bhvka22]  .field-input::placeholder {
        color: var(--muted-foreground);
        opacity: .75;
    }

    .form-card[b-zb1bhvka22]  .field-input:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px color-mix(in oklch, var(--primary) 10%, transparent);
    }

    .form-card[b-zb1bhvka22]  .field-input.invalid {
        border-color: var(--destructive);
    }

.form-card[b-zb1bhvka22]  .error-message {
    margin: 7px 0 0;
    font-size: 11px;
    line-height: 1.6;
    color: var(--destructive);
}

.input-with-icon[b-zb1bhvka22] {
    position: relative;
}

    .input-with-icon > i[b-zb1bhvka22] {
        position: absolute;
        top: 16px;
        left: 14px;
        font-size: 16px;
        line-height: 1;
        color: var(--secondary);
    }

    .form-card .input-with-icon[b-zb1bhvka22]  .field-input {
        padding-left: 40px;
    }

/* ===== Teléfono ===== */
.phone-row[b-zb1bhvka22] {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 10px;
}

    .phone-row.con-otro[b-zb1bhvka22] {
        grid-template-columns: 124px 88px minmax(0, 1fr);
    }

.country-picker[b-zb1bhvka22] {
    position: relative;
    min-width: 0;
}

.country-display[b-zb1bhvka22] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    padding: 0 10px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
    font-size: 13px;
    color: var(--foreground);
    cursor: pointer;
    outline: none;
}

.country-picker:focus-within .country-display[b-zb1bhvka22] {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in oklch, var(--primary) 10%, transparent);
}

.country-flag[b-zb1bhvka22] {
    flex-shrink: 0;
    width: 25px;
    height: 17px;
    border-radius: 2px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.country-globe[b-zb1bhvka22] {
    font-size: 16px;
    line-height: 1;
    color: var(--secondary);
}

.country-code[b-zb1bhvka22] {
    white-space: nowrap;
}

.country-chevron[b-zb1bhvka22] {
    flex-shrink: 0;
    font-size: 12px;
    line-height: 1;
    color: var(--secondary);
    opacity: .5;
}

.country-flag[data-pais="+502"][b-zb1bhvka22] { background-image: url("/imagenes/banderas/GT.svg"); }
.country-flag[data-pais="+503"][b-zb1bhvka22] { background-image: url("/imagenes/banderas/SV.svg"); }
.country-flag[data-pais="+504"][b-zb1bhvka22] { background-image: url("/imagenes/banderas/HN.svg"); }
.country-flag[data-pais="+505"][b-zb1bhvka22] { background-image: url("/imagenes/banderas/NI.svg"); }
.country-flag[data-pais="+506"][b-zb1bhvka22] { background-image: url("/imagenes/banderas/CR.svg"); }
.country-flag[data-pais="+507"][b-zb1bhvka22] { background-image: url("/imagenes/banderas/PA.svg"); }

/* Cierra el desplegable al hacer clic fuera */
.country-backdrop[b-zb1bhvka22] {
    position: fixed;
    inset: 0;
    z-index: 40;
}

/* Menú equivalente al SelectContent de BaseD: siempre en el DOM (visibility) para que las banderas ya estén cargadas */
.country-menu[b-zb1bhvka22] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 50;
    min-width: 230px;
    margin: 0;
    padding: 4px;
    list-style: none;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
    color: var(--foreground);
    visibility: hidden;
    opacity: 0;
    transform: scale(.95);
    transform-origin: top left;
    transition: opacity .12s ease, transform .12s ease, visibility 0s linear .12s;
}

    .country-menu.abierto[b-zb1bhvka22] {
        visibility: visible;
        opacity: 1;
        transform: scale(1);
        transition-delay: 0s;
    }

.country-option[b-zb1bhvka22] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 32px 6px 8px;
    border-radius: 4px;
    font-size: 14px;
    cursor: default;
    user-select: none;
}

    .country-option:hover[b-zb1bhvka22],
    .country-option.activo[b-zb1bhvka22] {
        background: var(--accent);
    }

.country-option-code[b-zb1bhvka22] {
    color: var(--muted-foreground);
}

.country-check[b-zb1bhvka22] {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    font-size: 16px;
    line-height: 1;
    visibility: hidden;
}

.country-option.selected .country-check[b-zb1bhvka22] {
    visibility: visible;
}

.codigo-otro-grupo[b-zb1bhvka22] {
    position: relative;
}

.codigo-otro-prefijo[b-zb1bhvka22] {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--muted-foreground);
}

.form-card .codigo-otro-grupo .field-input[b-zb1bhvka22] {
    padding-left: 28px;
}

/* ===== Autorización + captcha ===== */
.legal-block[b-zb1bhvka22] {
    margin-top: 14px;
    margin-bottom: 20px;
    padding-top: 12px;
    border-top: 1px solid var(--accent);
}

.form-card .form-body > .error-message[b-zb1bhvka22] {
    margin-bottom: 10px;
}

.secure-note[b-zb1bhvka22] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 8px 0 0;
    font-size: 10px;
    color: var(--muted-foreground);
}

    .secure-note i[b-zb1bhvka22] {
        font-size: 12px;
        line-height: 1;
        color: var(--secondary);
    }

/* ===== Confirmación ===== */
.confirmation[b-zb1bhvka22] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 558px;
    padding: 50px 34px;
    text-align: center;
}

.confirmation-mark[b-zb1bhvka22] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--highlight);
    color: var(--foreground);
    font-size: 30px;
}

.confirmation h2[b-zb1bhvka22] {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.5;
}

.confirmation p[b-zb1bhvka22] {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--muted-foreground);
}

/* ===== Animaciones ===== */
@keyframes appear-b-zb1bhvka22 {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin-b-zb1bhvka22 {
    to {
        transform: rotate(360deg);
    }
}

.spin[b-zb1bhvka22] {
    animation: spin-b-zb1bhvka22 1s linear infinite;
}

/* Sin "forwards": un transform persistente atraparía el modal (position: fixed) dentro de la card */
@media (prefers-reduced-motion: no-preference) {
    .intro[b-zb1bhvka22],
    .form-card[b-zb1bhvka22] {
        animation: appear-b-zb1bhvka22 .45s ease backwards;
    }

    .form-card[b-zb1bhvka22] {
        animation-delay: .08s;
    }
}

/* ===== Móvil ===== */
@media (max-width: 600px) {
    .intro[b-zb1bhvka22] {
        margin-bottom: 22px;
    }

        .intro h1[b-zb1bhvka22] {
            margin-bottom: 14px;
            font-size: 36px;
        }

        .intro p[b-zb1bhvka22] {
            max-width: 280px;
            margin: auto;
            font-size: 14px;
            line-height: 1.5;
        }

    .steps[b-zb1bhvka22] {
        gap: 9px;
        padding: 11px 18px;
    }

    .step[b-zb1bhvka22] {
        gap: 6px;
        font-size: 10px;
    }

    .step-number[b-zb1bhvka22] {
        flex-shrink: 0;
        width: 21px;
        height: 21px;
    }

    .form-body[b-zb1bhvka22] {
        padding: 18px 18px 16px;
    }

    .form-title[b-zb1bhvka22] {
        margin-bottom: 16px;
        font-size: 20px;
    }

    .form-description[b-zb1bhvka22] {
        display: none;
    }

    .fields[b-zb1bhvka22] {
        gap: 14px;
    }

    .name-grid[b-zb1bhvka22] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 12px;
    }

    .form-card[b-zb1bhvka22]  .field-input {
        height: 44px;
        padding: 0 12px;
        font-size: 16px;
    }

    .input-with-icon > i[b-zb1bhvka22] {
        top: 14px;
    }

    .form-card .input-with-icon[b-zb1bhvka22]  .field-input {
        padding-left: 40px;
    }

    .phone-row[b-zb1bhvka22] {
        grid-template-columns: 108px minmax(0, 1fr);
    }

        .phone-row.con-otro[b-zb1bhvka22] {
            grid-template-columns: 108px 80px minmax(0, 1fr);
        }

    .country-display[b-zb1bhvka22] {
        gap: 6px;
        height: 44px;
        padding: 0 8px;
    }

    .form-card .codigo-otro-grupo .field-input[b-zb1bhvka22] {
        padding-left: 26px;
    }

    .legal-block[b-zb1bhvka22] {
        margin-top: 18px;
        padding-top: 14px;
    }

    .secure-note[b-zb1bhvka22] {
        margin-top: 10px;
    }

    .confirmation[b-zb1bhvka22] {
        min-height: 558px;
        padding: 40px 22px;
    }
}
/* /Components/Pages/Listado.razor.rz.scp.css */
/* Listado: estructura de página + Bootstrap con los tokens de app.css */

.listado-page[b-006lmv49q8] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

/* ===== Header ===== */
.site-header[b-006lmv49q8] {
    flex: none;
    height: 72px;
    padding: 0 20px;
    background: var(--card);
    border-bottom: 1px solid var(--accent);
}

/* Mismo ancho y márgenes que main > .container > .card, para que el header quede alineado con la tabla */
.header-inner[b-006lmv49q8] {
    max-width: 95%;
    height: 100%;
    margin: auto;
    padding: 0 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo[b-006lmv49q8] {
    width: 152px;
    height: 40px;
    object-fit: contain;
}

.header-product[b-006lmv49q8] {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: var(--muted-foreground);
}

    .header-product strong[b-006lmv49q8] {
        color: var(--foreground);
        font-family: var(--font-display);
        font-size: 15px;
        padding-right: 14px;
        border-right: 1px solid var(--border);
    }

/* ===== Botón cerrar sesión ===== */
.btn-salir[b-006lmv49q8] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card);
    color: var(--foreground);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

    .btn-salir i[b-006lmv49q8] {
        font-size: 16px;
        line-height: 1;
    }

    .btn-salir:hover:not(:disabled)[b-006lmv49q8] {
        background: color-mix(in oklch, var(--destructive) 8%, var(--card));
        border-color: color-mix(in oklch, var(--destructive) 55%, var(--card));
        color: var(--destructive);
    }

    .btn-salir:active:not(:disabled)[b-006lmv49q8] {
        background: color-mix(in oklch, var(--destructive) 14%, var(--card));
    }

    .btn-salir:focus-visible[b-006lmv49q8] {
        outline: 0;
        border-color: var(--primary);
        box-shadow: 0 0 0 3px color-mix(in oklch, var(--primary) 18%, transparent);
    }

    .btn-salir:disabled[b-006lmv49q8] {
        opacity: .6;
        cursor: progress;
    }

/* ===== Contenido ===== */
.credito-main[b-006lmv49q8] {
    position: relative;
    flex: 1 0 auto;
    padding: 12px 20px 28px;
    overflow: hidden;
}

.container[b-006lmv49q8] {
    max-width: 95%;
}

/* ===== Footer ===== */
.site-footer[b-006lmv49q8] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 23px 20px;
    background: var(--foreground);
    color: var(--primary-foreground);
    font-size: 10px;
}

/* ===== Card ===== */
/* overflow visible: los desplegables (fechas / país) se abren por encima del cuerpo de la tarjeta */
.card[b-006lmv49q8] {
    background: var(--card);
    border: 1px solid var(--accent) !important;
    border-radius: 8px;
    box-shadow: var(--shadow-form) !important;
}

.card-header[b-006lmv49q8],
.card-footer[b-006lmv49q8] {
    background: var(--card) !important;
    border-color: var(--accent);
}

/* =====================================================================
   Barra de filtros
   Escritorio (≥ 992px):  [ fecha ][ país ][ búsqueda ··········· ][ ↻ Excel ]
   Tablet    (601–991):   [ búsqueda ································· ]
                          [ fecha ][ país ]                  [ ↻ Excel ]
   Móvil     (421–600):   [ búsqueda       ]
                          [ fecha ][ país  ]
                          [ ↻ ][ Excel     ]
   Móvil chico (≤ 420):   todo apilado a una columna
   ===================================================================== */
.filtros[b-006lmv49q8] {
    display: grid;
    grid-template-columns: auto 210px minmax(0, 1fr) auto;
    grid-template-areas: "fecha pais buscar acciones";
    align-items: center;
    gap: 10px;
}

.filtro-fecha[b-006lmv49q8] {
    grid-area: fecha;
}

.filtro-pais[b-006lmv49q8] {
    grid-area: pais;
}

.filtro-buscar[b-006lmv49q8] {
    grid-area: buscar;
}

.filtro-acciones[b-006lmv49q8] {
    grid-area: acciones;
}

.filtro[b-006lmv49q8] {
    position: relative;
    min-width: 0;
}

/* ----- Disparador compartido (fechas y país) ----- */
.filtro-grupo[b-006lmv49q8] {
    display: flex;
    align-items: stretch;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--card);
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .filtro-grupo:focus-within[b-006lmv49q8],
    .filtro-grupo.activo[b-006lmv49q8] {
        border-color: var(--foreground);
    }

    .filtro-grupo:focus-within[b-006lmv49q8] {
        box-shadow: 0 0 0 3px color-mix(in oklch, var(--primary) 10%, transparent);
    }

.filtro-trigger[b-006lmv49q8],
.filtro-limpiar[b-006lmv49q8] {
    display: inline-flex;
    align-items: center;
    border: 0;
    background: transparent;
    color: var(--foreground);
    font-size: 14px;
    cursor: pointer;
}

    .filtro-trigger:focus-visible[b-006lmv49q8],
    .filtro-limpiar:focus-visible[b-006lmv49q8] {
        outline: 0;
    }

    .filtro-trigger:hover[b-006lmv49q8],
    .filtro-limpiar:hover[b-006lmv49q8] {
        background: var(--muted);
    }

.filtro-trigger[b-006lmv49q8] {
    flex: 1 1 auto;
    min-width: 0;
    gap: 8px;
    padding: 0 12px;
    border-radius: 5px;
    text-align: left;
    white-space: nowrap;
}

    .filtro-trigger:not(:last-child)[b-006lmv49q8] {
        border-radius: 5px 0 0 5px;
    }

.filtro-icono[b-006lmv49q8] {
    flex: none;
    color: var(--secondary);
}

.filtro-texto[b-006lmv49q8] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filtro-chevron[b-006lmv49q8] {
    flex: none;
    font-size: 11px;
    color: var(--muted-foreground);
    transition: transform .15s ease;
}

.filtro-trigger[aria-expanded="true"] .filtro-chevron[b-006lmv49q8] {
    transform: rotate(180deg);
}

.filtro-limpiar[b-006lmv49q8] {
    flex: none;
    justify-content: center;
    width: 34px;
    border-left: 1px solid var(--border);
    border-radius: 0 5px 5px 0;
    color: var(--muted-foreground);
    font-size: 12px;
}

    .filtro-limpiar:hover[b-006lmv49q8] {
        color: var(--destructive);
    }

/* Cierra los desplegables al hacer clic fuera */
.filtro-backdrop[b-006lmv49q8] {
    position: fixed;
    inset: 0;
    z-index: 1055;
}

/* ----- Banderas (wwwroot/imagenes/banderas/*.svg) ----- */
.bandera[b-006lmv49q8] {
    flex: none;
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px color-mix(in oklch, var(--foreground) 12%, transparent);
}

/* ----- Menú de países ----- */
.pais-menu[b-006lmv49q8] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 1060;
    min-width: 100%;
    width: max-content;
    padding: 6px;
    border: 1px solid var(--accent);
    border-radius: 10px;
    background: var(--card);
    box-shadow: 0 10px 30px oklch(0.254 0.089 271.3 / 0.16), 0 2px 6px oklch(0.254 0.089 271.3 / 0.08);
}

.pais-opcion[b-006lmv49q8] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 200px;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--foreground);
    font-size: 14px;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

    .pais-opcion:hover[b-006lmv49q8],
    .pais-opcion:focus-visible[b-006lmv49q8] {
        background: var(--muted);
        outline: 0;
    }

    .pais-opcion.seleccionada[b-006lmv49q8] {
        background: var(--accent);
        font-weight: 600;
    }

.pais-opcion-icono[b-006lmv49q8] {
    width: 20px;
    text-align: center;
    color: var(--secondary);
}

.pais-check[b-006lmv49q8] {
    margin-left: auto;
    padding-left: 12px;
    color: var(--foreground);
}

.pais-separador[b-006lmv49q8] {
    height: 1px;
    margin: 4px 2px;
    background: var(--accent);
}

/* ----- Búsqueda ----- */
.filtro-buscar[b-006lmv49q8] {
    min-width: 0;
    flex-wrap: nowrap;
}

    .filtro-buscar .input-group-text[b-006lmv49q8] {
        background: var(--card) !important;
        border-color: var(--border);
        color: var(--secondary);
    }

    .filtro-buscar .form-control[b-006lmv49q8] {
        height: 38px;
        border-color: var(--border);
        font-size: 14px;
        color: var(--foreground);
    }

        .filtro-buscar .form-control:focus[b-006lmv49q8] {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px color-mix(in oklch, var(--primary) 10%, transparent);
        }

/* ----- Acciones ----- */
.filtro-acciones[b-006lmv49q8] {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .filtro-acciones .btn[b-006lmv49q8] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        height: 38px;
        white-space: nowrap;
    }

.btn-icono[b-006lmv49q8] {
    width: 38px;
    padding: 0;
}

/* ===== Calendario de rango ===== */
.rango-popover[b-006lmv49q8] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 1060;
    width: min(268px, calc(100vw - 32px));
    border: 1px solid var(--accent);
    border-radius: 10px;
    background: var(--card);
    box-shadow: 0 10px 30px oklch(0.254 0.089 271.3 / 0.16), 0 2px 6px oklch(0.254 0.089 271.3 / 0.08);
}

    /* Tema y versión compacta del DateRangePicker con los tokens de la app */
    .rango-popover[b-006lmv49q8]  .drp {
        --drp-accent: var(--foreground);
        --drp-accent-soft: var(--accent);
        --drp-accent-text: var(--foreground);
        --drp-border: var(--border);
        --drp-text: var(--foreground);
        --drp-muted: var(--muted-foreground);
        --drp-secondary: var(--muted-foreground);
        --drp-hover: var(--muted);
        --drp-danger: var(--destructive);
        max-width: none;
        padding: 10px;
        border: 0;
        border-radius: 10px;
        font-family: var(--font-sans);
    }

    .rango-popover[b-006lmv49q8]  .drp-presets {
        gap: 5px;
        margin-bottom: 8px;
    }

    .rango-popover[b-006lmv49q8]  .drp-preset {
        height: 26px;
        font-size: 12px;
        border-radius: 6px;
    }

    .rango-popover[b-006lmv49q8]  .drp-header {
        margin-bottom: 2px;
    }

    .rango-popover[b-006lmv49q8]  .drp-month {
        font-size: 13px;
    }

    .rango-popover[b-006lmv49q8]  .drp-nav {
        width: 26px;
        height: 26px;
        font-size: 16px;
        border-radius: 6px;
    }

    .rango-popover[b-006lmv49q8]  .drp-weekdays span {
        padding-bottom: 2px;
        font-size: 11px;
    }

    .rango-popover[b-006lmv49q8]  .drp-grid {
        gap: 1px 0;
    }

    .rango-popover[b-006lmv49q8]  .drp-day {
        height: 30px;
        font-size: 12px;
        border-radius: 6px;
    }

        .rango-popover[b-006lmv49q8]  .drp-day.is-edge.is-start {
            border-radius: 6px 0 0 6px;
        }

        .rango-popover[b-006lmv49q8]  .drp-day.is-edge.is-end {
            border-radius: 0 6px 6px 0;
        }

    .rango-popover[b-006lmv49q8]  .drp-footer {
        margin-top: 6px;
        padding-top: 8px;
    }

    .rango-popover[b-006lmv49q8]  .drp-hint {
        font-size: 11px;
    }

    .rango-popover[b-006lmv49q8]  .drp-range {
        font-size: 12px;
    }

    .rango-popover[b-006lmv49q8]  .drp-apply {
        height: 28px;
        padding: 0 12px;
        font-size: 12px;
        border-radius: 6px;
    }

    .rango-popover[b-006lmv49q8]  .drp-error {
        margin-top: 6px;
        font-size: 12px;
    }

/* ===== Tabla ===== */
.table[b-006lmv49q8] {
    --bs-table-hover-bg: var(--muted);
    font-size: 14px;
    color: var(--foreground);
}

    .table thead th[b-006lmv49q8] {
        padding: 12px 16px;
        background: var(--muted) !important;
        border-bottom: 1px solid var(--accent);
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .04em;
        text-transform: uppercase;
        white-space: nowrap;
        color: var(--muted-foreground);
    }

    .table tbody td[b-006lmv49q8] {
        padding: 12px 16px;
        border-color: var(--accent);
        vertical-align: middle;
    }

.pais-celda[b-006lmv49q8] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ===== Paginación ===== */
.pagination[b-006lmv49q8] {
    gap: 4px;
}

.page-link[b-006lmv49q8] {
    border: 1px solid var(--border);
    border-radius: 6px !important;
    background: var(--card);
    color: var(--foreground);
}

    .page-link:hover[b-006lmv49q8] {
        background: var(--accent);
        color: var(--foreground);
    }

.page-item.active .page-link[b-006lmv49q8] {
    background: var(--foreground);
    border-color: var(--foreground);
    color: var(--primary-foreground);
}

.page-item.disabled .page-link[b-006lmv49q8] {
    opacity: .5;
}

/* ===== Pantallas grandes ===== */
@media (min-width: 1600px) {
    .credito-main[b-006lmv49q8] {
        padding-top: 54px;
        padding-bottom: 54px;
    }
}

/* ===== Tablet: búsqueda arriba a lo ancho, filtros + acciones abajo ===== */
@media (max-width: 991.98px) {
    .filtros[b-006lmv49q8] {
        grid-template-columns: auto 210px minmax(0, 1fr);
        grid-template-areas:
            "buscar buscar buscar"
            "fecha  pais   acciones";
    }

    .filtro-acciones[b-006lmv49q8] {
        justify-self: end;
    }
}

/* ===== Móvil ===== */
@media (max-width: 600px) {
    .site-header[b-006lmv49q8] {
        height: 56px;
        padding: 0 12px;
    }

    .brand-logo[b-006lmv49q8] {
        width: 116px;
        height: 30px;
    }

    .header-product strong[b-006lmv49q8] {
        display: none;
    }

    .btn-salir[b-006lmv49q8] {
        width: 36px;
        padding: 0;
    }

        .btn-salir span:not(.spinner-border)[b-006lmv49q8] {
            display: none;
        }

    .credito-main[b-006lmv49q8] {
        padding: 14px 12px 20px;
    }

    .container[b-006lmv49q8] {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .site-footer[b-006lmv49q8] {
        padding: 16px 20px;
    }

    .filtros[b-006lmv49q8] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "buscar   buscar"
            "fecha    pais"
            "acciones acciones";
        gap: 8px;
    }

    .filtro-acciones[b-006lmv49q8] {
        justify-self: stretch;
    }

        .filtro-acciones .btn-excel[b-006lmv49q8] {
            flex: 1 1 auto;
        }

    /* El país queda en la columna derecha: el menú se alinea a su borde derecho */
    .pais-menu[b-006lmv49q8] {
        left: auto;
        right: 0;
    }

    .filtro-trigger[b-006lmv49q8] {
        padding: 0 10px;
    }

    .card-footer[b-006lmv49q8] {
        justify-content: center !important;
        text-align: center;
    }

    .table thead th[b-006lmv49q8],
    .table tbody td[b-006lmv49q8] {
        padding: 10px 12px;
    }
}

/* ===== Móvil chico: una sola columna ===== */
@media (max-width: 420px) {
    .filtros[b-006lmv49q8] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "buscar"
            "fecha"
            "pais"
            "acciones";
    }

    .pais-menu[b-006lmv49q8] {
        left: 0;
        right: 0;
        width: auto;
    }
}
/* /Components/Pages/Login.razor.rz.scp.css */
/* CSS for Login component */
/* Estilos del login, alineados con Home.razor.css.
   Los tokens (--primary, --highlight, etc.) viven en wwwroot/app.css. */

/* ===== Hero ===== */
.intro[b-pq6pdu9st3] {
    position: relative;
    margin-bottom: 16px;
    text-align: center;
    color: var(--foreground);
}

    .intro h1[b-pq6pdu9st3] {
        margin: 0 0 10px;
        font-family: var(--font-display);
        font-size: 40px;
        font-weight: 800;
        line-height: 1.12;
    }

        .intro h1 span[b-pq6pdu9st3] {
            position: relative;
            display: inline-block;
        }

            .intro h1 span[b-pq6pdu9st3]::after {
                content: '';
                position: absolute;
                left: 0;
                right: 0;
                bottom: -5px;
                height: 5px;
                border-radius: 2px;
                background: var(--highlight);
            }

    .intro p[b-pq6pdu9st3] {
        margin: 0;
        font-size: 15px;
        line-height: 1.6;
        color: var(--muted-foreground);
    }

/* ===== Card ===== */
.form-card[b-pq6pdu9st3] {
    position: relative;
    max-width: 440px;
    margin: auto;
    background: var(--card);
    border: 1px solid var(--accent);
    border-radius: 8px;
    box-shadow: var(--shadow-form);
}

.form-body[b-pq6pdu9st3] {
    padding: 22px 34px 20px;
}

.form-title[b-pq6pdu9st3] {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

.fields[b-pq6pdu9st3] {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
}

.field[b-pq6pdu9st3] {
    min-width: 0;
}

    .field label[b-pq6pdu9st3] {
        display: block;
        margin-bottom: 6px;
        font-size: 12px;
        font-weight: 500;
        color: var(--muted-foreground);
    }

        .field label .required[b-pq6pdu9st3] {
            margin-left: 2px;
            color: var(--secondary);
        }

/* InputText no recibe el atributo de aislamiento: ::deep */
.form-card[b-pq6pdu9st3]  .field-input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 6px;
    outline: none;
    font-size: 14px;
    color: var(--foreground);
    transition: border-color .15s, box-shadow .15s;
}

    .form-card[b-pq6pdu9st3]  .field-input::placeholder {
        color: var(--muted-foreground);
        opacity: .75;
    }

    .form-card[b-pq6pdu9st3]  .field-input:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px color-mix(in oklch, var(--primary) 10%, transparent);
    }

.input-with-icon[b-pq6pdu9st3] {
    position: relative;
}

    .input-with-icon > i[b-pq6pdu9st3] {
        position: absolute;
        top: 16px;
        left: 14px;
        font-size: 16px;
        line-height: 1;
        color: var(--secondary);
    }

.form-card .input-with-icon[b-pq6pdu9st3]  .field-input {
    padding-left: 40px;
}

.error-message[b-pq6pdu9st3] {
    margin: 0 0 12px;
    padding: 9px 12px;
    border-radius: 6px;
    background: color-mix(in oklch, var(--destructive) 8%, transparent);
    font-size: 12px;
    line-height: 1.5;
    color: var(--destructive);
}

/* ===== Animaciones ===== */
@keyframes appear-b-pq6pdu9st3 {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin-b-pq6pdu9st3 {
    to {
        transform: rotate(360deg);
    }
}

.spin[b-pq6pdu9st3] {
    animation: spin-b-pq6pdu9st3 1s linear infinite;
}

@media (prefers-reduced-motion: no-preference) {
    .intro[b-pq6pdu9st3],
    .form-card[b-pq6pdu9st3] {
        animation: appear-b-pq6pdu9st3 .45s ease backwards;
    }

    .form-card[b-pq6pdu9st3] {
        animation-delay: .08s;
    }
}

/* ===== Móvil ===== */
@media (max-width: 600px) {
    .intro h1[b-pq6pdu9st3] {
        margin-bottom: 14px;
        font-size: 36px;
    }

    .intro p[b-pq6pdu9st3] {
        max-width: 280px;
        margin: auto;
        font-size: 14px;
        line-height: 1.5;
    }

    .form-body[b-pq6pdu9st3] {
        padding: 18px 18px 16px;
    }

    .form-card[b-pq6pdu9st3]  .field-input {
        height: 44px;
        padding: 0 12px;
        font-size: 16px;
    }

    .input-with-icon > i[b-pq6pdu9st3] {
        top: 14px;
    }

    .form-card .input-with-icon[b-pq6pdu9st3]  .field-input {
        padding-left: 40px;
    }
}
/* /Components/Shared/AutorizacionCrediticia.razor.rz.scp.css */
/* ===== Consentimiento ===== */
.consent[b-ierf4s6ebh] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 12px 0 14px;
    font-size: 11px;
    line-height: 1.7;
    color: var(--muted-foreground);
    cursor: pointer;
}

    .consent input[b-ierf4s6ebh] {
        appearance: none;
        flex-shrink: 0;
        width: 18px;
        height: 18px;
        margin: 1px 0 0;
        border: 1px solid var(--border);
        border-radius: 3px;
        cursor: pointer;
    }

        .consent input:checked[b-ierf4s6ebh] {
            background: var(--primary);
            border-color: var(--primary);
        }

            .consent input:checked[b-ierf4s6ebh]::after {
                content: '✓';
                display: block;
                color: var(--primary-foreground);
                text-align: center;
                line-height: 16px;
                font-size: 13px;
            }

        .consent input:focus-visible[b-ierf4s6ebh] {
            outline: 2px solid var(--primary);
            outline-offset: 3px;
        }

.terms-link[b-ierf4s6ebh] {
    padding: 0;
    background: none;
    border: 0;
    font: inherit;
    font-weight: 600;
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

    .terms-link:focus-visible[b-ierf4s6ebh] {
        outline: 2px solid var(--ring);
        outline-offset: 2px;
        border-radius: 2px;
    }

/* ===== Modal de términos ===== */
.modal-overlay[b-ierf4s6ebh] {
    position: fixed;
    inset: 0;
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, .8);
    animation: fundido-b-ierf4s6ebh .2s ease;
}

.terms-dialog[b-ierf4s6ebh] {
    position: relative;
    display: grid;
    gap: 16px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    padding: 24px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
    animation: aparecer-modal-b-ierf4s6ebh .2s ease;
}

.terms-title[b-ierf4s6ebh] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    color: var(--foreground);
}

    .terms-title i[b-ierf4s6ebh] {
        font-size: 20px;
        line-height: 1;
        color: var(--secondary);
    }

.modal-cerrar[b-ierf4s6ebh] {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 2px;
    font-size: 16px;
    line-height: 1;
    color: var(--foreground);
    opacity: .7;
    cursor: pointer;
    transition: opacity .15s;
}

    .modal-cerrar:hover[b-ierf4s6ebh] {
        opacity: 1;
    }

    .modal-cerrar:focus-visible[b-ierf4s6ebh] {
        outline: 2px solid var(--ring);
        outline-offset: 2px;
    }

.terms-body[b-ierf4s6ebh] {
    max-height: 55vh;
    padding-right: 16px;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted-foreground);
}

    .terms-body p[b-ierf4s6ebh] {
        margin: 0 0 8px;
        text-align: justify;
    }

.terms-intro[b-ierf4s6ebh] {
    margin-bottom: 10px;
    color: var(--foreground);
}

.terms-section[b-ierf4s6ebh] {
    padding: 12px 0;
    border-top: 1px solid var(--border);
}

    .terms-section:first-of-type[b-ierf4s6ebh] {
        border-top: 0;
    }

    .terms-section h3[b-ierf4s6ebh] {
        margin: 0 0 8px;
        font-size: 14px;
        color: var(--foreground);
    }

.terms-text[b-ierf4s6ebh] {
    text-align: justify;
}

.terms-text p[b-ierf4s6ebh] {
    margin: 0 0 10px;
}

.terms-text ul[b-ierf4s6ebh] {
    margin: 6px 0 12px;
    padding-left: 18px;
}

    .terms-text li[b-ierf4s6ebh] {
        margin-bottom: 6px;
    }

@keyframes fundido-b-ierf4s6ebh {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes aparecer-modal-b-ierf4s6ebh {
    from {
        opacity: 0;
        transform: scale(.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* /Components/Shared/CaptchaGoogle.razor.rz.scp.css */
/* El alto real lo fija recaptcha.js según la escala; 78px es el valor inicial */
.captcha-contenedor[b-m9bgk5spve] {
    width: 100%;
    height: 78px;
    margin-top: 12px;
}

.captcha-widget[b-m9bgk5spve] {
    width: 304px;
    height: 78px;
}
