/* ============================================
   SISTEMA CONTABLE - CSS PROFESIONAL
   ============================================ */

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --success: #10b981;
    --success-dark: #059669;
    --danger: #ef4444;
    --danger-dark: #dc2626;
    --warning: #f59e0b;
    --info: #06b6d4;
    --purple: #8b5cf6;
    --bg: #f1f5f9;
    --bg-card: #fff;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 1px 3px rgba(0,0,0,.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1);
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --sidebar-width: 260px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
}

/* ============================================
   LAYOUT
   ============================================ */
.app-layout { display: flex; min-height: 100vh; }

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    left: 0;
    top: 0;
}

.sidebar-header { padding: 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.1); }

.sidebar-logo { display: flex; align-items: center; gap: 0.75rem; }

.sidebar-logo-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}

.sidebar-logo-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

.sidebar-logo-text { font-size: 1rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }

.sidebar-nav { flex: 1; padding: 1rem 0; overflow-y: auto; }

.nav-section { margin-bottom: 1.25rem; }

.nav-section-title {
    padding: 0 1.25rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.nav-item {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.7rem 1.25rem;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    border-left: 3px solid transparent;
    font-size: 0.9rem;
}

.nav-item:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav-item.active { background: rgba(59,130,246,0.2); color: #fff; border-left-color: var(--primary); }
.nav-item i { width: 20px; text-align: center; font-size: 0.9rem; }

.sidebar-footer { padding: 1rem; border-top: 1px solid rgba(255,255,255,0.1); }

.user-info { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }

.user-avatar {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 0.85rem;
    flex-shrink: 0;
}

.user-details { flex: 1; min-width: 0; }
.user-name { font-size: 0.85rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-role { font-size: 0.7rem; color: rgba(255,255,255,0.5); }

.btn-logout { width: 100%; justify-content: center; }

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.sidebar-overlay.active { display: block; opacity: 1; }

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s;
}

.main-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 0.875rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text);
    border-radius: var(--radius);
}

.menu-toggle:hover { background: var(--bg); }

.header-title { font-size: 1.15rem; font-weight: 600; flex: 1; }

.main-body { padding: 1.25rem; flex: 1; }

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 1.25rem;
    border: 1px solid var(--border);
}

.card-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.card-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-body { padding: 1.25rem; }

/* ============================================
   STATS
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
}

.stat-card.primary::before { background: var(--primary); }
.stat-card.success::before { background: var(--success); }
.stat-card.danger::before { background: var(--danger); }
.stat-card.warning::before { background: var(--warning); }
.stat-card.info::before { background: var(--info); }

.stat-header { margin-bottom: 0.75rem; }

.stat-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
}

.stat-icon.primary { background: rgba(59,130,246,0.1); color: var(--primary); }
.stat-icon.success { background: rgba(16,185,129,0.1); color: var(--success); }
.stat-icon.danger { background: rgba(239,68,68,0.1); color: var(--danger); }
.stat-icon.warning { background: rgba(245,158,11,0.1); color: var(--warning); }
.stat-icon.info { background: rgba(6,182,212,0.1); color: var(--info); }

.stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.025em; }
.stat-value { font-size: 1.5rem; font-weight: 700; margin-top: 0.25rem; }

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 500; margin-bottom: 0.375rem; color: var(--text); }

.form-control {
    width: 100%;
    padding: 0.6rem 0.875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    transition: all 0.2s;
    background: var(--bg-card);
}

.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(59,130,246,0.15); }

.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }

.checkbox-group { display: flex; align-items: center; gap: 0.5rem; }
.checkbox-group input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    border: none;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: var(--success-dark); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: var(--danger-dark); }
.btn-warning { background: var(--warning); color: #fff; }
.btn-secondary { background: var(--bg); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--border); }

.btn-sm { padding: 0.4rem 0.75rem; font-size: 0.8rem; }
.btn-icon { padding: 0.5rem; min-width: 36px; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ============================================
   TABLES
   ============================================ */
.table-container { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }

th, td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }

th {
    font-weight: 600;
    background: var(--bg);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--text-muted);
    white-space: nowrap;
}

tr:hover { background: rgba(59,130,246,0.02); }

.text-right { text-align: right; }
.text-center { text-align: center; }

