/* ============================================
   SMD - Sistem Management Dapur Inventory
   Modern CSS Stylesheet
   ============================================ */

:root {
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --primary-bg: rgba(37, 99, 235, 0.08);
    --gold: #f59e0b;
    --gold-light: #fbbf24;
    --gold-bg: rgba(245, 158, 11, 0.08);
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.08);
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.08);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.08);
    --info: #06b6d4;
    --info-bg: rgba(6, 182, 212, 0.08);
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --sidebar-width: 260px;
    --topbar-height: 60px;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px 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);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Dark Mode Variables */
body.dark-mode {
    --primary-bg: rgba(59, 130, 246, 0.15);
    --gold-bg: rgba(251, 191, 36, 0.15);
    --gray-50: #111827;
    --gray-100: #1f2937;
    --gray-200: #374151;
    --gray-300: #4b5563;
    --gray-700: #e5e7eb;
    --gray-800: #f3f4f6;
    --gray-900: #f9fafb;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow: 0 1px 3px rgba(0,0,0,0.4);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.4);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.4);
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background: var(--gray-50);
    color: var(--gray-800);
    overflow-x: hidden;
    min-height: 100vh;
}

body.dark-mode {
    background: #0f172a;
    color: #e2e8f0;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

a {
    text-decoration: none;
    color: var(--primary);
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    color: #fff;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    overflow: hidden;
}

.sidebar-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    min-height: 64px;
}

.sidebar-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    margin-right: 12px;
    flex-shrink: 0;
}

.sidebar-brand h6 {
    color: #fff;
    font-size: 16px;
}

.sidebar-brand small {
    color: rgba(255,255,255,0.5);
    font-size: 11px;
}

.sidebar-menu {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
}

.sidebar-menu .nav-link {
    color: rgba(255,255,255,0.6);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    border-radius: 0;
    position: relative;
    margin: 1px 8px;
    border-radius: 8px;
}

.sidebar-menu .nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.sidebar-menu .nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.sidebar-menu .nav-link i {
    font-size: 18px;
    width: 22px;
    text-align: center;
}

.sidebar-menu .nav-section-title {
    padding: 16px 20px 6px;
}

