body { font-family: 'Inter', Arial, sans-serif; background: radial-gradient(circle at 20% 20%, #dbeafe, #f8fafc 45%, #f1f5f9); color: #0f172a; margin:0; }
.topbar { background: linear-gradient(120deg, #1d4ed8, #0ea5e9); color:white; display:flex; align-items:center; justify-content:space-between; padding:12px 18px; position:sticky; top:0; z-index:20; box-shadow:0 8px 30px rgba(37,99,235,0.18); }
.topbar .brand { font-weight:800; letter-spacing:-0.5px; font-size:18px; display:flex; align-items:center; gap:8px; }
.topbar nav a { margin-right: 14px; color:white; text-decoration:none; font-weight:700; }
.topbar .actions { display:flex; align-items:center; gap:10px; }
.profile { position:relative; }
.avatar { width:36px; height:36px; border-radius:50%; background:#bfdbfe; color:#1d4ed8; display:flex; align-items:center; justify-content:center; font-weight:800; cursor:pointer; box-shadow:0 6px 18px rgba(37,99,235,0.25); }
.profile-menu { position:absolute; right:0; top:46px; background:white; border-radius:12px; padding:10px; box-shadow:0 20px 40px rgba(15,23,42,0.18); width:200px; display:none; }
.profile-menu a { display:block; padding:8px 10px; color:#0f172a; text-decoration:none; border-radius:8px; }
.profile-menu a:hover { background:#e2e8f0; }

.app-shell { display:flex; min-height:100vh; }
.sidebar { width:240px; background: linear-gradient(180deg, #0f172a, #1e293b); color:white; padding:18px 16px; position:sticky; top:56px; height:calc(100vh - 56px); overflow-y:auto; box-shadow:8px 0 28px rgba(0,0,0,0.15); }
.sidebar h4 { margin:0 0 10px; font-size:14px; letter-spacing:0.2px; text-transform:uppercase; color:#cbd5f5; }
.sidebar .menu a { display:flex; align-items:center; gap:8px; color:#e2e8f0; text-decoration:none; padding:10px; border-radius:10px; margin-bottom:6px; }
.sidebar .menu a:hover, .sidebar .menu a.active { background:rgba(255,255,255,0.08); color:white; }
.sidebar .stat { background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.12); color:white; }
.main-content { flex:1; padding:20px; }
.container { max-width: 1180px; margin: 0 auto; }

.card { background:linear-gradient(180deg, #ffffff, #f8fbff); border-radius: 16px; box-shadow: 0 12px 30px rgba(15,23,42,0.08); padding: 20px; margin-bottom: 18px; border:1px solid #e2e8f0; }
.glass { background: rgba(255,255,255,0.7); backdrop-filter: blur(10px); }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:11px 15px; border-radius: 12px; background:linear-gradient(135deg, #2563eb, #0ea5e9); color:white; text-decoration:none; font-weight:700; border:none; cursor:pointer; box-shadow:0 10px 25px rgba(37,99,235,0.28); transition: transform 0.1s ease, box-shadow 0.1s ease; }
.btn:hover { transform: translateY(-1px); box-shadow:0 14px 28px rgba(37,99,235,0.32); }
.btn.secondary { background:linear-gradient(135deg, #10b981, #34d399); box-shadow:0 10px 25px rgba(16,185,129,0.25); }
.btn.danger { background:linear-gradient(135deg, #ef4444, #f97316); box-shadow:0 10px 25px rgba(239,68,68,0.25); }
.btn.muted { background:#e2e8f0; color:#0f172a; box-shadow:none; }

form label { font-weight:700; color:#475569; margin-bottom:6px; display:block; }
form input, form select, form textarea { width:100%; padding:12px; border:1px solid #e2e8f0; border-radius:12px; margin-bottom:14px; background:white; box-sizing:border-box; }
.table { width:100%; border-collapse: collapse; }
.table th, .table td { border-bottom:1px solid #e2e8f0; padding:12px; text-align:left; }
.badge { padding:7px 12px; border-radius:999px; background:#e0f2fe; color:#0369a1; font-weight:700; font-size:12px; letter-spacing:0.2px; }
.pill { padding:8px 12px; border-radius:12px; background:#fef9c3; color:#92400e; font-weight:600; display:inline-block; }
.flex { display:flex; }
.flex-between { display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; }
.grid { display:grid; gap:12px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.hero { padding:30px 24px; border-radius:18px; background:linear-gradient(135deg, #2563eb, #7c3aed); color:white; box-shadow:0 16px 30px rgba(37,99,235,0.35); margin-bottom:18px; }
.hero h1 { margin:0 0 8px; font-size:26px; }
.hero p { margin:0; opacity:0.9; }
.section-title { font-weight:800; font-size:20px; color:#0f172a; margin:0 0 12px; }
.stat { background:white; border-radius:14px; padding:14px; box-shadow:0 10px 25px rgba(15,23,42,0.07); border:1px solid #e2e8f0; }
.chip { padding:6px 10px; border-radius:999px; background:#ecfeff; color:#0ea5e9; font-weight:700; }
.input-row { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:12px; }
.options-row { display:flex; gap:8px; flex-wrap:wrap; }
.options-row label { display:inline-flex; align-items:center; padding:8px 10px; background:#f8fafc; border:1px solid #e2e8f0; border-radius:10px; margin:0; }
.tile { display:inline-block; padding:10px 12px; background:#e2e8f0; border-radius:10px; margin:4px 6px 0 0; cursor:pointer; }
.tile.selected { background:#bfdbfe; color:#1d4ed8; }
.card.highlight { border:1px solid #bfdbfe; box-shadow:0 14px 30px rgba(37,99,235,0.18); }
.form-field { margin-bottom:12px; display:flex; flex-direction:column; gap:6px; }
.progress { margin-top:10px; background:#e2e8f0; border-radius:12px; overflow:hidden; height:14px; }
.progress .bar { height:100%; width:0%; background:linear-gradient(135deg,#2563eb,#0ea5e9); transition: width 0.2s ease; }
.progress-status { margin-top:6px; font-weight:700; color:#0f172a; font-size:13px; }

@media(max-width:960px){ .sidebar { display:none; } .app-shell { flex-direction:column; } .main-content { padding:16px; } }
@media(max-width:720px){ .container { padding: 0 8px; } .hero { padding:24px 18px; } }