/* ============================================
   BADGES
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 500;
}

.badge-primary { background: rgba(59,130,246,0.1); color: var(--primary); }
.badge-success { background: rgba(16,185,129,0.1); color: var(--success); }
.badge-danger { background: rgba(239,68,68,0.1); color: var(--danger); }
.badge-warning { background: rgba(245,158,11,0.1); color: var(--warning); }
.badge-secondary { background: var(--bg); color: var(--text-muted); }

/* ============================================
   MODALS
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
    backdrop-filter: blur(4px);
}

.modal-overlay.active { display: flex; }

.modal {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalIn 0.3s ease;
}

.modal-lg { max-width: 640px; }

@keyframes modalIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title { font-size: 1.05rem; font-weight: 600; }

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
    padding: 0.25rem;
}

.modal-close:hover { color: var(--danger); }

.modal-body { padding: 1.25rem; }

.modal-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* ============================================
   TOASTS
   ============================================ */
#toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 380px;
}

.toast {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    animation: toastIn 0.3s ease;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

@keyframes toastIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.toast-success .toast-icon { background: rgba(16,185,129,0.1); color: var(--success); }
.toast-error .toast-icon { background: rgba(239,68,68,0.1); color: var(--danger); }
.toast-warning .toast-icon { background: rgba(245,158,11,0.1); color: var(--warning); }
.toast-info .toast-icon { background: rgba(59,130,246,0.1); color: var(--primary); }

.toast-content { flex: 1; }
.toast-title { font-weight: 600; font-size: 0.85rem; }
.toast-success .toast-title { color: var(--success); }
.toast-error .toast-title { color: var(--danger); }
.toast-warning .toast-title { color: var(--warning); }
.toast-info .toast-title { color: var(--primary); }
.toast-message { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.125rem; }

.toast-close { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 0.25rem; }

.toast-progress {
    position: absolute;
    bottom: 0; left: 0;
    height: 3px; width: 100%;
    animation: progress linear forwards;
}

.toast-success .toast-progress { background: var(--success); }
.toast-error .toast-progress { background: var(--danger); }
.toast-warning .toast-progress { background: var(--warning); }
.toast-info .toast-progress { background: var(--primary); }

@keyframes progress { from { width: 100%; } to { width: 0%; } }

/* ============================================
   FILTERS
   ============================================ */
.filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: flex-end;
}

.filter-group { flex: 1; min-width: 140px; }
.filter-group label { display: block; font-size: 0.75rem; font-weight: 500; margin-bottom: 0.25rem; color: var(--text-muted); }
.filter-actions { flex: 0; min-width: auto; }

.summary-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

/* ============================================
   REPORT STYLES
   ============================================ */
.report-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.report-filters .filter-group { min-width: 160px; }

.report-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.report-summary-item {
    background: var(--bg);
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border-left: 4px solid var(--border);
}

.report-summary-item.success { border-left-color: var(--success); }
.report-summary-item.danger { border-left-color: var(--danger); }
.report-summary-item.primary { border-left-color: var(--primary); }

.report-summary-item i { font-size: 1.5rem; margin-bottom: 0.5rem; display: block; }
.report-summary-item.success i { color: var(--success); }
.report-summary-item.danger i { color: var(--danger); }
.report-summary-item.primary i { color: var(--primary); }

.report-summary-label { font-size: 0.75rem; color: var(--text-muted); display: block; margin-bottom: 0.25rem; }
.report-summary-value { font-size: 1.5rem; font-weight: 700; }

/* ============================================
   CONFIG SECTION
   ============================================ */
.config-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

