/* jain_reminders.html — styles moved out of the template's inline <style> block */

.rem-page { padding: 24px 0 48px; }
.page-header { margin-bottom: 24px; }
.page-header h1 { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--c-text); margin-bottom: 4px; }
.page-header p { font-size: 13px; color: var(--c-text-3); }
.bcnav { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--c-text-3); margin-bottom: 20px; flex-wrap: wrap; }
.bcnav a { color: var(--c-red); }
.bcnav a:hover { color: var(--c-yellow); }
.bcnav-tabs { display: flex; gap: 4px; flex-wrap: wrap; padding: 12px 0 0; border-top: 1px solid var(--c-border); margin-top: 8px; }
.bcnav-tab { padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 500; color: var(--c-text-2); text-decoration: none; border: 1px solid var(--c-border); background: var(--c-surface); transition: all .15s; }
.bcnav-tab:hover { border-color: var(--c-red); color: var(--c-red); }
.bcnav-tab.active { background: var(--c-red); color: #fff; border-color: var(--c-red); }

.rem-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }

/* Subscription toggles */
.subs-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.subs-head { padding: 14px 18px; border-bottom: 1px solid var(--c-border); }
.subs-head h2 { font-family: var(--font-head); font-size: 17px; font-weight: 700; }
.subs-head p { font-size: 12px; color: var(--c-text-3); margin-top: 3px; }
.subs-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }

.sub-row {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border-radius: var(--radius);
    border: 1.5px solid var(--c-border);
    cursor: pointer; transition: border-color .15s, background .15s;
    background: var(--c-bg);
}
.sub-row:hover { border-color: var(--c-red); background: #fdf6f0; }
.sub-row.checked { border-color: var(--c-red); background: #fdf6f0; }
.sub-row input[type=checkbox] { display: none; }
.sub-icon { font-size: 20px; flex-shrink: 0; line-height: 1; }
.sub-text { flex: 1; }
.sub-title { font-size: 14px; font-weight: 600; color: var(--c-text); margin-bottom: 2px; }
.sub-desc { font-size: 12px; color: var(--c-text-3); }
.sub-check {
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--c-red); color: #fff;
    font-size: 11px; display: none;
    align-items: center; justify-content: center; flex-shrink: 0;
}
.sub-row.checked .sub-check { display: flex; }

.subs-actions { padding: 14px 16px; border-top: 1px solid var(--c-border); display: flex; flex-direction: column; gap: 8px; }
.notif-status { font-size: 12px; color: var(--c-text-3); }

/* Alerts list */
.alerts-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.alerts-head { padding: 14px 18px; border-bottom: 1px solid var(--c-border); display: flex; align-items: center; justify-content: space-between; }
.alerts-head h2 { font-family: var(--font-head); font-size: 17px; font-weight: 700; }
.alerts-head span { font-size: 12px; color: var(--c-text-3); }
.alerts-list { max-height: 480px; overflow-y: auto; }
.alert-row {
    display: flex; gap: 12px; padding: 11px 16px;
    border-bottom: 1px solid #f5f0ea; align-items: center;
}
.alert-row:last-child { border-bottom: none; }
.alert-row:hover { background: var(--c-bg); }
.alert-date { display: flex; flex-direction: column; align-items: center; min-width: 32px; }
.alert-day { font-family: var(--font-head); font-size: 20px; font-weight: 700; line-height: 1; color: var(--c-text); }
.alert-mon { font-size: 9px; font-weight: 700; text-transform: uppercase; color: var(--c-text-3); }
.alert-body { flex: 1; min-width: 0; }
.alert-name { font-size: 13px; font-weight: 600; color: var(--c-text); margin-bottom: 3px; line-height: 1.3; }
.alert-meta { display: flex; align-items: center; gap: 6px; }
.alert-wd { font-size: 11px; color: var(--c-text-3); }
.alert-tag { display: inline-block; padding: 1px 7px; border-radius: 4px; font-size: 10px; font-weight: 700; }
.tag-ashtami     { background: #dcfce7; color: #15803d; }
.tag-chaturdashi { background: #dbeafe; color: #1e40af; }
.tag-kalyanak    { background: var(--c-yellow-l); color: var(--c-yellow-d); }
.tag-festival    { background: #fee2e2; color: #b91c1c; }
.alerts-empty { padding: 24px 16px; text-align: center; font-size: 13px; color: var(--c-text-3); font-style: italic; }

/* How-to */
.howto { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 16px 18px; box-shadow: var(--shadow); }
.howto h3 { font-family: var(--font-head); font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.howto-step { display: flex; gap: 10px; margin-bottom: 10px; font-size: 13px; color: var(--c-text-2); line-height: 1.5; }
.howto-step:last-child { margin-bottom: 0; }
.step-num { width: 22px; height: 22px; border-radius: 50%; background: var(--c-red); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }

@media (max-width: 700px) {
    .rem-layout { grid-template-columns: 1fr; }
    .alerts-list { max-height: 300px; }
}

.rem-stack { display: flex; flex-direction: column; gap: 16px; }
