:root { --bg-primary: #0f172a; --bg-secondary: #1e293b; --bg-tertiary: #334155; --text-primary: #f8fafc; --text-secondary: #94a3b8; --accent: #06b6d4; --accent-hover: #0891b2; --success: #10b981; --warning: #f59e0b; --danger: #ef4444; --border: #334155; --sidebar-width: 260px; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background: var(--bg-primary); color: var(--text-primary); line-height: 1.5; }
a { text-decoration: none; color: inherit; }
.app-container { display: flex; min-height: 100vh; }
.sidebar { width: var(--sidebar-width); background: var(--bg-secondary); border-right: 1px solid var(--border); display: flex; flex-direction: column; position: fixed; height: 100vh; }
.sidebar-brand { padding: 1.5rem; font-size: 1.25rem; font-weight: 700; color: var(--accent); display: flex; align-items: center; gap: 0.75rem; border-bottom: 1px solid var(--border); }
.sidebar-nav { flex: 1; padding: 1rem 0; }
.nav-item { display: block; padding: 0.75rem 1.5rem; color: var(--text-secondary); transition: all 0.2s; }
.nav-item:hover, .nav-item.active { background: var(--bg-tertiary); color: var(--text-primary); border-right: 3px solid var(--accent); }
.nav-item.logout { color: var(--danger); }
.sidebar-footer { padding: 1rem; border-top: 1px solid var(--border); }
.main-content { margin-left: var(--sidebar-width); flex: 1; }
.top-header { background: var(--bg-secondary); padding: 1rem 2rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.header-user { display: flex; align-items: center; gap: 0.75rem; }
.user-avatar { width: 36px; height: 36px; background: var(--accent); color: var(--bg-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.content-wrapper { padding: 2rem; }
.card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; margin-bottom: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.stat-card { text-align: center; }
.stat-value { font-size: 2rem; font-weight: 700; color: var(--accent); }
.stat-label { color: var(--text-secondary); font-size: 0.875rem; margin-top: 0.25rem; }
.form-group { margin-bottom: 1rem; }
.form-label { display: block; margin-bottom: 0.5rem; color: var(--text-secondary); font-size: 0.875rem; }
.form-input { width: 100%; padding: 0.75rem; background: var(--bg-primary); border: 1px solid var(--border); border-radius: 6px; color: var(--text-primary); font-size: 1rem; }
.form-input:focus { outline: none; border-color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.5rem; border-radius: 6px; font-weight: 500; cursor: pointer; border: none; transition: all 0.2s; }
.btn-primary { background: var(--accent); color: var(--bg-primary); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-full { width: 100%; }
.notification-area { position: fixed; top: 1rem; right: 1rem; z-index: 1000; }
.notification { background: var(--bg-secondary); border-left: 4px solid var(--accent); padding: 1rem; border-radius: 4px; margin-bottom: 0.5rem; box-shadow: 0 4px 6px rgba(0,0,0,0.3); animation: slideIn 0.3s; }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.auth-container { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 2rem; }
.auth-box { width: 100%; max-width: 420px; }
@media (max-width: 768px) { .sidebar { transform: translateX(-100%); transition: transform 0.3s; z-index: 100; } .sidebar.open { transform: translateX(0); } .main-content { margin-left: 0; } }
