/* Reminders card: an inset group of switches */
.reminders { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; }
.reminders h3 { margin-bottom: 2px; }
.reminders-list { display: flex; flex-direction: column; }
.reminders-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; padding: 10px 0; border-top: 1px solid var(--line); cursor: pointer; }
.reminders-row:first-child { border-top: 0; }
.reminders-text { display: flex; flex-direction: column; min-width: 0; }
.reminders-title { font-weight: 600; font-size: 0.95rem; }
.reminders-sub { color: var(--muted); font-size: 0.82rem; line-height: 1.35; }

/* Switch: a real checkbox, drawn as an iOS-style track and thumb */
.reminders-switch { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 50px; height: 30px; margin: 0; border-radius: 999px; background: var(--fill-strong); border: 0; cursor: pointer; transition: background 0.25s; }
.reminders-switch::before { content: ""; position: absolute; top: 2px; left: 2px; width: 26px; height: 26px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); transition: transform 0.3s var(--spring); }
.reminders-switch:checked { background: var(--ring-create); }
.reminders-switch:checked::before { transform: translateX(20px); }
.reminders-switch:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.reminders-time { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 8px; }
.reminders-time label { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.reminders-time input { font: inherit; font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); background: var(--fill); border: 0; border-radius: 10px; padding: 7px 10px; min-height: 40px; }

.reminders-notice { font-size: 0.85rem; font-weight: 600; color: var(--bad); }
.reminders-next { font-size: 0.84rem; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; padding-left: 14px; position: relative; }
.reminders-next::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 7px; height: 7px; border-radius: 50%; background: var(--ring-create); }
.reminders-note { font-size: 0.78rem; line-height: 1.4; }
.reminders-hint { font-size: 0.82rem; font-weight: 600; }
.reminders-install { min-height: 40px; align-self: flex-start; }

@media (prefers-reduced-motion: reduce) {
	.reminders-switch, .reminders-switch::before { transition: none; }
}
