* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, sans-serif; background: #f5f7fb; color: #1f2937; }
a { color: #1d4ed8; text-decoration: none; }
.topbar { background: #111827; color: #fff; padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; }
.brand { font-size: 20px; font-weight: 700; }
.topbar a { color: #fff; margin-left: 16px; }
.container { max-width: 1100px; margin: 30px auto; padding: 0 20px; }
.card { background: #fff; padding: 24px; border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,0.06); margin-bottom: 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.stat { padding: 20px; background: #eef2ff; border-radius: 12px; }
.stat h3 { margin: 0 0 8px; }
form { display: grid; gap: 14px; }
input, select, textarea, button { padding: 12px; border: 1px solid #d1d5db; border-radius: 10px; font-size: 15px; }
button, .btn { background: #111827; color: #fff; border: 0; cursor: pointer; display: inline-block; padding: 12px 16px; border-radius: 10px; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
th, td { padding: 12px; border-bottom: 1px solid #e5e7eb; text-align: left; }
th { background: #f3f4f6; }
.badge { padding: 5px 9px; border-radius: 999px; font-size: 12px; background: #e5e7eb; }
.badge.pending { background: #fef3c7; }
.badge.progress { background: #dbeafe; }
.badge.completed { background: #dcfce7; }
.alert { padding: 12px; border-radius: 10px; margin-bottom: 16px; }
.alert.error { background: #fee2e2; }
.alert.success { background: #dcfce7; }
.footer { text-align: center; padding: 20px; color: #6b7280; }
.form-grid, .filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; align-items: end; }
.btn.secondary { background: #6b7280; text-align: center; }
.btn.small { padding: 7px 10px; font-size: 13px; border-radius: 8px; }
td { vertical-align: top; }
@media (max-width: 800px) { table { display: block; overflow-x: auto; white-space: nowrap; } .topbar { align-items: flex-start; gap: 12px; flex-direction: column; } .topbar a { display: inline-block; margin: 4px 8px 4px 0; } }
