@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@100..900&display=swap');

:root {
  --bg: #0a0b0f;
  --surface: #111318;
  --surface2: #181b22;
  --border: rgba(255,255,255,.07);
  --border2: rgba(255,255,255,.13);
  --gold: #f5c842;
  --gold2: #d4a017;
  --green: #22c55e;
  --green2: #16a34a;
  --text: #ededf0;
  --muted: rgba(237,237,240,.5);
  --admin: #8b5cf6;
  --admin2: #7c3aed;
  --danger: #ef4444;
  --font: "Noto Kufi Arabic", system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,.4);
  --shadow-lg: 0 8px 48px rgba(0,0,0,.6);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 15px;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ── Typography ── */
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { color: var(--muted); }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--gold); }

.arabic-text {
  font-size: 1.5em;
  line-height: 2.2;
  direction: rtl;
  font-weight: 500;
}

.gold { color: var(--gold); }
.green { color: var(--green); }
.muted { color: var(--muted); }
.danger { color: var(--danger); }

/* ── Navbar ── */
.navbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
}

.navbar-brand .logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--green), var(--gold));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}

.navbar-nav a {
  color: var(--muted);
  padding: .45rem .9rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.navbar-nav a:hover, .navbar-nav a.active {
  color: var(--text);
  background: var(--surface2);
}

.navbar-nav a.active { color: var(--gold); }

.navbar-user {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.navbar-user .user-name {
  font-size: .85rem;
  color: var(--muted);
}

.navbar-user .user-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--green2), var(--green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
}

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: .2rem .65rem;
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 600;
  gap: .3rem;
}

.badge-green { background: rgba(34,197,94,.15); color: var(--green); border: 1px solid rgba(34,197,94,.25); }
.badge-gold { background: rgba(245,200,66,.15); color: var(--gold); border: 1px solid rgba(245,200,66,.25); }
.badge-admin { background: rgba(139,92,246,.15); color: var(--admin); border: 1px solid rgba(139,92,246,.25); }
.badge-danger { background: rgba(239,68,68,.15); color: var(--danger); border: 1px solid rgba(239,68,68,.25); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .6rem 1.3rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green2), var(--green));
  color: #fff;
  box-shadow: 0 2px 12px rgba(34,197,94,.3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(34,197,94,.45); color: #fff; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #000;
  box-shadow: 0 2px 12px rgba(245,200,66,.3);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(245,200,66,.45); }

.btn-admin {
  background: linear-gradient(135deg, var(--admin2), var(--admin));
  color: #fff;
  box-shadow: 0 2px 12px rgba(139,92,246,.3);
}
.btn-admin:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(139,92,246,.45); color: #fff; }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--text);
}
.btn-outline:hover { background: var(--surface2); border-color: var(--green); color: var(--green); }

.btn-danger {
  background: rgba(239,68,68,.15);
  border: 1px solid rgba(239,68,68,.3);
  color: var(--danger);
}
.btn-danger:hover { background: var(--danger); color: #fff; }

.btn-sm { padding: .35rem .85rem; font-size: .8rem; }
.btn-lg { padding: .85rem 2rem; font-size: 1rem; }
.btn-icon { padding: .45rem; border-radius: var(--radius-sm); }

.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color .2s, box-shadow .2s;
}

.card:hover { border-color: var(--border2); }
.card-hover:hover { border-color: var(--green); box-shadow: 0 0 0 1px rgba(34,197,94,.1), var(--shadow); }

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.card-title { font-size: 1rem; font-weight: 600; }

/* ── Grid ── */
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* ── Stat Card ── */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.stat-icon.green { background: rgba(34,197,94,.12); }
.stat-icon.gold { background: rgba(245,200,66,.12); }
.stat-icon.admin { background: rgba(139,92,246,.12); }
.stat-icon.danger { background: rgba(239,68,68,.12); }

.stat-value { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.stat-label { font-size: .82rem; color: var(--muted); margin-top: .2rem; }

/* ── Tabs ── */
.tabs {
  display: flex;
  gap: .25rem;
  background: var(--surface);
  border-radius: var(--radius);
  padding: .35rem;
  border: 1px solid var(--border);
  overflow-x: auto;
}

.tab-btn {
  flex: 1;
  min-width: max-content;
  padding: .55rem 1.1rem;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--font);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  white-space: nowrap;
}

.tab-btn.active {
  background: var(--surface2);
  color: var(--gold);
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}

