/* ==========================================================================
   أنماط لوحات التحكم وشاشات الهاتف والكمبيوتر
   Dashboard Views, Mobile Screens & Component Stylesheet
   ========================================================================== */

/* ==========================================================================
   الحاوية العامة للوحة التحكم (Dashboard Layout)
   ========================================================================== */
.dashboard-wrapper {
  min-height: calc(100vh - 76px);
  background: var(--bg-body);
  padding: 24px 0 90px;
}

.dashboard-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}

/* بطاقة الشاشة الرئيسية (Mobile Phone Container Style) */
.mobile-screen-container {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 35px rgba(15, 91, 58, 0.08);
  border: 1px solid rgba(197, 160, 89, 0.25);
  overflow: hidden;
  margin-bottom: 24px;
}

/* ترويسة الشاشة العلوية المقوسة (Top Header Bar) */
.screen-header-top {
  background: var(--primary-deep);
  color: #ffffff;
  padding: 22px 20px 26px;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  position: relative;
  box-shadow: 0 6px 20px rgba(5, 38, 23, 0.25);
}

.screen-header-top::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 20%;
  right: 20%;
  height: 4px;
  background: var(--gold-gradient);
  border-radius: 4px;
}

.screen-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.screen-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
}

.screen-subtitle-greeting {
  font-size: 0.82rem;
  color: var(--gold-light);
  display: block;
  font-weight: 600;
}

.icon-btn-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(223, 190, 125, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s ease;
}

.icon-btn-circle:hover {
  background: rgba(255, 255, 255, 0.25);
  color: var(--gold-light);
}

/* بطاقة ترويسة المستخدم (طالب / معلم / مدير) */
.user-profile-header-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 10px;
}

.user-avatar-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--gold);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.user-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-text-info h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.user-text-info span {
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 600;
}

/* ==========================================================================
   الشاشة 2: لوحة الإدارة (Admin Dashboard Elements)
   ========================================================================== */
.admin-content-body {
  padding: 22px 18px;
}

/* بطاقة ملخص المركز */
.summary-center-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid rgba(15, 91, 58, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  margin-bottom: 20px;
}

.card-heading-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 16px;
}

.stats-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.stat-box-modern {
  background: var(--bg-subtle);
  border: 1px solid rgba(15, 91, 58, 0.08);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  transition: all 0.2s ease;
}

.stat-box-modern:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
}

.stat-box-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.stat-box-num {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-deep);
  line-height: 1.2;
}

.stat-box-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* قائمة الطلاب المتميزين هذا الأسبوع */
.weekly-outstanding-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.outstanding-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-body);
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  transition: all 0.2s ease;
}

.outstanding-row-item:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
}

.rank-badge-medal {
  font-size: 1.4rem;
  width: 32px;
  text-align: center;
  flex-shrink: 0;
}

.student-row-info {
  flex-grow: 1;
  padding: 0 12px;
}

.student-row-info h5 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 2px;
}

.student-row-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* خانة وبطاقة السور المحفوظة الكبرى */
.memorized-surahs-hero-tile {
  width: 100%;
  background: linear-gradient(135deg, #ffffff 0%, #f4f8f5 100%);
  border: 2px solid rgba(15, 91, 58, 0.22);
  border-right: 6px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(15, 91, 58, 0.06);
  margin-top: 18px;
  text-align: right;
}

.memorized-surahs-hero-tile:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(15, 91, 58, 0.12);
  background: #ffffff;
}

.memorized-surahs-hero-tile:active {
  transform: translateY(0);
}

.tile-content-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tile-icon-circle-lg {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  border: 1px solid rgba(15, 91, 58, 0.15);
}

.tile-arrow-left-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* شبكة أزرار الإجراءات السريعة (6 Tiles Dark-Green) */
.action-tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.action-tile-btn {
  background: var(--primary-deep);
  color: #ffffff;
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: var(--radius-lg);
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  font-family: var(--font-body);
}

.action-tile-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(5, 38, 23, 0.3);
  border-color: var(--gold);
}

.tile-icon {
  font-size: 26px;
  color: var(--gold-light);
}

.tile-label {
  font-size: 0.85rem;
  font-weight: 700;
}

