:root {
  --plum: #6b2a4c;
  --plum-dark: #4e1d37;
  --pink: #e8a0c3;
  --pink-light: #fbe7f1;
  --pink-soft: #fdf3f8;
}
body { font-family: 'Tajawal', system-ui, sans-serif; background: #fbf7f9; color: #2b1a24; }
.bg-plum { background: var(--plum) !important; }
.text-plum { color: var(--plum) !important; }
.btn-plum { background: var(--plum); color: #fff; border: none; }
.btn-plum:hover { background: var(--plum-dark); color: #fff; }
.cover { width: 100%; height: auto; display: block; }
.form-card { border: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 30px rgba(107,42,76,.12); }
.section-title {
  display: flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--plum);
  margin: 2rem 0 1rem; padding-bottom: .4rem; border-bottom: 2px solid var(--pink-light);
}
.section-title .num {
  background: var(--pink); color: var(--plum-dark); width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: .9rem;
}
.form-label { font-weight: 700; }
.form-control:focus, .form-select:focus { border-color: var(--pink); box-shadow: 0 0 0 .25rem rgba(232,160,195,.35); }
.btn-check:checked + .btn-outline-plum { background: var(--plum); color: #fff; border-color: var(--plum); }
.btn-outline-plum { color: var(--plum); border-color: var(--pink); background: #fff; }
.btn-outline-plum:hover { background: var(--pink-light); color: var(--plum); border-color: var(--pink); }
.score-scale .btn { min-width: 44px; }
.stat-card { border: 0; border-radius: 14px; box-shadow: 0 4px 18px rgba(107,42,76,.08); }
.stat-card .value { font-size: 2rem; font-weight: 800; color: var(--plum); line-height: 1.1; }
.stat-card .label { color: #6c757d; font-size: .9rem; }
.progress { height: 12px; background: var(--pink-light); }
.progress-bar { background: var(--plum); }
.table thead { background: var(--pink-light); }
.login-wrap { min-height: 100vh; display: flex; align-items: center; }
.badge-level { font-weight: 700; }
.bl-ضعيف { background: #f8d7da; color: #842029; }
.bl-متوسط { background: #fff3cd; color: #664d03; }
.bl-جيد { background: #d1e7dd; color: #0f5132; }
.bl-قوي { background: var(--plum); color: #fff; }
dl.detail dt { color: var(--plum); font-weight: 700; margin-top: .9rem; }
dl.detail dd { white-space: pre-wrap; }
@media print { .navbar, footer, .no-print { display: none !important; } }