.tab-btn:hover:not(.active) { color: var(--text); background: rgba(255,255,255,.04); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Table ── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead tr { border-bottom: 1px solid var(--border2); }
th { padding: .75rem 1rem; text-align: right; font-size: .82rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
td { padding: .75rem 1rem; border-bottom: 1px solid var(--border); font-size: .88rem; }
tr:last-child td { border-bottom: none; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: rgba(255,255,255,.025); }

/* ── Forms ── */
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: .45rem; }

.form-control {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: .9rem;
  padding: .65rem 1rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(34,197,94,.12);
}

.form-control::placeholder { color: var(--muted); }

textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { cursor: pointer; }

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.modal-overlay.active { opacity: 1; pointer-events: all; }

.modal {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(.95) translateY(20px);
  transition: transform .2s;
}

.modal-overlay.active .modal { transform: scale(1) translateY(0); }

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-body { padding: 1.5rem; }
.modal-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border); display: flex; gap: .75rem; justify-content: flex-end; }

.modal-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.3rem;
  cursor: pointer;
  padding: .25rem;
  display: flex;
  align-items: center;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
.modal-close:hover { color: var(--text); background: var(--surface2); }

/* ── Toast ── */
.toast-container {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.toast {
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: .75rem 1.1rem;
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  box-shadow: var(--shadow);
  animation: toastIn .3s ease;
  max-width: 320px;
  min-width: 220px;
}

.toast.success { border-color: rgba(34,197,94,.4); }
.toast.error { border-color: rgba(239,68,68,.4); }
.toast.info { border-color: rgba(245,200,66,.4); }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Loading ── */
.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border2);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

/* ── Progress Bar ── */
.progress-bar {
  height: 8px;
  background: var(--surface2);
  border-radius: 99px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green2), var(--green));
  border-radius: 99px;
  transition: width .5s ease;
}

/* ── Toggle Switch ── */
.toggle {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
}

.toggle input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 99px;
  transition: .2s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  right: 2px;
  top: 2px;
  background: var(--muted);
  border-radius: 50%;
  transition: .2s;
}

.toggle input:checked + .toggle-slider { background: var(--green); border-color: var(--green); }
.toggle input:checked + .toggle-slider::before { background: #fff; transform: translateX(-18px); }

/* ── Empty State ── */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--muted);
}

.empty-state .empty-icon { font-size: 3.5rem; margin-bottom: 1rem; opacity: .6; }
.empty-state h3 { color: var(--text); margin-bottom: .5rem; }

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.page-content { padding: 2rem 0; }

/* ── Section Header ── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

/* ── Quiz UI ── */
.quiz-option {
  background: var(--surface2);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .85rem 1.2rem;
  cursor: pointer;
  transition: all .2s;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  text-align: right;
  color: var(--text);
  font-family: var(--font);
  margin-bottom: .6rem;
}

.quiz-option:hover:not(:disabled) { border-color: var(--green); background: rgba(34,197,94,.06); }
.quiz-option.correct { border-color: var(--green); background: rgba(34,197,94,.12); color: var(--green); }
.quiz-option.wrong { border-color: var(--danger); background: rgba(239,68,68,.12); color: var(--danger); }
.quiz-option:disabled { cursor: default; }

.option-letter {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Ayah Card ── */
.ayah-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: border-color .2s;
}

.ayah-card:hover { border-color: var(--border2); }

.ayah-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.ayah-number {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: .8rem;
  font-weight: 700;
}

.ayah-arabic {
  font-size: 1.4rem;
  line-height: 2.2;
  text-align: right;
  direction: rtl;
  color: var(--text);
  font-weight: 500;
  margin-bottom: .75rem;
}

.ayah-translation {
  font-size: .88rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: .75rem;
  line-height: 1.8;
}

.ayah-actions {
  display: flex;
  gap: .5rem;
  margin-top: .75rem;
}

/* ── Schedule Table ── */
.schedule-table th { background: var(--surface2); }
.schedule-cell {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .5rem .75rem;
  font-size: .82rem;
  cursor: pointer;
}

.schedule-cell.has-class { background: rgba(34,197,94,.08); border-color: rgba(34,197,94,.2); }

/* ── Lesson Card ── */
.lesson-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  cursor: pointer;
  transition: all .2s;
  position: relative;
}

.lesson-card:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow); }
.lesson-card.completed { border-color: rgba(34,197,94,.4); }

.lesson-emoji { font-size: 2.5rem; margin-bottom: .75rem; }
.lesson-title { font-size: 1rem; font-weight: 700; margin-bottom: .35rem; }
.lesson-desc { font-size: .82rem; color: var(--muted); margin-bottom: 1rem; line-height: 1.7; }

.lesson-complete-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: rgba(34,197,94,.15);
  border: 1px solid rgba(34,197,94,.3);
  border-radius: 99px;
  padding: .15rem .6rem;
  font-size: .72rem;
  color: var(--green);
}

/* ── Hero Section ── */
.hero {
  text-align: center;
  padding: 4rem 1.5rem;
}

.hero-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 40px rgba(245,200,66,.4));
}

.hero h1 { margin-bottom: .75rem; }
.hero .subtitle { font-size: 1.1rem; color: var(--muted); margin-bottom: 2rem; }

/* ── Feature Cards ── */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: all .2s;
}

