/* ============================================================
   ADMISSION PORTAL — PROFESSIONAL STYLESHEET
   ============================================================ */

:root {
    --navy:       #1a2744;
    --navy-mid:   #243160;
    --navy-light: #2e4080;
    --gold:       #c9952a;
    --gold-light: #e8b84b;
    --cream:      #f8f6f1;
    --white:      #ffffff;
    --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;
    --success:    #059669;
    --success-bg: #d1fae5;
    --danger:     #dc2626;
    --danger-bg:  #fee2e2;
    --warning:    #d97706;
    --warning-bg: #fef3c7;
    --info:       #2563eb;
    --info-bg:    #dbeafe;
    --sidebar-w:  260px;
    --topbar-h:   64px;
    --radius:     10px;
    --radius-sm:  6px;
    --shadow:     0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.06);
    --shadow-lg:  0 4px 24px rgba(0,0,0,.12);
    --transition: all .2s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--gray-100);
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
}

/* ---- FLASH BANNER ---- */
.flash-banner {
    position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 24px; font-weight: 500; font-size: .9rem;
    animation: slideDown .3s ease;
}
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.flash-success { background: var(--success); color: #fff; }
.flash-error   { background: var(--danger);  color: #fff; }
.flash-warning { background: var(--warning); color: #fff; }
.flash-info    { background: var(--info);    color: #fff; }
.flash-banner button { background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; line-height: 1; }

/* ============================================================
   PUBLIC PAGES (Login / Register)
   ============================================================ */
.public-page {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}
.public-left {
    flex: 0 0 420px;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    padding: 60px 40px; text-align: center; position: relative; overflow: hidden;
}
.public-left::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.public-left .college-logo {
    width: 90px; height: 90px; border-radius: 50%;
    background: rgba(255,255,255,.12); border: 3px solid rgba(201,149,42,.5);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; margin-bottom: 20px; position: relative; z-index: 1;
    overflow: hidden;
}
.public-left .college-logo img { width: 100%; height: 100%; object-fit: cover; }
.public-left h1 {
    font-family: 'Playfair Display', serif; font-size: 1.7rem;
    color: #fff; margin-bottom: 8px; line-height: 1.3; position: relative; z-index: 1;
}
.public-left .tagline {
    color: var(--gold-light); font-size: .85rem; font-weight: 500;
    letter-spacing: .04em; text-transform: uppercase; position: relative; z-index: 1;
}
.public-left .divider-gold {
    width: 50px; height: 2px; background: var(--gold);
    margin: 18px auto; position: relative; z-index: 1;
}
.public-left p {
    color: rgba(255,255,255,.7); font-size: .88rem; line-height: 1.7;
    position: relative; z-index: 1;
}
.public-right {
    flex: 1; display: flex; align-items: center; justify-content: center;
    padding: 40px 24px; background: var(--cream);
}
.auth-card {
    background: var(--white); border-radius: 16px;
    box-shadow: var(--shadow-lg); padding: 40px;
    width: 100%; max-width: 460px;
}
.auth-card h2 {
    font-family: 'Playfair Display', serif; font-size: 1.6rem;
    color: var(--navy); margin-bottom: 6px;
}
.auth-card .sub { color: var(--gray-500); font-size: .875rem; margin-bottom: 28px; }
.auth-tabs {
    display: flex; border-bottom: 2px solid var(--gray-200); margin-bottom: 24px;
}
.auth-tab {
    flex: 1; text-align: center; padding: 10px 0;
    font-weight: 600; font-size: .875rem; color: var(--gray-500);
    cursor: pointer; border-bottom: 2px solid transparent;
    margin-bottom: -2px; transition: var(--transition);
}
.auth-tab.active { color: var(--navy); border-bottom-color: var(--gold); }

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block; font-size: .825rem; font-weight: 600;
    color: var(--gray-700); margin-bottom: 6px;
}
.form-group label .req { color: var(--danger); margin-left: 2px; }
.form-control {
    width: 100%; padding: 10px 14px;
    border: 1.5px solid var(--gray-300); border-radius: var(--radius-sm);
    font-size: .9rem; font-family: 'Inter', sans-serif;
    background: #fff; color: var(--gray-800);
    transition: var(--transition); outline: none;
}
.form-control:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,39,68,.1); }
.form-control:disabled { background: var(--gray-100); color: var(--gray-500); cursor: not-allowed; }
textarea.form-control { min-height: 90px; resize: vertical; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-section-title {
    font-size: .75rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--gold); margin: 24px 0 14px;
    padding-bottom: 8px; border-bottom: 1px solid var(--gray-200);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px 22px; border-radius: var(--radius-sm);
    font-size: .875rem; font-weight: 600; cursor: pointer;
    border: none; transition: var(--transition); text-decoration: none; line-height: 1;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-light); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,39,68,.3); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-light); color: var(--navy); }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #047857; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #b91c1c; }
