/* ==========================================================================
   Finance Feasibility — Design System
   Modern, responsive, premium feel with glassmorphism, gradients, micro-animations
   ========================================================================== */

/* --- Google Font --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
    /* Colors */
    --primary-50: #eef2ff;
    --primary-100: #e0e7ff;
    --primary-200: #c7d2fe;
    --primary-300: #a5b4fc;
    --primary-400: #818cf8;
    --primary-500: #6366f1;
    --primary-600: #4f46e5;
    --primary-700: #4338ca;
    --primary-800: #3730a3;
    --primary-900: #312e81;

    --accent-400: #34d399;
    --accent-500: #10b981;
    --accent-600: #059669;

    --warning-400: #fbbf24;
    --warning-500: #f59e0b;

    --danger-400: #f87171;
    --danger-500: #ef4444;
    --danger-600: #dc2626;

    --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;

    /* Surfaces */
    --bg-body: #f0f2f5;
    --bg-sidebar: linear-gradient(180deg, #1e1b4b 0%, #312e81 100%);
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.7);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.06);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.15);

    /* Radiuses */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4,0,0.2,1);
    --transition-base: 250ms cubic-bezier(0.4,0,0.2,1);
    --transition-slow: 400ms cubic-bezier(0.4,0,0.2,1);

    /* Layout */
    --sidebar-width: 280px;
    --sidebar-collapsed: 72px;
    --header-height: 64px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 15px; scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-body);
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-600); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--primary-700); }

/* --- Layout --- */
.app-layout {
    display: flex;
    min-height: 100vh;
}

/* --- Sidebar --- */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-sidebar);
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-base);
    overflow-y: auto;
}

.sidebar-brand {
    padding: 24px 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-brand h1 {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #c7d2fe 0%, #a5b4fc 50%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-brand small {
    display: block;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    margin-top: 2px;
    font-weight: 400;
}

.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
}

.nav-section-title {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255,255,255,0.35);
    padding: 12px 12px 6px;
    margin-top: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    margin-bottom: 2px;
}

.nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    transform: translateX(3px);
}

.nav-link.active {
    background: rgba(99,102,241,0.3);
    color: #fff;
    box-shadow: inset 3px 0 0 var(--primary-400);
}

.nav-link .icon {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.nav-link .badge {
    margin-left: auto;
    background: rgba(99,102,241,0.5);
    color: #fff;
    font-size: 0.68rem;
    padding: 2px 8px;
    border-radius: 100px;
    font-weight: 600;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.sidebar-footer .user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.sidebar-footer .user-info:hover { background: rgba(255,255,255,0.08); }

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-400), var(--accent-500));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.user-details { overflow: hidden; }
.user-details .name { font-size: 0.82rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-details .company { font-size: 0.68rem; color: rgba(255,255,255,0.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* --- Main Content --- */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 32px 40px;
    min-height: 100vh;
    transition: margin-left var(--transition-base);
}

.page-header {
    margin-bottom: 28px;
}

.page-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.5px;
}

.page-header p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-top: 4px;
}

/* --- Cards --- */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.card-header h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-800);
}

.card-body { padding: 24px; }
.card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--gray-100);
    background: var(--gray-50);
}

/* Glass Card variant */
.card-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.3);
}

/* Stat cards for dashboard */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-400), var(--primary-600));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.stat-card:hover::before { opacity: 1; }
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-xl); }

.stat-card .stat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.stat-card .stat-icon.blue { background: var(--primary-50); color: var(--primary-600); }
.stat-card .stat-icon.green { background: #ecfdf5; color: var(--accent-600); }
.stat-card .stat-icon.amber { background: #fffbeb; color: var(--warning-500); }
.stat-card .stat-icon.red { background: #fef2f2; color: var(--danger-500); }
.stat-card .stat-icon.purple { background: #faf5ff; color: #7c3aed; }

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-card .stat-label {
    font-size: 0.82rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    color: #fff;
    box-shadow: 0 2px 8px rgba(99,102,241,0.3);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
    box-shadow: 0 4px 12px rgba(99,102,241,0.4);
    color: #fff;
    transform: translateY(-1px);
}

.btn-success {
    background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
    color: #fff;
    box-shadow: 0 2px 8px rgba(16,185,129,0.3);
}
.btn-success:hover { box-shadow: 0 4px 12px rgba(16,185,129,0.4); color: #fff; }

.btn-danger {
    background: linear-gradient(135deg, var(--danger-500), var(--danger-600));
    color: #fff;
    box-shadow: 0 2px 8px rgba(239,68,68,0.3);
}
.btn-danger:hover { box-shadow: 0 4px 12px rgba(239,68,68,0.4); color: #fff; }

.btn-outline {
    background: transparent;
    color: var(--gray-600);
    border: 1.5px solid var(--gray-300);
}
.btn-outline:hover { border-color: var(--primary-400); color: var(--primary-600); background: var(--primary-50); }

.btn-ghost {
    background: transparent;
    color: var(--gray-500);
    padding: 8px 12px;
}
.btn-ghost:hover { color: var(--gray-700); background: var(--gray-100); }

.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-icon { padding: 8px; width: 36px; height: 36px; justify-content: center; }

/* --- Form Styles --- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--gray-800);
    background: #fff;
    transition: all var(--transition-fast);
    outline: none;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-400);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: var(--gray-400);
}

.form-help {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 4px;
}

.form-error {
    font-size: 0.78rem;
    color: var(--danger-500);
    margin-top: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

/* Django form field error styling */
.errorlist {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
}
.errorlist li {
    font-size: 0.78rem;
    color: var(--danger-500);
}

/* --- Tables --- */
.table-container {
    overflow-x: auto;
    border-radius: var(--radius-md);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

thead th {
    background: var(--gray-50);
    padding: 12px 16px;
    font-weight: 600;
    color: var(--gray-600);
    text-align: left;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--gray-200);
    white-space: nowrap;
}

tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
    vertical-align: middle;
}

tbody tr {
    transition: background var(--transition-fast);
}

tbody tr:hover {
    background: var(--gray-50);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* --- Alerts / Messages --- */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fcd34d; }
.alert-info { background: var(--primary-50); color: var(--primary-800); border: 1px solid var(--primary-200); }

/* --- Wizard Progress indicator --- */
.wizard-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 32px;
    padding: 0 20px;
}

.wizard-step {
    display: flex;
    align-items: center;
    gap: 0;
}

.wizard-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    border: 2.5px solid var(--gray-300);
    color: var(--gray-400);
    background: #fff;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.wizard-step.active .wizard-step-circle {
    border-color: var(--primary-500);
    background: var(--primary-500);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(99,102,241,0.15);
}

.wizard-step.completed .wizard-step-circle {
    border-color: var(--accent-500);
    background: var(--accent-500);
    color: #fff;
}

.wizard-step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-400);
    white-space: nowrap;
    margin-left: 8px;
}

.wizard-step.active .wizard-step-label { color: var(--primary-600); }
.wizard-step.completed .wizard-step-label { color: var(--accent-600); }

.wizard-step-connector {
    width: 60px;
    height: 2px;
    background: var(--gray-200);
    margin: 0 4px;
    flex-shrink: 0;
}

.wizard-step.completed + .wizard-step-connector,
.wizard-step.completed ~ .wizard-step-connector {
    background: var(--accent-500);
}

/* --- Item List (for step1 items) --- */
.item-list { list-style: none; padding: 0; }

.item-list-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--gray-100);
    transition: background var(--transition-fast);
}

