:root {
    --primary: #6366f1; --primary-dark: #4f46e5; --danger: #ef4444;
    --success: #10b981; --warning: #f59e0b; --bg: #f3f4f6; --text: #1f2937;
    --sidebar-width: 260px;
}
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; }
body { background: var(--bg); color: var(--text); min-height: 100vh; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.auth-container { display: flex; justify-content: center; align-items: center; min-height: 100vh; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.auth-box { background: white; padding: 2.5rem; border-radius: 16px; width: 100%; max-width: 400px; box-shadow: 0 10px 25px rgba(0,0,0,0.2); animation: slideUp 0.5s ease; }
.auth-box h2 { text-align: center; margin-bottom: 1.5rem; color: var(--primary); }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; font-size: 0.9rem; }
.form-control { width: 100%; padding: 0.75rem; border: 1px solid #d1d5db; border-radius: 8px; transition: border 0.3s; outline: none; }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1); }
.btn { width: 100%; padding: 0.75rem; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; transition: background 0.3s; color: white; background: var(--primary); }
.btn:hover { background: var(--primary-dark); }
.btn-danger { background: var(--danger); }
.btn-sm { width: auto; padding: 0.4rem 0.8rem; font-size: 0.85rem; }
.dashboard { display: flex; min-height: 100vh; }
.sidebar { width: var(--sidebar-width); background: #1e293b; color: white; padding: 2rem; position: fixed; height: 100%; display: flex; flex-direction: column; }
.sidebar h2 { margin-bottom: 2rem; font-size: 1.5rem; border-bottom: 1px solid #334155; padding-bottom: 1rem; }
.menu-item { display: block; padding: 0.8rem 1rem; color: #94a3b8; text-decoration: none; border-radius: 8px; margin-bottom: 0.5rem; transition: 0.3s; }
.menu-item:hover, .menu-item.active { background: var(--primary); color: white; }
.main-content { margin-left: var(--sidebar-width); flex: 1; padding: 2rem; }
.card { background: white; border-radius: 12px; padding: 2rem; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); margin-bottom: 2rem; animation: slideUp 0.4s ease; }
table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
th, td { padding: 1rem; text-align: left; border-bottom: 1px solid #e5e7eb; }
th { background: #f8fafc; color: var(--primary); font-weight: 600; }
.status-badge { padding: 4px 8px; border-radius: 4px; font-size: 0.8rem; font-weight: bold; }
.status-active { background: #d1fae5; color: #065f46; }
.status-banned { background: #fee2e2; color: #991b1b; }
.status-expired { background: #f3f4f6; color: #374151; }
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); justify-content: center; align-items: center; z-index: 1000; }
.modal-content { background: white; padding: 2rem; border-radius: 12px; width: 400px; animation: slideUp 0.3s; }