/* زر إعدادات المركز */
.center-settings-btn {
  width: 100%;
  background: var(--bg-subtle);
  border: 1.5px dashed var(--gold);
  border-radius: var(--radius-md);
  padding: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.center-settings-btn:hover {
  background: var(--gold-soft);
  border-color: var(--gold-dark);
}

/* ==========================================================================
   الشاشة 3: لوحة تحكم الطالب (Student Dashboard Elements)
   ========================================================================== */
.student-content-body {
  padding: 22px 18px;
}

/* بطاقة مؤشر الإنجاز الدائري (Circular Progress Card 52%) */
.progress-circular-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid rgba(15, 91, 58, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.progress-circle-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

.progress-circle-wrap svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.circle-bg {
  fill: none;
  stroke: var(--bg-subtle);
  stroke-width: 8;
}

.circle-fill {
  fill: none;
  stroke: var(--primary);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.8s ease;
}

.circle-percentage-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-deep);
}

.progress-details-right {
  flex-grow: 1;
  padding-right: 20px;
}

.progress-details-right h5 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 4px;
}

.progress-metric-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.progress-metric-row strong {
  color: var(--primary);
}

/* 4 كبسولات سريعة (الحفظ، المراجعة، التقييمات، الملاحظات) */
.quick-pills-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.quick-pill-card {
  background: var(--bg-subtle);
  border: 1px solid rgba(15, 91, 58, 0.08);
  border-radius: var(--radius-md);
  padding: 12px 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-pill-card:hover, .quick-pill-card.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.quick-pill-card:hover .pill-icon, .quick-pill-card.active .pill-icon {
  color: var(--gold-light);
}

.pill-icon {
  font-size: 22px;
  margin-bottom: 4px;
  color: var(--primary);
}

.pill-label {
  font-size: 0.78rem;
  font-weight: 700;
}

/* بطاقة آخر تسميع */
.latest-recitation-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 18px;
  border: 1.5px solid rgba(197, 160, 89, 0.35);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  margin-bottom: 18px;
  position: relative;
}

.latest-tag-badge {
  display: inline-block;
  background: var(--gold-soft);
  color: var(--gold-deep);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.recitation-main-info {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.recitation-quran-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.recitation-meta h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 2px;
}

.recitation-meta p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.rating-stars-display {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-dark);
}

/* بطاقة الآية القرآنية الملهمة */
.quran-ayah-card {
  background: var(--primary-soft);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid rgba(15, 91, 58, 0.15);
  text-align: center;
  margin-top: 10px;
}

.quran-ayah-card p {
  font-family: var(--font-quran);
  font-size: 1.08rem;
  color: var(--primary-deep);
  line-height: 1.75;
  margin-bottom: 6px;
}

.quran-ayah-ref {
  font-size: 0.82rem;
  color: var(--gold-dark);
  font-weight: 800;
}

/* ==========================================================================
   الشاشة 4: تفاصيل وبيانات الطالب الأكاديمية (Student Profile / Details)
   ========================================================================== */
.student-details-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid rgba(15, 91, 58, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  margin-bottom: 18px;
}

.personal-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.personal-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
}

.info-label-group {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-weight: 600;
}

.info-val {
  font-weight: 800;
  color: var(--primary-deep);
}

.stats-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.stat-breakdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid var(--bg-subtle);
  font-size: 0.88rem;
}

.stat-breakdown-item:last-child {
  border-bottom: none;
}

/* ==========================================================================
   الشاشة 5: تسجيل التسميع الفوري (Recitation Entry Form)
   ========================================================================== */
.recitation-entry-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid rgba(15, 91, 58, 0.12);
}

.student-selector-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--primary-soft);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  border: 1px solid rgba(15, 91, 58, 0.15);
}

/* محول حفظ جديد / مراجعة */
.segmented-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-subtle);
  padding: 4px;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  gap: 6px;
}

.segmented-btn {
  padding: 10px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.segmented-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 91, 58, 0.25);
}

/* صندوق تقييم النجوم التفاعلي */
.star-rating-box {
  display: flex;
  align-items: center;
  gap: 8px;
  direction: ltr;
  justify-content: flex-end;
  margin: 6px 0 14px;
}

.star-btn {
  font-size: 28px;
  color: #d1d5db;
  cursor: pointer;
  transition: color 0.15s ease;
  background: none;
  border: none;
  padding: 0 2px;
}

.star-btn.active, .star-btn:hover, .star-btn.hover {
  color: #f59e0b;
}

.rating-text-label {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--gold-dark);
  margin-right: 12px;
}