.config-left h4, .config-right h4 {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-upload {
    text-align: center;
    padding: 1rem;
    background: var(--bg);
    border-radius: var(--radius-lg);
}

.logo-preview {
    width: 120px; height: 120px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 2px dashed var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 3rem;
    color: var(--text-muted);
    overflow: hidden;
}

.logo-preview img { width: 100%; height: 100%; object-fit: cover; }

.logo-buttons { display: flex; gap: 0.5rem; justify-content: center; }

.pdf-preview {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pdf-logo {
    width: 50px; height: 50px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    flex-shrink: 0;
    overflow: hidden;
}

.pdf-logo img { width: 100%; height: 100%; object-fit: cover; }

.pdf-info { flex: 1; min-width: 0; }
.pdf-info strong { display: block; font-size: 0.9rem; }
.pdf-info span { display: block; font-size: 0.75rem; color: var(--text-muted); font-style: italic; }
.pdf-info small { display: block; font-size: 0.7rem; color: var(--text-muted); }

.form-actions { margin-top: 1.5rem; }

/* ============================================
   SUBSCRIPTION
   ============================================ */
.subscription-info {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1.5rem;
    align-items: center;
}

.subscription-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.plan-badge {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    background: var(--primary);
    color: #fff;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 500;
}

.subscription-details p {
    margin: 0.5rem 0;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.subscription-details i { color: var(--text-muted); width: 16px; }

.subscription-days {
    text-align: center;
    padding: 1rem 1.5rem;
    background: var(--bg);
    border-radius: var(--radius-lg);
}

.days-number { font-size: 2.5rem; font-weight: 700; }
.days-label { font-size: 0.75rem; color: var(--text-muted); }

.subscription-alert {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius);
}

/* ============================================
   CATEGORIES LIST
   ============================================ */
.category-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    gap: 0.75rem;
}

.category-item:last-child { border-bottom: none; }

.category-icon {
    width: 36px; height: 36px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-info { flex: 1; min-width: 0; }
.category-info strong { display: block; font-size: 0.9rem; }
.category-info small { color: var(--text-muted); font-size: 0.75rem; }

/* ============================================
   GRID & UTILITIES
   ============================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

.text-muted { color: var(--text-muted); }

.amount { font-weight: 600; font-family: 'JetBrains Mono', monospace; }
.amount.income, .amount.positive { color: var(--success); }
.amount.expense, .amount.negative { color: var(--danger); }

.chart-container { position: relative; height: 280px; }

/* ============================================
   LOGIN
   ============================================ */
#login-screen {
    display: none;
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #06b6d4 100%);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.login-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 400px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.35);
}

.login-header { text-align: center; margin-bottom: 2rem; }

.login-logo {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: #fff;
}

.login-header h1 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.login-header p { color: var(--text-muted); }

.content-section { display: none; }
.content-section.active { display: block; }

/* ============================================
   RESPONSIVE - TABLETS
   ============================================ */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
    .config-layout { grid-template-columns: 1fr; }
    .report-summary { grid-template-columns: 1fr; }
    .subscription-info { grid-template-columns: 1fr; text-align: center; }
    .subscription-days { margin-top: 1rem; }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 768px) {
    :root { --sidebar-width: 280px; }
    
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .main-header {
        padding: 0.75rem 1rem;
    }
    
    .header-title {
        font-size: 1rem;
    }
    
    .main-body {
        padding: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 1.25rem;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .card-header .btn {
        width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .filters-row {
        flex-direction: column;
    }
    
    .filter-group {
        width: 100%;
        min-width: auto;
    }
    
    .filter-actions {
        width: 100%;
    }
    
    .filter-actions .btn {
        width: 100%;
    }
    
    .report-filters {
        flex-direction: column;
    }
    
    .report-filters .filter-group {
        width: 100%;
        min-width: auto;
    }
    
    .summary-bar {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }
    
    table {
        font-size: 0.8rem;
    }
    
    th, td {
        padding: 0.6rem 0.5rem;
    }
    
    .btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.8rem;
    }
    
    .btn-text {
        display: none;
    }
    
    .modal {
        max-width: calc(100% - 1rem);
        max-height: 85vh;
    }
    
    #toast-container {
        left: 0.5rem;
        right: 0.5rem;
        max-width: none;
    }
    
    .chart-container {
        height: 220px;
    }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE
   ============================================ */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .stat-header {
        margin-bottom: 0;
    }
    
    .login-card {
        padding: 1.5rem;
    }
    
    .login-logo {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    th:nth-child(3), td:nth-child(3),
    th:nth-child(4), td:nth-child(4) {
        display: none;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .sidebar, .menu-toggle, .btn, .filters-row, #toast-container { display: none !important; }
    .main-content { margin-left: 0; }
    .card { box-shadow: none; border: 1px solid #ddd; }
}
