/**
 * Sistema AND - Estilos Personalizados para Admin Layout
 * Color Corporativo: #0064b0
 * Autoridad Nacional de Descentralización de Panamá
 */

/* ========================================
   Variables CSS - Colores Corporativos
   ======================================== */
:root {
    --and-primary: #0064b0;
    --and-primary-dark: #004d8c;
    --and-primary-light: #3d8ac7;
    --and-secondary: #6c757d;
    --and-success: #10b981;
    --and-danger: #ef4444;
    --and-warning: #f59e0b;
    --and-info: #3b82f6;
    --and-light: #f3f4f6;
    --and-dark: #1f2937;
    --and-white: #ffffff;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transiciones */
    --transition-fast: all 0.2s ease;
    --transition-base: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* Bordes */
    --border-radius-sm: 6px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --border-radius-full: 9999px;
}

/* ========================================
   Botones Personalizados
   ======================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--and-primary) 0%, var(--and-primary-dark) 100%);
    border: none;
    box-shadow: 0 2px 8px rgba(0, 100, 176, 0.3);
    transition: var(--transition-base);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--and-primary-dark) 0%, #003a6b 100%);
    box-shadow: 0 4px 12px rgba(0, 100, 176, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active, .btn-primary:focus {
    background: var(--and-primary-dark);
    box-shadow: 0 0 0 0.2rem rgba(0, 100, 176, 0.25);
}

.btn-outline-primary {
    color: var(--and-primary);
    border-color: var(--and-primary);
}

.btn-outline-primary:hover {
    background: var(--and-primary);
    border-color: var(--and-primary);
    color: white;
}

/* Botones con iconos */
.btn i {
    margin-right: 6px;
    font-size: 16px;
    vertical-align: middle;
}

/* ========================================
   Tarjetas Mejoradas
   ======================================== */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition-base);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-header {
    background: linear-gradient(135deg, var(--and-primary) 0%, var(--and-primary-dark) 100%);
    color: white;
    border-bottom: none;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
}

.card-header h4,
.card-header h5 {
    color: white;
    margin: 0;
}

.card-body {
    padding: 1.5rem;
}

/* Tarjetas estadísticas */
.card-stats {
    position: relative;
    overflow: hidden;
}

.card-stats::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.card-stats .stats-icon {
    font-size: 2.5rem;
    color: var(--and-primary);
    opacity: 0.2;
    position: absolute;
    right: 20px;
    bottom: 20px;
}

/* ========================================
   Sidebar Mejorado
   ======================================== */
#sidebar-menu ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
    border-radius: var(--border-radius-sm);
    margin: 2px 10px;
}

#sidebar-menu ul li a:hover {
    color: white;
    background: rgba(0, 100, 176, 0.15);
    transform: translateX(5px);
}

#sidebar-menu ul li a.active {
    background: var(--and-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 100, 176, 0.4);
}

#sidebar-menu ul li a i {
    color: var(--and-primary-light);
    transition: var(--transition-fast);
}

#sidebar-menu ul li a:hover i,
#sidebar-menu ul li a.active i {
    color: white;
}

/* ========================================
   Topbar Mejorado
   ======================================== */
.navbar-header {
    background: #00539d;
    box-shadow: 0 2px 15px rgba(0, 83, 157, 0.3);
    z-index: 1000;
}

#page-topbar .header-item {
    color: #fff !important;
}

#page-topbar .header-item i {
    color: #fff !important;
}

#page-topbar .vertical-menu-btn {
    color: #fff !important;
}

#page-topbar .vertical-menu-btn i {
    color: #fff !important;
}

#page-topbar .header-item:hover {
    color: #fff !important;
}

.navbar-brand-box {
    background: rgba(255, 255, 255, 0.1);
}

.logo-light {
    filter: brightness(0) invert(1);
}

/* Notificaciones en topbar */
.noti-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.noti-icon .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--and-danger);
    border-radius: var(--border-radius-full);
    font-size: 10px;
    padding: 2px 5px;
}

#page-topbar .topbar-badge {
    position: absolute;
    top: 5px;
    right: 3px;
    font-size: 9px;
    padding: 2px 5px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dropdown de notificaciones */
#page-topbar .dropdown-menu-lg {
    min-width: 320px;
    max-width: 380px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

#page-topbar .notification-item {
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

#page-topbar .notification-item:last-child {
    border-bottom: none;
}