/* زر الحفظ الكبير مع علامة الصح */
.btn-save-grand {
  width: 100%;
  background: var(--primary);
  color: #ffffff;
  padding: 14px;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(15, 91, 58, 0.25);
  transition: all 0.25s ease;
  margin-top: 14px;
}

.btn-save-grand:hover {
  background: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(15, 91, 58, 0.35);
}

.save-hint-text {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ==========================================================================
   الشاشة 6: التقارير والإحصائيات الأسبوعية (Reports & Analytics)
   ========================================================================== */
.reports-period-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 18px;
}

.period-tab-btn {
  background: var(--bg-subtle);
  border: 1px solid rgba(15, 91, 58, 0.08);
  border-radius: var(--radius-sm);
  padding: 8px 4px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  text-align: center;
  font-family: var(--font-body);
}

.period-tab-btn.active {
  background: var(--primary-deep);
  color: #ffffff;
}

.period-range-banner {
  background: var(--gold-soft);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 16px;
}

/* الرسم البياني الأسبوعي (Weekly Bar Chart) */
.weekly-chart-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid rgba(15, 91, 58, 0.1);
  margin-bottom: 20px;
}

.chart-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 18px;
}

.chart-bars-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 140px;
  padding-top: 20px;
  border-bottom: 2px solid var(--bg-subtle);
}

.chart-bar-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.bar-pill {
  width: 22px;
  background: var(--primary);
  border-radius: 6px 6px 0 0;
  transition: height 0.5s ease;
  position: relative;
  min-height: 8px;
}

.bar-val {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-deep);
}

.bar-day-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 6px;
}

/* ==========================================================================
   شريط التنقل السفلي للهواتف الذكية (Mobile Bottom Navigation)
   ========================================================================== */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 68px;
  background: var(--primary-deep);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1500;
  border-top: 2px solid var(--gold);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  padding: 0 10px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-family: var(--font-body);
  gap: 3px;
  transition: all 0.2s ease;
  flex: 1;
}

.nav-item .nav-icon {
  font-size: 20px;
}

.nav-item .nav-label {
  font-size: 0.72rem;
  font-weight: 700;
}

.nav-item.active, .nav-item:hover {
  color: var(--gold-light);
}

/* الزر الدائري البارز في المنتصف (Center Floating Action Button) */
.center-fab-wrap {
  position: relative;
  top: -18px;
  flex: 1;
  display: flex;
  justify-content: center;
}

.center-fab-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--gold);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
  cursor: pointer;
  transition: all 0.25s ease;
}

.center-fab-btn:hover, .center-fab-btn:active {
  transform: scale(1.08);
  background: var(--primary-dark);
}

.center-fab-btn span {
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-top: -2px;
}

/* ==========================================================================
   سجل التسميع الزمني التراكمي (Timeline List)
   ========================================================================== */
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.timeline-item {
  display: flex;
  gap: 14px;
}

.timeline-bullet {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px var(--gold);
  margin-top: 14px;
  flex-shrink: 0;
}

.timeline-card {
  flex-grow: 1;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid rgba(15, 91, 58, 0.1);
  box-shadow: var(--shadow-sm);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
}

.badge-memorization {
  background: var(--primary-soft);
  color: var(--primary-deep);
  border: 1px solid rgba(15, 91, 58, 0.2);
}

.badge-revision {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid rgba(3, 105, 161, 0.2);
}

.badge-excellent {
  background: var(--gold-soft);
  color: var(--gold-deep);
  border: 1px solid var(--gold-light);
}

.timeline-notes {
  background: var(--bg-subtle);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-top: 6px;
  border-right: 3px solid var(--gold);
}

/* مصفوفة الـ 30 جزء للقرآن الكريم */
.juz-grid-indicators {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  margin: 14px 0;
}

.juz-box {
  background: var(--bg-subtle);
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 6px 0;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.juz-box.completed {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.juz-box.in-progress {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold-dark);
}

/* الجداول المتجاوبة */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 0.88rem;
}

.custom-table th {
  background: var(--bg-subtle);
  color: var(--primary-deep);
  font-weight: 800;
  padding: 12px 14px;
  border-bottom: 2px solid rgba(15, 91, 58, 0.15);
}

.custom-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--bg-subtle);
  color: var(--text-secondary);
}

.custom-table tr:hover td {
  background: rgba(15, 91, 58, 0.03);
}