.item-list-entry:last-child { border-bottom: none; }
.item-list-entry:hover { background: var(--gray-50); }

.item-list-entry .item-info { flex: 1; }
.item-list-entry .item-name { font-weight: 600; color: var(--gray-800); font-size: 0.92rem; }
.item-list-entry .item-meta { font-size: 0.78rem; color: var(--gray-400); margin-top: 2px; }

.item-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

/* --- Formset table (inline rows) --- */
.formset-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) auto;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    align-items: end;
}

.formset-row:last-child { border-bottom: none; }

.formset-row .form-group { margin-bottom: 0; }

.formset-row .delete-check {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--danger-500);
}

/* --- Forecast cards per item --- */
.forecast-card {
    margin-bottom: 24px;
}

.forecast-card .card-header {
    background: linear-gradient(135deg, var(--primary-50), #fff);
}

.forecast-entries {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.forecast-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 0.8rem;
    color: var(--gray-600);
}

.forecast-chip strong { color: var(--gray-800); }

/* --- Auth Pages --- */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 30%, #4338ca 60%, #6366f1 100%);
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 480px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl), 0 0 60px rgba(99,102,241,0.15);
    padding: 48px 40px;
    animation: authFadeIn 0.5s ease;
}

@keyframes authFadeIn {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-card .auth-brand {
    text-align: center;
    margin-bottom: 36px;
}

.auth-card .auth-brand h1 {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.auth-card .auth-brand p {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.auth-card .form-group { margin-bottom: 18px; }

.auth-card .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 13px;
    font-size: 0.95rem;
    margin-top: 8px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.auth-footer a { font-weight: 600; }

/* --- Language Switcher --- */
.lang-switcher {
    display: flex;
    gap: 6px;
    align-items: center;
}

.lang-switcher button {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.lang-switcher button:hover,
.lang-switcher button.active {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

/* Auth page language switcher (dark bg) */
.auth-lang-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.auth-lang-switcher button {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
    padding: 6px 14px;
    border-radius: var(--radius-md);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.auth-lang-switcher button:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* --- Mobile Hamburger --- */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    z-index: 90;
    align-items: center;
    padding: 0 20px;
    gap: 16px;
}

.hamburger {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-600);
    padding: 4px;
}

.mobile-brand {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-600);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 99;
    backdrop-filter: blur(4px);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .main-content { padding: 32px 24px; }
    .wizard-step-connector { width: 30px; }
}

@media (max-width: 768px) {
    .mobile-header { display: flex; }

    .sidebar {
        transform: translateX(-100%);
        z-index: 101;
    }

    .sidebar.open { transform: translateX(0); }

    .sidebar-overlay.show { display: block; }

    .main-content {
        margin-left: 0;
        padding: 84px 16px 24px;
    }

    .stat-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 12px;
    }

    .form-row { grid-template-columns: 1fr; }

    .wizard-steps { flex-wrap: wrap; gap: 8px; }
    .wizard-step-connector { display: none; }

    .auth-card { padding: 32px 24px; }
    .auth-card .auth-brand h1 { font-size: 1.5rem; }

    .item-list-entry { flex-direction: column; align-items: flex-start; gap: 10px; }
    .item-actions { width: 100%; }
}

/* --- Utilities --- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--gray-400); }
.text-sm { font-size: 0.82rem; }
.text-xs { font-size: 0.72rem; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.hidden { display: none; }
.w-full { width: 100%; }

/* --- Empty state --- */
.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--gray-400);
}

.empty-state .icon {
    font-size: 3rem;
    margin-bottom: 12px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 100px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* --- Print --- */
@media print {
    .sidebar, .mobile-header { display: none !important; }
    .main-content { margin-left: 0 !important; padding: 0 !important; }
}
