/* /Componentes/Admin/Login.razor.rz.scp.css */
/* ============ LOGIN BACKGROUND ANIMATION ============ */

/* Fondo blanco con efecto aurora boreal en la parte inferior */
.container-fluid[b-5iiw7csh7u] {
    position: relative;
    background: #ffffff;
    overflow: hidden;
}

/* Aurora Boreal - Primera capa */
.container-fluid[b-5iiw7csh7u]::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    right: -10%;
    bottom: -10%;
    background: radial-gradient(
        ellipse at center bottom,
        rgba(64, 224, 208, 0.05) 0%,
        rgba(32, 178, 170, 0.08) 25%,
        rgba(0, 191, 255, 0.06) 50%,
        rgba(138, 43, 226, 0.04) 75%,
        transparent 100%
    );
    animation: aurora1-b-5iiw7csh7u 8s ease-in-out infinite, colorShift1-b-5iiw7csh7u 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* Aurora Boreal - Segunda capa ondulante */
.container-fluid[b-5iiw7csh7u]::after {
    content: '';
    position: absolute;
    top: -15%;
    left: -15%;
    right: -15%;
    bottom: -15%;
    background: radial-gradient(
        ellipse at center bottom,
        rgba(255, 20, 147, 0.03) 0%,
        rgba(0, 255, 127, 0.06) 30%,
        rgba(30, 144, 255, 0.05) 60%,
        rgba(147, 0, 211, 0.04) 80%,
        transparent 100%
    );
    animation: aurora2-b-5iiw7csh7u 12s ease-in-out infinite, colorShift2-b-5iiw7csh7u 18s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

/* Animación de aurora boreal - Capa 1 */
@keyframes aurora1-b-5iiw7csh7u {
    0% {
        opacity: 0.6;
        transform: translateX(0px) scaleX(1) skewX(0deg);
    }
    20% {
        opacity: 1.2;
        transform: translateX(15px) scaleX(1.1) skewX(2deg);
    }
    40% {
        opacity: 0.8;
        transform: translateX(-8px) scaleX(0.95) skewX(-1deg);
    }
    60% {
        opacity: 1.4;
        transform: translateX(20px) scaleX(1.15) skewX(3deg);
    }
    80% {
        opacity: 0.9;
        transform: translateX(-12px) scaleX(0.92) skewX(-2deg);
    }
    100% {
        opacity: 0.6;
        transform: translateX(0px) scaleX(1) skewX(0deg);
    }
}

/* Animación de aurora boreal - Capa 2 */
@keyframes aurora2-b-5iiw7csh7u {
    0% {
        opacity: 0.5;
        transform: translateX(-5px) scaleX(1) skewX(1deg);
    }
    25% {
        opacity: 1.1;
        transform: translateX(18px) scaleX(1.12) skewX(-2deg);
    }
    45% {
        opacity: 0.7;
        transform: translateX(-15px) scaleX(0.88) skewX(3deg);
    }
    65% {
        opacity: 1.3;
        transform: translateX(25px) scaleX(1.18) skewX(-1deg);
    }
    85% {
        opacity: 0.8;
        transform: translateX(-10px) scaleX(0.9) skewX(2deg);
    }
    100% {
        opacity: 0.5;
        transform: translateX(-5px) scaleX(1) skewX(1deg);
    }
}

/* Animación de cambio de color - Capa 1 */
@keyframes colorShift1-b-5iiw7csh7u {
    0% {
        filter: hue-rotate(0deg) saturate(1) brightness(1);
    }
    20% {
        filter: hue-rotate(30deg) saturate(1.2) brightness(1.1);
    }
    40% {
        filter: hue-rotate(-15deg) saturate(0.8) brightness(0.9);
    }
    60% {
        filter: hue-rotate(45deg) saturate(1.4) brightness(1.2);
    }
    80% {
        filter: hue-rotate(-30deg) saturate(0.9) brightness(0.8);
    }
    100% {
        filter: hue-rotate(0deg) saturate(1) brightness(1);
    }
}

/* Animación de cambio de color - Capa 2 */
@keyframes colorShift2-b-5iiw7csh7u {
    0% {
        filter: hue-rotate(10deg) saturate(1.1) brightness(1);
    }
    25% {
        filter: hue-rotate(-20deg) saturate(0.8) brightness(1.3);
    }
    50% {
        filter: hue-rotate(60deg) saturate(1.3) brightness(0.9);
    }
    75% {
        filter: hue-rotate(-45deg) saturate(1.1) brightness(1.1);
    }
    100% {
        filter: hue-rotate(10deg) saturate(1.1) brightness(1);
    }
}

/* Asegurar que el contenido esté por encima de las animaciones */
.row[b-5iiw7csh7u] {
    position: relative;
    z-index: 2;
}

/* Mejorar la tarjeta de login */
.card[b-5iiw7csh7u] {
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease;
}

/* Efecto hover en la tarjeta */
.card:hover[b-5iiw7csh7u] {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
}

/* Animación sutil del logo */
.img-fluid[b-5iiw7csh7u] {
    animation: logoFloat-b-5iiw7csh7u 6s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

@keyframes logoFloat-b-5iiw7csh7u {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Efectos en los controles del formulario */
.form-control[b-5iiw7csh7u] {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.form-control:focus[b-5iiw7csh7u] {
    background: rgba(255, 255, 255, 1);
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
    transform: translateY(-1px);
}

/* Botón con animación sutil */
.btn[b-5iiw7csh7u] {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn:hover[b-5iiw7csh7u] {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Animación de ondas en el botón */
.btn[b-5iiw7csh7u]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
    z-index: 1;
}

.btn:active[b-5iiw7csh7u]::before {
    width: 300px;
    height: 300px;
}

/* Reducir animaciones en dispositivos con preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    .container-fluid[b-5iiw7csh7u],
    .container-fluid[b-5iiw7csh7u]::before,
    .container-fluid[b-5iiw7csh7u]::after,
    .img-fluid[b-5iiw7csh7u] {
        animation: none;
    }
    
    .card:hover[b-5iiw7csh7u],
    .form-control:focus[b-5iiw7csh7u],
    .btn:hover[b-5iiw7csh7u] {
        transform: none;
    }
}

/* Responsividad para móviles */
@media (max-width: 768px) {
    .container-fluid[b-5iiw7csh7u]::before,
    .container-fluid[b-5iiw7csh7u]::after {
        background-size: 30px 30px, 50px 50px;
    }
    
    .card[b-5iiw7csh7u] {
        margin: 1rem;
    }
}
/* /Componentes/Expediente Digital/Configuración.razor.rz.scp.css */
/* Forzar que el contenedor ocupe todo el espacio disponible */
.e-documenteditorcontainer[b-gzdl0fvpxx] {
    width: 100% !important;
    height: 100% !important;
}

/* Expandir el área de edición del documento */
.e-documenteditor[b-gzdl0fvpxx] {
    width: 100% !important;
    height: 100% !important;
}

    /* Asegurar que el contenido del editor use todo el espacio */
    .e-documenteditor .e-content[b-gzdl0fvpxx] {
        width: 100% !important;
        height: calc(100% - 40px) !important; /* Resta la altura de la barra de herramientas */
    }

    /* Expandir el área de la página del documento */
    .e-documenteditor .e-page-container[b-gzdl0fvpxx] {
        width: 100% !important;
    }

    /* Opcional: Ajustar el zoom automáticamente */
    .e-documenteditor .e-page[b-gzdl0fvpxx] {
        margin: 0 auto;
    }


/* Targeting más específico para forzar el tamaño completo */
.e-documenteditorcontainer .e-de-container-inner[b-gzdl0fvpxx] {
    width: 100% !important;
    height: 100% !important;
}

.e-documenteditorcontainer .e-documenteditor-div[b-gzdl0fvpxx] {
    width: 100% !important;
    height: 100% !important;
}

/* Remover cualquier padding o margin que pueda estar afectando */
.e-documenteditorcontainer[b-gzdl0fvpxx] {
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}
/* /Componentes/Expediente Digital/OperaciónD.razor.rz.scp.css */
/* Estilos para el Modal/Popup del Visor de Documentos */

.modal-overlay[b-0evmq8kdi4] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(3px);
    animation: fadeIn-b-0evmq8kdi4 0.3s ease-in-out;
}

.modal-content[b-0evmq8kdi4] {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    height: 90%;
    max-width: 1400px;
    max-height: 900px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn-b-0evmq8kdi4 0.3s ease-out;
    overflow: hidden;
}

.modal-header[b-0evmq8kdi4] {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal-title[b-0evmq8kdi4] {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-actions[b-0evmq8kdi4] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-body[b-0evmq8kdi4] {
    flex: 1;
    padding: 0;
    overflow: hidden;
    background: #f8f9fa;
}

.pdf-container[b-0evmq8kdi4] {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
}

.pdf-iframe[b-0evmq8kdi4] {
    width: 100%;
    height: 100%;
    border: none;
    background: #fff;
}

.modal-footer[b-0evmq8kdi4] {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 0 12px 12px;
}

/* Animaciones */
@keyframes fadeIn-b-0evmq8kdi4 {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn-b-0evmq8kdi4 {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsivo para dispositivos móviles */
@media (max-width: 768px) {
    .modal-content[b-0evmq8kdi4] {
        width: 95%;
        height: 95%;
        border-radius: 8px;
    }
    
    .modal-header[b-0evmq8kdi4] {
        padding: 0.75rem 1rem;
        border-radius: 8px 8px 0 0;
    }
    
    .modal-title[b-0evmq8kdi4] {
        font-size: 1rem;
    }
    
    .modal-footer[b-0evmq8kdi4] {
        padding: 0.75rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
        border-radius: 0 0 8px 8px;
    }
    
    .modal-footer > div[b-0evmq8kdi4] {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
    }
}

/* Estados de hover y focus */
.modal-actions button:hover[b-0evmq8kdi4] {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

.modal-actions button:focus[b-0evmq8kdi4] {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Fullscreen mode */
.modal-content.fullscreen[b-0evmq8kdi4] {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border-radius: 0;
}

.modal-content.fullscreen .modal-header[b-0evmq8kdi4] {
    border-radius: 0;
}

.modal-content.fullscreen .modal-footer[b-0evmq8kdi4] {
    border-radius: 0;
}

/* Mejoras de accesibilidad */
.modal-overlay:focus[b-0evmq8kdi4] {
    outline: none;
}

/* Loading state */
.pdf-container.loading[b-0evmq8kdi4] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pdf-container.loading[b-0evmq8kdi4]::after {
    content: "Cargando documento...";
    color: #6c757d;
    font-size: 1.1rem;
}
/* /Componentes/Generales/Controles/ComboMC.razor.rz.scp.css */
/* =============================================================================
   ComboMC (estilos generales + alineación con Bootstrap 5 inputs)
   ========================================================================== */

/* Variables (usan la paleta de Bootstrap 5) */
:root[b-hcf9yieyhr] {
    /* Nada extra: reutilizamos --bs-primary y --bs-primary-rgb */
}

/* -------------------------------
   Botón principal del dropdown
   ------------------------------- */

/* Estado base: borde como input normal y fondo blanco (sin gris oscuro) */
.dropdown > .btn[b-hcf9yieyhr] {
    background-color: #fff;
    color: #212529;
    border-color: #ced4da; /* mismo que .form-control */
    transition: border-color .2s ease, box-shadow .2s ease, background-color .15s ease;
}

    /* Hover: mismo comportamiento que un input hover */
    .dropdown > .btn:hover[b-hcf9yieyhr] {
        background-color: #f8f9fa; /* gris muy claro */
        border-color: #86b7fe; /* igual al hover/focus de input */
    }

    /* Foco (y cuando está abierto): igual a .form-control:focus */
    .dropdown > .btn:focus[b-hcf9yieyhr],
    .dropdown.show > .btn[b-hcf9yieyhr] {
        border-color: var(--bs-primary);
        box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .25);
        background-color: #fff;
        color: #212529;
    }

/* Ícono ▼ personalizado (quitamos el de Bootstrap y animamos el nuestro) */
.dropdown-toggle[b-hcf9yieyhr]::after {
    display: none !important;
}

.dropdown-toggle-icon[b-hcf9yieyhr] {
    font-size: 12px;
    color: #6c757d;
    transition: transform .2s ease;
}

.dropdown.show .dropdown-toggle-icon[b-hcf9yieyhr] {
    transform: rotate(180deg);
}

/* Limitar ancho del botón para evitar crecimiento infinito */
.dropdown button[b-hcf9yieyhr] {
    max-width: 100%;
    overflow: hidden;
}

    .dropdown button span[b-hcf9yieyhr] {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block;
    }

/* -------------------------------
   Dropdown (menú)
   ------------------------------- */

/* Auto-width + altura máxima, dejando a Bootstrap posicionar */
.auto-width-dropdown[b-hcf9yieyhr] {
    min-width: 100%;
    max-width: none;
    width: max-content;
    max-height: 400px;
    display: flex;
    flex-direction: column;
    padding: 0;
    /* No forzamos posicionamiento aquí */
    position: static !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
}

/* Que Bootstrap posicione el menú; borde como input */
.dropdown-menu.auto-width-dropdown[b-hcf9yieyhr] {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    z-index: 1000;
    border-color: #ced4da; /* igual que .form-control */
}

/* Header pegajoso con borde sutil */
.sticky-header[b-hcf9yieyhr] {
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

/* -------------------------------
   Tabla de items / filas / celdas
   ------------------------------- */

.dropdown-row[b-hcf9yieyhr] {
    display: flex;
    width: 100%;
    min-width: max-content;
}

.dropdown-cell[b-hcf9yieyhr] {
    padding: 8px 12px;
    border-left: 1px solid #dee2e6;
    /*border-bottom: 1px solid #dee2e6;*/
    position: relative;
    flex-shrink: 0;
}

.checkbox-column[b-hcf9yieyhr] {
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.column-header[b-hcf9yieyhr] {
    font-weight: bold;
    background-color: #f8f9fa;
    white-space: nowrap;
    min-width: 100px;
    flex: 1;
}

.data-cell[b-hcf9yieyhr] {
    min-width: 120px;
    max-width: 400px; /* Aumentado de 300px */
    word-wrap: break-word;
    flex: 1;
}

.header-row[b-hcf9yieyhr], .data-row[b-hcf9yieyhr] {
    min-width: 100%;
}

/* Hacer que ciertas columnas tengan anchos mínimos */
.dropdown-row .dropdown-cell:nth-child(1)[b-hcf9yieyhr] {
    min-width: 40px; /* Checkbox column */
}

.dropdown-row .dropdown-cell:nth-child(2)[b-hcf9yieyhr] {
    min-width: 120px; /* ID column - aumentado de 60px */
}

.dropdown-row .dropdown-cell:nth-child(3)[b-hcf9yieyhr] {
    min-width: 300px; /* Nombre column - aumentado de 150px */
}

.dropdown-row .dropdown-cell:nth-child(4)[b-hcf9yieyhr] {
    min-width: 250px; /* Cuarta columna */
}

.dropdown-row .dropdown-cell:nth-child(5)[b-hcf9yieyhr] {
    min-width: 300px; /* Quinta columna */
}

/* Contenido con truncamiento inteligente */
.cell-content[b-hcf9yieyhr] {
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    line-height: 1.4;
    max-height: 4.2em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.data-row:hover .cell-content[b-hcf9yieyhr] {
    max-height: none;
    -webkit-line-clamp: unset;
    overflow: visible;
}

/* Hover en filas */
.data-row:hover[b-hcf9yieyhr] {
    background-color: #f8f9f8;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    transition: all .2s ease;
}

/* -------------------------------
   Scrollbar del listado
   ------------------------------- */
.dropdown-items-container[b-hcf9yieyhr] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 300px;
    min-height: 0;
}

    .dropdown-items-container[b-hcf9yieyhr]::-webkit-scrollbar {
        width: 6px;
    }

    .dropdown-items-container[b-hcf9yieyhr]::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }

    .dropdown-items-container[b-hcf9yieyhr]::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 3px;
    }

        .dropdown-items-container[b-hcf9yieyhr]::-webkit-scrollbar-thumb:hover {
            background: #a8a8a8;
        }

/* -------------------------------
   Alineación de texto
   ------------------------------- */
.text-start[b-hcf9yieyhr] {
    text-align: left;
}

.text-end[b-hcf9yieyhr] {
    text-align: right;
}

/* -------------------------------
   Footer del menú
   ------------------------------- */
.footer-section[b-hcf9yieyhr] {
    flex-shrink: 0;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

/* -------------------------------
   Estados clickeables
   ------------------------------- */
.clickable[b-hcf9yieyhr] {
    cursor: pointer;
}

    .clickable:hover[b-hcf9yieyhr],
    .hover-item:hover[b-hcf9yieyhr] {
        background-color: #f8f8f8 !important;
    }

/* Para selección simple: toda la fila clickeable */
.dropdown-item-custom[b-hcf9yieyhr] {
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
    display: flex;
}

    .dropdown-item-custom:hover[b-hcf9yieyhr] {
        background-color: #f8f9fa;
    }

    .dropdown-item-custom:focus[b-hcf9yieyhr] {
        background-color: #e9ecef;
    }

/* -------------------------------
   Responsive
   ------------------------------- */
@media (max-width: 768px) {
    .auto-width-dropdown[b-hcf9yieyhr] {
        max-width: 95vw;
        max-height: 60vh;
    }

    .dropdown-items-container[b-hcf9yieyhr] {
        max-height: 50vh;
    }

    .dropdown-cell[b-hcf9yieyhr] {
        padding: 6px 8px;
        font-size: .875rem;
    }

    .data-cell[b-hcf9yieyhr] {
        min-width: 80px;
        max-width: 200px;
    }
}
/* /Componentes/Generales/Controles/UICards.razor.rz.scp.css */
/* ====== Base visual ====== */
:root[b-hdv7t5p05s] {
    --ui-card-bg: #ffffff;
    --ui-card-text: #1f2330;
    --ui-card-border: rgba(15, 23, 42, .06);
    --ui-card-shadow: 0 .4rem 1.25rem rgba(2, 6, 23, .06);
    --ui-card-shadow-hover: 0 .6rem 1.6rem rgba(2, 6, 23, .12);
    --ui-accent: #6366f1; /* Indigo */
    --ui-accent-soft: rgba(99,102,241,.12);
    --ui-muted: #6b7280;
    --ui-muted-soft: rgba(107, 114, 128, .12);
    --ui-ring: rgba(99, 102, 241, .25);
}

@media (prefers-color-scheme: dark) {
    :root[b-hdv7t5p05s] {
        --ui-card-bg: #0b1220;
        --ui-card-text: #e5e7eb;
        --ui-card-border: rgba(148, 163, 184, .12);
        --ui-card-shadow: 0 .4rem 1.25rem rgba(0,0,0,.35);
        --ui-card-shadow-hover: 0 .6rem 1.6rem rgba(0,0,0,.5);
        --ui-accent-soft: rgba(99,102,241,.18);
        --ui-muted: #9aa4b2;
        --ui-muted-soft: rgba(154, 164, 178, .16);
        --ui-ring: rgba(99, 102, 241, .35);
    }
}

/* ====== Card ====== */
.ui-card[b-hdv7t5p05s] {
    background: var(--ui-card-bg) !important;
    color: var(--ui-card-text);
    border: 1px solid var(--ui-card-border) !important;
    box-shadow: var(--ui-card-shadow);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    position: relative;
    overflow: hidden;
}

    .ui-card:hover[b-hdv7t5p05s] {
        transform: translateY(-3px);
        box-shadow: var(--ui-card-shadow-hover);
        border-color: rgba(99,102,241,.25) !important;
    }

    /* Anillo de enfoque accesible */
    .ui-card:focus-within[b-hdv7t5p05s] {
        outline: 0;
        box-shadow: 0 0 0 4px var(--ui-ring), var(--ui-card-shadow-hover);
        border-color: transparent !important;
    }

    /* Borde superior con acento sutil */
    .ui-card[b-hdv7t5p05s]::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 3px;
        background: linear-gradient(90deg, var(--ui-accent), #22d3ee 60%, #10b981);
        opacity: .2;
        transition: opacity .18s ease;
    }

    .ui-card:hover[b-hdv7t5p05s]::before {
        opacity: .6;
    }

/* ====== Header y Footer ====== */
.ui-card-header[b-hdv7t5p05s] {
    background: linear-gradient(180deg, var(--ui-accent-soft), transparent) !important;
    border-bottom: 1px solid var(--ui-card-border) !important;
}

.ui-card-footer[b-hdv7t5p05s] {
    background: linear-gradient(0deg, var(--ui-muted-soft), transparent) !important;
    border-top: 1px solid var(--ui-card-border) !important;
}

/* Botón iconito “editar” más bonito */
.ui-card-header .btn[b-hdv7t5p05s] {
    background: rgba(0,0,0,.02);
    border-radius: 10px;
    padding: .25rem .5rem;
    border: 1px solid var(--ui-card-border);
    transition: background .15s ease, transform .15s ease;
}

    .ui-card-header .btn:hover[b-hdv7t5p05s] {
        background: var(--ui-accent-soft);
        transform: translateY(-1px);
    }

/* ====== Tipografía y layout ====== */
.ui-card .fw-semibold[b-hdv7t5p05s] {
    letter-spacing: .2px;
}

.ui-card .text-muted[b-hdv7t5p05s] {
    color: var(--ui-muted) !important;
}

.ui-card dl[b-hdv7t5p05s] {
    row-gap: .25rem;
}

.ui-card dt[b-hdv7t5p05s] {
    opacity: .8;
}

/* ====== Chips / Badges ====== */
.ui-chip[b-hdv7t5p05s] {
    --_bg: var(--ui-accent-soft);
    --_bd: rgba(99,102,241,.35);
    --_fg: var(--ui-card-text);
    background: var(--_bg);
    color: var(--_fg);
    border: 1px solid var(--_bd);
    padding: .25rem .5rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
}

    .ui-chip.success[b-hdv7t5p05s] {
        --_bg: rgba(16,185,129,.15);
        --_bd: rgba(16,185,129,.35);
    }

    .ui-chip.warning[b-hdv7t5p05s] {
        --_bg: rgba(245,158,11,.18);
        --_bd: rgba(245,158,11,.38);
    }

    .ui-chip.danger[b-hdv7t5p05s] {
        --_bg: rgba(239,68,68,.18);
        --_bd: rgba(239,68,68,.38);
    }

/* ====== Checkbox ====== */
.ui-card .form-check-input[b-hdv7t5p05s] {
    border-color: var(--ui-card-border);
    box-shadow: none;
}

    .ui-card .form-check-input:checked[b-hdv7t5p05s] {
        background-color: var(--ui-accent);
        border-color: var(--ui-accent);
    }

/* ====== Micro-animaciones ====== */
@keyframes ui-pop-b-hdv7t5p05s {
    from {
        transform: translateY(2px);
        opacity: .0;
    }

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

.ui-card[b-hdv7t5p05s] {
    animation: ui-pop-b-hdv7t5p05s .15s ease-out;
}
/* /Componentes/Generales/Controles/UITable.razor.rz.scp.css */
/* Colores personalizados para tablas oscuras */
.table-dark[b-3dq5orm4lx] {
    /* (opcional) cambiar también el fondo base: */
    --bs-table-bg: trasparent;
}

    /* Filas impares rayadas (reemplaza #444 por tu color) */
    .table-dark.table-striped tbody tr:nth-of-type(odd)[b-3dq5orm4lx] {
        background-color: #fff !important;
    }

    /* Hover sobre filas (reemplaza #555 por tu color) */
    .table-dark.table-hover tbody tr:hover[b-3dq5orm4lx] {
        background-color: #141435 !important;
    }



    /* 1) Opción “variables” (Bootstrap 5) */
    .table-dark.table-striped[b-3dq5orm4lx] {
        /* filas impares transparentes */
        --bs-table-striped-bg: #10122D;
    }

    .table-dark.table-hover[b-3dq5orm4lx] {
        /* hover transparente */
        --bs-table-hover-bg: #191A2C;
    }

/* 2) Opción “selectores” por si no funcionaran las variables */
table.table-dark.table-striped > tbody > tr:nth-of-type(odd)[b-3dq5orm4lx] {
    background-color: transparent !important;
}

table.table-dark.table-hover > tbody > tr:hover[b-3dq5orm4lx] {
    background-color: transparent !important;
}


.table-dark[b-3dq5orm4lx] {
    /* fondo oscuro */
    background-color: transparent !important;
    color: #fff !important;
}


@media (min-width: 300px) {
    .tblGen[b-3dq5orm4lx] {
        width:400px !important;
    }
}
@media (min-width: 641px) {
    .tblGen[b-3dq5orm4lx] {
        width: 700px !important;
    }
}
@media (min-width: 74641px) {
    .tblGen[b-3dq5orm4lx] {
        width: 800px !important;
    }
}
@media (min-width: 992px) {
    .tblGen[b-3dq5orm4lx] {
        width: 100px !important;
    }
}
@media (min-width: 1000px) {
    .tblGen[b-3dq5orm4lx] {
        width: 1200px !important;
    }
}
/* /Componentes/Generales/Controles/UITabs.razor.rz.scp.css */
/*.dynamic-tabs .nav-tabs {
    margin-bottom: 0.5rem;
}

.dynamic-tabs .nav-link {
    position: relative;
    padding-right: 2rem;*/ /* Espacio para el botón de cierre */
/*}

    .dynamic-tabs .nav-link .close {
        position: absolute;
        top: 0;
        right: 0.5rem;
        font-weight: bold;
        color: #888;
        cursor: pointer;
        user-select: none;
    }

        .dynamic-tabs .nav-link .close:hover {
            color: #000;
        }*/



.dynamic-tabs .nav-tabs[b-xuzdhfkak9] {
    margin-bottom: 0.5rem;
    border-block-color: transparent;
}

/* Se asegura de que el enlace tenga posición relativa para posicionar la X de forma absoluta */
.dynamic-tabs .nav-link[b-xuzdhfkak9] {
    position: relative;
    padding-right: 2.5rem; /* Espacio extra a la derecha para la X */
}

    /* La X se posiciona absolutamente en el extremo derecho, centrada verticalmente */
    .dynamic-tabs .nav-link .close[b-xuzdhfkak9] {
        position: absolute;
        right: 0.5rem; /* Separación desde el borde derecho del enlace */
        top: 50%;
        transform: translateY(-50%);
        font-weight: bold;
        color: #f8f9fa;
        cursor: pointer;
        user-select: none;
        border-block-color:red !important;
    }

        /* Al pasar el cursor sobre la X se cambia el color */
        .dynamic-tabs .nav-link .close:hover[b-xuzdhfkak9] {
            color: #000;
            border-block-color: transparent !important;
        }



.bg-no-selected[b-xuzdhfkak9] {
    background-color: #f0f0f0 !important;
    border-color: transparent !important;
}
.bg-selected[b-xuzdhfkak9] {
    background-color: #f8f9fa !important;
    border-color: transparent !important;
}
/* /Componentes/Generales/Controles/VisorDoc.razor.rz.scp.css */
/* Estilos para el modal de captura de campos */
.mv-backdrop[b-qbls4l9hdd] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn-b-qbls4l9hdd 0.3s ease-in-out;
}

.mv-panel[b-qbls4l9hdd] {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    animation: slideUp-b-qbls4l9hdd 0.3s ease-out;
}

.mv-header[b-qbls4l9hdd] {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #4381d5 0%, #85ade4 100%);
    border-radius: 10px 10px 0 0;
}

.mv-title[b-qbls4l9hdd] {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.mv-close[b-qbls4l9hdd] {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.mv-close:hover[b-qbls4l9hdd] {
    background-color: rgba(255, 255, 255, 0.2);
}

.mv-body[b-qbls4l9hdd] {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.mv-field[b-qbls4l9hdd] {
    margin-bottom: 1.25rem;
}

.mv-label[b-qbls4l9hdd] {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.mv-input[b-qbls4l9hdd] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.mv-input:focus[b-qbls4l9hdd] {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.mv-error[b-qbls4l9hdd] {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 1rem;
    padding: 0.5rem;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

.mv-footer[b-qbls4l9hdd] {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    background-color: #f8f9fa;
    border-radius: 0 0 10px 10px;
}

.mv-btn[b-qbls4l9hdd] {
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.mv-primary[b-qbls4l9hdd] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.mv-primary:hover[b-qbls4l9hdd] {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.mv-secondary[b-qbls4l9hdd] {
    background: #6c757d;
    color: white;
}

.mv-secondary:hover[b-qbls4l9hdd] {
    background: #5a6268;
}

/* Estilos para el visor de documentos */
.docx-overlay[b-qbls4l9hdd] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(3px);
    animation: fadeIn-b-qbls4l9hdd 0.3s ease-in-out;
}

.docx-panel[b-qbls4l9hdd] {
    background: white;
    border-radius: 12px;
    width: 90%;
    height: 90%;
    max-width: 1400px;
    max-height: 900px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: scaleIn-b-qbls4l9hdd 0.3s ease-out;
}

.docx-header[b-qbls4l9hdd] {
    background: linear-gradient(135deg, #4381d5 0%, #85ade4 100%);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.docx-header span[b-qbls4l9hdd] {
    font-size: 1.2rem;
    font-weight: 600;
}

.docx-close[b-qbls4l9hdd] {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.docx-close:hover[b-qbls4l9hdd] {
    background-color: rgba(255, 255, 255, 0.2);
}

.docx-container[b-qbls4l9hdd] {
    flex: 1;
    padding: 1rem;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 0 0 12px 12px;
}

/* Animaciones */
@keyframes fadeIn-b-qbls4l9hdd {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp-b-qbls4l9hdd {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn-b-qbls4l9hdd {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .mv-panel[b-qbls4l9hdd] {
        max-width: 95%;
        max-height: 90vh;
    }
    
    .docx-panel[b-qbls4l9hdd] {
        width: 95%;
        height: 95%;
        border-radius: 8px;
    }
    
    .docx-header[b-qbls4l9hdd] {
        padding: 0.75rem 1rem;
        border-radius: 8px 8px 0 0;
    }
    
    .docx-header span[b-qbls4l9hdd] {
        font-size: 1rem;
    }
    
    .mv-footer[b-qbls4l9hdd] {
        flex-direction: column-reverse;
        gap: 0.5rem;
    }
    
    .mv-btn[b-qbls4l9hdd] {
        width: 100%;
    }
}

/* Estados de focus para accesibilidad */
.mv-backdrop:focus[b-qbls4l9hdd],
.docx-overlay:focus[b-qbls4l9hdd] {
    outline: none;
}

/* Scrollbar personalizado */
.mv-body[b-qbls4l9hdd]::-webkit-scrollbar {
    width: 8px;
}

.mv-body[b-qbls4l9hdd]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.mv-body[b-qbls4l9hdd]::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.mv-body[b-qbls4l9hdd]::-webkit-scrollbar-thumb:hover {
    background: #555;
}
/* /Layout/MainLayout.razor.rz.scp.css */
.sidebar-toggle .navbar-toggler-icon[b-kzmvs003sp] {
    display: inline-block;
    width: 1.35rem;
    height: 1.35rem;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0,0,0,.55)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}


/* ============ DESKTOP (≥ 992px) ============ */
@media (min-width: 992px) {
    :root[b-kzmvs003sp] {
        /* ancho responsivo base del sidebar en desktop */
        --sidebar-w: clamp(260px, 27vw, 420px, 992px);
    }

    /* Contenedor en flex para que el main ocupe el resto */
    .shell[b-kzmvs003sp] {
        display: flex;
        flex-direction: row;
        min-height: 100vh;
        background: #fff;
        position: relative;
    }

    /* Estados (la clase controla solo si está visible o colapsado) */
    .sidebar-open[b-kzmvs003sp] {
    }
    /* no necesita nada: se muestra con su ancho */
    .sidebar-collapsed .sidebar[b-kzmvs003sp] {
        width: 0 !important;
        min-width: 0 !important;
        max-width: 0 !important;
        padding: 0;
        border-right: none;
        overflow: hidden !important;
        resize: none !important;
    }

    /* 👉 Sidebar redimensionable y con ancho responsivo */
    .sidebar[b-kzmvs003sp] {
        background: #f0f0f0;
        color: #333;
        border-right: 1px solid rgba(148, 163, 184, .15);
        display: flex;
        flex-direction: column;
        overflow: auto; /* necesario para resize */
        resize: horizontal; /* permite arrastrar el borde */
        min-width: 300px;
        max-width: 520px; /* límite superior absoluto si lo arrastras */
        width: var(--sidebar-w) !important; /* ancho responsivo por defecto */
        flex: 0 0 var(--sidebar-w); /* reserva ese ancho */
    }

    /* Opción: “modo ancho” (actívala con una clase si quieres) */
    .sidebar-expanded[b-kzmvs003sp] {
        --sidebar-w: min(520px, 40vw);
    }

    .sidebar-inner[b-kzmvs003sp] {
        display: flex;
        flex-direction: column;
        height: 100%;
        width: auto;
    }

    .sidebar-header[b-kzmvs003sp] {
        /*display: flex;*/
        /*align-items: center;*/
        gap: .5rem;
        /*padding: .75rem 1rem;*/
        /*border-bottom: 1px solid rgba(148, 163, 184, .15);*/
        /*background:  rgba(255,255,255,.04);*/
        /*background-color: yellow;*/
    }

        .sidebar-header .logo[b-kzmvs003sp] {
            width: 100%;
            height: 60px;
            /*background-color:red;*/
            /*object-fit: contain;*/
            margin-top: 10px;
            margin-left: 70px;
        }

        .sidebar-header .brand[b-kzmvs003sp] {
            font-weight: 600;
            /*letter-spacing: .2px;*/
        }

    /* Main ocupa todo el espacio restante */
    .main[b-kzmvs003sp] {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        min-width: 0; /* evita overflow por contenido ancho */
    }

    .topbar[b-kzmvs003sp] {
        height: 52px;
        border-bottom: 1px solid #e9ecef;
        background: #fff;
        display: flex;
        align-items: center;
        gap: .5rem;
        padding: 0 .75rem;
    }


    .content[b-kzmvs003sp] {
        flex: 1;
        background: #fff;
        min-width: 0;
        width: auto !important;
    }

    .backdrop[b-kzmvs003sp] {
        position: fixed;
        inset: 0;
        background: rgba(15,23,42,.35);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease-in-out;
    }
}

/* ============ MÓVIL / TABLET (< 992px) ============ */
@media (max-width: 992px) {
    .shell[b-kzmvs003sp] {
        display: block;
        min-height: 100vh;
        background: #fff;
        position: relative;
    }

    /* Off-canvas en móvil, ancho parecido al de tu segunda imagen */
    .sidebar[b-kzmvs003sp] {
        position: fixed;
        top: 0;
        left: 0;
        /*width: min(92vw, 420px);*/
        height: 100vh;
        z-index: 1040;
        background: #f0f0f0;
        color: #333;
        border-right: 1px solid rgba(148,163,184,.15);
        box-shadow: 0 10px 30px rgba(0,0,0,.35);
        transform: translateX(-100%);
        transition: transform .2s ease-in-out;
        overflow: auto;
        /*resize: none;*/ /* no redimensionable en móvil */
    }


    .sidebar-open .sidebar[b-kzmvs003sp] {
        transform: translateX(0);
    }



    .main[b-kzmvs003sp] {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        min-width: 0;
    }

    .topbar[b-kzmvs003sp] {
        height: 52px;
        /*border-bottom: 1px solid #e9ecef;*/
        /*background: #fff;*/
        display: flex;
        align-items: center;
        gap: .5rem;
        padding: 0 .75rem;
        color: blue !important;
    }

    .backdrop[b-kzmvs003sp] {
        position: fixed;
        inset: 0;
        background: rgba(15,23,42,.35);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease-in-out;
    }

    .sidebar-open .backdrop[b-kzmvs003sp] {
        opacity: 1;
        pointer-events: auto;
    }

    .sidebar-collapsed .sidebar[b-kzmvs003sp] {
        transform: translateX(-100%);
    }
}

/* Accesibilidad al enfocar */
.sidebar-toggle:focus[b-kzmvs003sp] {
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(13,110,253,.25);
}

/* ============ USUARIO SECTION STYLES ============ */
#usuario[b-kzmvs003sp] {
    position: relative;
}

.user-info-container[b-kzmvs003sp] {
    background: transparent;
    border: none;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    min-height: 48px;
    border-radius: 0;
}

    .user-info-container:hover[b-kzmvs003sp] {
        background: rgba(0,0,0,0.05);
    }

.user-avatar[b-kzmvs003sp] {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.user-info-container:hover .user-avatar[b-kzmvs003sp] {
    transform: scale(1.05);
}

.user-name[b-kzmvs003sp] {
    font-size: 0.9rem;
    line-height: 1.2;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-company[b-kzmvs003sp] {
    font-size: 0.75rem;
    line-height: 1;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #6c757d !important;
}

.dropdown-indicator[b-kzmvs003sp] {
    transition: transform 0.2s ease;
}

.user-info-container:hover .dropdown-indicator[b-kzmvs003sp],
.dropdown.show .dropdown-indicator[b-kzmvs003sp] {
    transform: rotate(180deg);
}

/* Dropdown menu styles */
.dropdown-menu[b-kzmvs003sp] {
    min-width: 280px;
    padding: 0.5rem 0;
    margin-top: 0.25rem;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.dropdown-header[b-kzmvs003sp] {
    padding: 1rem 1.5rem 0.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin: -0.5rem -1rem 0.5rem -1rem;
    border-radius: 8px 8px 0 0;
}

.dropdown-item[b-kzmvs003sp] {
    padding: 0.5rem 1.5rem;
    transition: all 0.2s ease;
    border-radius: 0;
}

    .dropdown-item:hover[b-kzmvs003sp],
    .dropdown-item:focus[b-kzmvs003sp] {
        background-color: #f8f9fa;
        transform: translateX(2px);
    }

    .dropdown-item i[b-kzmvs003sp] {
        width: 16px;
        text-align: center;
    }

.dropdown-divider[b-kzmvs003sp] {
    margin: 0.5rem 0;
}

/* About link styles */
.hover-primary:hover[b-kzmvs003sp] {
    color: #0d6efd !important;
    transform: scale(1.05);
}

/* Logo adjustment */
.logoTop[b-kzmvs003sp] {
    height: 32px;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .user-info-container[b-kzmvs003sp] {
        padding: 0.5rem 1rem !important;
        min-height: 44px;
    }

    .user-avatar[b-kzmvs003sp] {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 576px) {
    #usuario[b-kzmvs003sp] {
        margin-left: auto;
    }

    .user-info-container[b-kzmvs003sp] {
        padding: 0.4rem 0.8rem !important;
        min-height: 40px;
    }

    .user-avatar[b-kzmvs003sp] {
        width: 28px;
        height: 28px;
    }
}

/* Animation for smooth transitions */
@keyframes fadeInUp-b-kzmvs003sp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.user-info-container[b-kzmvs003sp] {
    animation: fadeInUp-b-kzmvs003sp 0.3s ease-out;
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* Premium NavMenu Styles for High-End Asset Management */

/* Full Window Container */
.full-window[b-f0aphlyhgp] {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Scrollable Content */
.scrollable-content[b-f0aphlyhgp] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
}

    .scrollable-content[b-f0aphlyhgp]::-webkit-scrollbar {
        width: 6px;
    }

    .scrollable-content[b-f0aphlyhgp]::-webkit-scrollbar-track {
        background: transparent;
    }

    .scrollable-content[b-f0aphlyhgp]::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
        border-radius: 3px;
        opacity: .6;
    }

        .scrollable-content[b-f0aphlyhgp]::-webkit-scrollbar-thumb:hover {
            opacity: .8;
        }

/* Navigation Container */
.nav-menu-container[b-f0aphlyhgp] {
    display: flex;
    flex-direction: column;
    height: 92%;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border-primary);
    position: relative;
    overflow: hidden;
}

/* Search Section */
.nav-search-container[b-f0aphlyhgp] {
    padding: 1.5rem 1rem 1rem;
    border-bottom: 1px solid var(--border-primary);
    background: var(--bg-tertiary);
}

.nav-search-wrapper[b-f0aphlyhgp] {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

    .nav-search-wrapper:focus-within[b-f0aphlyhgp] {
        border-color: var(--accent-primary);
        box-shadow: 0 0 0 2px rgba(0,70,229,0.1);
        background: var(--bg-tertiary);
    }

.search-icon[b-f0aphlyhgp] {
    position: absolute;
    left: .875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: .875rem;
    transition: color .3s ease;
}

.nav-search-wrapper:focus-within .search-icon[b-f0aphlyhgp] {
    color: var(--accent-primary);
}

.nav-search-input[b-f0aphlyhgp] {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: .875rem;
    width: 100%;
    outline: none;
    font-weight: 400;
}

    .nav-search-input[b-f0aphlyhgp]::placeholder {
        color: var(--text-muted);
        font-weight: 400;
    }

.search-clear-btn[b-f0aphlyhgp] {
    position: absolute;
    right: .75rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-tertiary);
    border: none;
    color: var(--text-muted);
    border-radius: 6px;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
}

    .search-clear-btn:hover[b-f0aphlyhgp] {
        background: var(--bg-secondary);
        color: var(--text-primary);
    }

/* Navigation Sections */
.nav-section[b-f0aphlyhgp] {
    padding: .75rem .5rem;
    flex: 1;
    overflow-y: auto;
}

.nav-user-section[b-f0aphlyhgp] {
    border-top: 1px solid var(--border-primary);
    flex: none;
    padding: .75rem .5rem 1rem;
    background: var(--bg-tertiary);
}

/* Scrollbar */
.nav-section[b-f0aphlyhgp]::-webkit-scrollbar {
    width: 6px;
}

.nav-section[b-f0aphlyhgp]::-webkit-scrollbar-track {
    background: transparent;
}

.nav-section[b-f0aphlyhgp]::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,var(--accent-primary),var(--accent-secondary));
    border-radius: 3px;
    opacity: .6;
}

    .nav-section[b-f0aphlyhgp]::-webkit-scrollbar-thumb:hover {
        opacity: .8;
    }

/* Menu Items */
.menu-item-header[b-f0aphlyhgp] {
    display: flex;
    align-items: center;
    gap: .875rem;
    padding: .875rem 1rem;
    margin: .25rem .5rem;
    background: transparent;
    color: var(--text-secondary);
    border-radius: 12px;
    cursor: pointer;
    transition: all .3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    text-decoration: none;
}

    .menu-item-header[b-f0aphlyhgp]::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg,transparent, rgba(255,255,255,.1),transparent);
        transition: left .5s ease;
    }

    .menu-item-header:hover[b-f0aphlyhgp]::before {
        left: 100%;
    }

    .menu-item-header:hover[b-f0aphlyhgp] {
        background: var(--bg-tertiary);
        border-color: rgba(79,70,229,.3);
        color: var(--text-primary);
        transform: translateX(4px);
        box-shadow: 0 4px 12px rgba(0,0,0,.15);
    }

    .menu-item-header.active[b-f0aphlyhgp] {
        background: linear-gradient(135deg, rgba(79,70,229,.15), rgba(129,140,248,.1));
        border-color: var(--accent-primary);
        color: var(--text-primary);
        box-shadow: 0 0 20px rgba(79,70,229,.2);
    }

        .menu-item-header.active[b-f0aphlyhgp]::after {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 3px;
            background: linear-gradient(180deg,var(--accent-primary),var(--accent-secondary));
            border-radius: 0 2px 2px 0;
        }

.menu-item-icon[b-f0aphlyhgp] {
    color: var(--text-muted);
    font-size: 1.125rem;
    transition: all .3s ease;
    min-width: 1.25rem;
    text-align: center;
}

.menu-item-header:hover .menu-item-icon[b-f0aphlyhgp],
.menu-item-header.active .menu-item-icon[b-f0aphlyhgp] {
    color: var(--accent-primary);
    transform: scale(1.1);
}

.menu-item-text[b-f0aphlyhgp] {
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: .025em;
}

.expand-icon[b-f0aphlyhgp] {
    color: var(--text-muted);
    font-size: .75rem;
    transition: all .3s ease;
    margin-left: auto;
}

.menu-item.expanded .expand-icon[b-f0aphlyhgp] {
    transform: rotate(90deg);
    color: var(--accent-primary);
}

/* Submenu */
.submenu-list[b-f0aphlyhgp] {
    margin-left: 1.5rem;
    margin-top: .5rem;
    border-left: 2px solid rgba(79,70,229,.2);
    padding-left: .75rem;
    animation: slideDown-b-f0aphlyhgp .3s ease-out;
}

.submenu-item[b-f0aphlyhgp] {
    padding: .5rem .75rem;
    margin: .125rem 0;
    color: var(--text-muted);
    font-size: .8125rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all .2s ease;
    position: relative;
}

    .submenu-item:hover[b-f0aphlyhgp] {
        background: var(--bg-tertiary);
        color: var(--text-secondary);
        transform: translateX(2px);
    }

    .submenu-item.active[b-f0aphlyhgp] {
        background: rgba(79,70,229,.1);
        color: var(--accent-primary);
    }

/* Footer */
.nav-footer[b-f0aphlyhgp] {
    border-top: 1px solid var(--border-primary);
    padding: 1.25rem 1rem;
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
}

.nav-footer-content[b-f0aphlyhgp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-version[b-f0aphlyhgp] {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .8125rem;
    color: var(--text-muted);
    font-weight: 500;
}

    .nav-version span:first-child[b-f0aphlyhgp] {
        font-weight: 600;
        color: var(--text-secondary);
    }

.version-badge[b-f0aphlyhgp] {
    background: linear-gradient(135deg,var(--accent-primary),var(--accent-secondary));
    color: white;
    padding: .25rem .75rem;
    border-radius: 12px;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .05em;
    box-shadow: 0 2px 8px rgba(79,70,229,.3);
}

.nav-footer-link[b-f0aphlyhgp] {
    color: var(--text-muted);
    transition: all .3s ease;
    font-size: 1.125rem;
    padding: .5rem;
    border-radius: 8px;
    background: var(--bg-tertiary);
    border: 1px solid transparent;
}

    .nav-footer-link:hover[b-f0aphlyhgp] {
        color: var(--accent-primary);
        background: rgba(79,70,229,.1);
        border-color: rgba(79,70,229,.3);
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(79,70,229,.2);
    }

/* Themes */
.dark-theme .nav-menu-container[b-f0aphlyhgp] {
    --sidebar-bg: linear-gradient(180deg,rgba(11,12,28,.98) 0%,rgba(16,18,46,.95) 100%);
}

.light-theme .nav-menu-container[b-f0aphlyhgp] {
    --sidebar-bg: linear-gradient(180deg,rgba(248,250,252,.98) 0%,rgba(241,245,249,.95) 100%);
}

.light-theme .menu-item-header[b-f0aphlyhgp] {
    color: var(--text-secondary);
}

.light-theme .menu-item-text[b-f0aphlyhgp] {
    color: var(--text-primary);
}

.light-theme .menu-item-icon[b-f0aphlyhgp] {
    color: var(--text-muted);
}

.light-theme .nav-search-input[b-f0aphlyhgp] {
    color: var(--text-primary);
}

.light-theme .search-icon[b-f0aphlyhgp] {
    color: var(--text-muted);
}

.light-theme .nav-version[b-f0aphlyhgp] {
    color: var(--text-muted);
}

    .light-theme .nav-version span:first-child[b-f0aphlyhgp] {
        color: var(--text-secondary);
    }

.light-theme .nav-footer-link[b-f0aphlyhgp] {
    color: var(--text-muted);
}

.light-theme .menu-item-header:hover[b-f0aphlyhgp] {
    background: var(--bg-secondary);
}

.light-theme .menu-item-header.active[b-f0aphlyhgp] {
    background: linear-gradient(135deg,rgba(79,70,229,.1),rgba(129,140,248,.05));
}

.light-theme .submenu-item:hover[b-f0aphlyhgp] {
    background: var(--bg-secondary);
}

/* Premium */
.menu-item-header.premium[b-f0aphlyhgp] {
    background: linear-gradient(135deg,rgba(212,175,55,.1),rgba(255,215,0,.05));
    border-color: rgba(212,175,55,.3);
}

    .menu-item-header.premium .menu-item-icon[b-f0aphlyhgp] {
        color: #d4af37;
    }

    .menu-item-header.premium:hover[b-f0aphlyhgp] {
        background: linear-gradient(135deg,rgba(212,175,55,.15),rgba(255,215,0,.08));
        box-shadow: 0 4px 20px rgba(212,175,55,.2);
    }

/* Responsive */
@media (max-width:768px) {
    .nav-search-container[b-f0aphlyhgp] {
        padding: 1rem .75rem .75rem;
    }

    .nav-search-wrapper[b-f0aphlyhgp] {
        padding: .625rem .875rem .625rem 2.25rem;
    }

    .menu-item-header[b-f0aphlyhgp] {
        padding: .75rem .875rem;
        margin: .125rem .25rem;
        gap: .75rem;
    }

    .nav-footer[b-f0aphlyhgp] {
        padding: 1rem .75rem;
    }

    .menu-item-text[b-f0aphlyhgp] {
        font-size: .8125rem;
    }
}

/* Animations */
@keyframes slideDown-b-f0aphlyhgp {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

@keyframes spin-b-f0aphlyhgp {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }

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

/* Loading */
.menu-item-header.loading[b-f0aphlyhgp] {
    opacity: .6;
    pointer-events: none;
}

    .menu-item-header.loading[b-f0aphlyhgp]::after {
        content: '';
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        width: 12px;
        height: 12px;
        border: 2px solid transparent;
        border-top: 2px solid var(--accent-primary);
        border-radius: 50%;
        animation: spin-b-f0aphlyhgp 1s linear infinite;
    }

/* ───────────────────────────────────── */
/* OVERRIDES: quitar color azul y subrayado en los <a> del menú */
.menu-link[b-f0aphlyhgp],
.menu-link:link[b-f0aphlyhgp],
.menu-link:visited[b-f0aphlyhgp] {
    color: inherit !important;
    text-decoration: none !important;
}

    .menu-link:hover[b-f0aphlyhgp],
    .menu-link:focus[b-f0aphlyhgp],
    .menu-link:active[b-f0aphlyhgp] {
        color: inherit !important;
        text-decoration: none !important;
    }
/* /Pages/Home.razor.rz.scp.css */