.btn-outline { background: transparent; border: 1.5px solid var(--gray-300); color: var(--gray-700); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-sm { padding: 6px 14px; font-size: .8rem; }
.btn-lg { padding: 13px 30px; font-size: 1rem; width: 100%; }
.btn-icon { padding: 8px; border-radius: 50%; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

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

/* SIDEBAR */
.sidebar {
    width: var(--sidebar-w); background: var(--navy);
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
    transition: transform .3s ease;
}
.sidebar-brand {
    padding: 20px 20px 18px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: flex; align-items: center; gap: 12px;
}
.sidebar-brand .logo-circle {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(201,149,42,.2); border: 2px solid rgba(201,149,42,.4);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--gold); flex-shrink: 0; overflow: hidden;
}
.sidebar-brand .logo-circle img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-brand-text { overflow: hidden; }
.sidebar-brand-text h3 {
    font-family: 'Playfair Display', serif; font-size: .95rem;
    color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2;
}
.sidebar-brand-text span { font-size: .72rem; color: var(--gold-light); font-weight: 500; }

.sidebar-nav { flex: 1; overflow-y: auto; padding: 12px 0; }
.nav-section-label {
    padding: 14px 20px 6px; font-size: .68rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35);
}
.nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 20px; color: rgba(255,255,255,.72);
    text-decoration: none; font-size: .875rem; font-weight: 500;
    transition: var(--transition); border-left: 3px solid transparent;
    position: relative;
}
.nav-item:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-item.active {
    background: rgba(201,149,42,.15); color: var(--gold-light);
    border-left-color: var(--gold);
}
.nav-item .icon { font-size: 1.05rem; width: 20px; text-align: center; flex-shrink: 0; }
.nav-item .badge {
    margin-left: auto; background: var(--danger); color: #fff;
    font-size: .7rem; font-weight: 700; padding: 1px 7px; border-radius: 10px;
}

.sidebar-footer {
    padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.08);
}
.user-info { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.user-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--navy-light); border: 2px solid rgba(201,149,42,.4);
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem; color: var(--gold); font-weight: 700; flex-shrink: 0;
}
.user-info-text .name { font-size: .875rem; font-weight: 600; color: #fff; }
.user-info-text .role {
    font-size: .72rem; color: var(--gold-light); text-transform: capitalize; font-weight: 500;
}
.logout-btn {
    display: flex; align-items: center; gap: 8px; width: 100%;
    padding: 8px 12px; background: rgba(220,38,38,.15);
    color: #fca5a5; border: none; border-radius: var(--radius-sm);
    font-size: .8rem; font-weight: 600; cursor: pointer; transition: var(--transition);
}
.logout-btn:hover { background: rgba(220,38,38,.3); color: #fff; }

/* MAIN CONTENT */
.main-content {
    margin-left: var(--sidebar-w); flex: 1; display: flex; flex-direction: column; min-height: 100vh;
}
.topbar {
    height: var(--topbar-h); background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 28px; position: sticky; top: 0; z-index: 50;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.topbar-left { display: flex; align-items: center; gap: 14px; }
.topbar-left h2 { font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--gray-500); }
.breadcrumb a { color: var(--gray-500); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); }
.topbar-right { display: flex; align-items: center; gap: 12px; }

.page-body { padding: 28px; flex: 1; }

/* ============================================================
   CARDS & PANELS
   ============================================================ */
.card {
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); border: 1px solid var(--gray-200);
    overflow: hidden;
}
.card-header {
    padding: 18px 24px; border-bottom: 1px solid var(--gray-200);
    display: flex; align-items: center; justify-content: space-between;
    background: var(--white);
}
.card-header h3 { font-size: 1rem; font-weight: 700; color: var(--navy); }
.card-header .card-subtitle { font-size: .8rem; color: var(--gray-500); margin-top: 2px; }
.card-body { padding: 24px; }
.card-footer { padding: 16px 24px; border-top: 1px solid var(--gray-200); background: var(--gray-50); }