.sidebar-footer {
    padding: 12px 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-user .user-avatar {
    font-size: 32px;
    color: rgba(255,255,255,0.5);
}

.sidebar-user .user-info {
    display: flex;
    flex-direction: column;
}

.sidebar-user .user-name {
    color: #fff;
    font-size: 13px;
}

.sidebar-user .user-role {
    font-size: 10px;
    padding: 2px 6px;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: var(--transition);
}

/* ============================================
   TOP NAVBAR
   ============================================ */
.top-navbar {
    height: var(--topbar-height);
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 1030;
}

body.dark-mode .top-navbar {
    background: #1e293b;
    border-color: #334155;
}

.btn-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: none;
    background: var(--gray-100);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-icon:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

body.dark-mode .btn-icon {
    background: #334155;
    color: #94a3b8;
}

body.dark-mode .btn-icon:hover {
    background: #475569;
    color: #e2e8f0;
}

.btn-user {
    border: none;
    background: var(--gray-100);
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 13px;
    color: var(--gray-700);
    transition: var(--transition);
}

.btn-user:hover {
    background: var(--gray-200);
}

body.dark-mode .btn-user {
    background: #334155;
    color: #e2e8f0;
}

.sidebar-toggle {
    border: none;
    background: none;
    color: var(--gray-600);
    font-size: 18px;
    padding: 4px;
}

/* ============================================
   PAGE CONTENT
   ============================================ */
.page-content {
    padding: 24px;
}

/* ============================================
   GLASS CARD
   ============================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

body.dark-mode .glass-card {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(255, 255, 255, 0.05);
}

.glass-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* ============================================
   STAT CARDS
   ============================================ */
.stat-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

body.dark-mode .stat-card {
    background: #1e293b;
    border-color: #334155;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.stat-card.card-primary::before { background: linear-gradient(90deg, var(--primary), var(--primary-light)); }
.stat-card.card-success::before { background: linear-gradient(90deg, var(--success), #34d399); }
.stat-card.card-warning::before { background: linear-gradient(90deg, var(--warning), var(--gold-light)); }
.stat-card.card-danger::before { background: linear-gradient(90deg, var(--danger), #f87171); }
.stat-card.card-info::before { background: linear-gradient(90deg, var(--info), #22d3ee); }
.stat-card.card-gold::before { background: linear-gradient(90deg, var(--gold), #fcd34d); }

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-card .stat-icon.bg-primary-soft {
    background: var(--primary-bg);
    color: var(--primary);
}

.stat-card .stat-icon.bg-success-soft {
    background: var(--success-bg);
    color: var(--success);
}

.stat-card .stat-icon.bg-warning-soft {
    background: var(--warning-bg);
    color: var(--warning);
}

.stat-card .stat-icon.bg-danger-soft {
    background: var(--danger-bg);
    color: var(--danger);
}

.stat-card .stat-icon.bg-info-soft {
    background: var(--info-bg);
    color: var(--info);
}

.stat-card .stat-icon.bg-gold-soft {
    background: var(--gold-bg);
    color: var(--gold);
}

.stat-card .stat-value {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--gray-900);
}

body.dark-mode .stat-card .stat-value {
    color: #f1f5f9;
}

.stat-card .stat-label {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
}

.stat-card .stat-change {
    font-size: 12px;
    font-weight: 600;
}

/* ============================================
   MODERN CARD
   ============================================ */
.modern-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    overflow: hidden;
}

body.dark-mode .modern-card {
    background: #1e293b;
    border-color: #334155;
}

.modern-card .card-header {
    background: transparent;
    border-bottom: 1px solid var(--gray-100);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

body.dark-mode .modern-card .card-header {
    border-color: #334155;
}

.modern-card .card-header h6 {
    font-weight: 700;
    font-size: 15px;
    color: var(--gray-800);
    margin: 0;
}

body.dark-mode .modern-card .card-header h6 {
    color: #e2e8f0;
}

.modern-card .card-body {
    padding: 20px;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    margin-bottom: 24px;
}

.page-header h4 {
    font-weight: 800;
    font-size: 24px;
    color: var(--gray-900);
    margin-bottom: 4px;
}

body.dark-mode .page-header h4 {
    color: #f1f5f9;
}

.page-header p {
    color: var(--gray-500);
    font-size: 14px;
    margin: 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary-modern {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary-modern:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.btn-gold-modern {
    background: linear-gradient(135deg, var(--gold) 0%, #d97706 100%);
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-gold-modern:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.btn-outline-modern {
    background: transparent;
    border: 2px solid var(--gray-200);
    color: var(--gray-600);
    padding: 8px 18px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-outline-modern:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-bg);
}

/* ============================================
   FORM STYLES
   ============================================ */
.form-modern .form-label {
    font-weight: 600;
    font-size: 13px;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-modern .form-control,
.form-modern .form-select {
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    padding: 10px 14px;
    font-size: 14px;
    transition: var(--transition);
    background: #fff;
}

body.dark-mode .form-modern .form-control,
body.dark-mode .form-modern .form-select {
    background: #0f172a;
    border-color: #334155;
    color: #e2e8f0;
}

.form-modern .form-control:focus,
.form-modern .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-bg);
}

.form-modern .form-control.is-invalid {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px var(--danger-bg);
}

.form-modern .input-group-text {
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
}

body.dark-mode .form-modern .input-group-text {
    background: #0f172a;
    border-color: #334155;
    color: #94a3b8;
}

/* ============================================
   TABLE STYLES
   ============================================ */
.table-modern {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.table-modern thead th {
    background: var(--gray-50);
    color: var(--gray-600);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    border-bottom: 2px solid var(--gray-200);
    white-space: nowrap;
}

body.dark-mode .table-modern thead th {
    background: #0f172a;
    color: #94a3b8;
    border-color: #334155;
}

.table-modern tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
    vertical-align: middle;
}

body.dark-mode .table-modern tbody td {
    border-color: #1e293b;
}

.table-modern tbody tr:hover {
    background: var(--primary-bg);
}

/* ============================================
   BADGES
   ============================================ */
.badge-modern {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ============================================
   PROGRESS BAR
   ============================================ */
.progress-modern {
    height: 8px;
    border-radius: 4px;
    background: var(--gray-200);
    overflow: hidden;
}

.progress-modern .progress-bar {
    border-radius: 4px;
    transition: width 0.6s ease;
}

.progress-modern.progress-gizi {
    height: 10px;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid #fff;
    box-shadow: 0 0 0 3px var(--primary-bg);
}

.timeline-item .timeline-content {
    background: var(--gray-50);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
}

body.dark-mode .timeline-item .timeline-content {
    background: #0f172a;
}

.timeline-item .timeline-time {
    font-size: 11px;
    color: var(--gray-400);
    font-weight: 500;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: #fff;
    font-size: 24px;
}

/* ============================================
   UPLOAD ZONE
   ============================================ */
.upload-zone {
    border: 2px dashed var(--gray-300);
    border-radius: var(--border-radius);
    padding: 40px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    background: var(--gray-50);
}

.upload-zone:hover,
.upload-zone.drag-over {
    border-color: var(--primary);
    background: var(--primary-bg);
}

.upload-zone i {
    font-size: 40px;
    color: var(--gray-400);
    margin-bottom: 12px;
}

.upload-zone.drag-over i {
    color: var(--primary);
}

.upload-progress {
    height: 4px;
    border-radius: 2px;
    background: var(--gray-200);
    overflow: hidden;
    margin-top: 8px;
}

.upload-progress .progress-bar {
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transition: width 0.3s ease;
}

/* ============================================
   LOADING OVERLAY
   ============================================ */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

body.dark-mode .loading-overlay {
    background: rgba(15, 23, 42, 0.8);
}

.loading-overlay.show {
    display: flex;
}

/* ============================================
   SKELETON LOADING
   ============================================ */
.skeleton {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 6px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-title {
    height: 24px;
    width: 40%;
    margin-bottom: 12px;
}

.skeleton-card {
    height: 120px;
    border-radius: var(--border-radius);
}

/* ============================================
   NUTRITION CARD
   ============================================ */
.nutrition-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: var(--border-radius);
    padding: 20px;
    border: 1px solid #bbf7d0;
}

body.dark-mode .nutrition-card {
    background: linear-gradient(135deg, #052e16 0%, #14532d 100%);
    border-color: #166534;
}

.nutrition-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nutrition-item:last-child {
    border-bottom: none;
}

.nutrition-item .nutrition-label {
    font-size: 13px;
    color: var(--gray-600);
    font-weight: 500;
}

.nutrition-item .nutrition-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-800);
}

body.dark-mode .nutrition-item .nutrition-value {
    color: #e2e8f0;
}

/* ============================================
   FILTER BAR
   ============================================ */
.filter-bar {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    margin-bottom: 20px;
}

body.dark-mode .filter-bar {
    background: #1e293b;
    border-color: #334155;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.show {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
    }
    .page-content {
        padding: 16px;
    }
    .sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1035;
        display: none;
    }
    .sidebar-overlay.show {
        display: block;
    }
}

@media (max-width: 575.98px) {
    .page-header h4 {
        font-size: 20px;
    }
    .stat-card {
        padding: 16px;
    }
    .stat-card .stat-value {
        font-size: 22px;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 8px;
    }
    .filter-bar .row > div {
        margin-bottom: 8px;
    }
    .page-content {
        padding: 12px;
    }
    .table-modern {
        font-size: 12px;
    }
    .table-modern thead th,
    .table-modern tbody td {
        padding: 8px 10px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.3s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ============================================
   RAB ITEM TABLE
   ============================================ */
.rab-items-table .item-row {
    background: var(--gray-50);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 8px;
    border: 1px solid var(--gray-200);
}

body.dark-mode .rab-items-table .item-row {
    background: #0f172a;
    border-color: #334155;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .sidebar,
    .top-navbar,
    .btn,
    .filter-bar,
    .no-print {
        display: none !important;
    }
    .main-content {
        margin-left: 0 !important;
    }
    .page-content {
        padding: 0 !important;
    }
    .modern-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    .stat-card {
        box-shadow: none !important;
    }
    body {
        background: #fff !important;
        color: #000 !important;
    }
}

/* ============================================
   NOTA THUMBNAIL
   ============================================ */
.nota-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--gray-200);
    cursor: pointer;
    transition: var(--transition);
}

.nota-thumb:hover {
    border-color: var(--primary);
    transform: scale(1.1);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination-modern .page-link {
    border: none;
    border-radius: 8px;
    margin: 0 2px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    transition: var(--transition);
}

.pagination-modern .page-link:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

.pagination-modern .page-item.active .page-link {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 64px;
    color: var(--gray-300);
    margin-bottom: 16px;
}

.empty-state h5 {
    color: var(--gray-500);
    font-weight: 600;
}

.empty-state p {
    color: var(--gray-400);
    font-size: 14px;
}
