/* /Components/Layout/Footer.razor.rz.scp.css */
/* =========================
   FOOTER INSTITUCIONAL
========================= */
.gov-footer[b-y8qyaeffx2] {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 20px 0;
    font-size: 12px;
    color: #6b7280;
}

.gov-footer-container[b-y8qyaeffx2] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gov-footer-block[b-y8qyaeffx2] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.4;
}

    .gov-footer-block strong[b-y8qyaeffx2] {
        color: #111827;
        font-size: 12px;
    }

    .gov-footer-block span[b-y8qyaeffx2] {
        color: #6b7280;
        font-size: 11.5px;
    }

@media (max-width: 900px) {
    .gov-footer-container[b-y8qyaeffx2] {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
/* /Components/Layout/Header.razor.rz.scp.css */
/* =========================
   FUENTE GLOBAL
========================= */
/*body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: #f1f5f9;
    color: #1e293b;
    margin: 0;*/ /* 🔥 elimina espacio global */
/*}*/

/* =========================
   HEADER LIMPIO
========================= */
/*.gov-header {
    background: white;
    border-bottom: none;*/ /* ❌ quitamos línea azul */
    /*box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}*/

/* =========================
   CONTENEDOR
========================= */
/*.gov-container {
    max-width: 1400px;
    margin: 0 auto;*/ /* 🔥 sin separación arriba */
    /*padding: 0 40px;
    display: flex;
    align-items: center;
    width: 100%;
}*/

/* =========================
   IZQUIERDA
========================= */
/*.gov-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.gov-logo {
    width: 50px;
}

.gov-title {
    display: flex;
    flex-direction: column;
}

.gov-ministry {
    font-size: 12px;
    color: #0c7c3b;
}

.gov-system {
    font-size: 15px;
    font-weight: 600;
}*/

/* =========================
   ESPACIO CENTRAL
========================= */
/*.gov-center-space {
    flex: 1;
}*/

/* =========================
   DERECHA
========================= */
/*.gov-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 1;
}*/

/* =========================
   BOTONES
========================= */
/*.gov-btn-outline,
.gov-btn-primary {
    padding: 10px;
    border-radius: 12px;
    font-size: 14px;
    cursor: pointer;
    border: none;
}*/

/* OUTLINE */
/*.gov-btn-outline {
    border: 1px solid #cbd5e1;
    background: white;
}

    .gov-btn-outline:hover {
        background: #f1f5f9;
    }*/

/* PRIMARY */
/*.gov-btn-primary {
    background: #2563eb;
    color: white;
}*/

/* =========================
   BOTÓN MOBILE
========================= */
/*.gov-menu-btn {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
}*/

/* =========================
   MOBILE (AQUÍ ESTABA TU PROBLEMA)
========================= */
/*@media (max-width: 768px) {

    .gov-container {
        padding: 10px 16px;
    }

    .gov-center-space {
        display: none;
    }

    .gov-menu-btn {
        display: block;
    }

    .gov-right {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 12px;
        padding: 16px;*/ /* 🔥 MENOS ESPACIO */

        /*border-top: none;*/ /* ❌ quitamos línea azul de aquí también */

        /*box-shadow: 0 8px 20px rgba(0,0,0,0.08);
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: all 0.25s ease;
    }

        .gov-right.show {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

    .gov-btn-outline,
    .gov-btn-primary {
        width: 100%;
        text-align: center;
    }
}*/


/* =========================
   FUENTE GLOBAL
========================= */
body[b-39rokx7gwf] {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: #f1f5f9;
    color: #1e293b;
    margin: 0;
}

/* =========================
   HEADER LIMPIO
========================= */
.gov-header[b-39rokx7gwf] {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

/* =========================
   CONTENEDOR
========================= */
.gov-container[b-39rokx7gwf] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

/* =========================
   IZQUIERDA
========================= */
.gov-left[b-39rokx7gwf] {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.gov-logo[b-39rokx7gwf] {
    width: 50px;
    height: auto;
}

.gov-title[b-39rokx7gwf] {
    display: flex;
    flex-direction: column;
}

.gov-ministry[b-39rokx7gwf] {
    font-size: 12px;
    color: #0c7c3b;
    font-weight: 500;
}

.gov-system[b-39rokx7gwf] {
    font-size: 15px;
    font-weight: 600;
}

/* =========================
   ESPACIO CENTRAL
========================= */
.gov-center-space[b-39rokx7gwf] {
    flex: 1;
}

/* =========================
   DERECHA (MENÚ)
========================= */
.gov-right[b-39rokx7gwf] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 1;
}

/* =========================
   ESTILOS DE BOTONES BASE (OPCIÓN 1)
========================= */
.gov-btn-outline[b-39rokx7gwf],
.gov-btn-primary[b-39rokx7gwf] {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-sizing: border-box;
    white-space: nowrap;
}

/* OUTLINE TRANSFORMAR EN ENLACES SUTILES */
.gov-btn-outline[b-39rokx7gwf] {
    background: transparent;
    color: #475569;
}

    .gov-btn-outline:hover[b-39rokx7gwf] {
        color: #0c7c3b;
        background: #f0fdf4; /* Fondo verde muy suave */
    }

/* BOTÓN DE ACCIÓN PRINCIPAL INSTITUCIONAL */
.gov-btn-primary[b-39rokx7gwf] {
    background: #0c7c3b; /* Verde Agro Rural */
    color: white;
    box-shadow: 0 2px 4px rgba(12, 124, 59, 0.15);
}

    .gov-btn-primary:hover[b-39rokx7gwf] {
        background: #09632f;
        box-shadow: 0 4px 12px rgba(12, 124, 59, 0.3);
    }

/* =========================
   BOTÓN MOBILE
========================= */
.gov-menu-btn[b-39rokx7gwf] {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
    color: #1e293b;
}

/* =========================
   DISEÑO RESPONSIVO (MOBILE)
========================= */
@media (max-width: 768px) {
    .gov-container[b-39rokx7gwf] {
        padding: 0 20px;
    }

    .gov-center-space[b-39rokx7gwf] {
        display: none;
    }

    .gov-menu-btn[b-39rokx7gwf] {
        display: block;
    }

    .gov-right[b-39rokx7gwf] {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 8px;
        padding: 20px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: all 0.25s ease;
        box-sizing: border-box;
    }

        .gov-right.show[b-39rokx7gwf] {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

    .gov-btn-outline[b-39rokx7gwf],
    .gov-btn-primary[b-39rokx7gwf] {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    .gov-btn-outline[b-39rokx7gwf] {
        background: #f8fafc;
    }
}
/* /Components/Layout/InicioMainLayout.razor.rz.scp.css */


/* CONTENEDOR */
/*.gov-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}*/

/* IZQUIERDA */
/*.gov-left {
    display: flex;
    align-items: center;
    gap: 10px;
}*/

/* LOGO */
/*.gov-logo {
    width: 45px;
}*/

/* TITULOS */
/*.gov-title {
    display: flex;
    flex-direction: column;
    font-size: 12px;
}*/

/* DERECHA (DESKTOP) */
/*.gov-right {
    display: flex;
    gap: 10px;
}*/

/* BOTONES */
/*.gov-btn-outline {
    padding: 8px 14px;
    border: 1px solid #0f172a;
    border-radius: 6px;
    text-decoration: none;
    color: #0f172a;
    font-size: 13px;
    transition: all 0.2s ease;
}

    .gov-btn-outline:hover {
        background: #0f172a;
        color: white;
    }*/

/* BOTÓN MENÚ */
/*.gov-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}*/

/* =========================
   📱 MOBILE HEADER
========================= */
/*@media (max-width: 768px) {

    .gov-container {
        flex-wrap: wrap;
    }

    .gov-menu-btn {
        display: block;
    }

    .gov-right {
        width: 100%;
        flex-direction: column;
        display: none;
        margin-top: 10px;
    }

        .gov-right.show {
            display: flex;
        }

    .gov-btn-outline {
        width: 100%;
        text-align: center;
    }

    .gov-title {
        font-size: 11px;
    }
}*/



/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* HEADER / TOPBAR */
.topbar[b-yzhksk25oo] {
    background: #ffffff;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* LOGO Y TÍTULOS */
.gov-left[b-yzhksk25oo] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.gov-logo[b-yzhksk25oo] {
    height: 40px;
    width: auto;
}

.gov-divider[b-yzhksk25oo] {
    width: 1px;
    height: 32px;
    background: #e2e8f0;
}

.gov-title[b-yzhksk25oo] {
    display: flex;
    flex-direction: column;
}

.gov-ministry[b-yzhksk25oo] {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
}

.gov-system[b-yzhksk25oo] {
    font-size: 1rem;
    color: #143d16;
    font-weight: 700;
}

/* MENÚ DE USUARIO */
.user-menu[b-yzhksk25oo] {
    display: flex;
    align-items: center;
    gap: 24px;
}

.session-timer[b-yzhksk25oo] {
    font-size: 0.85rem;
    color: #64748b;
}

.user-info[b-yzhksk25oo] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #1e293b;
}

.user-avatar[b-yzhksk25oo] {
    font-size: 1.2rem;
}

/* RESPONSIVE HEADER */
@media (max-width: 768px) {
    .topbar[b-yzhksk25oo] {
        flex-direction: column;
        gap: 16px;
        padding: 20px 16px;
    }

    .gov-left[b-yzhksk25oo] {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .gov-divider[b-yzhksk25oo] {
        display: none;
    }

    .user-menu[b-yzhksk25oo] {
        width: 100%;
        justify-content: space-between;
        font-size: 0.8rem;
    }
}



/* MODAL BACKDROP (FONDO OSCURO CON DESENFOQUE) */
.modal-backdrop[b-yzhksk25oo] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 61, 22, 0.4); /* Tono verdoso institucional */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(6px);
    animation: fadeIn-b-yzhksk25oo 0.3s ease-out;
}

/* CONTENEDOR DEL MODAL */
.modal-content[b-yzhksk25oo] {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    animation: slideUp-b-yzhksk25oo 0.3s ease-out;
}

    .modal-content h2[b-yzhksk25oo] {
        color: #143d16;
        margin: 0 0 16px 0;
        font-size: 1.5rem;
    }

    .modal-content p[b-yzhksk25oo] {
        color: #64748b;
        margin-bottom: 30px;
        line-height: 1.5;
    }

/* ACCIONES (BOTONES) */
.modal-actions[b-yzhksk25oo] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    /* Sobrescribimos o añadimos estilos de botones dentro del modal */
    .modal-actions .btn[b-yzhksk25oo] {
        padding: 12px 24px;
        font-weight: 600;
        border-radius: 10px;
        transition: all 0.2s ease;
    }

    .modal-actions .btn-primary[b-yzhksk25oo] {
        background: #166534;
        border: none;
        color: white;
    }

        .modal-actions .btn-primary:hover[b-yzhksk25oo] {
            background: #14532d;
            transform: translateY(-2px);
        }

    .modal-actions .btn-secondary[b-yzhksk25oo] {
        background: #f1f5f9;
        border: none;
        color: #475569;
    }

        .modal-actions .btn-secondary:hover[b-yzhksk25oo] {
            background: #e2e8f0;
            color: #1e293b;
        }

/* ANIMACIONES */
@keyframes fadeIn-b-yzhksk25oo {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp-b-yzhksk25oo {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}


.main-wrapper[b-yzhksk25oo] {
    background: radial-gradient(circle at top left, #f1f5f9, transparent 50%), #f8fafc;
}
/* /Components/Layout/Navbar.razor.rz.scp.css */
/* ==========================================================================
   ESTILOS GENERALES Y RESETS
   ========================================================================== */
.dash-container *[b-uwld4ltydb] {
    box-sizing: border-box;
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    transition: all 0.2s ease-in-out;
}

.dash-container[b-uwld4ltydb] {
    min-height: 100vh;
    background-color: #f4f7f6;
    display: flex;
    flex-direction: column;
}

/* TOPBAR INSTITUCIONAL */
.topbar[b-uwld4ltydb] {
    background: linear-gradient(135deg, #15803d 0%, #09800f 100%);
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.gov-left[b-uwld4ltydb] {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gov-logo[b-uwld4ltydb] {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.gov-divider[b-uwld4ltydb] {
    width: 1px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.25);
}

.gov-title[b-uwld4ltydb] {
    display: flex;
    flex-direction: column;
}

.gov-ministry[b-uwld4ltydb] {
    font-size: 0.75rem;
    color: #a7f3d0;
    letter-spacing: 0.02em;
}

.gov-system[b-uwld4ltydb] {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}



/* Menú de Usuario */
.user-menu[b-uwld4ltydb] {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info[b-uwld4ltydb] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.user-avatar[b-uwld4ltydb] {
    font-size: 1.1rem;
}

.user-name[b-uwld4ltydb] {
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-logout[b-uwld4ltydb] {
    background: #dc2626;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.2);
}

    .btn-logout:hover[b-uwld4ltydb] {
        background: #b91c1c;
        box-shadow: 0 4px 8px rgba(220, 38, 38, 0.3);
    }


    
/* RESPONSIVE */
@media (max-width: 1024px) {
    .topbar[b-uwld4ltydb] {
        padding: 14px 24px;
    }

    .dash-content[b-uwld4ltydb] {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .topbar[b-uwld4ltydb] {
        flex-direction: column;
        gap: 16px;
        padding: 20px 16px;
    }

    .gov-left[b-uwld4ltydb] {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .gov-divider[b-uwld4ltydb] {
        display: none;
    }

    .user-menu[b-uwld4ltydb] {
        width: 100%;
        justify-content: space-between;
    }

    .dash-content[b-uwld4ltydb] {
        padding: 16px;
        gap: 20px;
    }

    .tramites-panel[b-uwld4ltydb], .form-wrapper[b-uwld4ltydb] {
        padding: 20px 16px;
    }

    .filtro-item[b-uwld4ltydb] {
        min-width: 100%;
    }

    .btn-buscar[b-uwld4ltydb] {
        width: 100%;
    }

    .ux-grid[b-uwld4ltydb] {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ux-actions[b-uwld4ltydb] {
        flex-direction: column-reverse;
    }

    .ux-button[b-uwld4ltydb], .ux-button-secondary[b-uwld4ltydb] {
        width: 100%;
        text-align: center;
    }
}
/* MODAL BACKDROP (FONDO OSCURO CON DESENFOQUE) */
.modal-backdrop[b-uwld4ltydb] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 61, 22, 0.4); /* Tono verdoso institucional */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(6px);
    animation: fadeIn-b-uwld4ltydb 0.3s ease-out;
}

/* CONTENEDOR DEL MODAL */
.modal-content[b-uwld4ltydb] {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    animation: slideUp-b-uwld4ltydb 0.3s ease-out;
}

    .modal-content h2[b-uwld4ltydb] {
        color: #143d16;
        margin: 0 0 16px 0;
        font-size: 1.5rem;
    }

    .modal-content p[b-uwld4ltydb] {
        color: #64748b;
        margin-bottom: 30px;
        line-height: 1.5;
    }

/* ACCIONES (BOTONES) */
.modal-actions[b-uwld4ltydb] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    /* Sobrescribimos o añadimos estilos de botones dentro del modal */
    .modal-actions .btn[b-uwld4ltydb] {
        padding: 12px 24px;
        font-weight: 600;
        border-radius: 10px;
        transition: all 0.2s ease;
    }

    .modal-actions .btn-primary[b-uwld4ltydb] {
        background: #166534;
        border: none;
        color: white;
    }

        .modal-actions .btn-primary:hover[b-uwld4ltydb] {
            background: #14532d;
            transform: translateY(-2px);
        }

    .modal-actions .btn-secondary[b-uwld4ltydb] {
        background: #f1f5f9;
        border: none;
        color: #475569;
    }

        .modal-actions .btn-secondary:hover[b-uwld4ltydb] {
            background: #e2e8f0;
            color: #1e293b;
        }

/* ANIMACIONES */
@keyframes fadeIn-b-uwld4ltydb {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp-b-uwld4ltydb {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}
/* /Components/Pages/ConsultaExpediente.razor.rz.scp.css */
/* ==========================================================================
   1. RESET Y BASE 
   ========================================================================== */
*[b-923svrkr4m] {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   2. CONTENEDOR Y FONDO DINÁMICO (Efecto Moderno)
   ========================================================================== */
.ux-bg[b-923svrkr4m] {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 16px;
    background: radial-gradient(circle at 10% 20%, rgba(12, 124, 59, 0.06) 0%, transparent 40%), radial-gradient(circle at 90% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 40%), #f8fafc;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.ux-container-centered[b-923svrkr4m] {
    width: 100%;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ==========================================================================
   3. TARJETA PRINCIPAL DEL FORMULARIO
   ========================================================================== */
.ux-card-form[b-923svrkr4m] {
    background: #ffffff;
    padding: 38px;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05), 0 0 1px 1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.ux-header-consulta[b-923svrkr4m] {
    text-align: center;
    margin-bottom: 24px;
}

.ux-title-institucional[b-923svrkr4m] {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #0c7c3b 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Caja de Instrucciones Interactiva */
.ux-instruction-box[b-923svrkr4m] {
    background: linear-gradient(135deg, #f0fdf4 0%, #f8fafc 100%);
    border: 1px solid #d1fae5;
    border-left: 5px solid #0c7c3b;
    padding: 18px 20px;
    border-radius: 12px;
    margin-bottom: 26px;
}

.ux-instruction-title[b-923svrkr4m] {
    font-size: 11px;
    font-weight: 800;
    color: #065f46;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ux-instruction-list[b-923svrkr4m] {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .ux-instruction-list li[b-923svrkr4m] {
        font-size: 13px;
        color: #334155;
        line-height: 1.5;
    }

    .ux-instruction-list strong[b-923svrkr4m] {
        color: #0c7c3b;
        font-weight: 700;
    }

/* Inputs y Selectores de Alto Impacto */
.ux-grid-form-single[b-923svrkr4m] {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ux-field[b-923svrkr4m] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .ux-field label[b-923svrkr4m] {
        font-size: 13px;
        font-weight: 700;
        color: #1e293b;
    }

input[b-923svrkr4m], select[b-923svrkr4m] {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    font-size: 15px;
    color: #0f172a;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

    input:hover[b-923svrkr4m], select:hover[b-923svrkr4m] {
        border-color: #94a3b8;
    }

    input:focus[b-923svrkr4m], select:focus[b-923svrkr4m] {
        background: #ffffff;
        border-color: #0c7c3b;
        box-shadow: 0 0 0 4px rgba(12, 124, 59, 0.12);
        outline: none;
    }

.ux-button-submit[b-923svrkr4m] {
    width: 100%;
    background: linear-gradient(135deg, #0c7c3b 0%, #096330 100%);
    color: white;
    border: none;
    padding: 15px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 8px 20px -4px rgba(12, 124, 59, 0.3);
}

    .ux-button-submit:hover[b-923svrkr4m] {
        transform: translateY(-2px);
        box-shadow: 0 12px 25px -4px rgba(12, 124, 59, 0.4);
    }

/* ==========================================================================
   4. TARJETA DE RESULTADOS (DISEÑO EXPEDIENTE DIGITAL FLOTANTE)
   ========================================================================== */
.ux-result-card[b-923svrkr4m] {
    border-left: 6px solid #0c7c3b;
    background: #ffffff;
    padding: 38px;
    border-radius: 20px;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
}

.ux-result-header-general[b-923svrkr4m] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 18px;
    margin-bottom: 24px;
}

    .ux-result-header-general h2[b-923svrkr4m] {
        font-size: 18px;
        font-weight: 800;
        color: #0f172a;
    }

.ux-subtitle-total[b-923svrkr4m] {
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
    display: block;
}

/* Contenedor dinámico de documentos */
.ux-documents-container[b-923svrkr4m] {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.ux-document-item-box[b-923svrkr4m] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
    transition: all 0.25s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.01);
}

    .ux-document-item-box:hover[b-923svrkr4m] {
        background: #ffffff;
        border-color: #cbd5e1;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    }

.ux-doc-item-header[b-923svrkr4m] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
}

.ux-doc-number[b-923svrkr4m] {
    font-size: 12px;
    font-weight: 800;
    color: #ffffff;
    background: #0c7c3b;
    padding: 5px 12px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Badges de estado con alto contraste visual */
.ux-badge-status[b-923svrkr4m] {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.status-process[b-923svrkr4m] {
    background: #fef3c7;
    color: #b45309;
}

.status-success[b-923svrkr4m] {
    background: #dcfce7;
    color: #166534;
}

/* Grilla interna de datos */
.ux-result-grid[b-923svrkr4m] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.ux-result-item[b-923svrkr4m] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .ux-result-item.full-width[b-923svrkr4m] {
        grid-column: span 2;
    }

.ux-result-label[b-923svrkr4m] {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ux-result-value[b-923svrkr4m] {
    font-size: 14px;
    color: #1e293b;
    font-weight: 500;
    line-height: 1.4;
}

.ux-highlight[b-923svrkr4m] {
    color: #0c7c3b;
    font-weight: 800;
}

.ux-code-text[b-923svrkr4m] {
    font-family: monospace;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    display: inline-block;
    color: #0f172a;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.ux-text-justify[b-923svrkr4m] {
    text-align: justify;
}

/* Caja de ubicación / atención rediseñada */
.ux-current-location-box[b-923svrkr4m] {
    margin-top: 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 18px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.01);
}

.ux-location-label[b-923svrkr4m] {
    font-size: 11px;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ux-location-value[b-923svrkr4m] {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

/* Alerta amigable moderna */
.ux-alert-link[b-923svrkr4m] {
    color: #991b1b;
    background: #fff5f5;
    border: 1px dashed #f87171;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    display: block;
    font-size: 13px;
    line-height: 1.5;
    transition: all 0.2s ease;
}

    .ux-alert-link:hover[b-923svrkr4m] {
        background: #fee2e2;
        transform: scale(1.005);
    }

.ux-link-atencion[b-923svrkr4m] {
    font-size: 13px;
    color: #2563eb;
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    text-decoration: none;
}

    .ux-link-atencion:hover[b-923svrkr4m] {
        text-decoration: underline;
    }

/* Footer / Botón Volver */
.ux-result-footer[b-923svrkr4m] {
    margin-top: 26px;
    display: flex;
    justify-content: flex-start;
}

.ux-button-back[b-923svrkr4m] {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

    .ux-button-back:hover[b-923svrkr4m] {
        background: #e2e8f0;
        color: #0f172a;
        transform: translateX(-2px);
    }

/* Animación de entrada fluida */
.animate-fade-in[b-923svrkr4m] {
    animation: fadeIn-b-923svrkr4m 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn-b-923svrkr4m {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   5. RESPONSIVO PERFECTO (Móviles, Tablets y PC)
   ========================================================================== */
@media (max-width: 640px) {
    .ux-bg[b-923svrkr4m] {
        padding: 20px 10px;
    }

    .ux-card-form[b-923svrkr4m], .ux-result-card[b-923svrkr4m] {
        padding: 24px 18px;
        border-radius: 14px;
    }

    .ux-result-grid[b-923svrkr4m] {
        grid-template-columns: 1fr;
    }

    .ux-result-item.full-width[b-923svrkr4m] {
        grid-column: span 1;
    }

    .ux-result-header-general[b-923svrkr4m] {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    input[b-923svrkr4m], select[b-923svrkr4m] {
        font-size: 16px; /* Evita zoom automático en celulares al hacer foco */
    }
}
/* /Components/Pages/EditarTramite.razor.rz.scp.css */
/* ==========================================================================
       ESTILOS GENERALES Y LAYOUT RESPONSIVE
       ========================================================================== */
.ux-bg-t[b-hf17ukhkei] {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    background-color: #f8fafc;
    box-sizing: border-box;
}

.ux-container-t[b-hf17ukhkei] {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.ux-hero-t h1[b-hf17ukhkei] {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin: 0;
    word-break: break-word;
}

.ux-badge-top-t[b-hf17ukhkei] {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 8px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* Tarjeta Formulario Premium */
.ux-card-form[b-hf17ukhkei] {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

    .ux-card-form h2[b-hf17ukhkei] {
        font-size: 0.85rem;
        font-weight: 800;
        color: #0c7c3b;
        margin-bottom: 32px;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        gap: 12px;
    }

        .ux-card-form h2[b-hf17ukhkei]::after {
            content: "";
            flex: 1;
            height: 1px;
            background: #e2e8f0;
        }

/* Grid de Formulario Responsivo */
.form-grid-t[b-hf17ukhkei] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.form-group-t label[b-hf17ukhkei] {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
    display: block;
}

.form-group-t input[b-hf17ukhkei],
.form-group-t select[b-hf17ukhkei],
.form-group-t textarea[b-hf17ukhkei] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    background: #ffffff;
    transition: all 0.2s ease;
    font-family: inherit;
    box-sizing: border-box;
}

    .form-group-t input:focus[b-hf17ukhkei],
    .form-group-t select:focus[b-hf17ukhkei],
    .form-group-t textarea:focus[b-hf17ukhkei] {
        border-color: #0c7c3b;
        box-shadow: 0 0 0 3px rgba(12, 124, 59, 0.1);
        outline: none;
    }

    .form-group-t input:disabled[b-hf17ukhkei] {
        background: #f1f5f9;
        cursor: not-allowed;
    }

.estado-display[b-hf17ukhkei] {
    padding: 12px 16px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-weight: 600;
    color: #334155;
    font-size: 14px;
    box-sizing: border-box;
}

/* Botones y Acciones */
.ux-actions-fixed[b-hf17ukhkei] {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 20px;
}

.ux-button[b-hf17ukhkei] {
    background: #0c7c3b;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
    box-sizing: border-box;
}

    .ux-button:hover[b-hf17ukhkei] {
        background: #09632f;
    }

.ux-button-secondary[b-hf17ukhkei] {
    background: #ffffff;
    color: #64748b;
    border: 1px solid #cbd5e1;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    box-sizing: border-box;
}

.span-two[b-hf17ukhkei] {
    grid-column: span 2;
}

.ux-actions-section[b-hf17ukhkei] {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.ux-button-small[b-hf17ukhkei] {
    background: #e2e8f0;
    color: #475569;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

    .ux-button-small:hover[b-hf17ukhkei] {
        background: #cbd5e1;
        color: #1e293b;
    }

/* Tablas Responsivas */
.ux-table-wrapper[b-hf17ukhkei] {
    width: 100%;
    overflow-x: auto;
    margin-top: 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.ux-table[b-hf17ukhkei] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
    min-width: 450px;
}

    .ux-table th[b-hf17ukhkei],
    .ux-table td[b-hf17ukhkei] {
        padding: 12px 14px;
        border-bottom: 1px solid #e2e8f0;
    }

    .ux-table th[b-hf17ukhkei] {
        background: #f1f5f9;
        font-weight: 600;
        color: #475569;
    }

    .ux-table tbody tr:last-child td[b-hf17ukhkei] {
        border-bottom: none;
    }

.table-actions-group[b-hf17ukhkei] {
    display: flex;
    gap: 6px;
    align-items: center;
}

.btn-delete[b-hf17ukhkei] {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

    .btn-delete:hover[b-hf17ukhkei] {
        background: #fee2e2;
    }

.ux-empty[b-hf17ukhkei] {
    text-align: center;
    color: #94a3b8;
    padding: 30px !important;
}

/* Inputs de RUC y Grupos de Validación */
.ux-input-group[b-hf17ukhkei] {
    display: flex;
    gap: 8px;
    align-items: center;
}

    .ux-input-group input[b-hf17ukhkei] {
        flex: 1;
        border-top-right-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

.ux-btn-action[b-hf17ukhkei] {
    background: #0c7c3b;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

    .ux-btn-action:hover[b-hf17ukhkei] {
        background: #09632f;
    }

.ruc-feedback[b-hf17ukhkei] {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.text-success[b-hf17ukhkei] {
    color: #0c7c3b;
}

.text-error[b-hf17ukhkei] {
    color: #ef4444;
}

.file-label-btn[b-hf17ukhkei] {
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.file-selected-alert[b-hf17ukhkei] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #e8f5e9;
    padding: 10px;
    border-radius: 6px;
    flex-wrap: wrap;
    gap: 8px;
}

.btn-quitar-archivo[b-hf17ukhkei] {
    padding: 2px 8px;
    font-size: 11px;
    background: #ff5252;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* ==========================================================================
       MEDIA QUERIES PARA ADAPTABILIDAD MÓVIL (MÁX 768px)
       ========================================================================== */
@media (max-width: 768px) {
    .ux-bg-t[b-hf17ukhkei] {
        padding: 15px 10px;
    }

    .ux-card-form[b-hf17ukhkei] {
        padding: 20px 15px;
        border-radius: 12px;
    }

    .ux-hero-t h1[b-hf17ukhkei] {
        font-size: 20px;
    }

    .form-grid-t[b-hf17ukhkei] {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .span-two[b-hf17ukhkei] {
        grid-column: span 1;
    }

    .ux-actions-fixed[b-hf17ukhkei] {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .ux-button[b-hf17ukhkei],
    .ux-button-secondary[b-hf17ukhkei] {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    .ux-input-group[b-hf17ukhkei] {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

        .ux-input-group input[b-hf17ukhkei] {
            border-radius: 10px !important;
        }

    .ux-btn-action[b-hf17ukhkei] {
        width: 100%;
        border-radius: 10px !important;
    }

    .file-selected-alert[b-hf17ukhkei] {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* ==========================================================================
   1. RESET, BASE Y TIPOGRAFÍA
   ========================================================================== */
*[b-5icodrumzi] {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body[b-5icodrumzi] {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: radial-gradient(circle at 8% 12%, rgba(22, 134, 91, .10), transparent 26rem), radial-gradient(circle at 92% 88%, rgba(11, 40, 68, .08), transparent 25rem), #f5f8fb;
    color: #16283c;
}

/* ==========================================================================
   2. ESTRUCTURA Y CONTENEDORES
   ========================================================================== */
.ux-bg[b-5icodrumzi] {
    min-height: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(1.25rem, 3vw, 2.25rem) 20px 1.5rem;
}

.ux-container[b-5icodrumzi] {
    width: 100%;
    max-width: 960px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
}

/* ==========================================================================
   3. HERO / CABECERA
   ========================================================================== */
.ux-hero[b-5icodrumzi] {
    max-width: 670px;
    margin: 0 auto;
    text-align: center;
}

.ux-badge-top[b-5icodrumzi] {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    padding: .38rem .8rem;
    border-radius: 999px;
    background: #e8f6ef;
    color: #0d6945;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .065em;
    margin-bottom: 14px;
    border: 1px solid #b9dfc9;
}

.ux-badge-icon[b-5icodrumzi] {
    display: grid;
    width: 16px;
    height: 16px;
    color: #fff;
    border-radius: 50%;
    background: #16865b;
    font-size: .6rem;
    place-items: center;
}

.ux-hero h1[b-5icodrumzi] {
    font-size: clamp(1.5rem, 3.2vw, 2.3rem);
    font-weight: 800;
    color: #0b2844;
    letter-spacing: -.045em;
    line-height: 1.05;
    margin-bottom: .4rem;
}

    .ux-hero h1 span[b-5icodrumzi] {
        display: block;
        color: #16865b;
    }

.ux-description[b-5icodrumzi] {
    max-width: 520px;
    margin: 0 auto;
    font-size: .85rem;
    color: #607184;
    line-height: 1.4;
}

.ux-benefits[b-5icodrumzi] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .35rem 1rem;
    margin-top: .75rem;
}

.ux-benefit[b-5icodrumzi] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #728296;
    font-size: .66rem;
    font-weight: 500;
}

.ux-benefit-icon[b-5icodrumzi] {
    color: #16865b;
    font-size: .9rem;
    font-weight: 700;
}

/* ==========================================================================
   4. SECCIÓN Y REJILLA DE TARJETAS
   ========================================================================== */
.ux-selection[b-5icodrumzi] {
    margin-top: 1rem;
}

.ux-section-heading[b-5icodrumzi] {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .65rem;
}

.ux-step[b-5icodrumzi] {
    color: #16865b;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .1em;
}

.ux-section-heading h2[b-5icodrumzi] {
    margin: .15rem 0 0;
    color: #0b2844;
    font-size: .98rem;
    font-weight: 700;
    letter-spacing: -.02em;
}

.ux-selection-count[b-5icodrumzi] {
    color: #16865b;
    font-size: .68rem;
    font-weight: 600;
}

.ux-grid[b-5icodrumzi] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
}

/* ==========================================================================
   5. TARJETAS INTERACTIVAS
   ========================================================================== */
.ux-card[b-5icodrumzi] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    min-height: 257px;
    padding: 1.5rem 1.35rem;
    color: inherit;
    text-align: left;
    border: 1px solid #d9e2ec;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 9px 24px rgba(18, 51, 82, .05);
    cursor: pointer;
    font: inherit;
    outline: none;
    overflow: hidden;
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease, background-color .22s ease;
}

    .ux-card:hover[b-5icodrumzi] {
        border-color: #9ad7ba;
        box-shadow: 0 16px 34px rgba(22, 100, 70, .12);
        transform: translateY(-3px);
    }

    .ux-card.active[b-5icodrumzi] {
        border: 2px solid #16865b;
        background: linear-gradient(135deg, #ffffff 55%, #f0faf4);
        box-shadow: 0 16px 34px rgba(22, 134, 91, .14);
    }

.ux-card-check[b-5icodrumzi] {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 22px;
    height: 22px;
    color: #fff;
    border-radius: 50%;
    background: #16865b;
    font-size: .72rem;
    opacity: 0;
    place-items: center;
    transform: scale(.7);
    transition: opacity .2s ease, transform .2s ease;
}

.ux-card.active .ux-card-check[b-5icodrumzi] {
    opacity: 1;
    transform: scale(1);
}

.ux-icon-circle[b-5icodrumzi] {
    display: grid;
    flex: 0 0 auto;
    width: 68px;
    height: 68px;
    border-radius: 18px;
    place-items: center;
    transition: all 0.2s ease;
}

.ux-icon-person[b-5icodrumzi] {
    color: #16865b;
    background: #e8f6ef;
}

.ux-icon-company[b-5icodrumzi] {
    color: #297a55;
    background: #edf8f1;
}

.ux-icon-circle svg[b-5icodrumzi] {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.ux-card-content[b-5icodrumzi] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: .35rem;
    min-width: 0;
}

.ux-card h3[b-5icodrumzi] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b2844;
}

.ux-card p[b-5icodrumzi] {
    font-size: .82rem;
    color: #607184;
    line-height: 1.4;
    margin: 0;
}

.ux-card-arrow[b-5icodrumzi] {
    align-self: flex-end;
    color: #9aaaba;
    font-size: 1.45rem;
    transition: color .2s ease, transform .2s ease;
}

.ux-card:hover .ux-card-arrow[b-5icodrumzi],
.ux-card.active .ux-card-arrow[b-5icodrumzi] {
    color: #16865b;
    transform: translateX(3px);
}

/* ==========================================================================
   6. ZONA DE ACCIONES Y BOTÓN PRINCIPAL
   ========================================================================== */
.ux-action-area[b-5icodrumzi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: .5rem;
}

.ux-helper[b-5icodrumzi] {
    margin: 0;
    color: #7b8998;
    font-size: .75rem;
}

.ux-helper-ready[b-5icodrumzi] {
    color: #16865b;
    font-weight: 400; /* Asegura que no tenga negrita */
}

.ux-button[b-5icodrumzi] {
    background: #16865b;
    color: #ffffff;
    border: none;
    padding: .76rem 1.5rem;
    font-size: .85rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    min-width: 180px;
    box-shadow: 0 8px 18px rgba(22, 134, 91, .22);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

    .ux-button:hover:not(.disabled)[b-5icodrumzi] {
        background: #0d6945;
        transform: translateY(-2px);
        box-shadow: 0 11px 23px rgba(22, 134, 91, .3);
    }

    .ux-button:active:not(.disabled)[b-5icodrumzi] {
        transform: translateY(-1px);
    }

    .ux-button.disabled[b-5icodrumzi] {
        background: #e4eae6;
        color: #a7b4c0;
        cursor: not-allowed;
        box-shadow: none;
    }

/* ==========================================================================
   7. FOOTER INSTITUCIONAL
   ========================================================================== */
.ux-footer[b-5icodrumzi] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    margin-top: .5rem;
    color: #8a99a8;
    font-size: .66rem;
}

.ux-lock[b-5icodrumzi] {
    color: #16865b;
}

/* ==========================================================================
   8. MEDIA QUERIES (Responsivo Adaptable)
   ========================================================================== */
@media (max-width: 768px) {
    .ux-bg[b-5icodrumzi] {
        padding: 20px 16px;
    }

    .ux-grid[b-5icodrumzi] {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ux-card[b-5icodrumzi] {
        padding: 1.25rem;
    }

    .ux-action-area[b-5icodrumzi] {
        align-items: stretch;
        flex-direction: column;
    }

    .ux-button[b-5icodrumzi] {
        width: 100%;
        text-align: center;
    }

    .ux-helper[b-5icodrumzi] {
        text-align: center;
    }

    .ux-section-heading[b-5icodrumzi] {
        align-items: flex-start;
        flex-direction: column;
        gap: .35rem;
    }
}
/* /Components/Pages/InicioJuridica.razor.rz.scp.css */
/* ==========================================================================
   1. RESET / BASE / TIPOGRAFÍA
   ========================================================================== */
*[b-z7qvur1np6] {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body[b-z7qvur1np6] {
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background: #f1f5f9;
}

/* ==========================================================================
   2. ESTRUCTURA Y CONTENEDORES
   ========================================================================== */
.ux-bg[b-z7qvur1np6] {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    background: radial-gradient(circle at 10% 10%, rgba(59,130,246,0.08), transparent 40%), radial-gradient(circle at 90% 90%, rgba(12,124,59,0.08), transparent 40%), #f1f5f9;
}

.ux-container[b-z7qvur1np6] {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 40px;
}

/* ==========================================================================
   3. HEADER
   ========================================================================== */
.ux-header[b-z7qvur1np6] {
    text-align: center;
    margin-bottom: 10px;
}

.ux-badge-top[b-z7qvur1np6] {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 6px;
    background: #ffffff;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.ux-header h1[b-z7qvur1np6] {
    font-size: clamp(22px, 5vw, 32px);
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.ux-description[b-z7qvur1np6] {
    font-size: 14px;
    color: #64748b;
    max-width: 600px;
    margin: 8px auto 0;
    line-height: 1.5;
}

/* ==========================================================================
   4. TARJETAS DEL FORMULARIO (CARDS)
   ========================================================================== */
.ux-card-form[b-z7qvur1np6] {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .ux-card-form h2[b-z7qvur1np6] {
        font-size: 16px;
        font-weight: 700;
        color: #0c7c3b; /* Identidad Institucional Verde */
        margin-bottom: 20px;
        letter-spacing: 0.5px;
        border-bottom: 2px solid #e2e8f0;
        padding-bottom: 8px;
    }

/* ==========================================================================
   5. GRID RESPONSIVO DEL FORMULARIO
   ========================================================================== */
.ux-grid-form[b-z7qvur1np6] {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Por defecto 2 columnas en PC */
    gap: 18px;
}

.ux-field[b-z7qvur1np6] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    /* Clases utilitarias de expansión en el Grid */
    .ux-field.full[b-z7qvur1np6],
    .full-width[b-z7qvur1np6] {
        grid-column: span 2;
    }

.ux-field-button[b-z7qvur1np6] {
    display: flex;
    align-items: flex-end; /* Alinea el botón perfectamente abajo con los inputs */
}

/* Labels e indicaciones */
.ux-field label[b-z7qvur1np6] {
    font-size: 13px;
    font-weight: 500;
    color: #334155;
}

.ux-file-hint[b-z7qvur1np6] {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
    line-height: 1.4;
}

/* Contenedor que agrupa input y botón en la misma línea */
.ux-input-group[b-z7qvur1np6] {
    display: flex;
    gap: 8px; /* Espacio entre el input y el botón */
    align-items: center;
}

    /* Ajuste para que el input dentro del grupo ocupe el espacio restante */
    .ux-input-group input[b-z7qvur1np6] {
        flex: 1;
    }

    /* Ajuste para que el botón no se estire excesivamente */
    .ux-input-group .ux-btn-primary[b-z7qvur1np6] {
        width: auto;
        padding-left: 20px;
        padding-right: 20px;
    }



/* ==========================================================================
   6. CONTROLES DE ENTRADA (INPUTS, SELECTS, TEXTAREA)
   ========================================================================== */
input[b-z7qvur1np6],
select[b-z7qvur1np6],
textarea[b-z7qvur1np6] {
    width: 100%;
    padding: 11px 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    font-size: 14px;
    color: #0f172a;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

    input:hover[b-z7qvur1np6],
    select:hover[b-z7qvur1np6],
    textarea:hover[b-z7qvur1np6] {
        border-color: #94a3b8;
    }

    input:focus[b-z7qvur1np6],
    select:focus[b-z7qvur1np6],
    textarea:focus[b-z7qvur1np6] {
        background: white;
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
        outline: none;
    }

    /* Inputs deshabilitados (RENIEC) */
    input:disabled[b-z7qvur1np6] {
        background: #e2e8f0;
        color: #64748b;
        cursor: not-allowed;
        border-color: #cbd5e1;
    }

textarea[b-z7qvur1np6] {
    min-height: 110px;
    resize: vertical;
}

/* ==========================================================================
   7. BOTONES
   ========================================================================== */
.ux-btn-primary[b-z7qvur1np6] {
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .ux-btn-primary:hover[b-z7qvur1np6] {
        background: #1d4ed8;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    }

    .ux-btn-primary:active[b-z7qvur1np6] {
        transform: scale(0.98);
    }

.ux-btn-secondary[b-z7qvur1np6] {
    background: transparent;
    border: 1px solid #0c7c3b;
    color: #0c7c3b;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .ux-btn-secondary:hover[b-z7qvur1np6] {
        background: #0c7c3b;
        color: white;
    }

/* ==========================================================================
   8. TABLAS RESPONSIVAS (ANEXOS)
   ========================================================================== */
.ux-table-wrapper[b-z7qvur1np6] {
    width: 100%;
    overflow-x: auto; /* Permite scroll horizontal en móviles si la tabla es grande */
    margin-top: 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.ux-table[b-z7qvur1np6] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
    min-width: 500px; /* Evita que las columnas se aplasten en mobile */
}

    .ux-table th[b-z7qvur1np6],
    .ux-table td[b-z7qvur1np6] {
        padding: 12px 14px;
        border-bottom: 1px solid #e2e8f0;
    }

    .ux-table th[b-z7qvur1np6] {
        background: #f1f5f9;
        font-weight: 600;
        color: #475569;
    }

    .ux-table tbody tr:last-child td[b-z7qvur1np6] {
        border-bottom: none;
    }

.btn-delete[b-z7qvur1np6] {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

    .btn-delete:hover[b-z7qvur1np6] {
        background: #fee2e2;
    }

.ux-empty[b-z7qvur1np6] {
    text-align: center;
    color: #94a3b8;
    padding: 30px !important;
}

/* ==========================================================================
   9. PREVISUALIZADOR PDF E INPUTS DE ARCHIVOS
   ========================================================================== */
.ux-file-info[b-z7qvur1np6] {
    margin-top: 12px;
    padding: 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    color: #166534;
    font-size: 14px;
    font-weight: 500;
}

.ux-pdf-preview[b-z7qvur1np6] {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
}

    .ux-pdf-preview iframe[b-z7qvur1np6] {
        width: 100%;
        height: 450px;
        border: none;
        display: block;
    }

.hidden-input[b-z7qvur1np6] {
    display: none;
}

.ux-input-url[b-z7qvur1np6] {
    width: 100%;
    margin-top: 10px;
}

/* ==========================================================================
   10. MODAL / VENTANA EMERGENTE DE PREVIEW
   ========================================================================== */
.ux-modal-overlay[b-z7qvur1np6] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.ux-modal-content[b-z7qvur1np6] {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 85vh;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

.ux-close[b-z7qvur1np6] {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ef4444;
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

    .ux-close:hover[b-z7qvur1np6] {
        background: #dc2626;
    }

.ux-iframe-wrapper[b-z7qvur1np6] {
    flex: 1;
    width: 100%;
    height: 100%;
}

    .ux-iframe-wrapper iframe[b-z7qvur1np6] {
        width: 100%;
        height: 100%;
        border: none;
    }

/* ==========================================================================
   11. ESTADOS, NOTAS Y ACCIONES FINALES
   ========================================================================== */
.ux-error[b-z7qvur1np6] {
    color: #dc2626;
    font-size: 13px;
    margin-top: 4px;
    font-weight: 500;
}

.ux-help[b-z7qvur1np6] {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

.ux-divider[b-z7qvur1np6] {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 24px 0;
}

.ux-nota[b-z7qvur1np6] {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.5;
    background: #f8fafc;
    padding: 14px;
    border-left: 4px solid #3b82f6;
    border-radius: 0 8px 8px 0;
}

.ux-actions[b-z7qvur1np6] {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

    .ux-actions .ux-btn-primary[b-z7qvur1np6] {
        width: auto; /* El botón de envío no ocupa todo el ancho en PC */
        min-width: 200px;
    }

/* ==========================================================================
   12. MEDIA QUERIES (DISEÑO RESPONSIVO DE VERDAD)
   ========================================================================== */

/* TABLETS (Pantallas menores a 768px) */
@media (max-width: 768px) {
    .ux-bg[b-z7qvur1np6] {
        padding: 20px 15px;
    }

    .ux-card-form[b-z7qvur1np6] {
        padding: 22px;
    }

    /* Rompemos el grid a 1 sola columna para que los inputs no se aplasten */
    .ux-grid-form[b-z7qvur1np6] {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Forzamos a que todos los campos ocupen el ancho completo */
    .ux-field.full[b-z7qvur1np6],
    .full-width[b-z7qvur1np6],
    .ux-field-button[b-z7qvur1np6] {
        grid-column: span 1;
    }

    .ux-pdf-preview iframe[b-z7qvur1np6] {
        height: 350px; /* Reducimos la altura del preview en tablets */
    }
}

/* CELULARES (Pantallas menores a 480px) */
@media (max-width: 480px) {
    .ux-bg[b-z7qvur1np6] {
        padding: 15px 10px;
    }

    .ux-card-form[b-z7qvur1np6] {
        padding: 16px;
        border-radius: 12px;
    }

    .ux-header h1[b-z7qvur1np6] {
        font-size: 20px;
    }

    .ux-description[b-z7qvur1np6] {
        font-size: 13px;
    }

    input[b-z7qvur1np6], select[b-z7qvur1np6], textarea[b-z7qvur1np6] {
        font-size: 16px; /* Evita que iOS (Safari/iPhone) haga zoom forzado al enfocar */
        padding: 10px 12px;
    }

    /* En celulares, todos los botones se vuelven de ancho completo */
    .ux-btn-primary[b-z7qvur1np6],
    .ux-btn-secondary[b-z7qvur1np6],
    .ux-actions .ux-btn-primary[b-z7qvur1np6] {
        width: 100%;
        text-align: center;
    }

    .ux-modal-content[b-z7qvur1np6] {
        height: 90vh; /* El modal aprovecha más la pantalla vertical */
    }
}

.ux-actions[b-z7qvur1np6] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

.ux-button-secondary[b-z7qvur1np6] {
    background: transparent;
    color: #64748b;
    border: 1px solid #cbd5e1;
    padding: 15px 24px;
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
}

    .ux-button-secondary:hover[b-z7qvur1np6] {
        background: #f1f5f9;
        color: #0f172a;
    }
/* /Components/Pages/InicioNatural.razor.rz.scp.css */
/* ==========================================================================
   1. RESET / BASE / TIPOGRAFÍA
   ========================================================================== */
*[b-py7tcbq0ce] {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body[b-py7tcbq0ce] {
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background: #f1f5f9;
}

/* ==========================================================================
   2. ESTRUCTURA Y CONTENEDORES
   ========================================================================== */
.ux-bg[b-py7tcbq0ce] {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    background: radial-gradient(circle at 10% 10%, rgba(59,130,246,0.08), transparent 40%), radial-gradient(circle at 90% 90%, rgba(12,124,59,0.08), transparent 40%), #f1f5f9;
}

.ux-container[b-py7tcbq0ce] {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 40px;
}

/* ==========================================================================
   3. HEADER
   ========================================================================== */
.ux-header[b-py7tcbq0ce] {
    text-align: center;
    margin-bottom: 10px;
}

.ux-badge-top[b-py7tcbq0ce] {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 6px;
    background: #ffffff;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.ux-header h1[b-py7tcbq0ce] {
    font-size: clamp(22px, 5vw, 32px);
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.ux-description[b-py7tcbq0ce] {
    font-size: 14px;
    color: #64748b;
    max-width: 600px;
    margin: 8px auto 0;
    line-height: 1.5;
}

/* ==========================================================================
   4. TARJETAS DEL FORMULARIO (CARDS)
   ========================================================================== */
.ux-card-form[b-py7tcbq0ce] {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .ux-card-form h2[b-py7tcbq0ce] {
        font-size: 16px;
        font-weight: 700;
        color: #0c7c3b; /* Identidad Institucional Verde */
        margin-bottom: 20px;
        letter-spacing: 0.5px;
        border-bottom: 2px solid #e2e8f0;
        padding-bottom: 8px;
    }

/* ==========================================================================
   5. GRID RESPONSIVO DEL FORMULARIO
   ========================================================================== */
.ux-grid-form[b-py7tcbq0ce] {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Por defecto 2 columnas en PC */
    gap: 18px;
}

.ux-field[b-py7tcbq0ce] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    /* Clases utilitarias de expansión en el Grid */
    .ux-field.full[b-py7tcbq0ce],
    .full-width[b-py7tcbq0ce] {
        grid-column: span 2;
    }

.ux-field-button[b-py7tcbq0ce] {
    display: flex;
    align-items: flex-end; /* Alinea el botón perfectamente abajo con los inputs */
}

/* Labels e indicaciones */
.ux-field label[b-py7tcbq0ce] {
    font-size: 13px;
    font-weight: 500;
    color: #334155;
}

.ux-file-hint[b-py7tcbq0ce] {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
    line-height: 1.4;
}

/* ==========================================================================
   6. CONTROLES DE ENTRADA (INPUTS, SELECTS, TEXTAREA)
   ========================================================================== */
input[b-py7tcbq0ce],
select[b-py7tcbq0ce],
textarea[b-py7tcbq0ce] {
    width: 100%;
    padding: 11px 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    font-size: 14px;
    color: #0f172a;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

    input:hover[b-py7tcbq0ce],
    select:hover[b-py7tcbq0ce],
    textarea:hover[b-py7tcbq0ce] {
        border-color: #94a3b8;
    }

    input:focus[b-py7tcbq0ce],
    select:focus[b-py7tcbq0ce],
    textarea:focus[b-py7tcbq0ce] {
        background: white;
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
        outline: none;
    }

    /* Inputs deshabilitados (RENIEC) */
    input:disabled[b-py7tcbq0ce] {
        background: #e2e8f0;
        color: #64748b;
        cursor: not-allowed;
        border-color: #cbd5e1;
    }

textarea[b-py7tcbq0ce] {
    min-height: 110px;
    resize: vertical;
}

/* ==========================================================================
   7. BOTONES
   ========================================================================== */
.ux-btn-primary[b-py7tcbq0ce] {
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .ux-btn-primary:hover[b-py7tcbq0ce] {
        background: #1d4ed8;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    }

    .ux-btn-primary:active[b-py7tcbq0ce] {
        transform: scale(0.98);
    }

.ux-btn-secondary[b-py7tcbq0ce] {
    background: transparent;
    border: 1px solid #0c7c3b;
    color: #0c7c3b;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .ux-btn-secondary:hover[b-py7tcbq0ce] {
        background: #0c7c3b;
        color: white;
    }

/* ==========================================================================
   8. TABLAS RESPONSIVAS (ANEXOS)
   ========================================================================== */
.ux-table-wrapper[b-py7tcbq0ce] {
    width: 100%;
    overflow-x: auto; /* Permite scroll horizontal en móviles si la tabla es grande */
    margin-top: 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.ux-table[b-py7tcbq0ce] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
    min-width: 500px; /* Evita que las columnas se aplasten en mobile */
}

    .ux-table th[b-py7tcbq0ce],
    .ux-table td[b-py7tcbq0ce] {
        padding: 12px 14px;
        border-bottom: 1px solid #e2e8f0;
    }

    .ux-table th[b-py7tcbq0ce] {
        background: #f1f5f9;
        font-weight: 600;
        color: #475569;
    }

    .ux-table tbody tr:last-child td[b-py7tcbq0ce] {
        border-bottom: none;
    }

.btn-delete[b-py7tcbq0ce] {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

    .btn-delete:hover[b-py7tcbq0ce] {
        background: #fee2e2;
    }

.ux-empty[b-py7tcbq0ce] {
    text-align: center;
    color: #94a3b8;
    padding: 30px !important;
}

/* ==========================================================================
   9. PREVISUALIZADOR PDF E INPUTS DE ARCHIVOS
   ========================================================================== */
.ux-file-info[b-py7tcbq0ce] {
    margin-top: 12px;
    padding: 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    color: #166534;
    font-size: 14px;
    font-weight: 500;
}

.ux-pdf-preview[b-py7tcbq0ce] {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
}

    .ux-pdf-preview iframe[b-py7tcbq0ce] {
        width: 100%;
        height: 450px;
        border: none;
        display: block;
    }

.hidden-input[b-py7tcbq0ce] {
    display: none;
}

.ux-input-url[b-py7tcbq0ce] {
    width: 100%;
    margin-top: 10px;
}

/* ==========================================================================
   10. MODAL / VENTANA EMERGENTE DE PREVIEW
   ========================================================================== */
.ux-modal-overlay[b-py7tcbq0ce] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.ux-modal-content[b-py7tcbq0ce] {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 85vh;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

.ux-close[b-py7tcbq0ce] {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ef4444;
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

    .ux-close:hover[b-py7tcbq0ce] {
        background: #dc2626;
    }

.ux-iframe-wrapper[b-py7tcbq0ce] {
    flex: 1;
    width: 100%;
    height: 100%;
}

    .ux-iframe-wrapper iframe[b-py7tcbq0ce] {
        width: 100%;
        height: 100%;
        border: none;
    }

/* ==========================================================================
   11. ESTADOS, NOTAS Y ACCIONES FINALES
   ========================================================================== */
.ux-error[b-py7tcbq0ce] {
    color: #dc2626;
    font-size: 13px;
    margin-top: 4px;
    font-weight: 500;
}

.ux-help[b-py7tcbq0ce] {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

.ux-divider[b-py7tcbq0ce] {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 24px 0;
}

.ux-nota[b-py7tcbq0ce] {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.5;
    background: #f8fafc;
    padding: 14px;
    border-left: 4px solid #3b82f6;
    border-radius: 0 8px 8px 0;
}

.ux-actions[b-py7tcbq0ce] {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

    .ux-actions .ux-btn-primary[b-py7tcbq0ce] {
        width: auto; /* El botón de envío no ocupa todo el ancho en PC */
        min-width: 200px;
    }

/* ==========================================================================
   12. MEDIA QUERIES (DISEÑO RESPONSIVO DE VERDAD)
   ========================================================================== */

/* TABLETS (Pantallas menores a 768px) */
@media (max-width: 768px) {
    .ux-bg[b-py7tcbq0ce] {
        padding: 20px 15px;
    }

    .ux-card-form[b-py7tcbq0ce] {
        padding: 22px;
    }

    /* Rompemos el grid a 1 sola columna para que los inputs no se aplasten */
    .ux-grid-form[b-py7tcbq0ce] {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Forzamos a que todos los campos ocupen el ancho completo */
    .ux-field.full[b-py7tcbq0ce],
    .full-width[b-py7tcbq0ce],
    .ux-field-button[b-py7tcbq0ce] {
        grid-column: span 1;
    }

    .ux-pdf-preview iframe[b-py7tcbq0ce] {
        height: 350px; /* Reducimos la altura del preview en tablets */
    }
}

/* CELULARES (Pantallas menores a 480px) */
@media (max-width: 480px) {
    .ux-bg[b-py7tcbq0ce] {
        padding: 15px 10px;
    }

    .ux-card-form[b-py7tcbq0ce] {
        padding: 16px;
        border-radius: 12px;
    }

    .ux-header h1[b-py7tcbq0ce] {
        font-size: 20px;
    }

    .ux-description[b-py7tcbq0ce] {
        font-size: 13px;
    }

    input[b-py7tcbq0ce], select[b-py7tcbq0ce], textarea[b-py7tcbq0ce] {
        font-size: 16px; /* Evita que iOS (Safari/iPhone) haga zoom forzado al enfocar */
        padding: 10px 12px;
    }

    /* En celulares, todos los botones se vuelven de ancho completo */
    .ux-btn-primary[b-py7tcbq0ce],
    .ux-btn-secondary[b-py7tcbq0ce],
    .ux-actions .ux-btn-primary[b-py7tcbq0ce] {
        width: 100%;
        text-align: center;
    }

    .ux-modal-content[b-py7tcbq0ce] {
        height: 90vh; /* El modal aprovecha más la pantalla vertical */
    }
}

.ux-actions[b-py7tcbq0ce] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

.ux-button-secondary[b-py7tcbq0ce] {
    background: transparent;
    color: #64748b;
    border: 1px solid #cbd5e1;
    padding: 15px 24px;
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
}

    .ux-button-secondary:hover[b-py7tcbq0ce] {
        background: #f1f5f9;
        color: #0f172a;
    }
/* /Components/Pages/Login.razor.rz.scp.css */
/* ==========================================================================
   DISEÑO NEOCLÁSICO MODERNO - MESA DE PARTES DIGITAL AGRO RURAL
   ========================================================================== */
.neo-login-wrapper *[b-m5l9vkyir2] {
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.neo-login-wrapper[b-m5l9vkyir2] {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #15843f;
    padding: 30px 16px;
    overflow-x: hidden;
}

/* Luces de fondo ambientales difuminadas */
.neo-ambient-glow[b-m5l9vkyir2] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 10% 15%, rgba(12, 124, 59, 0.15) 0%, transparent 45%), radial-gradient(circle at 90% 85%, rgba(37, 99, 235, 0.12) 0%, transparent 45%);
    pointer-events: none;
}

.neo-main-container[b-m5l9vkyir2] {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 960px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

/* ==========================================================================
   PANEL IZQUIERDO
   ========================================================================== */
.neo-left-panel[b-m5l9vkyir2] {
    background: linear-gradient(145deg, #3bb553 0%, #000a01 100%);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.neo-logo[b-m5l9vkyir2] {
    height: 52px;
    width: auto;
    margin-bottom: 24px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.neo-badge-tag[b-m5l9vkyir2] {
    display: inline-block;
    background: rgba(74, 222, 128, 0.12);
    color: #4ade80;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    border: 1px solid rgba(74, 222, 128, 0.25);
}

.neo-left-panel h2[b-m5l9vkyir2] {
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1.35;
    color: #f0fdf4;
    margin-bottom: 16px;
}

    .neo-left-panel h2 strong[b-m5l9vkyir2] {
        font-weight: 700;
        color: #ffffff;
    }

.neo-left-panel p[b-m5l9vkyir2] {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 20px;
    text-align: justify;
}

.neo-info-pill[b-m5l9vkyir2] {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: #e2e8f0;
    margin-bottom: 14px;
}

.neo-alert-box[b-m5l9vkyir2] {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-left: 3px solid #f87171;
    padding: 12px 14px;
    border-radius: 10px;
    display: flex;
    gap: 10px;
    font-size: 0.78rem;
    color: #fca5a5;
    line-height: 1.45;
}

.neo-footer-text[b-m5l9vkyir2] {
    margin-top: 30px;
    font-size: 0.73rem;
    color: #6ee7b7;
    opacity: 0.8;
}

/* ==========================================================================
   PANEL DERECHO (FORMULARIO)
   ========================================================================== */
.neo-right-panel[b-m5l9vkyir2] {
    background: #ffffff;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.neo-logo-mobile[b-m5l9vkyir2] {
    display: none;
    height: 46px;
    margin: 0 auto 20px auto;
}

.neo-form-header[b-m5l9vkyir2] {
    text-align: center;
    margin-bottom: 28px;
}

    .neo-form-header h3[b-m5l9vkyir2] {
        margin: 0 0 4px 0;
        color: #0f172a;
        font-size: 1.6rem;
        font-weight: 800;
        letter-spacing: -0.5px;
    }

    .neo-form-header p[b-m5l9vkyir2] {
        color: #64748b;
        font-size: 0.85rem;
        margin: 0;
    }

/* Alertas dinámicas */
.neo-alert-msg[b-m5l9vkyir2] {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.83rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.msg-error[b-m5l9vkyir2] {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.msg-success[b-m5l9vkyir2] {
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

/* Etiquetas flotantes estilizadas */
.neo-floating-group[b-m5l9vkyir2] {
    margin-bottom: 20px;
}

.neo-input-wrap[b-m5l9vkyir2] {
    position: relative;
    display: flex;
    align-items: center;
}

.neo-input-icon[b-m5l9vkyir2] {
    position: absolute;
    right: 16px;
    font-size: 0.95rem;
    color: #94a3b8;
    pointer-events: none;
}

.neo-input-wrap input[b-m5l9vkyir2] {
    width: 100%;
    padding: 15px 45px 15px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #0f172a;
    background-color: #f8fafc;
    outline: none;
}

.neo-input-wrap label[b-m5l9vkyir2] {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 500;
    pointer-events: none;
    transition: all 0.2s ease-in-out;
}

.neo-input-wrap input:focus ~ label[b-m5l9vkyir2],
.neo-input-wrap input:not(:placeholder-shown) ~ label[b-m5l9vkyir2] {
    top: 0px;
    transform: translateY(-50%) scale(0.82);
    background: #ffffff;
    padding: 0 6px;
    color: #16a34a;
    font-weight: 700;
}

.neo-input-wrap input:focus[b-m5l9vkyir2] {
    border-color: #16a34a;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
}

/* Botón de acceso */
.neo-submit-btn[b-m5l9vkyir2] {
    width: 100%;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(22, 163, 74, 0.25);
    margin-top: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

    .neo-submit-btn:hover[b-m5l9vkyir2] {
        background: linear-gradient(135deg, #15803d 0%, #166534 100%);
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(22, 163, 74, 0.35);
    }

.neo-spinner[b-m5l9vkyir2] {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin-b-m5l9vkyir2 0.7s linear infinite;
}

@keyframes spin-b-m5l9vkyir2 {
    to {
        transform: rotate(360deg);
    }
}

.neo-actions-footer[b-m5l9vkyir2] {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.neo-link-btn[b-m5l9vkyir2] {
    background: none;
    border: none;
    color: #16a34a;
    font-weight: 600;
    font-size: 0.83rem;
    cursor: pointer;
}

    .neo-link-btn:hover[b-m5l9vkyir2] {
        text-decoration: underline;
    }

/* Animaciones */
.animate-fade-in[b-m5l9vkyir2] {
    animation: fadeIn-b-m5l9vkyir2 0.4s ease-out forwards;
}

@keyframes fadeIn-b-m5l9vkyir2 {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   RESPONSIVO PERFECTO (TABLETS Y MÓVILES)
   ========================================================================== */
@media (max-width: 850px) {
    .neo-login-wrapper[b-m5l9vkyir2] {
        padding: 16px 10px;
        background: #ffffff;
    }

    .neo-main-container[b-m5l9vkyir2] {
        grid-template-columns: 1fr;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: transparent;
    }

    .neo-left-panel[b-m5l9vkyir2] {
        display: none; /* Se oculta en móviles para priorizar la usabilidad del login */
    }

    .neo-right-panel[b-m5l9vkyir2] {
        padding: 20px 10px;
    }

    .neo-logo-mobile[b-m5l9vkyir2] {
        display: block; /* Muestra el logo arriba en celulares */
    }

    .neo-input-wrap input[b-m5l9vkyir2] {
        font-size: 16px; /* Previene zoom automático en iOS/Android */
    }
}
/* /Components/Pages/Tramitar.razor.rz.scp.css */
 
/* ==========================================================================
   1. RESET Y ESTRUCTURA GLOBAL DEL DASHBOARD
   ========================================================================== */
.dash-content[b-52twrfpcoc] {
    flex: 1;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;

}

/* Aplícalo al body o al contenedor raíz para que cubra todo */
body[b-52twrfpcoc] {
    margin: 0;
    padding: 0;
    /* Fondo aplicado a toda la pantalla */
    background: radial-gradient(circle at top left, #f1f5f9, transparent 50%), #f8fafc;
    min-height: 100vh;
}

/* ==========================================================================
   2. BIENVENIDA Y TARJETAS DE ACCIÓN
   ========================================================================== */
.welcome-section h2[b-52twrfpcoc] {
    margin: 0 0 6px 0;
    color: #143d16;
    font-size: 1.75rem;
    font-weight: 700;
}

.welcome-section p[b-52twrfpcoc] {
    margin: 0;
    color: #64748b;
    font-size: 1rem;
}

.cards-grid[b-52twrfpcoc] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.action-card[b-52twrfpcoc] {
    border-radius: 16px;
    padding: 32px;
    color: white;
    box-shadow: 0 10px 20px -5px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.card-primary[b-52twrfpcoc] {
    background: linear-gradient(135deg, #15803d 0%, #166534 100%);
}

.card-secondary[b-52twrfpcoc] {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

.card-icon[b-52twrfpcoc] {
    font-size: 2.2rem;
    margin-bottom: 14px;
    display: block;
}

.btn-card[b-52twrfpcoc] {
    background-color: #ffffff;
    border: none;
    padding: 11px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
    margin-top: auto;
}

.card-primary .btn-card[b-52twrfpcoc] {
    color: #166534;
}

.card-secondary .btn-card[b-52twrfpcoc] {
    color: #1e40af;
}

/* ==========================================================================
   3. PANEL DE HISTORIAL Y TABLAS
   ========================================================================== */
.tramites-panel[b-52twrfpcoc] {
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.tramites-header[b-52twrfpcoc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 14px;
}

.badge-count[b-52twrfpcoc] {
    background-color: #f1f5f9;
    color: #475569;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.filtros-container[b-52twrfpcoc] {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filtro-item[b-52twrfpcoc] {
    flex: 1;
    min-width: 220px;
}

.filtros-container input[b-52twrfpcoc], .filtros-container select[b-52twrfpcoc] {
    width: 100%;
    padding: 11px 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
}

.btn-buscar[b-52twrfpcoc] {
    background: #16a34a;
    color: white;
    border: none;
    padding: 11px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.table-responsive[b-52twrfpcoc] {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.custom-table[b-52twrfpcoc] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 700px;
}

    .custom-table th[b-52twrfpcoc] {
        padding: 14px 16px;
        color: #475569;
        font-weight: 600;
        background-color: #f8fafc;
        text-align: left;
    }

    .custom-table td[b-52twrfpcoc] {
        padding: 16px;
        border-bottom: 1px solid #f1f5f9;
    }

.estado[b-52twrfpcoc] {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

    .estado.enviado[b-52twrfpcoc] {
        background-color: #fef3c7;
        color: #d97706;
    }

    .estado.proceso[b-52twrfpcoc] {
        background-color: #e0f2fe;
        color: #0284c7;
    }

    .estado.finalizado[b-52twrfpcoc] {
        background-color: #dcfce7;
        color: #16a34a;
    }

    .estado.observado[b-52twrfpcoc] {
        background-color: #fee2e2;
        color: #dc2626;
    }

/* ==========================================================================
   4. UI SELECTOR (Estilo Premium)
   ========================================================================== */
.ux-bg[b-52twrfpcoc] {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    background: #f8fafc;
}

.ux-container[b-52twrfpcoc] {
    width: 100%;
    max-width: 820px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.ux-grid[b-52twrfpcoc] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.ux-card[b-52twrfpcoc] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 24px;
    cursor: pointer;
    transition: 0.2s;
}

    .ux-card.active[b-52twrfpcoc] {
        border-color: #166534;
        border-width: 2px;
    }

.ux-icon-circle[b-52twrfpcoc] {
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8fafc;
    border-radius: 12px;
    margin-bottom: 24px;
}

.ux-button[b-52twrfpcoc] {
    background: linear-gradient(135deg, #1e3a8a 0%, #0c7c3b 100%);
    color: white;
    border: none;
    padding: 15px 48px;
    border-radius: 10px;
    cursor: pointer;
}

.ux-button-secondary[b-52twrfpcoc] {
    background: transparent;
    color: #64748b;
    border: 1px solid #cbd5e1;
    padding: 15px 24px;
    border-radius: 10px;
    cursor: pointer;
}

/* ANIMACIONES Y RESPONSIVE */
@keyframes fadeIn-b-52twrfpcoc {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-wrapper[b-52twrfpcoc] {
    animation: fadeIn-b-52twrfpcoc 0.4s ease-in-out;
}

@media (max-width: 768px) {
    .ux-grid[b-52twrfpcoc] {
        grid-template-columns: 1fr;
    }

    .dash-content[b-52twrfpcoc] {
        padding: 16px;
    }
}





/* ==========================================================================
  ESTRUCTURA Y CONTENEDORES (Alineación Estricta a la Izquierda)
   ========================================================================== */
.ux-bg-t[b-52twrfpcoc] {
    /*    min-height: 100vh;*/
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background: radial-gradient(circle at top left, #f1f5f9, transparent 50%), #f8fafc;
}

.ux-container-t[b-52twrfpcoc] {
    width: 100%;
    max-width: 820px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: left;
}

.ux-hero-t[b-52twrfpcoc] {
    text-align: left;
}

.ux-badge-top-t[b-52twrfpcoc] {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 6px;
    background: #ffffff;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.ux-hero-t h1[b-52twrfpcoc] {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.ux-description-t[b-52twrfpcoc] {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin-top: 6px;
}


/* ==========================================================================
  REJILLA DE TARJETAS (Grid de 2 Columnas)
   ========================================================================== */
.ux-grid-t[b-52twrfpcoc] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}


/* ==========================================================================
 TARJETAS PREMIUM DE ALTA DEFINICIÓN
   ========================================================================== */
.ux-card-t[b-52twrfpcoc] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 24px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
    box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.02);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

    .ux-card-t:hover[b-52twrfpcoc] {
        border-color: #cbd5e1;
        transform: translateY(-4px);
        box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.06);
    }

    /* --------------------------------------------------------------------------
   ESTADOS ACTIVOS CON BORDES TECNOLÓGICOS Y GLOW SUTIL
   -------------------------------------------------------------------------- */

    /* Perfil 1: InicioNatural (Verde Esmeralda Institucional) */
    .ux-card-t:nth-child(1).active[b-52twrfpcoc] {
        border-color: #0c7c3b;
        border-width: 2px;
        background: #ffffff;
        box-shadow: 0 10px 30px -10px rgba(12, 124, 59, 0.15);
    }

        .ux-card-t:nth-child(1).active .ux-icon-circle[b-52twrfpcoc] {
            background: #e6f4ea;
            color: #0c7c3b;
        }

        .ux-card-t:nth-child(1).active .ux-selected[b-52twrfpcoc] {
            color: #0c7c3b;
            font-weight: 700;
        }

    /* Perfil 2: InicioJuridica (Azul Corporativo Ejecutivo) */
    .ux-card-t:nth-child(2).active[b-52twrfpcoc] {
        border-color: #1e3a8a;
        border-width: 2px;
        background: #ffffff;
        box-shadow: 0 10px 30px -10px rgba(30, 58, 138, 0.15);
    }

        .ux-card-t:nth-child(2).active .ux-icon-circle[b-52twrfpcoc] {
            background: #eff6ff;
            color: #1e3a8a;
        }

        .ux-card-t:nth-child(2).active .ux-selected[b-52twrfpcoc] {
            color: #1e3a8a;
            font-weight: 700;
        }


/* ==========================================================================
   ELEMENTOS INTERNOS DE LA TARJETA
   ========================================================================== */
.ux-icon-circle[b-52twrfpcoc] {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    border-radius: 12px;
    background: #f8fafc;
    color: #64748b;
    transition: all 0.2s ease;
}

.ux-card-t h3[b-52twrfpcoc] {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.ux-card-t p[b-52twrfpcoc] {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 24px;
}

/* Marcador inferior de selección */
.ux-selected[b-52twrfpcoc] {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
    margin-top: auto;
}
 
.ux-actions[b-52twrfpcoc] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

.ux-button-secondary[b-52twrfpcoc] {
    background: transparent;
    color: #64748b;
    border: 1px solid #cbd5e1;
    padding: 15px 24px;
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
}

    .ux-button-secondary:hover[b-52twrfpcoc] {
        background: #f1f5f9;
        color: #0f172a;
    }

/* ==========================================================================
   MEDIA QUERIES (Responsivo Adaptable)
   ========================================================================== */

/* Tablet y Escritorio pequeño */
@media (max-width: 900px) {
    .ux-container-t[b-52twrfpcoc] {
        padding: 0 20px;
    }
}

/* Celulares (donde ocurre el problema de la imagen) */
@media (max-width: 768px) {
    .ux-bg-t[b-52twrfpcoc] {
        padding: 20px 10px; /* Menos padding lateral para aprovechar espacio */
        align-items: flex-start;
    }

    .ux-grid-t[b-52twrfpcoc] {
        grid-template-columns: 1fr; /* Una sola columna */
        gap: 16px;
    }

    .ux-card-t[b-52twrfpcoc] {
        padding: 20px; /* Un poco menos de padding interno en móvil */
    }

    .ux-actions[b-52twrfpcoc] {
        flex-direction: column-reverse; /* El botón de 'Continuar' arriba, 'Volver' abajo */
        gap: 10px;
        margin-top: 20px;
    }

    .ux-button[b-52twrfpcoc], .ux-button-secondary[b-52twrfpcoc] {
        width: 100%; /* Botones de ancho completo */
        padding: 14px;
        text-align: center;
    }
}
/* /Components/Pages/TramitePerJuridica.razor.rz.scp.css */
/* ==========================================================================
   1. RESET / BASE / TIPOGRAFÍA
   ========================================================================== */
*[b-wvaveewqvm] {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body[b-wvaveewqvm] {
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background: #f1f5f9;
}

/* ==========================================================================
   2. ESTRUCTURA Y CONTENEDORES
   ========================================================================== */
.ux-bg[b-wvaveewqvm] {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    background: radial-gradient(circle at 10% 10%, rgba(59,130,246,0.08), transparent 40%), radial-gradient(circle at 90% 90%, rgba(12,124,59,0.08), transparent 40%), #f1f5f9;
}

.ux-container[b-wvaveewqvm] {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 40px;
}

/* ==========================================================================
   3. HEADER
   ========================================================================== */
.ux-header[b-wvaveewqvm] {
    text-align: center;
    margin-bottom: 10px;
}

.ux-badge-top[b-wvaveewqvm] {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 6px;
    background: #ffffff;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.ux-header h1[b-wvaveewqvm] {
    font-size: clamp(22px, 5vw, 32px);
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.ux-description[b-wvaveewqvm] {
    font-size: 14px;
    color: #64748b;
    max-width: 600px;
    margin: 8px auto 0;
    line-height: 1.5;
}

/* ==========================================================================
   4. TARJETAS DEL FORMULARIO (CARDS)
   ========================================================================== */
.ux-card-form[b-wvaveewqvm] {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .ux-card-form h2[b-wvaveewqvm] {
        font-size: 16px;
        font-weight: 700;
        color: #0c7c3b; /* Identidad Institucional Verde */
        margin-bottom: 20px;
        letter-spacing: 0.5px;
        border-bottom: 2px solid #e2e8f0;
        padding-bottom: 8px;
    }

/* ==========================================================================
   5. GRID RESPONSIVO DEL FORMULARIO
   ========================================================================== */
.ux-grid-form[b-wvaveewqvm] {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Por defecto 2 columnas en PC */
    gap: 18px;
}

.ux-field[b-wvaveewqvm] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    /* Clases utilitarias de expansión en el Grid */
    .ux-field.full[b-wvaveewqvm],
    .full-width[b-wvaveewqvm] {
        grid-column: span 2;
    }

.ux-field-button[b-wvaveewqvm] {
    display: flex;
    align-items: flex-end; /* Alinea el botón perfectamente abajo con los inputs */
}

/* Labels e indicaciones */
.ux-field label[b-wvaveewqvm] {
    font-size: 13px;
    font-weight: 500;
    color: #334155;
}

.ux-file-hint[b-wvaveewqvm] {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
    line-height: 1.4;
}

/* Contenedor que agrupa input y botón en la misma línea */
.ux-input-group[b-wvaveewqvm] {
    display: flex;
    gap: 8px; /* Espacio entre el input y el botón */
    align-items: center;
}

    /* Ajuste para que el input dentro del grupo ocupe el espacio restante */
    .ux-input-group input[b-wvaveewqvm] {
        flex: 1;
    }

    /* Ajuste para que el botón no se estire excesivamente */
    .ux-input-group .ux-btn-primary[b-wvaveewqvm] {
        width: auto;
        padding-left: 20px;
        padding-right: 20px;
    }



/* ==========================================================================
   6. CONTROLES DE ENTRADA (INPUTS, SELECTS, TEXTAREA)
   ========================================================================== */
input[b-wvaveewqvm],
select[b-wvaveewqvm],
textarea[b-wvaveewqvm] {
    width: 100%;
    padding: 11px 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    font-size: 14px;
    color: #0f172a;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

    input:hover[b-wvaveewqvm],
    select:hover[b-wvaveewqvm],
    textarea:hover[b-wvaveewqvm] {
        border-color: #94a3b8;
    }

    input:focus[b-wvaveewqvm],
    select:focus[b-wvaveewqvm],
    textarea:focus[b-wvaveewqvm] {
        background: white;
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
        outline: none;
    }

    /* Inputs deshabilitados (RENIEC) */
    input:disabled[b-wvaveewqvm] {
        background: #e2e8f0;
        color: #64748b;
        cursor: not-allowed;
        border-color: #cbd5e1;
    }

textarea[b-wvaveewqvm] {
    min-height: 110px;
    resize: vertical;
}

/* ==========================================================================
   7. BOTONES
   ========================================================================== */
.ux-btn-primary[b-wvaveewqvm] {
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .ux-btn-primary:hover[b-wvaveewqvm] {
        background: #1d4ed8;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    }

    .ux-btn-primary:active[b-wvaveewqvm] {
        transform: scale(0.98);
    }

.ux-btn-secondary[b-wvaveewqvm] {
    background: transparent;
    border: 1px solid #0c7c3b;
    color: #0c7c3b;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .ux-btn-secondary:hover[b-wvaveewqvm] {
        background: #0c7c3b;
        color: white;
    }

/* ==========================================================================
   8. TABLAS RESPONSIVAS (ANEXOS)
   ========================================================================== */
.ux-table-wrapper[b-wvaveewqvm] {
    width: 100%;
    overflow-x: auto; /* Permite scroll horizontal en móviles si la tabla es grande */
    margin-top: 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.ux-table[b-wvaveewqvm] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
    min-width: 500px; /* Evita que las columnas se aplasten en mobile */
}

    .ux-table th[b-wvaveewqvm],
    .ux-table td[b-wvaveewqvm] {
        padding: 12px 14px;
        border-bottom: 1px solid #e2e8f0;
    }

    .ux-table th[b-wvaveewqvm] {
        background: #f1f5f9;
        font-weight: 600;
        color: #475569;
    }

    .ux-table tbody tr:last-child td[b-wvaveewqvm] {
        border-bottom: none;
    }

.btn-delete[b-wvaveewqvm] {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

    .btn-delete:hover[b-wvaveewqvm] {
        background: #fee2e2;
    }

.ux-empty[b-wvaveewqvm] {
    text-align: center;
    color: #94a3b8;
    padding: 30px !important;
}

/* ==========================================================================
   9. PREVISUALIZADOR PDF E INPUTS DE ARCHIVOS
   ========================================================================== */
.ux-file-info[b-wvaveewqvm] {
    margin-top: 12px;
    padding: 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    color: #166534;
    font-size: 14px;
    font-weight: 500;
}

.ux-pdf-preview[b-wvaveewqvm] {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
}

    .ux-pdf-preview iframe[b-wvaveewqvm] {
        width: 100%;
        height: 450px;
        border: none;
        display: block;
    }

.hidden-input[b-wvaveewqvm] {
    display: none;
}

.ux-input-url[b-wvaveewqvm] {
    width: 100%;
    margin-top: 10px;
}

/* ==========================================================================
   10. MODAL / VENTANA EMERGENTE DE PREVIEW
   ========================================================================== */
.ux-modal-overlay[b-wvaveewqvm] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.ux-modal-content[b-wvaveewqvm] {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 85vh;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

.ux-close[b-wvaveewqvm] {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ef4444;
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

    .ux-close:hover[b-wvaveewqvm] {
        background: #dc2626;
    }

.ux-iframe-wrapper[b-wvaveewqvm] {
    flex: 1;
    width: 100%;
    height: 100%;
}

    .ux-iframe-wrapper iframe[b-wvaveewqvm] {
        width: 100%;
        height: 100%;
        border: none;
    }

/* ==========================================================================
   11. ESTADOS, NOTAS Y ACCIONES FINALES
   ========================================================================== */
.ux-error[b-wvaveewqvm] {
    color: #dc2626;
    font-size: 13px;
    margin-top: 4px;
    font-weight: 500;
}

.ux-help[b-wvaveewqvm] {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

.ux-divider[b-wvaveewqvm] {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 24px 0;
}

.ux-nota[b-wvaveewqvm] {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.5;
    background: #f8fafc;
    padding: 14px;
    border-left: 4px solid #3b82f6;
    border-radius: 0 8px 8px 0;
}

.ux-actions[b-wvaveewqvm] {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

    .ux-actions .ux-btn-primary[b-wvaveewqvm] {
        width: auto; /* El botón de envío no ocupa todo el ancho en PC */
        min-width: 200px;
    }

/* ==========================================================================
   12. MEDIA QUERIES (DISEÑO RESPONSIVO DE VERDAD)
   ========================================================================== */

/* TABLETS (Pantallas menores a 768px) */
@media (max-width: 768px) {
    .ux-bg[b-wvaveewqvm] {
        padding: 20px 15px;
    }

    .ux-card-form[b-wvaveewqvm] {
        padding: 22px;
    }

    /* Rompemos el grid a 1 sola columna para que los inputs no se aplasten */
    .ux-grid-form[b-wvaveewqvm] {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Forzamos a que todos los campos ocupen el ancho completo */
    .ux-field.full[b-wvaveewqvm],
    .full-width[b-wvaveewqvm],
    .ux-field-button[b-wvaveewqvm] {
        grid-column: span 1;
    }

    .ux-pdf-preview iframe[b-wvaveewqvm] {
        height: 350px; /* Reducimos la altura del preview en tablets */
    }
}

/* CELULARES (Pantallas menores a 480px) */
@media (max-width: 480px) {
    .ux-bg[b-wvaveewqvm] {
        padding: 15px 10px;
    }

    .ux-card-form[b-wvaveewqvm] {
        padding: 16px;
        border-radius: 12px;
    }

    .ux-header h1[b-wvaveewqvm] {
        font-size: 20px;
    }

    .ux-description[b-wvaveewqvm] {
        font-size: 13px;
    }

    input[b-wvaveewqvm], select[b-wvaveewqvm], textarea[b-wvaveewqvm] {
        font-size: 16px; /* Evita que iOS (Safari/iPhone) haga zoom forzado al enfocar */
        padding: 10px 12px;
    }

    /* En celulares, todos los botones se vuelven de ancho completo */
    .ux-btn-primary[b-wvaveewqvm],
    .ux-btn-secondary[b-wvaveewqvm],
    .ux-actions .ux-btn-primary[b-wvaveewqvm] {
        width: 100%;
        text-align: center;
    }

    .ux-modal-content[b-wvaveewqvm] {
        height: 90vh; /* El modal aprovecha más la pantalla vertical */
    }
}




.ux-actions[b-wvaveewqvm] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

.ux-button-secondary[b-wvaveewqvm] {
    background: transparent;
    color: #64748b;
    border: 1px solid #cbd5e1;
    padding: 15px 24px;
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
}

    .ux-button-secondary:hover[b-wvaveewqvm] {
        background: #f1f5f9;
        color: #0f172a;
    }


.ux-actions[b-wvaveewqvm] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

.ux-button-secondary[b-wvaveewqvm] {
    background: transparent;
    color: #64748b;
    border: 1px solid #cbd5e1;
    padding: 15px 24px;
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
}

    .ux-button-secondary:hover[b-wvaveewqvm] {
        background: #f1f5f9;
        color: #0f172a;
    }
/* /Components/Pages/TramitePerNatural.razor.rz.scp.css */
/* ==========================================================================
   1. RESET / BASE / TIPOGRAFÍA
   ========================================================================== */
*[b-d90ul4yit0] {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body[b-d90ul4yit0] {
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background: #f1f5f9;
}

/* ==========================================================================
   2. ESTRUCTURA Y CONTENEDORES
   ========================================================================== */
.ux-bg[b-d90ul4yit0] {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    background: radial-gradient(circle at 10% 10%, rgba(59,130,246,0.08), transparent 40%), radial-gradient(circle at 90% 90%, rgba(12,124,59,0.08), transparent 40%), #f1f5f9;
}

.ux-container[b-d90ul4yit0] {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 40px;
}

/* ==========================================================================
   3. HEADER
   ========================================================================== */
.ux-header[b-d90ul4yit0] {
    text-align: center;
    margin-bottom: 10px;
}

.ux-badge-top[b-d90ul4yit0] {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 6px;
    background: #ffffff;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.ux-header h1[b-d90ul4yit0] {
    font-size: clamp(22px, 5vw, 32px);
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.ux-description[b-d90ul4yit0] {
    font-size: 14px;
    color: #64748b;
    max-width: 600px;
    margin: 8px auto 0;
    line-height: 1.5;
}

/* ==========================================================================
   4. TARJETAS DEL FORMULARIO (CARDS)
   ========================================================================== */
.ux-card-form[b-d90ul4yit0] {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .ux-card-form h2[b-d90ul4yit0] {
        font-size: 16px;
        font-weight: 700;
        color: #0c7c3b; /* Identidad Institucional Verde */
        margin-bottom: 20px;
        letter-spacing: 0.5px;
        border-bottom: 2px solid #e2e8f0;
        padding-bottom: 8px;
    }

/* ==========================================================================
   5. GRID RESPONSIVO DEL FORMULARIO
   ========================================================================== */
.ux-grid-form[b-d90ul4yit0] {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Por defecto 2 columnas en PC */
    gap: 18px;
}

.ux-field[b-d90ul4yit0] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    /* Clases utilitarias de expansión en el Grid */
    .ux-field.full[b-d90ul4yit0],
    .full-width[b-d90ul4yit0] {
        grid-column: span 2;
    }

.ux-field-button[b-d90ul4yit0] {
    display: flex;
    align-items: flex-end; /* Alinea el botón perfectamente abajo con los inputs */
}

/* Labels e indicaciones */
.ux-field label[b-d90ul4yit0] {
    font-size: 13px;
    font-weight: 500;
    color: #334155;
}

.ux-file-hint[b-d90ul4yit0] {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
    line-height: 1.4;
}

/* ==========================================================================
   6. CONTROLES DE ENTRADA (INPUTS, SELECTS, TEXTAREA)
   ========================================================================== */
input[b-d90ul4yit0],
select[b-d90ul4yit0],
textarea[b-d90ul4yit0] {
    width: 100%;
    padding: 11px 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    font-size: 14px;
    color: #0f172a;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

    input:hover[b-d90ul4yit0],
    select:hover[b-d90ul4yit0],
    textarea:hover[b-d90ul4yit0] {
        border-color: #94a3b8;
    }

    input:focus[b-d90ul4yit0],
    select:focus[b-d90ul4yit0],
    textarea:focus[b-d90ul4yit0] {
        background: white;
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
        outline: none;
    }

    /* Inputs deshabilitados (RENIEC) */
    input:disabled[b-d90ul4yit0] {
        background: #e2e8f0;
        color: #64748b;
        cursor: not-allowed;
        border-color: #cbd5e1;
    }

textarea[b-d90ul4yit0] {
    min-height: 110px;
    resize: vertical;
}

/* ==========================================================================
   7. BOTONES
   ========================================================================== */
.ux-btn-primary[b-d90ul4yit0] {
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .ux-btn-primary:hover[b-d90ul4yit0] {
        background: #1d4ed8;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    }

    .ux-btn-primary:active[b-d90ul4yit0] {
        transform: scale(0.98);
    }

.ux-btn-secondary[b-d90ul4yit0] {
    background: transparent;
    border: 1px solid #0c7c3b;
    color: #0c7c3b;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .ux-btn-secondary:hover[b-d90ul4yit0] {
        background: #0c7c3b;
        color: white;
    }

/* ==========================================================================
   8. TABLAS RESPONSIVAS (ANEXOS)
   ========================================================================== */
.ux-table-wrapper[b-d90ul4yit0] {
    width: 100%;
    overflow-x: auto; /* Permite scroll horizontal en móviles si la tabla es grande */
    margin-top: 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.ux-table[b-d90ul4yit0] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
    min-width: 500px; /* Evita que las columnas se aplasten en mobile */
}

    .ux-table th[b-d90ul4yit0],
    .ux-table td[b-d90ul4yit0] {
        padding: 12px 14px;
        border-bottom: 1px solid #e2e8f0;
    }

    .ux-table th[b-d90ul4yit0] {
        background: #f1f5f9;
        font-weight: 600;
        color: #475569;
    }

    .ux-table tbody tr:last-child td[b-d90ul4yit0] {
        border-bottom: none;
    }

.btn-delete[b-d90ul4yit0] {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

    .btn-delete:hover[b-d90ul4yit0] {
        background: #fee2e2;
    }

.ux-empty[b-d90ul4yit0] {
    text-align: center;
    color: #94a3b8;
    padding: 30px !important;
}

/* ==========================================================================
   9. PREVISUALIZADOR PDF E INPUTS DE ARCHIVOS
   ========================================================================== */
.ux-file-info[b-d90ul4yit0] {
    margin-top: 12px;
    padding: 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    color: #166534;
    font-size: 14px;
    font-weight: 500;
}

.ux-pdf-preview[b-d90ul4yit0] {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
}

    .ux-pdf-preview iframe[b-d90ul4yit0] {
        width: 100%;
        height: 450px;
        border: none;
        display: block;
    }

.hidden-input[b-d90ul4yit0] {
    display: none;
}

.ux-input-url[b-d90ul4yit0] {
    width: 100%;
    margin-top: 10px;
}

/* ==========================================================================
   10. MODAL / VENTANA EMERGENTE DE PREVIEW
   ========================================================================== */
.ux-modal-overlay[b-d90ul4yit0] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.ux-modal-content[b-d90ul4yit0] {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 85vh;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

.ux-close[b-d90ul4yit0] {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ef4444;
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

    .ux-close:hover[b-d90ul4yit0] {
        background: #dc2626;
    }

.ux-iframe-wrapper[b-d90ul4yit0] {
    flex: 1;
    width: 100%;
    height: 100%;
}

    .ux-iframe-wrapper iframe[b-d90ul4yit0] {
        width: 100%;
        height: 100%;
        border: none;
    }

/* ==========================================================================
   11. ESTADOS, NOTAS Y ACCIONES FINALES
   ========================================================================== */
.ux-error[b-d90ul4yit0] {
    color: #dc2626;
    font-size: 13px;
    margin-top: 4px;
    font-weight: 500;
}

.ux-help[b-d90ul4yit0] {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

.ux-divider[b-d90ul4yit0] {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 24px 0;
}

.ux-nota[b-d90ul4yit0] {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.5;
    background: #f8fafc;
    padding: 14px;
    border-left: 4px solid #3b82f6;
    border-radius: 0 8px 8px 0;
}

.ux-actions[b-d90ul4yit0] {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

    .ux-actions .ux-btn-primary[b-d90ul4yit0] {
        width: auto; /* El botón de envío no ocupa todo el ancho en PC */
        min-width: 200px;
    }

/* ==========================================================================
   12. MEDIA QUERIES (DISEÑO RESPONSIVO DE VERDAD)
   ========================================================================== */

/* TABLETS (Pantallas menores a 768px) */
@media (max-width: 768px) {
    .ux-bg[b-d90ul4yit0] {
        padding: 20px 15px;
    }

    .ux-card-form[b-d90ul4yit0] {
        padding: 22px;
    }

    /* Rompemos el grid a 1 sola columna para que los inputs no se aplasten */
    .ux-grid-form[b-d90ul4yit0] {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Forzamos a que todos los campos ocupen el ancho completo */
    .ux-field.full[b-d90ul4yit0],
    .full-width[b-d90ul4yit0],
    .ux-field-button[b-d90ul4yit0] {
        grid-column: span 1;
    }

    .ux-pdf-preview iframe[b-d90ul4yit0] {
        height: 350px; /* Reducimos la altura del preview en tablets */
    }
}

/* CELULARES (Pantallas menores a 480px) */
@media (max-width: 480px) {
    .ux-bg[b-d90ul4yit0] {
        padding: 15px 10px;
    }

    .ux-card-form[b-d90ul4yit0] {
        padding: 16px;
        border-radius: 12px;
    }

    .ux-header h1[b-d90ul4yit0] {
        font-size: 20px;
    }

    .ux-description[b-d90ul4yit0] {
        font-size: 13px;
    }

    input[b-d90ul4yit0], select[b-d90ul4yit0], textarea[b-d90ul4yit0] {
        font-size: 16px; /* Evita que iOS (Safari/iPhone) haga zoom forzado al enfocar */
        padding: 10px 12px;
    }

    /* En celulares, todos los botones se vuelven de ancho completo */
    .ux-btn-primary[b-d90ul4yit0],
    .ux-btn-secondary[b-d90ul4yit0],
    .ux-actions .ux-btn-primary[b-d90ul4yit0] {
        width: 100%;
        text-align: center;
    }

    .ux-modal-content[b-d90ul4yit0] {
        height: 90vh; /* El modal aprovecha más la pantalla vertical */
    }
}




.ux-actions[b-d90ul4yit0] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

.ux-button-secondary[b-d90ul4yit0] {
    background: transparent;
    color: #64748b;
    border: 1px solid #cbd5e1;
    padding: 15px 24px;
    font-size: 14.5px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
}

    .ux-button-secondary:hover[b-d90ul4yit0] {
        background: #f1f5f9;
        color: #0f172a;
    }