/* STAT CARDS */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 28px; }
.stat-card {
    background: var(--white); border-radius: var(--radius);
    padding: 22px 24px; box-shadow: var(--shadow);
    border: 1px solid var(--gray-200); display: flex; align-items: center; gap: 16px;
    transition: var(--transition);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.stat-icon {
    width: 52px; height: 52px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0;
}
.stat-icon.navy  { background: rgba(26,39,68,.1); color: var(--navy); }
.stat-icon.gold  { background: rgba(201,149,42,.12); color: var(--gold); }
.stat-icon.green { background: var(--success-bg); color: var(--success); }
.stat-icon.red   { background: var(--danger-bg); color: var(--danger); }
.stat-icon.blue  { background: var(--info-bg); color: var(--info); }
.stat-value { font-size: 1.9rem; font-weight: 700; color: var(--navy); line-height: 1; }
.stat-label { font-size: .8rem; color: var(--gray-500); margin-top: 4px; font-weight: 500; }

/* ============================================================
   TABLE
   ============================================================ */
.table-container { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead th {
    background: var(--navy); color: rgba(255,255,255,.9);
    padding: 12px 16px; font-size: .78rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .06em; text-align: left;
    white-space: nowrap;
}
thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
thead th:last-child  { border-radius: 0 var(--radius-sm) 0 0; }
tbody tr { border-bottom: 1px solid var(--gray-200); transition: var(--transition); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--gray-50); }
td { padding: 12px 16px; font-size: .875rem; color: var(--gray-700); vertical-align: middle; }

/* ============================================================
   BADGES & STATUS
   ============================================================ */
.badge {
    display: inline-flex; align-items: center;
    padding: 3px 10px; border-radius: 20px;
    font-size: .72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
}
.badge-pending     { background: var(--warning-bg); color: var(--warning); }
.badge-approved    { background: var(--success-bg); color: var(--success); }
.badge-disapproved { background: var(--danger-bg);  color: var(--danger);  }
.badge-admin       { background: rgba(26,39,68,.1);  color: var(--navy);   }
.badge-office      { background: var(--info-bg);     color: var(--info);   }
.badge-student     { background: rgba(201,149,42,.12); color: var(--gold); }

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
    padding: 14px 18px; border-radius: var(--radius-sm);
    font-size: .875rem; display: flex; gap: 10px; align-items: flex-start;
    border: 1px solid; margin-bottom: 18px;
}
.alert-success { background: var(--success-bg); border-color: #a7f3d0; color: #065f46; }
.alert-error   { background: var(--danger-bg);  border-color: #fecaca; color: #991b1b; }
.alert-warning { background: var(--warning-bg); border-color: #fde68a; color: #92400e; }
.alert-info    { background: var(--info-bg);    border-color: #bfdbfe; color: #1e40af; }
.alert-icon    { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.5);
    z-index: 200; display: flex; align-items: center; justify-content: center;
    padding: 20px; animation: fadeIn .2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
    background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
    width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto;
    animation: slideUp .25s ease;
}
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-header {
    padding: 20px 24px; border-bottom: 1px solid var(--gray-200);
    display: flex; justify-content: space-between; align-items: center;
    position: sticky; top: 0; background: #fff; z-index: 1;
}
.modal-header h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--gray-400); line-height: 1; padding: 0; }
.modal-close:hover { color: var(--danger); }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--gray-200); display: flex; gap: 10px; justify-content: flex-end; }

/* ============================================================
   FILE UPLOAD BOX
   ============================================================ */
.upload-box {
    border: 2px dashed var(--gray-300); border-radius: var(--radius-sm);
    padding: 20px; text-align: center; cursor: pointer;
    transition: var(--transition); background: var(--gray-50);
}
.upload-box:hover { border-color: var(--navy); background: rgba(26,39,68,.03); }
.upload-box input[type="file"] { display: none; }
.upload-box .upload-icon { font-size: 1.8rem; margin-bottom: 8px; }
.upload-box p { font-size: .825rem; color: var(--gray-500); }
.upload-box .hint { font-size: .75rem; color: var(--gray-400); margin-top: 4px; }
.upload-preview {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; background: var(--success-bg);
    border-radius: var(--radius-sm); margin-top: 8px; font-size: .825rem; color: var(--success);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; gap: 4px; align-items: center; margin-top: 18px; }
