/* ============================================================
   Smart iPad Vault — Complete Responsive Stylesheet
   ============================================================ */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #0b0e17; color: #c8d0e0; line-height: 1.6;
    min-height: 100vh;
}
a { color: #4dabf7; text-decoration: none; transition: color .15s; }
a:hover { color: #74c0fc; }
img { max-width: 100%; height: auto; }

/* --- Typography --- */
h1 { font-size: 1.5rem; color: #fff; font-weight: 700; }
h2 { font-size: 1.25rem; color: #fff; font-weight: 600; }
h3 { font-size: 1.05rem; color: #e0e0e0; font-weight: 600; }
h4 { font-size: 0.95rem; color: #e0e0e0; font-weight: 500; }
.text-muted { color: #5a6a7a; }
.text-center { text-align: center; }

/* --- Login --- */
.login-body { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0b0e17 0%, #161c2e 100%); }
.login-container { width: 100%; max-width: 420px; padding: 20px; }
.login-card { background: #1a2035; border-radius: 16px; padding: 40px 32px; box-shadow: 0 20px 60px rgba(0,0,0,.5); border: 1px solid #253040; }
.login-card-header { text-align: center; margin-bottom: 28px; }
.login-icon { font-size: 3rem; color: #4dabf7; margin-bottom: 8px; }
.login-card-header h1 { color: #fff; font-size: 1.4rem; }
.login-card-header p { color: #5a6a7a; font-size: .85rem; margin-top: 4px; }
.login-footer { text-align: center; margin-top: 20px; color: #5a6a7a; font-size: .8rem; }

/* --- Sidebar --- */
.sidebar {
    position: fixed; top: 0; left: 0; width: 230px; height: 100vh;
    background: #121827; border-right: 1px solid #1e2840;
    display: flex; flex-direction: column; z-index: 100;
    transition: transform .3s ease;
}
.sidebar-brand { padding: 20px 16px; border-bottom: 1px solid #1e2840; display: flex; align-items: center; gap: 12px; }
.brand-icon { font-size: 1.6rem; color: #4dabf7; }
.brand-text h2 { color: #fff; font-size: 1rem; }
.brand-text small { color: #5a6a7a; font-size: .7rem; }

.sidebar-user { padding: 14px 16px; border-bottom: 1px solid #1e2840; display: flex; align-items: center; gap: 10px; }
.user-avatar { width: 36px; height: 36px; border-radius: 50%; background: #4dabf7; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; }
.user-info strong { display: block; color: #e0e0e0; font-size: .85rem; }
.user-info small { color: #5a6a7a; font-size: .72rem; }

.sidebar-nav { flex: 1; padding: 8px 0; overflow-y: auto; }
.nav-item {
    display: flex; align-items: center; gap: 12px; padding: 11px 16px;
    color: #8892b0; font-size: .85rem; border-left: 3px solid transparent;
    transition: all .15s;
}
.nav-item:hover { background: #1a2338; color: #e0e0e0; }
.nav-item.active { background: #1a2338; color: #4dabf7; border-left-color: #4dabf7; }
.nav-icon { width: 20px; text-align: center; font-size: 1rem; }

.sidebar-footer { padding: 14px 16px; border-top: 1px solid #1e2840; }
.btn-logout { display: block; text-align: center; padding: 8px; background: #e03e3e; color: #fff; border-radius: 6px; font-size: .85rem; transition: background .15s; }
.btn-logout:hover { background: #c03535; color: #fff; }

/* --- Topbar --- */
.main-wrapper { margin-left: 230px; min-height: 100vh; }
.topbar {
    display: flex; align-items: center; padding: 12px 24px;
    background: #121827; border-bottom: 1px solid #1e2840;
    position: sticky; top: 0; z-index: 50;
}
.menu-toggle { display: none; background: none; border: none; color: #e0e0e0; font-size: 1.3rem; cursor: pointer; padding: 4px 8px; }
.topbar-title { flex: 1; font-weight: 600; color: #e0e0e0; font-size: 1rem; }
.topbar-right { display: flex; align-items: center; gap: 8px; color: #5a6a7a; font-size: .8rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.status-dot.online { background: #40c057; box-shadow: 0 0 6px #40c057; }

.content { padding: 24px; }

/* --- Stats Grid --- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat-card {
    background: linear-gradient(135deg, #1a2035 0%, #1e2640 100%);
    border-radius: 10px; padding: 18px; border: 1px solid #253040; position: relative;
    transition: transform .15s, box-shadow .15s;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.stat-value { font-size: 1.8rem; font-weight: 700; color: #fff; }
.stat-label { color: #5a6a7a; font-size: .75rem; margin-top: 2px; text-transform: uppercase; letter-spacing: .5px; }
.stat-icon { position: absolute; top: 14px; right: 14px; font-size: 1.6rem; opacity: .12; color: #4dabf7; }
.highlight-warning .stat-value { color: #fcc419; }
.highlight-danger .stat-value { color: #ff6b6b; }

/* --- Cards --- */
.card { background: #161c2e; border-radius: 10px; border: 1px solid #253040; margin-bottom: 20px; overflow: hidden; }
.card-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 20px; border-bottom: 1px solid #253040; flex-wrap: wrap; gap: 8px;
}
.card-header h3 { font-size: .95rem; color: #e0e0e0; }
.card-body { padding: 20px; }
.mt-20 { margin-top: 20px; }

.grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* --- Tables --- */
.table-responsive { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.table th, .table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #253040; white-space: nowrap; }
.table th { color: #5a6a7a; font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; }
.table tbody tr:hover { background: #1a2338; }
.table tbody tr.row-denied { background: rgba(224,62,62,.04); }
.table tbody tr.row-approved { background: rgba(64,192,87,.03); }

/* --- Forms --- */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 5px; color: #8892b0; font-size: .82rem; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 9px 12px; background: #0f1424; border: 1px solid #253040;
    border-radius: 6px; color: #e0e0e0; font-size: .88rem; transition: border-color .15s;
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: #4dabf7; }
.form-group input::placeholder { color: #3a4a5a; }
.form-row { display: flex; gap: 14px; }
.form-group.half { flex: 1; }

.search-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.search-bar input, .search-bar select { padding: 6px 10px; background: #0f1424; border: 1px solid #253040; border-radius: 5px; color: #e0e0e0; font-size: .82rem; }
.search-bar input:focus { outline: none; border-color: #4dabf7; }

.filter-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.filter-bar input, .filter-bar select { padding: 6px 10px; background: #0f1424; border: 1px solid #253040; border-radius: 5px; color: #e0e0e0; font-size: .82rem; }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 9px 20px; border: none; border-radius: 6px; cursor: pointer;
    font-size: .85rem; font-weight: 500; transition: all .15s;
    gap: 6px; text-decoration: none;
}
.btn-primary { background: #4dabf7; color: #fff; }
.btn-primary:hover { background: #3c9be6; color: #fff; }
.btn-success { background: #40c057; color: #fff; }
.btn-success:hover { background: #36a84b; color: #fff; }
.btn-warning { background: #f59f00; color: #fff; }
.btn-warning:hover { background: #d98e00; color: #fff; }
.btn-danger { background: #e03e3e; color: #fff; }
.btn-danger:hover { background: #c03535; color: #fff; }
.btn-secondary { background: #3a4a5a; color: #fff; }
.btn-secondary:hover { background: #2d3a48; color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 5px 12px; font-size: .78rem; border-radius: 4px; }
.btn-text { color: #4dabf7; font-size: .82rem; }
.btn-text:hover { color: #74c0fc; }
.btn-icon { background: none; border: 1px solid #253040; border-radius: 4px; padding: 4px 8px; cursor: pointer; color: #8892b0; font-size: .85rem; }
.btn-icon:hover { background: #1a2338; color: #4dabf7; }
.btn-icon-danger { background: none; border: 1px solid #253040; border-radius: 4px; padding: 4px 8px; cursor: pointer; color: #8892b0; font-size: .85rem; }
.btn-icon-danger:hover { background: rgba(224,62,62,.1); color: #ff6b6b; }

/* --- Badges --- */
.badge { display: inline-block; padding: 2px 7px; border-radius: 4px; font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; }
.badge-green { background: rgba(64,192,87,.15); color: #51cf66; }
.badge-red { background: rgba(224,62,62,.15); color: #ff6b6b; }
.badge-orange { background: rgba(245,159,0,.15); color: #fcc419; }
.badge-blue { background: rgba(77,171,247,.15); color: #74c0fc; }
.badge-gray { background: rgba(73,80,87,.25); color: #adb5bd; }

/* --- Alerts --- */
.alert { padding: 11px 16px; border-radius: 8px; margin-bottom: 16px; font-size: .85rem; }
.alert-success { background: rgba(64,192,87,.1); border: 1px solid rgba(64,192,87,.25); color: #51cf66; }
.alert-error { background: rgba(224,62,62,.1); border: 1px solid rgba(224,62,62,.25); color: #ff6b6b; }
.alert-warning { background: rgba(245,159,0,.1); border: 1px solid rgba(245,159,0,.25); color: #fcc419; }
.alert-info { background: rgba(77,171,247,.1); border: 1px solid rgba(77,171,247,.25); color: #74c0fc; }

/* --- Alert Cards (feed on dashboard) --- */
.alert-feed { display: flex; flex-direction: column; gap: 8px; }
.alert-feed-item { padding: 10px 14px; border-radius: 6px; border-left: 3px solid; background: #1a2338; }
.alert-feed-item.alert-critical { border-left-color: #ff6b6b; }
.alert-feed-item.alert-high { border-left-color: #fcc419; }
.alert-feed-item.alert-medium { border-left-color: #74c0fc; }
.alert-feed-item.alert-low { border-left-color: #adb5bd; }
.alert-feed-title { font-weight: 500; color: #e0e0e0; font-size: .85rem; }
.alert-feed-meta { display: flex; gap: 6px; align-items: center; margin-top: 4px; font-size: .75rem; color: #5a6a7a; }

/* --- Alert Cards (full page) --- */
.alert-card { background: #1a2338; border-radius: 8px; margin-bottom: 14px; border: 1px solid #253040; border-left: 4px solid #5a6a7a; overflow: hidden; }
.alert-card.alert-critical { border-left-color: #ff6b6b; }
.alert-card.alert-high { border-left-color: #fcc419; }
.alert-card.alert-medium { border-left-color: #74c0fc; }
.alert-card.alert-low { border-left-color: #adb5bd; }
.alert-card-header { padding: 10px 16px; display: flex; align-items: center; gap: 8px; background: #0f1424; border-bottom: 1px solid #253040; font-size: .82rem; }
.alert-type-label { font-weight: 600; color: #e0e0e0; flex: 1; text-transform: capitalize; }
.alert-card-body { padding: 14px 16px; }
.alert-card-body h4 { color: #e0e0e0; margin-bottom: 6px; font-size: .9rem; }
.alert-card-body p { color: #5a6a7a; font-size: .85rem; }
.alert-card-footer { padding: 10px 16px; border-top: 1px solid #253040; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }

.evidence-img { max-width: 240px; border-radius: 6px; margin-top: 8px; border: 1px solid #253040; }

/* --- Compact Status List --- */
.compact-status-list { display: flex; flex-direction: column; gap: 10px; }
.compact-status-item { display: flex; align-items: center; gap: 12px; padding: 8px 12px; background: #1a2338; border-radius: 6px; }
.compact-status-left { display: flex; align-items: center; gap: 8px; min-width: 130px; }
.compact-status-center { flex: 1; color: #5a6a7a; font-size: .82rem; }
.compact-status-right { display: flex; gap: 4px; }

.status-indicator { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.status-indicator.online { background: #40c057; box-shadow: 0 0 5px #40c05766; }
.status-indicator.offline { background: #e03e3e; box-shadow: 0 0 5px #e03e3e66; }

/* --- Compartment Grid --- */
.compartment-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.comp-card { background: #1a2338; border-radius: 10px; border: 1px solid #253040; border-top: 3px solid #5a6a7a; overflow: hidden; transition: transform .15s; }
.comp-card:hover { transform: translateY(-2px); }
.comp-card.status-occupied { border-top-color: #51cf66; }
.comp-card.status-available { border-top-color: #74c0fc; }
.comp-card.status-removed { border-top-color: #ff6b6b; }
.comp-card.status-forced_open { border-top-color: #e64980; }
.comp-card.status-maintenance { border-top-color: #fcc419; }

.comp-card-header { padding: 14px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #253040; }
.comp-title { flex: 1; display: flex; align-items: center; gap: 8px; }
.comp-title h3 { font-size: .95rem; }
.alert-warning-badge { color: #fcc419; font-size: 1.1rem; margin-left: 4px; animation: pulse-warning 1.5s infinite; cursor: help; }
@keyframes pulse-warning { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.comp-badges { display: flex; gap: 4px; }

.comp-card-body { padding: 14px 16px; }
.comp-detail { display: flex; justify-content: space-between; padding: 5px 0; font-size: .82rem; }
.detail-label { color: #5a6a7a; }
.detail-value { color: #c8d0e0; font-weight: 500; }

.comp-card-footer { padding: 12px 16px; border-top: 1px solid #253040; }
.comp-controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.comp-controls select { padding: 4px 8px; background: #0f1424; border: 1px solid #253040; border-radius: 4px; color: #e0e0e0; font-size: .78rem; }

/* --- Battery --- */
.battery-bar { width: 50px; height: 8px; background: #0f1424; border-radius: 4px; overflow: hidden; display: inline-block; vertical-align: middle; margin-right: 4px; }
.battery-fill { height: 100%; background: #40c057; border-radius: 4px; transition: width .5s ease, background .5s; }

/* --- Modal --- */
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1000; display: none; align-items: center; justify-content: center; }
.modal-backdrop { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.7); }
.modal-content { position: relative; background: #1a2035; border-radius: 12px; padding: 28px; width: 90%; max-width: 520px; border: 1px solid #253040; max-height: 85vh; overflow-y: auto; z-index: 1; }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.modal-close { background: none; border: none; color: #5a6a7a; font-size: 1.5rem; cursor: pointer; padding: 0 4px; line-height: 1; }
.modal-close:hover { color: #e0e0e0; }

/* --- Thumbnails --- */
.thumb { width: 40px; height: 40px; object-fit: cover; border-radius: 4px; border: 1px solid #253040; }

/* --- Pagination --- */
.pagination { margin-top: 14px; }
.pagination ul { display: flex; list-style: none; gap: 4px; }
.pagination li a { display: block; padding: 5px 11px; background: #1a2338; border: 1px solid #253040; border-radius: 4px; color: #5a6a7a; font-size: .82rem; transition: all .15s; }
.pagination li a:hover { background: #253040; color: #e0e0e0; }
.pagination li.active a { background: #4dabf7; color: #fff; border-color: #4dabf7; }

/* --- Page Actions --- */
.page-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.date-summary, .alert-summary { display: flex; gap: 12px; font-size: .85rem; flex-wrap: wrap; }
.summary-item { color: #5a6a7a; }
.summary-item strong { color: #e0e0e0; }
.summary-item.approved strong { color: #51cf66; }
.summary-item.denied strong { color: #ff6b6b; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
.dot.critical { background: #ff6b6b; }
.dot.high { background: #fcc419; }
.dot.medium { background: #74c0fc; }

/* --- Settings --- */
.settings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.action-cell { display: flex; gap: 4px; }

/* --- Error Page --- */
.error-page { text-align: center; padding: 80px 20px; }
.error-page h1 { font-size: 5rem; color: #4dabf7; }
.error-page h2 { margin: 10px 0; }
.error-page p { color: #5a6a7a; margin-bottom: 20px; }

/* --- Alert Popup --- */
.alert-popup {
    position: fixed; top: 20px; right: 20px; width: 360px; z-index: 10000;
    display: flex; align-items: flex-start; gap: 12px;
    padding: 16px; border-radius: 10px; box-shadow: 0 8px 30px rgba(0,0,0,.6);
    transform: translateX(120%); transition: transform .4s ease;
    border-left: 4px solid;
}
.alert-popup.show { transform: translateX(0); }
.alert-popup.popup-critical { background: #2a0f0f; border-color: #e03e3e; }
.alert-popup.popup-high { background: #2a1a0f; border-color: #fcc419; }
.alert-popup.popup-medium { background: #0f1a2a; border-color: #4dabf7; }
.popup-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.popup-critical .popup-icon { color: #e03e3e; }
.popup-high .popup-icon { color: #fcc419; }
.popup-medium .popup-icon { color: #4dabf7; }
.popup-body { flex: 1; min-width: 0; }
.popup-title { font-weight: 600; font-size: .88rem; color: #e0e0e0; }
.popup-msg { font-size: .78rem; color: #8892b0; margin-top: 3px; }
.popup-comp { font-size: .7rem; color: #5a6a7a; margin-top: 4px; }
.popup-close { background: none; border: none; color: #5a6a7a; font-size: 1.2rem; cursor: pointer; padding: 0 2px; line-height: 1; }

/* --- Alert Flash Overlay --- */
.alert-flash { animation: flashRed 3s ease; }
@keyframes flashRed {
    0% { box-shadow: inset 0 0 80px rgba(224,62,62,.15); }
    50% { box-shadow: inset 0 0 120px rgba(224,62,62,.25); }
    100% { box-shadow: inset 0 0 0 rgba(224,62,62,0); }
}

/* --- Alert Siren Bar --- */
.alert-siren {
    position: fixed; top: 0; left: 0; width: 100%; height: 4px; z-index: 9999;
    background: linear-gradient(90deg, #e03e3e, #fcc419, #e03e3e);
    background-size: 200% 100%;
    animation: sirenSweep .8s linear infinite;
}
@keyframes sirenSweep {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* --- Card Alert Flash --- */
.alert-flash-card { animation: cardPulse 4s ease; }
@keyframes cardPulse {
    0%,100% { box-shadow: 0 0 0 rgba(224,62,62,0); }
    20% { box-shadow: 0 0 25px rgba(224,62,62,.5), inset 0 0 15px rgba(224,62,62,.15); }
    80% { box-shadow: 0 0 8px rgba(224,62,62,.2); }
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .grid-2col { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; }
    .form-group.half { width: 100%; }
}

@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .main-wrapper { margin-left: 0; }
    .menu-toggle { display: block; }
    .content { padding: 16px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .stat-card { padding: 14px; }
    .stat-value { font-size: 1.4rem; }
    .compartment-grid { grid-template-columns: 1fr; }
    .page-actions { flex-direction: column; align-items: flex-start; }
    .settings-grid { grid-template-columns: 1fr; }
    .table td, .table th { padding: 7px 8px; font-size: .78rem; }
}

/* --- Notification Bell --- */
.notification-bell { position: relative; cursor: pointer; margin-right: 16px; }
.bell-icon { font-size: 1.2rem; color: #8892b0; }
.notif-count {
    position: absolute; top: -6px; right: -8px; background: #e03e3e; color: #fff;
    font-size: .65rem; font-weight: 700; min-width: 16px; height: 16px;
    border-radius: 8px; display: none; align-items: center; justify-content: center;
    padding: 0 4px; line-height: 1;
}
.notif-count.show { display: flex; }
.notif-dropdown {
    position: absolute; top: 100%; right: 0; width: 340px; max-height: 360px;
    background: #1a2035; border: 1px solid #253040; border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,.5); display: none; z-index: 100;
    overflow: hidden; margin-top: 8px;
}
.notification-bell:hover .notif-dropdown { display: block; }
.notif-dropdown-header {
    padding: 10px 14px; font-size: .8rem; font-weight: 600; color: #e0e0e0;
    border-bottom: 1px solid #253040; background: #0f1424;
}
.notif-list { max-height: 260px; overflow-y: auto; }
.notif-item {
    padding: 10px 14px; border-bottom: 1px solid #253040; font-size: .78rem;
    transition: background .15s;
}
.notif-item:hover { background: #0f1424; }
.notif-item-title { color: #e0e0e0; font-weight: 500; }
.notif-item-message { color: #8892b0; font-size: .72rem; margin-top: 2px; }
.notif-item-time { color: #5a6a7a; font-size: .65rem; margin-top: 2px; }
.notif-item.unread { border-left: 3px solid #4dabf7; }
.notif-view-all {
    display: block; text-align: center; padding: 8px; font-size: .78rem;
    border-top: 1px solid #253040; color: #4dabf7;
}
.notif-view-all:hover { background: #0f1424; }

/* Restricted Dashboard (compartment_user) */
.dashboard-minimal { max-width: 800px; margin: 0 auto; }
.restricted-comp-card {
    background: #101624; border: 1px solid #253040; border-radius: 8px; padding: 20px;
}
.restricted-comp-header {
    display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap;
}
.restricted-comp-header .status-indicator {
    width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0;
}
.restricted-comp-header strong { font-size: 1.1rem; }
.restricted-comp-details {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px;
}
.detail-row {
    display: flex; justify-content: space-between; padding: 6px 0;
    border-bottom: 1px solid #1a2030; font-size: .85rem;
}
.detail-row span:first-child { color: #8892b0; }
.detail-row span:last-child { color: #e6edf3; font-weight: 500; }

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .stat-value { font-size: 1.2rem; }
    .login-card { padding: 24px 20px; }
}
