/**
 * Spark Dashboard - 统一主题样式
 * 参照 AI-Quant Sentinel 设计系统优化
 * 
 * 设计理念:
 * - 紧凑高效的信息展示
 * - 现代简洁的视觉风格
 * - 一致的组件系统
 */

/* ============================================
   1. CSS 变量定义
   ============================================ */
:root {
    /* 基础颜色 */
    --bg: #ffffff;
    --bg2: #f8fafc;
    --bg3: #f1f5f9;
    --border: #e2e8f0;
    
    /* 文字颜色 */
    --text: #1e293b;
    --text2: #64748b;
    --text-muted: #94a3b8;
    
    /* 主题色 */
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #eff6ff;
    
    /* 语义色 */
    --red: #ef4444;
    --green: #10b981;
    --yellow: #f59e0b;
    --purple: #8b5cf6;
    --cyan: #06b6d4;
    
    /* 尺寸变量 */
    --sidebar-width: 260px;
    --navbar-height: 52px;
    --radius: 6px;
    --radius-lg: 8px;
    --radius-sm: 4px;
    
    /* 阴影 */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* 字体 */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    --font-mono: 'SF Mono', Monaco, Consolas, 'Liberation Mono', monospace;
}

/* ============================================
   2. 基础重置与全局样式
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--bg2);
    color: var(--text);
    font-size: 13px;
    line-height: 1.5;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s;
}

a:hover {
    color: var(--primary-dark);
}

/* ============================================
   3. 顶部导航栏
   ============================================ */
.navbar {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0 20px;
    height: var(--navbar-height);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
}

.logo i {
    color: var(--primary);
    font-size: 18px;
}

.nav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ============================================
   4. 侧边栏
   ============================================ */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: var(--sidebar-width);
    background: var(--bg);
    border-right: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease, transform 0.3s ease;
}

/* 桌面端折叠 */
.sidebar.collapsed {
    width: 0;
    overflow: hidden;
}

.sidebar.collapsed .sidebar-header,
.sidebar.collapsed .sidebar-nav,
.sidebar.collapsed .sidebar-footer {
    opacity: 0;
    visibility: hidden;
}

.sidebar-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text);
}

.brand-logo {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: #fff;
    font-size: 14px;
}

.brand-text h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.3px;
}

.brand-text span {
    font-size: 11px;
    color: var(--text2);
}

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

.nav-section {
    margin-bottom: 20px;
}

.nav-section-title {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    padding: 0 20px;
    margin-bottom: 8px;
}

.nav-item {
    margin: 2px 12px;
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    color: var(--text2);
    text-decoration: none;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s;
    cursor: pointer;
}

.nav-link:hover {
    background: var(--bg3);
    color: var(--text);
}

.nav-link.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

.nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background: var(--primary);
    border-radius: 0 2px 2px 0;
}

.nav-link i {
    width: 16px;
    margin-right: 10px;
    text-align: center;
    font-size: 13px;
}

.nav-link.locked {
    color: var(--text-muted);
    cursor: not-allowed;
}

.vip-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #fff;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 600;
    margin-left: auto;
}

.lock-icon {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 11px;
}

/* ============================================
   5. 主内容区域
   ============================================ */
.main-content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s ease, width 0.3s ease;
}

.main-content.expanded {
    margin-left: 0;
    width: 100%;
}

/* 切换按钮样式 */
.navbar-toggle {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
    transition: all 0.2s ease;
    margin-right: 12px;
}

.navbar-toggle:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.top-navbar {
    height: var(--navbar-height);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 99;
}

.page-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-title i {
    color: var(--primary);
    font-size: 14px;
}

.navbar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-btn {
    background: none;
    border: none;
    color: var(--text2);
    padding: 6px 8px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.15s;
    font-size: 14px;
}

.navbar-btn:hover {
    background: var(--bg3);
    color: var(--text);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px 4px 6px;
    border-radius: 20px;
    background: var(--bg3);
}

.user-avatar {
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 11px;
}

.user-name {
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
}

.content-area {
    padding: 16px 20px;
    flex: 1;
}

.content-frame {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.content-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   6. 按钮系统
   ============================================ */
.btn {
    padding: 6px 12px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg3);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--border);
}

.btn-success {
    background: var(--green);
    color: #fff;
}

.btn-success:hover:not(:disabled) {
    background: #059669;
}

.btn-danger {
    background: var(--red);
    color: #fff;
}

.btn-danger:hover:not(:disabled) {
    background: #dc2626;
}

.btn-warning {
    background: var(--yellow);
    color: #fff;
}

.btn-sm {
    padding: 4px 8px;
    font-size: 11px;
}

.btn-lg {
    padding: 10px 20px;
    font-size: 14px;
}

.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================
   7. 卡片组件
   ============================================ */
.card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 16px;
}

.card:last-child {
    margin-bottom: 0;
}

.card-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg);
}

.card-title {
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.card-title i {
    color: var(--primary);
    font-size: 14px;
}

.card-body {
    padding: 16px;
}

.card-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    background: var(--bg2);
}