.page-btn {
    padding: 6px 12px; border-radius: var(--radius-sm); font-size: .825rem;
    border: 1px solid var(--gray-300); background: #fff; color: var(--gray-700);
    cursor: pointer; transition: var(--transition); text-decoration: none;
}
.page-btn:hover { border-color: var(--navy); color: var(--navy); }
.page-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ============================================================
   TABS
   ============================================================ */
.tabs { display: flex; gap: 2px; border-bottom: 2px solid var(--gray-200); margin-bottom: 24px; }
.tab-btn {
    padding: 10px 20px; font-size: .875rem; font-weight: 600;
    color: var(--gray-500); border: none; background: none;
    cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px;
    transition: var(--transition); border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.tab-btn:hover { color: var(--navy); background: var(--gray-50); }
.tab-btn.active { color: var(--navy); border-bottom-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ============================================================
   SEARCH & FILTER BAR
   ============================================================ */
.filter-bar {
    display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
    padding: 16px 24px; background: var(--gray-50); border-bottom: 1px solid var(--gray-200);
}
.search-input {
    flex: 1; min-width: 220px; padding: 8px 14px;
    border: 1.5px solid var(--gray-300); border-radius: var(--radius-sm);
    font-size: .875rem; outline: none; transition: var(--transition);
}
.search-input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,39,68,.08); }

/* ============================================================
   DOCUMENT VIEWER
   ============================================================ */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.doc-item {
    border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
    overflow: hidden; text-align: center; background: #fff;
    transition: var(--transition);
}
.doc-item:hover { box-shadow: var(--shadow); border-color: var(--navy); }
.doc-thumb {
    height: 120px; display: flex; align-items: center; justify-content: center;
    background: var(--gray-100); overflow: hidden;
}
.doc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.doc-thumb .doc-icon { font-size: 2.5rem; color: var(--gray-400); }
.doc-label { padding: 8px; font-size: .75rem; font-weight: 600; color: var(--gray-700); background: var(--gray-50); }
.doc-actions { padding: 6px 8px; display: flex; justify-content: center; gap: 6px; }

/* ============================================================
   SETTINGS / COLLEGE INFO
   ============================================================ */
.logo-upload-area {
    width: 120px; height: 120px; border-radius: 50%;
    border: 3px dashed var(--gray-300); display: flex; flex-direction: column;
    align-items: center; justify-content: center; cursor: pointer;
    transition: var(--transition); overflow: hidden; position: relative;
    background: var(--gray-50);
}
.logo-upload-area:hover { border-color: var(--navy); }
.logo-upload-area img { width: 100%; height: 100%; object-fit: cover; }
.logo-upload-area .overlay {
    position: absolute; inset: 0; background: rgba(26,39,68,.6);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: .8rem; opacity: 0; transition: var(--transition); flex-direction: column; gap: 4px;
}
.logo-upload-area:hover .overlay { opacity: 1; }
.info-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--gray-200); }
.info-row:last-child { border-bottom: none; }
.info-label { font-size: .8rem; font-weight: 600; color: var(--gray-500); min-width: 160px; padding-top: 2px; }
.info-value { font-size: .9rem; color: var(--gray-800); }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .icon { font-size: 3rem; margin-bottom: 14px; opacity: .4; }
.empty-state h3 { font-size: 1.1rem; color: var(--gray-700); margin-bottom: 8px; }
.empty-state p { color: var(--gray-500); font-size: .875rem; }

/* ============================================================
   FORM BUILDER
   ============================================================ */
.field-row {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm); background: #fff; margin-bottom: 8px;
}
.field-row:hover { border-color: var(--navy-light); }
.field-drag { cursor: grab; color: var(--gray-400); font-size: 1.1rem; }
.field-meta { flex: 1; }
.field-meta .label { font-size: .875rem; font-weight: 600; color: var(--gray-800); }
.field-meta .type { font-size: .75rem; color: var(--gray-500); }
.field-actions { display: flex; gap: 6px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .public-left { display: none; }
    .public-right { padding: 24px 16px; }
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .form-row { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .page-body { padding: 16px; }
    .auth-card { padding: 24px 20px; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
    .sidebar, .topbar, .btn, .filter-bar { display: none !important; }
    .main-content { margin-left: 0 !important; }
    .card { box-shadow: none; border: 1px solid #ddd; }
}