.feature-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(245,200,66,.1); }
.feature-card .f-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.feature-card h3 { font-size: 1rem; margin-bottom: .35rem; }
.feature-card p { font-size: .83rem; }

/* ── Stats bar ── */
.stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 1.5rem;
  flex-wrap: wrap;
}

.stats-bar .stat { text-align: center; }
.stats-bar .stat-num { font-size: 2rem; font-weight: 800; color: var(--gold); }
.stats-bar .stat-lbl { font-size: .82rem; color: var(--muted); }

/* ── Login Form ── */
.login-section {
  max-width: 440px;
  margin: 0 auto;
  padding: 1rem 1.5rem 3rem;
}

.login-tabs {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.login-tab {
  flex: 1;
  padding: .65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border2);
  background: transparent;
  color: var(--muted);
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}

.login-tab.active { background: var(--green2); border-color: var(--green); color: #fff; }

/* ── Countdown ── */
.countdown {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.countdown-unit { text-align: center; }
.countdown-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .35rem;
}

.countdown-lbl { font-size: .75rem; color: var(--muted); }

/* ── Announcement ── */
.announcement-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-right: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
}

.announcement-date { font-size: .75rem; color: var(--muted); margin-top: .35rem; }

/* ── Tasbih ── */
.tasbih-circle {
  width: 140px;
  height: 140px;
  border: 4px solid var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0 auto 1rem;
  background: rgba(245,200,66,.05);
  transition: all .15s;
  user-select: none;
}

.tasbih-circle:active { transform: scale(.95); background: rgba(245,200,66,.12); }
.tasbih-count { font-size: 2.5rem; font-weight: 800; color: var(--gold); line-height: 1; }
.tasbih-label { font-size: .8rem; color: var(--muted); }

/* ── Bar Chart ── */
.bar-chart { display: flex; align-items: flex-end; gap: 1rem; height: 120px; padding: 0 .5rem; }
.bar-col { display: flex; flex-direction: column; align-items: center; gap: .35rem; flex: 1; }
.bar { width: 100%; background: linear-gradient(0deg, var(--green2), var(--green)); border-radius: 6px 6px 0 0; transition: height .5s; min-height: 4px; }
.bar-lbl { font-size: .75rem; color: var(--muted); text-align: center; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .navbar { padding: 0 1rem; }
  .navbar-nav { display: none; }
  .container { padding: 0 1rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-auto { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .stats-bar { gap: 1.5rem; }
  .hero { padding: 2.5rem 1rem; }
  .tabs { gap: 0; }
  .tab-btn { padding: .5rem .7rem; font-size: .8rem; }
  h1 { font-size: 1.8rem; }
  .modal { max-width: 100%; }
}

@media (max-width: 480px) {
  .navbar-brand span { display: none; }
  .hero-icon { font-size: 3.5rem; }
}

/* ── Mobile Nav ── */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  z-index: 100;
  padding: .5rem 0 env(safe-area-inset-bottom, 0);
}

@media (max-width: 768px) {
  .mobile-nav { display: flex; }
  body { padding-bottom: 70px; }
}

.mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  padding: .45rem;
  color: var(--muted);
  cursor: pointer;
  font-size: .65rem;
  font-weight: 600;
  border: none;
  background: none;
  font-family: var(--font);
  transition: color .2s;
}

.mobile-nav-item .nav-icon { font-size: 1.3rem; }
.mobile-nav-item.active { color: var(--gold); }

/* ── Quran Surah List ── */
.surah-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .15s;
  border-bottom: 1px solid var(--border);
}

.surah-item:hover { background: var(--surface2); }
.surah-item:last-child { border-bottom: none; }

.surah-num {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  color: var(--gold);
  flex-shrink: 0;
}

.surah-info { flex: 1; }
.surah-name-ar { font-size: 1rem; font-weight: 600; color: var(--text); }
.surah-name-ku { font-size: .8rem; color: var(--muted); }
.surah-meta { font-size: .75rem; color: var(--muted); text-align: left; }

/* ── Memorization mode ── */
.memorize-mode .ayah-arabic {
  filter: blur(6px);
  cursor: pointer;
  user-select: none;
  transition: filter .3s;
}
.memorize-mode .ayah-arabic:hover { filter: blur(0); }

/* ── Welcome banner ── */
.welcome-banner {
  background: linear-gradient(135deg, rgba(34,197,94,.1), rgba(245,200,66,.08));
  border: 1px solid rgba(245,200,66,.2);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

/* ── Quick actions ── */
.quick-action {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  color: var(--text);
  display: block;
}

.quick-action:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.quick-action .qa-icon { font-size: 2rem; margin-bottom: .5rem; }
.quick-action .qa-label { font-size: .85rem; font-weight: 600; }

/* ── Admin specific ── */
.admin-nav a.active { color: var(--admin); }
.admin-header { background: linear-gradient(135deg, rgba(139,92,246,.08), rgba(139,92,246,.03)); border-bottom: 1px solid rgba(139,92,246,.15); }
