:root { --navy: #1f3864; --accent: #c0392b; }
body { font-family: 'Cairo', Tahoma, sans-serif; background: #f4f6fa; font-size: 15px; }
.sidebar { position: fixed; top: 0; right: 0; bottom: 0; width: 230px; background: var(--navy); color: #fff; overflow-y: auto; z-index: 1030; }
.sidebar .brand { color: #fff; font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.sidebar .nav-link { color: rgba(255,255,255,.8); border-radius: 8px; padding: .5rem .75rem; margin-bottom: 2px; }
.sidebar .nav-link i { margin-left: 6px; }
.sidebar .nav-link:hover, .sidebar .nav-link.active { background: rgba(255,255,255,.14); color: #fff; }
.sidebar hr { border-color: rgba(255,255,255,.25); }
main { padding: 1.25rem; }
main.with-sidebar { margin-right: 230px; }
@media (max-width: 991px) {
  .sidebar { transform: translateX(100%); transition: transform .2s; }
  .sidebar.open { transform: none; box-shadow: 0 0 30px rgba(0,0,0,.3); }
  main.with-sidebar { margin-right: 0; }
}
.card { border: 0; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.card-header { background: #fff; font-weight: 700; border-bottom: 1px solid #eef0f4; }
.stat .num { font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.stat .lbl { color: #6c757d; font-size: .85rem; }
h1, .h4 { color: var(--navy); font-weight: 700; }
.table { background: #fff; }
.table th { background: #f0f3f8; font-weight: 600; white-space: nowrap; }
.table td, .table th { vertical-align: middle; }
.money { font-variant-numeric: tabular-nums; white-space: nowrap; }
.badge-st { font-weight: 600; }
.st-مقدم { background: #e7f1ff; color: #0b5ed7; }
.st-تحت { background: #fff3cd; color: #856404; }
.st-معتمد { background: #d1e7dd; color: #0f5132; }
.st-تم { background: #cfe2ff; color: #052c65; }
.st-مرفوض { background: #f8d7da; color: #842029; }
.st-بانتظار { background: #fff3cd; color: #856404; }
.login-box { max-width: 420px; margin: 8vh auto; }
.progress { height: 8px; }
.cat-pill { text-decoration: none; }
