* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, sans-serif; }
body { background: #f1f5f9; color: #0f172a; }

.auth-body { display: flex; justify-content: center; align-items: center; height: 100vh; background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%); }
.auth-box { background: #fff; padding: 40px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); width: 380px; }
.auth-header { text-align: center; margin-bottom: 30px; }
.auth-header h2 { color: #1e3a8a; font-size: 28px; }
.auth-header p { color: #64748b; font-size: 13px; margin-top: 5px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; color: #334155; margin-bottom: 8px; }
.form-group input, .form-group select { width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 14px; }
.form-group input:focus { border-color: #2563eb; outline: none; }

.btn { padding: 12px 20px; border: none; border-radius: 6px; cursor: pointer; font-size: 14px; text-decoration: none; display: inline-block; }
.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover { background: #1d4ed8; }
.btn-block { width: 100%; }
.btn-danger { background: #dc2626; color: #fff; }
.btn-success { background: #16a34a; color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 12px; }

.alert { padding: 12px; border-radius: 6px; margin-bottom: 20px; font-size: 14px; }
.alert-danger { background: #fee2e2; color: #b91c1c; }
.alert-success { background: #dcfce7; color: #166534; }

.layout { display: flex; min-height: 100vh; }
.sidebar { width: 250px; background: #0f172a; color: #fff; flex-shrink: 0; }
.sidebar-header { padding: 20px; text-align: center; border-bottom: 1px solid #1e293b; }
.sidebar-header h2 { color: #fff; font-size: 24px; }
.nav { list-style: none; padding: 0; margin-top: 20px; }
.nav li a { display: block; padding: 15px 25px; color: #94a3b8; text-decoration: none; transition: 0.3s; }
.nav li a:hover, .nav li a.active { background: #1e293b; color: #fff; border-left: 4px solid #2563eb; }

.main-content { flex: 1; padding: 30px; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; padding-bottom: 15px; border-bottom: 1px solid #e2e8f0; }
.topbar h1 { font-size: 24px; color: #0f172a; }
.user-info { font-size: 14px; color: #64748b; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-bottom: 30px; }
.stat-card { background: #fff; padding: 20px; border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); display: flex; align-items: center; gap: 15px; }
.stat-icon { font-size: 32px; }
.stat-info h3 { font-size: 28px; margin-bottom: 5px; }
.stat-info p { font-size: 14px; color: #64748b; }
.stat-blue { border-left: 4px solid #2563eb; }
.stat-green { border-left: 4px solid #16a34a; }
.stat-red { border-left: 4px solid #dc2626; }
.stat-purple { border-left: 4px solid #9333ea; }

.content-box { background: #fff; padding: 20px; border-radius: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.content-box h3 { margin-bottom: 20px; font-size: 18px; border-bottom: 1px solid #e2e8f0; padding-bottom: 10px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px; text-align: left; border-bottom: 1px solid #e2e8f0; font-size: 14px; }
.table th { background: #f8fafc; font-weight: bold; color: #475569; }
.badge { padding: 4px 10px; border-radius: 12px; font-size: 12px; font-weight: bold; }
.badge-danger { background: #fee2e2; color: #b91c1c; }
.badge-success { background: #dcfce7; color: #166534; }