/* ═══════════════════════════════════════
   INDEX / HOME
═══════════════════════════════════════ */
.page-content {
  max-width: 580px;
  margin: 0 auto;
  padding-bottom: 20px;
}

/* ═══════════════════════════════════════
   TAQWEEM DAILY
═══════════════════════════════════════ */
.taq-arch-content {
  width: 100%;
}
.taq-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
  width: 100%;
}
.taq-row:last-child { border-bottom: none; }
.taq-label {
  font-size: 28px;       /* 20 × 1.4 */
  font-weight: 400;
  color: #fff;
}
.taq-val {
  font-size: 28px;       /* 20 × 1.4 */
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

/* ═══════════════════════════════════════
   TAQWEEM YEAR TABLE
═══════════════════════════════════════ */
#taq-year-wrap {
  overflow: auto;
  height: calc(100vh - 54px);
  position: relative;
}
#taq-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  font-family: var(--font);
}
#taq-table.zoom {
  font-size: 16px;
}
#taq-table th {
  background: #05242C;
  color: var(--green2);
  padding: 7px 5px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,.2);
  white-space: nowrap;
}
/* Sticky date column header */
#taq-table th:first-child {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 20;
  background: #05242C;
}
#taq-table.zoom th { font-size: 13px; padding: 9px 7px; }
#taq-table td {
  padding: 6px 5px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,.06);
  color: #eee;
  white-space: nowrap;
  background: #05242C;
}
#taq-table.zoom td { padding: 8px 7px; }
#taq-table tr:nth-child(even) td { background: #072e38; }
#taq-table tr.tod td {
  background: rgba(132,208,44,.2) !important;
  font-weight: 700;
  color: #fff;
}
/* Sticky date column */
#taq-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 5;
  color: var(--green2);
  font-weight: 700;
  background: #05242C;
}
#taq-table tr:nth-child(even) td:first-child { background: #072e38; }
#taq-table tr.tod td:first-child { background: rgba(132,208,44,.25) !important; }

/* ═══════════════════════════════════════
   JUMUAH
═══════════════════════════════════════ */
.jumuah-screen {
  background: #073d24;
  min-height: calc(100vh - 54px);
  padding: 0 0 20px;
}
.jrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  cursor: pointer;
}
.jrow:hover { background: rgba(255,255,255,.05); }
.jname {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}
.jloc { font-size: 11px; color: rgba(255,255,255,.55); }
.jtime {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.j-search-bar {
  padding: 8px 12px;
  background: #073d24;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.j-search {
  width: 100%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 14px;
  outline: none;
}
.j-search::placeholder { color: rgba(255,255,255,.5); }

/* ═══════════════════════════════════════
   MASJID DETAIL
═══════════════════════════════════════ */
.masjid-page { background: #fff; }
.md-arch-content { width: 100%; }

/* Full year jamaat table */
.fy-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font);
  font-size: 14px;
}
.fy-table th {
  background: #05242C;
  color: var(--green2);
  padding: 8px 10px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  position: sticky;
  top: 0;
}
.fy-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #eee;
  color: #333;
}
.fy-table tr:nth-child(even) td { background: #f9f9f9; }
.fy-salaah-title {
  background: #084c2e;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.fy-section { margin-bottom: 16px; overflow-x: auto; }

/* ═══════════════════════════════════════
   SETTINGS
═══════════════════════════════════════ */
.settings-page {
  max-width: 580px;
  margin: 0 auto;
  padding: 20px 16px;
}
.settings-section {
  margin-bottom: 24px;
}
.settings-section-title {
  font-size: 11px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.settings-card {
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 14px 16px;
}
.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}
.settings-row:last-child { border-bottom: none; }
.settings-row label { font-size: 14px; font-weight: 600; color: #333; }
.save-btn {
  width: 100%;
  padding: 14px;
  background: var(--teal);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 24px;
  letter-spacing: 1px;
}
