/* ============================================================
   DHANVANTARI NGO — ADMIN PANEL CSS
   Premium Enterprise Admin Design
   ============================================================ */

:root {
    --primary: #1a5276;
    --secondary: #f0a500;
    --accent: #27ae60;
    --danger: #e74c3c;
    --warning: #f39c12;
    --info: #2980b9;
    --sidebar-width: 260px;
    --topbar-height: 65px;
    --sidebar-bg: #0d1b2a;
    --sidebar-text: rgba(200,214,229,0.9);
    --sidebar-hover: rgba(255,255,255,0.07);
    --sidebar-active: rgba(255,255,255,0.12);
    --body-bg: #f0f4f8;
    --card-bg: #ffffff;
    --card-shadow: 0 2px 12px rgba(0,0,0,0.07);
    --border: #e2e8f0;
    --text: #2d3748;
    --text-light: #718096;
    --radius: 10px;
    --radius-sm: 6px;
    --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', -apple-system, sans-serif; background: var(--body-bg); color: var(--text); font-size: 14px; line-height: 1.5; }
a { text-decoration: none; color: var(--primary); }
a:hover { color: var(--info); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #c1c9d2; border-radius: 3px; }

/* ══════════════════════════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════════════════════════ */
.admin-sidebar {
    position: fixed; left: 0; top: 0; bottom: 0;
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
    transition: transform var(--transition);
    display: flex; flex-direction: column;
}
.sidebar-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    min-height: var(--topbar-height);
    flex-shrink: 0;
}
.sidebar-logo { max-height: 40px; max-width: 160px; object-fit: contain; }
.sidebar-logo-text { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.sidebar-close { display: none; background: none; border: none; color: var(--sidebar-text); font-size: 18px; cursor: pointer; }
.sidebar-nav { flex: 1; padding: 12px 0 20px; }
.nav-section-label {
    font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
    color: rgba(200,214,229,0.4);
    padding: 16px 20px 6px;
}
.nav-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 18px;
    color: var(--sidebar-text);
    border-radius: 0;
    transition: all 0.15s;
    font-size: 13px; font-weight: 500;
    position: relative;
    margin: 1px 10px;
    border-radius: 8px;
}
.nav-item:hover { background: var(--sidebar-hover); color: #fff; }
.nav-item.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(26,82,118,0.4);
}
.nav-item i { width: 18px; font-size: 15px; flex-shrink: 0; opacity: 0.85; }
.nav-item.active i { opacity: 1; }
.badge-count {
    margin-left: auto; background: var(--danger);
    color: #fff; font-size: 10px; font-weight: 700;
    padding: 2px 7px; border-radius: 20px; min-width: 20px; text-align: center;
}

/* ══════════════════════════════════════════════════════════════
   MAIN LAYOUT
══════════════════════════════════════════════════════════════ */
.admin-main {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex; flex-direction: column;
    transition: margin-left var(--transition);
}

/* ── Topbar ── */
.admin-topbar {
    position: sticky; top: 0; z-index: 900;
    background: #fff;
    height: var(--topbar-height);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.topbar-left { display: flex; align-items: center; gap: 16px; }
.sidebar-toggle { background: none; border: none; cursor: pointer; color: var(--text); font-size: 18px; padding: 8px; border-radius: 6px; transition: background 0.15s; }
.sidebar-toggle:hover { background: var(--body-bg); }
.breadcrumb-nav { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-light); }
.breadcrumb-nav a { color: var(--primary); }
.breadcrumb-sep { color: #c1c9d2; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-btn { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 8px; color: var(--text-light); transition: all 0.15s; }
.topbar-btn:hover { background: var(--body-bg); color: var(--primary); }
.topbar-user {
    display: flex; align-items: center; gap: 10px;
    cursor: pointer; padding: 6px 12px;
    border-radius: 10px;
    transition: background 0.15s;
    position: relative;
}
.topbar-user:hover { background: var(--body-bg); }
.user-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700;
}
.user-info { line-height: 1.2; }
.user-name { display: block; font-size: 13px; font-weight: 600; }
.user-role { display: block; font-size: 11px; color: var(--text-light); text-transform: capitalize; }
.topbar-user > i { font-size: 12px; color: var(--text-light); }
.user-dropdown {
    position: absolute; right: 0; top: calc(100% + 8px);
    background: #fff; border: 1px solid var(--border); border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    min-width: 200px; z-index: 1000;
    display: none; overflow: hidden;
}
.user-dropdown.open { display: block; }
.user-dropdown a { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: 13px; color: var(--text); transition: background 0.15s; }
.user-dropdown a:hover { background: var(--body-bg); }
.user-dropdown a i { width: 16px; }
.dropdown-divider { height: 1px; background: var(--border); }
.text-danger { color: var(--danger) !important; }

/* ── Content ── */
.admin-content { flex: 1; padding: 24px; }
.admin-footer { padding: 16px 24px; background: #fff; border-top: 1px solid var(--border); display: flex; justify-content: space-between; font-size: 12px; color: var(--text-light); }

/* ══════════════════════════════════════════════════════════════
   PAGE HEADER
══════════════════════════════════════════════════════════════ */
.page-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.page-title { font-size: 22px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 10px; }
.page-title i { color: var(--primary); }
.page-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════════
   CARDS
══════════════════════════════════════════════════════════════ */
.card {
    background: var(--card-bg); border-radius: var(--radius);
    box-shadow: var(--card-shadow); border: 1px solid var(--border);
    margin-bottom: 24px;
    overflow: hidden;
}
.card-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid var(--border);
    background: #fafbfc;
}
.card-header h3 { font-size: 15px; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 8px; }
.card-header h3 i { color: var(--primary); }
.card-body { padding: 20px; }
.card-body.p-0 { padding: 0; }
.card-footer { padding: 14px 20px; background: #fafbfc; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }

/* ══════════════════════════════════════════════════════════════
   STATS GRID
══════════════════════════════════════════════════════════════ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 24px; }
.stat-card {
    background: #fff; border-radius: var(--radius);
    padding: 22px; display: flex; align-items: center; gap: 18px;
    box-shadow: var(--card-shadow); border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.stat-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.stat-blue .stat-icon { background: rgba(26,82,118,0.1); color: var(--primary); }
.stat-green .stat-icon { background: rgba(39,174,96,0.1); color: var(--accent); }
.stat-orange .stat-icon { background: rgba(240,165,0,0.12); color: var(--secondary); }
.stat-red .stat-icon { background: rgba(231,76,60,0.1); color: var(--danger); }
.stat-value { font-size: 26px; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 13px; color: var(--text-light); margin-bottom: 6px; }
.stat-sub { font-size: 11px; }

/* ══════════════════════════════════════════════════════════════
   DATA TABLE
══════════════════════════════════════════════════════════════ */
.data-table { width: 100%; border-collapse: collapse; }
.data-table thead th {
    background: #f7f9fc; padding: 12px 16px;
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--text-light); border-bottom: 2px solid var(--border);
    text-align: left; white-space: nowrap;
}
.data-table tbody td { padding: 13px 16px; border-bottom: 1px solid #f0f4f8; font-size: 13px; vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: #fafbfc; }

/* ══════════════════════════════════════════════════════════════
   STATUS BADGES
══════════════════════════════════════════════════════════════ */
.status-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 10px; border-radius: 20px;
    font-size: 11px; font-weight: 600; text-transform: capitalize;
}
.status-active, .status-published, .status-approved { background: #d1fae5; color: #065f46; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-rejected, .status-failed { background: #fee2e2; color: #991b1b; }
.status-suspended, .status-draft, .status-inactive { background: #e5e7eb; color: #4b5563; }
.status-expired, .status-archived { background: #ede9fe; color: #5b21b6; }

/* ══════════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 18px; border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 600; cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s; text-decoration: none; white-space: nowrap;
    font-family: inherit;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #154360; color: #fff; }
.btn-secondary { background: #f0f4f8; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: #e2e8f0; }
.btn-success { background: var(--accent); color: #fff; }
.btn-success:hover { background: #1e8449; color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #c0392b; color: #fff; }
.btn-warning { background: var(--warning); color: #fff; }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { background: var(--body-bg); }
.btn-sm { padding: 7px 14px; font-size: 12px; }
.btn-xs { padding: 4px 9px; font-size: 11px; border-radius: 4px; }
.btn-lg { padding: 12px 28px; font-size: 14px; }
.action-buttons { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════════
   FORMS
══════════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.label-hint { font-size: 11px; color: var(--text-light); font-weight: 400; margin-left: 6px; }
.form-control {
    width: 100%; padding: 10px 14px;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-size: 13px; color: var(--text); font-family: inherit;
    background: #fff; transition: border-color 0.15s, box-shadow 0.15s;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,82,118,0.1); }
textarea.form-control { resize: vertical; }
select.form-control { cursor: pointer; }
.form-control-file { display: block; margin-top: 6px; }
.field-hint { font-size: 11px; color: var(--text-light); margin-top: 4px; }
.field-description { font-size: 12px; color: var(--text-light); margin-top: 4px; font-style: italic; }
.form-actions { display: flex; gap: 12px; align-items: center; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.form-row-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

/* ── Settings Fields ── */
.settings-fields-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.settings-fields-grid .full-width { grid-column: 1 / -1; }
.settings-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.settings-tab {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: 8px; font-size: 12px; font-weight: 600;
    color: var(--text-light); transition: all 0.15s;
    border: 1px solid transparent;
}
.settings-tab:hover { background: var(--body-bg); color: var(--text); }
.settings-tab.active { background: var(--primary); color: #fff; }

/* ── Color Picker ── */
.color-picker-wrap { display: flex; align-items: center; gap: 10px; }
.color-picker { width: 46px; height: 38px; padding: 3px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; background: transparent; }
.color-preview { width: 38px; height: 38px; border-radius: 6px; border: 1.5px solid var(--border); }

/* ── Toggle Switch ── */
.toggle-switch { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.toggle-switch input { display: none; }
.toggle-slider {
    width: 44px; height: 24px; background: #e2e8f0; border-radius: 12px;
    position: relative; transition: background 0.2s; flex-shrink: 0;
}
.toggle-slider::after {
    content: ''; position: absolute; top: 2px; left: 2px;
    width: 20px; height: 20px; background: #fff; border-radius: 50%;
    transition: transform 0.2s; box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.toggle-switch input:checked + .toggle-slider { background: var(--primary); }
.toggle-switch input:checked + .toggle-slider::after { transform: translateX(20px); }
.toggle-label { font-size: 13px; color: var(--text); }

/* ── File Upload ── */
.file-upload-wrap { padding: 14px; background: #fafbfc; border: 1.5px dashed var(--border); border-radius: var(--radius-sm); }
.current-file { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.current-file-preview { width: 60px; height: 60px; object-fit: contain; border: 1px solid var(--border); border-radius: 6px; background: #fff; }
.current-file-name { font-size: 12px; color: var(--text-light); }

/* ══════════════════════════════════════════════════════════════
   MEMBER / MEDIA CELLS
══════════════════════════════════════════════════════════════ */
.member-cell { display: flex; align-items: center; gap: 10px; }
.member-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.member-photo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════
   FILTERS
══════════════════════════════════════════════════════════════ */
.filter-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.filter-stats { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--text-light); }
.filter-stat-pill { padding: 4px 12px; border-radius: 20px; background: #f0f4f8; font-size: 12px; color: var(--text-light); border: 1px solid var(--border); transition: all 0.15s; }
.filter-stat-pill:hover, .filter-stat-pill.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ══════════════════════════════════════════════════════════════
   PAGINATION
══════════════════════════════════════════════════════════════ */
.pagination { display: flex; align-items: center; gap: 4px; }
.page-btn {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border-radius: 6px; font-size: 13px; font-weight: 600;
    border: 1px solid var(--border); background: #fff; color: var(--text);
    transition: all 0.15s;
}
.page-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination-info { font-size: 12px; color: var(--text-light); }

/* ══════════════════════════════════════════════════════════════
   MODALS
══════════════════════════════════════════════════════════════ */
.modal {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    z-index: 2000; display: flex; align-items: center; justify-content: center;
    padding: 20px; backdrop-filter: blur(4px);
}
.modal-dialog {
    background: #fff; border-radius: 14px; width: 100%;
    max-height: 90vh; display: flex; flex-direction: column;
    box-shadow: 0 24px 60px rgba(0,0,0,0.2);
}
.modal-sm { max-width: 420px; }
.modal-md { max-width: 600px; }
.modal-xl { max-width: 1100px; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.modal-header h5 { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.modal-close { background: none; border: none; font-size: 18px; cursor: pointer; color: var(--text-light); padding: 4px; border-radius: 4px; }
.modal-close:hover { background: var(--body-bg); color: var(--text); }
.modal-body { padding: 22px; overflow-y: auto; flex: 1; }
.modal-footer { padding: 16px 22px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; flex-shrink: 0; }

/* ── Media Library ── */
.media-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px,1fr)); gap: 12px; }
.media-item {
    border: 2px solid var(--border); border-radius: 8px; overflow: hidden;
    cursor: pointer; transition: border-color 0.15s, transform 0.1s;
    background: #f9fafb;
}
.media-item:hover { border-color: var(--primary); transform: scale(1.02); }
.media-item.selected { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,82,118,0.2); }
.media-item img { width: 100%; height: 80px; object-fit: cover; display: block; }
.media-item-name { font-size: 10px; color: var(--text-light); padding: 4px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ══════════════════════════════════════════════════════════════
   ALERTS / FLASH
══════════════════════════════════════════════════════════════ */
.alert {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 20px; margin: 16px 24px 0;
    border-radius: var(--radius-sm); font-size: 14px; font-weight: 500;
    border: 1px solid transparent;
}
.alert-success { background: #d1fae5; border-color: #6ee7b7; color: #065f46; }
.alert-error   { background: #fee2e2; border-color: #fca5a5; color: #991b1b; }
.alert-warning { background: #fef3c7; border-color: #fcd34d; color: #92400e; }
.alert-info    { background: #dbeafe; border-color: #93c5fd; color: #1e40af; }
.alert-close { margin-left: auto; background: none; border: none; cursor: pointer; opacity: 0.6; font-size: 14px; }
.alert-dismissible { animation: slideDown 0.3s ease; }
@keyframes slideDown { from { opacity:0; transform:translateY(-10px); } to { opacity:1; transform:translateY(0); } }

/* ══════════════════════════════════════════════════════════════
   BADGES
══════════════════════════════════════════════════════════════ */
.badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger  { background: #fee2e2; color: #991b1b; }
.badge-info    { background: #dbeafe; color: #1e40af; }

/* ══════════════════════════════════════════════════════════════
   GRID
══════════════════════════════════════════════════════════════ */
.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3-col { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

/* ══════════════════════════════════════════════════════════════
   QUICK ACTIONS
══════════════════════════════════════════════════════════════ */
.quick-actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px,1fr)); gap: 12px; }
.quick-action-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 10px; padding: 20px 12px; border-radius: 10px;
    background: var(--body-bg); border: 1.5px solid var(--border);
    color: var(--text); font-size: 12px; font-weight: 600;
    text-align: center; transition: all 0.2s;
}
.quick-action-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(26,82,118,0.2); }
.quick-action-btn i { font-size: 22px; color: var(--primary); transition: color 0.2s; }
.quick-action-btn:hover i { color: #fff; }

/* ══════════════════════════════════════════════════════════════
   LOADING
══════════════════════════════════════════════════════════════ */
.loading-spinner { display: flex; align-items: center; justify-content: center; padding: 40px; font-size: 24px; color: var(--primary); }

/* ══════════════════════════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-light); }
.text-success { color: var(--accent); }
.text-danger { color: var(--danger); }
code { background: #f0f4f8; padding: 2px 6px; border-radius: 4px; font-size: 12px; color: #e74c3c; font-family: monospace; }
.d-flex { display: flex; align-items: center; gap: 8px; }

/* ══════════════════════════════════════════════════════════════
   CKEDITOR INTEGRATION
══════════════════════════════════════════════════════════════ */
.ck-editor__editable { min-height: 320px; border: 1.5px solid var(--border) !important; border-radius: 0 0 6px 6px !important; }
.ck-toolbar { border: 1.5px solid var(--border) !important; border-bottom: none !important; border-radius: 6px 6px 0 0 !important; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .grid-2-col { grid-template-columns: 1fr; }
    .settings-fields-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-left: 0; }
    .sidebar-close { display: flex; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .admin-content { padding: 16px; }
    .form-row, .form-row-3 { grid-template-columns: 1fr; }
    .data-table { font-size: 12px; }
    .data-table thead th, .data-table tbody td { padding: 10px 12px; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .page-header { flex-direction: column; align-items: flex-start; }
}
