/* v37.2: the daily ayah and daily dua switches in More > Prayer alerts.
   The switch is the app's own .toggle-pill (the adhan toggle): the whole label is the tap target, the real checkbox sits invisibly on top of it. */
.daily-rem { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 4px; }
.daily-rem-h { font-size: .95rem; margin: 12px 0 2px; color: var(--text); }
.daily-rem .fineprint { margin: 4px 0 6px; }
.daily-item { border-bottom: 1px solid rgba(255,255,255,.05); padding-bottom: 6px; }
.daily-item:last-child { border-bottom: 0; }
.daily-row { flex-wrap: wrap; gap: 8px 12px; border-bottom: 0; padding-bottom: 2px; }
.dr-sw { position: relative; min-height: 48px; flex: 1 1 130px; cursor: pointer; box-sizing: border-box; font-size: .95rem; }
.dr-sw input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.dr-sw:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.daily-row input[type="time"] {
  background: var(--surface-2); color: var(--text); border: 1px solid var(--line); border-radius: 9px;
  padding: 8px 10px; min-height: 48px; font: inherit; max-width: 100%; color-scheme: dark light;
}
.daily-row input[type="time"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.dr-err { margin: 2px 4px 8px; font-size: .84rem; line-height: 1.5; color: var(--danger); }
.dr-err[hidden] { display: none; }

/* v37.3: hour, minute and AM or PM lists in the app's own clock style; the native time box stays underneath as the invisible holder of the value */
.dr-timebox { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 48px; max-width: 100%; }
.daily-row input[type="time"].dr-hold { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 48px; opacity: 0; pointer-events: none; padding: 0; border: 0; }
.dr-sel { min-height: 48px; padding: 8px 6px; font: inherit; font-size: 1rem; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 9px; max-width: 100%; }
.dr-sel[hidden] { display: none; }
.dr-sel:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
/* the general rule stacks a settings row that holds a list and stretches the list; this row keeps the switch at its own height with the time lists beside or under it */
.daily-row.set-row:has(select) { flex-direction: row; align-items: center; }
.daily-row .dr-sel { width: auto; max-width: 100%; }
