* { box-sizing: border-box; }
body { margin:0; font-family: Arial, Helvetica, sans-serif; background:#f4f7fb; color:#1f2937; }
a { color: inherit; }
.login-wrapper { display:flex; min-height:100vh; }
.login-left { flex:1; background:linear-gradient(135deg,#071d49,#0b3d91); color:#fff; padding:70px; display:flex; flex-direction:column; justify-content:center; }
.login-left h1 { font-size:46px; margin:0 0 10px; }
.login-left h2 { font-size:24px; margin:0 0 25px; color:#dbeafe; }
.login-left p { max-width:560px; font-size:18px; line-height:1.7; color:#eef4ff; }
.demo-box { margin-top:25px; padding:16px; border-radius:12px; background:rgba(255,255,255,.13); line-height:1.8; max-width:560px; }
.login-right { width:430px; background:#fff; display:flex; align-items:center; justify-content:center; padding:35px; }
.login-card { width:100%; }
.login-card h2 { color:#071d49; margin-bottom:5px; }
.muted { color:#6b7280; margin-bottom:25px; }
label { display:block; font-weight:bold; margin-bottom:8px; color:#374151; }
input, select, textarea { width:100%; padding:13px; border:1px solid #d1d5db; border-radius:8px; margin-bottom:16px; font-size:15px; }
textarea { min-height:120px; }
button, .btn { display:inline-block; background:#071d49; color:#fff; padding:12px 18px; border:none; border-radius:8px; text-decoration:none; cursor:pointer; font-size:15px; }
button:hover, .btn:hover { background:#0b3d91; }
.btn-light { background:#e5e7eb; color:#111827; }
.btn-danger { background:#991b1b; }
.btn-success { background:#047857; }
.alert-error { background:#fee2e2; color:#991b1b; padding:12px; border-radius:8px; margin-bottom:18px; }
.alert-success { background:#dcfce7; color:#166534; padding:12px; border-radius:8px; margin-bottom:18px; }
.back-link { display:block; text-align:center; margin-top:20px; color:#071d49; text-decoration:none; }
.dashboard-layout { display:flex; min-height:100vh; }
.sidebar { width:250px; background:#071d49; color:#fff; padding:22px; position:sticky; top:0; height:100vh; overflow:auto; }
.sidebar h2 { font-size:22px; margin:0 0 25px; }
.sidebar a { display:block; color:#dbeafe; text-decoration:none; padding:12px; border-radius:8px; margin-bottom:6px; }
.sidebar a:hover, .sidebar a.active { background:#0b3d91; color:#fff; }
.main-content { flex:1; padding:28px; overflow:auto; }
.topbar { background:#fff; padding:18px 22px; border-radius:12px; margin-bottom:22px; display:flex; justify-content:space-between; align-items:center; box-shadow:0 4px 14px rgba(0,0,0,.04); }
.topbar h1 { margin:0; color:#071d49; }
.card-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-bottom:25px; }
.card, .panel { background:#fff; border-radius:12px; padding:22px; box-shadow:0 4px 14px rgba(0,0,0,.05); }
.card h3 { margin:0 0 10px; color:#6b7280; font-size:15px; }
.card .number { font-size:30px; font-weight:bold; color:#071d49; }
.panel h2 { margin-top:0; color:#071d49; }
.quick-actions { display:flex; gap:12px; flex-wrap:wrap; }
.table-wrap { overflow-x:auto; }
table { width:100%; border-collapse:collapse; background:#fff; }
th, td { padding:12px; border-bottom:1px solid #e5e7eb; text-align:left; vertical-align:top; }
th { color:#071d49; background:#f8fafc; }
.badge { padding:5px 9px; border-radius:20px; background:#e5e7eb; font-size:12px; display:inline-block; }
.badge.active, .badge.present, .badge.accepted, .badge.pass, .badge.published { background:#dcfce7; color:#166534; }
.badge.inactive, .badge.absent, .badge.fail { background:#fee2e2; color:#991b1b; }
.badge.late, .badge.pending, .badge.draft { background:#fef3c7; color:#92400e; }
.form-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.form-grid .full { grid-column:1/-1; }
@media(max-width:900px){ .login-wrapper,.dashboard-layout{flex-direction:column}.login-left{padding:35px}.login-right,.sidebar{width:100%;height:auto;position:relative}.card-grid{grid-template-columns:repeat(2,1fr)}.form-grid{grid-template-columns:1fr} }
@media(max-width:600px){ .card-grid{grid-template-columns:1fr}.topbar{flex-direction:column;align-items:flex-start;gap:10px} }