#page-topbar .notification-item:hover {
    background: #f8f9fa;
    transform: translateX(2px);
}

#page-topbar .dropdown-menu .bg-primary {
    background: linear-gradient(135deg, #00539d 0%, #003d75 100%) !important;
}

#page-topbar .dropdown-menu .btn-link {
    color: #00539d;
    text-decoration: none;
    font-weight: 500;
}

#page-topbar .dropdown-menu .btn-link:hover {
    color: #003d75;
    text-decoration: underline;
}

#page-topbar .avatar-xs {
    width: 2rem;
    height: 2rem;
}

#page-topbar .avatar-title {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 16px;
}

/* ========================================
   Tablas Mejoradas
   ======================================== */
.table {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.table thead th {
    background: linear-gradient(135deg, var(--and-primary) 0%, var(--and-primary-dark) 100%);
    color: white;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 1rem;
}

.table tbody tr {
    transition: var(--transition-fast);
}

.table tbody tr:hover {
    background: rgba(0, 100, 176, 0.05);
    transform: scale(1.01);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Responsive table wrapper */
.table-responsive {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* ========================================
   Formularios Mejorados
   ======================================== */
.form-control,
.form-select {
    border-radius: var(--border-radius);
    border: 2px solid #e5e7eb;
    padding: 0.65rem 1rem;
    transition: var(--transition-base);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--and-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 100, 176, 0.15);
}

.form-label {
    font-weight: 600;
    color: var(--and-dark);
    margin-bottom: 0.5rem;
}

.form-label.required::after {
    content: ' *';
    color: var(--and-danger);
}

/* Input groups */
.input-group-text {
    background: var(--and-primary);
    color: white;
    border: none;
}

/* ========================================
   Badges Personalizados
   ======================================== */
.badge {
    padding: 0.4em 0.8em;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.8em;
}

.badge-primary {
    background: var(--and-primary);
}

.badge-success {
    background: var(--and-success);
}

.badge-danger {
    background: var(--and-danger);
}

.badge-warning {
    background: var(--and-warning);
    color: var(--and-dark);
}

.badge-info {
    background: var(--and-info);
}

/* ========================================
   Alerts Mejorados
   ======================================== */
.alert {
    border: none;
    border-radius: var(--border-radius-lg);
    border-left: 4px solid;
    box-shadow: var(--shadow);
}

.alert-success {
    background: #d1fae5;
    border-color: var(--and-success);
    color: #065f46;
}

.alert-danger {
    background: #fee2e2;
    border-color: var(--and-danger);
    color: #991b1b;
}

.alert-warning {
    background: #fef3c7;
    border-color: var(--and-warning);
    color: #92400e;
}

.alert-info {
    background: #dbeafe;
    border-color: var(--and-info);
    color: #1e40af;
}

/* ========================================
   Breadcrumb Mejorado
   ======================================== */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--and-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb-item a:hover {
    color: var(--and-primary-dark);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--and-secondary);
}

/* ========================================
   Pagination Mejorada
   ======================================== */
.pagination .page-link {
    color: var(--and-primary);
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    margin: 0 3px;
    transition: var(--transition-fast);
}

.pagination .page-link:hover {
    background: var(--and-primary);
    color: white;
    border-color: var(--and-primary);
}

.pagination .page-item.active .page-link {
    background: var(--and-primary);
    border-color: var(--and-primary);
}

/* ========================================
   Modales Mejorados
   ======================================== */
.modal-content {
    border: none;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
}

.modal-header {
    background: linear-gradient(135deg, var(--and-primary) 0%, var(--and-primary-dark) 100%);
    color: white;
    border-bottom: none;
    border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-footer {
    border-top: 1px solid #e5e7eb;
}

/* ========================================
   Tabs Mejorados
   ======================================== */
.nav-tabs {
    border-bottom: 2px solid #e5e7eb;
}

.nav-tabs .nav-link {
    color: var(--and-secondary);
    border: none;
    border-bottom: 3px solid transparent;
    transition: var(--transition-fast);
}

.nav-tabs .nav-link:hover {
    color: var(--and-primary);
    border-bottom-color: var(--and-primary-light);
}

.nav-tabs .nav-link.active {
    color: var(--and-primary);
    background: transparent;
    border-bottom-color: var(--and-primary);
    font-weight: 600;
}

/* ========================================
   Progress Bars
   ======================================== */
.progress {
    height: 1.2rem;
    border-radius: var(--border-radius-full);
    background: #e5e7eb;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    background: linear-gradient(135deg, var(--and-primary) 0%, var(--and-primary-dark) 100%);
    border-radius: var(--border-radius-full);
}

/* ========================================
   Dropdowns Mejorados
   ======================================== */
.dropdown-menu {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
    padding: 0.5rem 1rem;
}

.dropdown-item:hover {
    background: rgba(0, 100, 176, 0.1);
    color: var(--and-primary);
}

/* ========================================
   Page Title
   ======================================== */
.page-title-box {
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
}

.page-title {
    color: var(--and-dark);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.page-title-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ========================================
   Loading Spinner
   ======================================== */
.spinner-and {
    border: 3px solid rgba(0, 100, 176, 0.1);
    border-radius: 50%;
    border-top: 3px solid var(--and-primary);
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

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

/* ========================================
   Tooltips
   ======================================== */
.tooltip-inner {
    background: var(--and-dark);
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
}

/* ========================================
   Utilities
   ======================================== */
.text-primary-and {
    color: var(--and-primary) !important;
}

.bg-primary-and {
    background: var(--and-primary) !important;
}

.border-primary-and {
    border-color: var(--and-primary) !important;
}

/* Sombras utilitarias */
.shadow-sm-and { box-shadow: var(--shadow-sm); }
.shadow-and { box-shadow: var(--shadow); }
.shadow-md-and { box-shadow: var(--shadow-md); }
.shadow-lg-and { box-shadow: var(--shadow-lg); }
.shadow-xl-and { box-shadow: var(--shadow-xl); }

/* ========================================
   DataTables Personalizado
   ======================================== */
.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    padding: 0.5rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--and-primary) !important;
    color: white !important;
    border-color: var(--and-primary) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: var(--and-primary-light) !important;
    color: white !important;
    border-color: var(--and-primary-light) !important;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .page-title {
        font-size: 1.5rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

/* ========================================
   Dark Mode Support (Opcional)
   ======================================== */
[data-sidebar="dark"] #sidebar-menu ul li a {
    color: rgba(255, 255, 255, 0.6);
}

[data-sidebar="dark"] #sidebar-menu ul li a:hover {
    color: white;
    background: rgba(0, 100, 176, 0.2);
}

[data-sidebar="dark"] #sidebar-menu ul li a.active {
    background: var(--and-primary);
    color: white;
}

/* ========================================
   Animaciones Suaves
   ======================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.slide-in-up {
    animation: slideInUp 0.6s ease-out;
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .sidebar,
    .topbar,
    .footer,
    .page-title-right,
    .btn,
    .navbar-header {
        display: none !important;
    }
    
    .main-content {
        margin: 0 !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* ========================================
   ESTILOS MODERNOS PARA LAYOUTS
   ======================================== */

 

/* ============ SIDEBAR MODERNO ============ */
.sidebar-modern {
    background: linear-gradient(180deg, var(--and-primary) 0%, var(--and-primary-dark) 100%);
    box-shadow: 2px 0 15px rgba(0, 100, 176, 0.3);
    border-right: none;
}

.sidebar-modern .sidebar-menu-scroll {
    background: transparent;
}

.sidebar-modern #sidebar-menu {
    background: transparent;
}

