/* ==================================================================
   pages/prayer-times.css — only used by prayer-times.html
   ================================================================== */

.calc-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.month-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.timetable {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.timetable th,
.timetable td {
  padding: 10px 12px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.timetable thead th {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green-800);
  border-bottom: 0;
}

.timetable thead tr:first-child th {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold-400);
}

.timetable__sub th {
  font-weight: 600;
  background: var(--green-900) !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

.timetable tbody th {
  text-align: start;
  font-weight: 600;
}

.timetable__day {
  display: inline-block;
  min-width: 2.8em;
}

.timetable__date {
  color: var(--muted);
  font-weight: 500;
}

.timetable__sunrise {
  color: var(--muted);
}

.timetable td.is-iqamah {
  color: var(--green-700);
  font-weight: 700;
  border-inline-end: 1px solid var(--line);
}

.timetable tbody tr:nth-child(even) {
  background: #fcfbf7;
}

.timetable tr.is-friday th {
  color: var(--gold-600);
}

.timetable tr.is-today {
  background: var(--gold-100) !important;
  border-inline-start: 4px solid var(--gold-500);
}

.timetable tbody tr:last-child th,
.timetable tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- Print: just the timetable ---------- */
@media print {
  #site-header,
  #site-footer,
  .page-hero,
  .month-nav,
  .section:not(.section--tint),
  #eid {
    display: none !important;
  }

  .section--tint {
    background: none;
    padding: 0;
  }

  .table-wrap {
    overflow: visible;
    border: 0;
  }

  .timetable {
    min-width: 0;
    font-size: 9pt;
  }

  .timetable th,
  .timetable td {
    padding: 4px 6px;
  }

  .timetable thead th {
    color: #000 !important;
    background: #eee !important;
  }
}

.timetable__empty {
  color: var(--muted);
}

.timetable tr.is-calculated td {
  color: var(--ink-soft);
}

.timetable td.is-begin {
  color: var(--muted);
}
