@import url('https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu:wght@400;600;700&family=Inter:wght@400;600;700&display=swap');
* { box-sizing: border-box; }
body { margin: 0; background: #f4f1ec; color: #161616; font-family: Inter, 'Noto Nastaliq Urdu', sans-serif; }
body, input, textarea, select, button { font-size: 15px; }
a { color: #a90000; text-decoration: none; font-weight: 700; }
.login-page { min-height: 100vh; display: grid; place-items: center; }
.login-box, .panel, table, .cards > div, .note { background: white; border: 1px solid #e3ddd5; border-radius: 8px; padding: 18px; }
.login-box { width: min(420px, calc(100% - 24px)); }
label { display: block; margin-top: 12px; font-weight: 700; }
input, textarea, select { width: 100%; border: 1px solid #d8d0c7; border-radius: 6px; padding: 10px; margin-top: 5px; }
button, .btn { display: inline-block; border: 0; border-radius: 6px; background: #b30000; color: white; padding: 10px 15px; margin-top: 14px; cursor: pointer; }
.hint, .alert { color: #666; }
.alert { color: #b30000; }
.admin-side { position: fixed; inset: 0 auto 0 0; width: 230px; background: #151515; color: white; padding: 18px; }
.admin-side a { display: block; color: white; padding: 10px 0; border-bottom: 1px solid #333; }
.admin-main { margin-left: 230px; padding: 24px; }
.admin-top { background: white; border: 1px solid #e3ddd5; border-radius: 8px; padding: 10px 14px; margin-bottom: 18px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
.cards strong { display: block; font-size: 34px; color: #b30000; }
.wide { max-width: 900px; }
table { width: 100%; border-collapse: collapse; margin-top: 18px; }
th, td { text-align: right; border-bottom: 1px solid #eee; padding: 10px; vertical-align: top; }
.check { display: flex; gap: 8px; align-items: center; }
.check input { width: auto; }
@media (max-width: 800px) {
    .admin-side { position: static; width: auto; }
    .admin-main { margin-left: 0; padding: 14px; }
    .cards { grid-template-columns: 1fr 1fr; }
}