.sidebar-modern .navbar-brand-box {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.sidebar-modern .navbar-brand-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

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

.sidebar-modern .logo-txt {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sidebar-modern .vertical-menu-btn {
    display: none;
}

.sidebar-modern #side-menu {
    padding: 20px 15px;
}

.sidebar-modern .menu-title {
    padding: 15px 20px 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-left: 15px;
    margin-right: 15px;
}

.sidebar-modern .menu-title i {
    font-size: 14px;
}

.sidebar-modern #side-menu > li > a {
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    border-radius: 10px;
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.sidebar-modern #side-menu > li > a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: #fff;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.sidebar-modern #side-menu > li > a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding-left: 24px;
}

.sidebar-modern #side-menu > li > a:hover::before {
    transform: scaleY(1);
}

.sidebar-modern #side-menu > li.mm-active > a {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-left: 4px solid #fff;
}

.sidebar-modern #side-menu > li.mm-active > a::before {
    display: none;
}

.sidebar-modern .nav-icon {
    font-size: 20px;
    width: 28px;
    display: inline-block;
    text-align: center;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.sidebar-modern #side-menu > li > a:hover .nav-icon {
    transform: scale(1.15) rotate(5deg);
}

.sidebar-modern .badge {
    font-size: 10px;
    padding: 4px 8px;
    font-weight: 600;
}