/* ============================================
   8. 统计卡片
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.stat-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 16px;
    border: 1px solid var(--border);
    transition: all 0.15s;
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-card.highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
}

.stat-card.highlight .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    margin-bottom: 12px;
}

.stat-icon.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.stat-icon.success {
    background: linear-gradient(135deg, var(--green), #059669);
}

.stat-icon.warning {
    background: linear-gradient(135deg, var(--yellow), #d97706);
}

.stat-icon.danger {
    background: linear-gradient(135deg, var(--red), #dc2626);
}

.stat-label {
    font-size: 11px;
    color: var(--text2);
    margin-bottom: 4px;
    font-weight: 500;
}

.stat-value {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.stat-change {
    font-size: 11px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.positive {
    color: var(--red);
}

.negative {
    color: var(--green);
}

/* ============================================
   9. 表单元素
   ============================================ */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text2);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    transition: all 0.15s;
    background: var(--bg);
    color: var(--text);
}

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

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

.input-group {
    display: flex;
    gap: 8px;
}

.input-group .form-control {
    flex: 1;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
}

.form-check-input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.form-check-label {
    font-size: 13px;
    color: var(--text2);
    cursor: pointer;
}

/* ============================================
   10. 表格样式
   ============================================ */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

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

th {
    background: var(--bg3);
    font-weight: 600;
    font-size: 11px;
    color: var(--text2);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

tr:hover {
    background: var(--bg2);
}

.table-responsive {
    overflow-x: auto;
}

/* ============================================
   11. 徽章和标签
   ============================================ */
.badge {
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-primary {
    background: var(--primary-light);
    color: var(--primary);
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

.badge-buy {
    background: #fef2f2;
    color: var(--red);
}

.badge-sell {
    background: #f0fdf4;
    color: var(--green);
}

/* ============================================
   12. 状态指示器
   ============================================ */
.status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text2);
    padding: 4px 10px;
    background: var(--bg3);
    border-radius: 12px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
}

.status-dot.warning {
    background: var(--yellow);
}

.status-dot.danger {
    background: var(--red);
}

/* ============================================
   13. 时间按钮组
   ============================================ */
.time-btns {
    display: flex;
    gap: 2px;
    background: var(--bg3);
    padding: 3px;
    border-radius: var(--radius);
}

.time-btn {
    padding: 4px 10px;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    font-size: 11px;
    cursor: pointer;
    color: var(--text2);
    transition: all 0.15s;
}

.time-btn:hover {
    background: var(--border);
}

.time-btn.active {
    background: #fff;
    color: var(--text);
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

/* ============================================
   14. 模态框
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: #fff;
    border-radius: var(--radius-lg);
    width: 400px;
    max-width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.2s;
}

.modal-overlay.show .modal {
    transform: scale(1);
}

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

.modal-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text2);
    padding: 0;
    line-height: 1;
    transition: color 0.15s;
}

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

.modal-body {
    padding: 20px;
    overflow-y: auto;
}

.modal-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* ============================================
   15. 加载状态
   ============================================ */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
}

.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.global-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.global-loading.hide {
    opacity: 0;
    pointer-events: none;
}

.global-loading .spinner {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
}

.global-loading .loading-text {
    color: var(--text2);
    font-size: 13px;
}

/* ============================================
   16. 空状态
   ============================================ */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text2);
}

.empty-icon {
    font-size: 32px;
    opacity: 0.3;
    margin-bottom: 12px;
}

.empty-text {
    font-size: 13px;
    margin-bottom: 8px;
}

.empty-hint {
    font-size: 11px;
    color: var(--text-muted);
}

/* ============================================
   17. 提示消息
   ============================================ */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.alert i {
    font-size: 16px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-info {
    background: var(--primary-light);
    color: var(--primary-dark);
    border: 1px solid #bfdbfe;
}

.d-none {
    display: none !important;
}

/* ============================================
   18. 工具类
   ============================================ */
.text-primary { color: var(--primary) !important; }
.text-success { color: var(--green) !important; }
.text-danger { color: var(--red) !important; }
.text-warning { color: var(--yellow) !important; }
.text-muted { color: var(--text-muted) !important; }

.bg-primary { background: var(--primary) !important; }
.bg-success { background: var(--green) !important; }
.bg-danger { background: var(--red) !important; }

.fw-bold { font-weight: 700 !important; }
.fw-medium { font-weight: 500 !important; }

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

.mt-1 { margin-top: 4px !important; }
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 16px !important; }
.mt-4 { margin-top: 24px !important; }

.mb-1 { margin-bottom: 4px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 16px !important; }
.mb-4 { margin-bottom: 24px !important; }

.p-2 { padding: 8px !important; }
.p-3 { padding: 16px !important; }
.p-4 { padding: 24px !important; }

/* ============================================
   19. 认证页面专用样式
   ============================================ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.auth-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 420px;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-header {
    padding: 32px 28px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.auth-logo {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #fff;
    font-size: 18px;
}

.auth-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.auth-subtitle {
    color: var(--text2);
    font-size: 13px;
}

.auth-body {
    padding: 28px;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.auth-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
}

.auth-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.login-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.tab-button {
    flex: 1;
    padding: 10px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: -2px;
    font-size: 13px;
}

.tab-button.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-button:hover:not(.active) {
    color: var(--text2);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

/* ============================================
   20. 响应式设计
   ============================================ */
@media (max-width: 991px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }
    
    .sidebar-overlay.show {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .content-area {
        padding: 12px 16px;
    }
    
    .auth-card {
        max-width: 100%;
    }
    
    .auth-header {
        padding: 24px 20px 16px;
    }
    
    .auth-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-value {
        font-size: 20px;
    }
}