.sidebar-modern .sub-menu {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin: 5px 0 10px 0;
    padding: 8px 0;
}

.sidebar-modern .sub-menu li a {
    padding: 10px 20px 10px 48px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-modern .sub-menu li a i {
    font-size: 16px;
    width: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.sidebar-modern .sub-menu li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding-left: 52px;
}

.sidebar-modern .sub-menu li a:hover i {
    color: #fff;
    transform: translateX(3px);
}

.sidebar-modern .has-arrow::after {
    border: none;
    font-family: 'Material Design Icons';
    content: "\F0142";
    font-size: 18px;
    transition: all 0.3s ease;
    position: absolute;
    right: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.sidebar-modern .mm-active > .has-arrow::after {
    transform: rotate(90deg);
    color: #fff;
}

/* ============ FOOTER MODERNO ============ */
.footer-modern {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-top: 2px solid rgba(0, 100, 176, 0.1);
    padding: 20px 0;
    box-shadow: 0 -2px 10px rgba(0, 100, 176, 0.05);
}

.footer-modern .footer-copyright {
    color: #6c757d;
    font-size: 14px;
    font-weight: 400;
}

.footer-modern .footer-copyright strong {
    color: var(--and-primary);
    font-weight: 600;
}

.footer-modern .footer-links {
    color: #6c757d;
    font-size: 14px;
}

.footer-modern .footer-links strong {
    color: var(--and-primary);
    font-weight: 600;
}

.footer-modern .separator {
    color: #dee2e6;
    margin: 0 8px;
}

.footer-modern .footer-link {
    color: #6c757d;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.footer-modern .footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--and-primary);
    transition: width 0.3s ease;
}

.footer-modern .footer-link:hover {
    color: var(--and-primary);
}

.footer-modern .footer-link:hover::after {
    width: 100%;
}

/* ============ RESPONSIVE AJUSTES ============ */
@media (max-width: 991.98px) {
    #page-topbar {
        left: 0;
    }

    .sidebar-modern .vertical-menu-btn {
        display: block;
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
        border: none;
        border-radius: 8px;
        margin: 10px;
    }
}

@media (max-width: 767.98px) {
    #page-topbar .navbar-header {
        padding: 0 12px;
    }

    #page-topbar .header-item {
        padding: 8px 10px;
    }

    #page-topbar .header-profile-user {
        width: 30px;
        height: 30px;
    }

    .footer-modern {
        text-align: center;
    }

    .footer-modern .text-sm-end {
        text-align: center !important;
        margin-top: 10px;
    }

    .dropdown-menu-lg {
        min-width: 280px;
    }
}

/* ============ ANIMACIONES ADICIONALES ============ */
@keyframes slideInFromLeft {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.sidebar-modern #side-menu > li {
    animation: slideInFromLeft 0.4s ease forwards;
    opacity: 0;
}

.sidebar-modern #side-menu > li:nth-child(1) { animation-delay: 0.1s; }
.sidebar-modern #side-menu > li:nth-child(2) { animation-delay: 0.15s; }
.sidebar-modern #side-menu > li:nth-child(3) { animation-delay: 0.2s; }
.sidebar-modern #side-menu > li:nth-child(4) { animation-delay: 0.25s; }
.sidebar-modern #side-menu > li:nth-child(5) { animation-delay: 0.3s; }
.sidebar-modern #side-menu > li:nth-child(6) { animation-delay: 0.35s; }
.sidebar-modern #side-menu > li:nth-child(7) { animation-delay: 0.4s; }
.sidebar-modern #side-menu > li:nth-child(8) { animation-delay: 0.45s; }

/* ============ ESTADOS DE SCROLL ============ */
.simplebar-track.simplebar-vertical {
    width: 6px;
    background: rgba(0, 100, 176, 0.05);
    border-radius: 3px;
}

.simplebar-scrollbar::before {
    background: var(--and-primary);
    border-radius: 3px;
    opacity: 0.4;
}

.simplebar-scrollbar:hover::before {
    opacity: 0.6;
}

/* ========================================
   Fin de Estilos Personalizados
   ======================================== */
