/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── CSS Variables — Light (default) ── */
:root {
    --brand:        #510061;
    --brand-dark:   #3a0045;
    --bg:           #fdf2e6;
    --surface:      #ffffff;
    --border:       #e0e0e0;
    --text:         #2c2c2c;
    --text-muted:   #888;
    --shadow:       rgba(0,0,0,0.07);
    --input-border: #ddd;
}

/* ── Dark mode overrides ──
   Toggle by setting data-theme="dark" on <html> or <body> */
[data-theme="dark"] {
    --bg:             #1a1a2e;
    --surface:        #16213e;
    --border:         #2a2a4a;
    --text:           #e0e0e0;
    --text-muted:     #9090a0;
    --shadow:         rgba(0,0,0,0.3);
    --input-border:   #2a2a4a;
    --brand-readable: #c97fdc;
}

[data-theme="dark"] .container h2,
[data-theme="dark"] #auth-title {
    color: var(--brand-readable);
}

/* ── Base ── */
body, html {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.5;
    padding: 0 clamp(16px, 4vw, 56px);
    transition: background-color 0.2s, color 0.2s;
}

.site-header {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 22px);
    margin: clamp(20px, 4vw, 40px) 0 clamp(16px, 3vw, 28px);
    width: 100%;
}

.theme-toggle {
    margin-left: auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px var(--shadow);
    transition: background 0.2s, transform 0.15s;
}

.theme-toggle:hover { transform: scale(1.06); }

.site-header img {
    display: block;
    width: clamp(56px, 8vw, 104px);
    height: clamp(56px, 8vw, 104px);
    border-radius: 18px;
    box-shadow: 0 4px 14px var(--shadow);
}

h1 {
    font-size: clamp(1.4rem, 3vw, 2.3rem);
    font-weight: 600;
    color: var(--brand);
    letter-spacing: -0.01em;
    margin: 0;
}

/* ── Card (auth card / app container) ── */
.container {
    background: var(--surface);
    border-radius: 14px;
    padding: clamp(24px, 4vw, 48px);
    width: 100%;
    margin: clamp(12px, 2vw, 24px) 0 clamp(24px, 4vw, 48px);
    box-shadow: 0 10px 34px var(--shadow);
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.5vw, 18px);
}

.hidden { display: none; }

.container h2 {
    font-size: clamp(1.05rem, 1.4vw, 1.35rem);
    font-weight: 600;
    color: var(--brand);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.container input,
.container textarea {
    width: 100%;
    padding: clamp(10px, 1vw, 14px) clamp(12px, 1.2vw, 18px);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    font-size: clamp(0.95rem, 1vw, 1.05rem);
    font-family: inherit;
    background: var(--surface);
    color: var(--text);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.container textarea {
    min-height: 120px;
    resize: vertical;
}

.container input::placeholder,
.container textarea::placeholder {
    color: var(--text-muted);
}

.container input:focus,
.container textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(81, 0, 97, 0.12);
}

.container button {
    align-self: flex-start;
    padding: clamp(11px, 1.1vw, 15px) clamp(22px, 2.5vw, 34px);
    background: var(--brand);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: clamp(0.95rem, 1vw, 1.05rem);
    font-family: inherit;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background 0.15s, transform 0.1s;
}

.container button:hover { background: var(--brand-dark); }
.container button:active { transform: scale(0.98); }

.container hr {
    width: 100%;
    border: none;
    border-top: 1px solid var(--border);
    margin: 6px 0;
}

/* ── Posts feed ── */
#posts {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.5vw, 20px);
    margin-top: clamp(8px, 1vw, 16px);
    width: 100%;
}

#posts h3 {
    font-size: clamp(1.05rem, 1.6vw, 1.4rem);
    font-weight: 600;
    color: var(--brand);
    margin-bottom: clamp(6px, 0.8vw, 12px);
}

#posts > div {
    background: var(--surface);
    border-radius: 12px;
    padding: clamp(18px, 2.2vw, 32px);
    box-shadow: 0 3px 12px var(--shadow);
}

#posts p {
    font-size: clamp(0.92rem, 1.1vw, 1.1rem);
    color: var(--text);
    line-height: 1.6;
    margin-bottom: clamp(8px, 1vw, 14px);
}

#posts small {
    display: block;
    font-size: clamp(0.78rem, 0.85vw, 0.9rem);
    color: var(--text-muted);
}

/* ── Responsive tweaks ──
   Most sizing now scales fluidly via clamp() above.
   This just tightens post-card padding on very small phones. */
@media (max-width: 400px) {
    #posts > div { padding: 14px; }
}

/* ── Post edit/delete actions ── */
.post-actions {
    display: flex;
    gap: 14px;
    margin-top: 10px;
}

#posts .btn-edit-post,
#posts .btn-delete-post,
#posts .btn-save-post,
#posts .btn-cancel-post {
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.15s, opacity 0.15s;
}

#posts .btn-edit-post,
#posts .btn-save-post {
    color: #ffae00;
}

#posts .btn-delete-post {
    color: #ff0d00;
}

#posts .btn-cancel-post {
    color: var(--text-muted);
}

#posts .btn-edit-post:hover,
#posts .btn-save-post:hover,
#posts .btn-delete-post:hover,
#posts .btn-cancel-post:hover {
    opacity: 0.7;
}

#posts .edit-title-input,
#posts .edit-content-input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--brand);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--surface);
    color: var(--text);
    margin-bottom: 8px;
}

#posts .edit-content-input {
    min-height: 90px;
    resize: vertical;
}

/* ── Category picker (post form) ── */
.category-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.category-row select,
.category-row input {
    padding: 9px 12px;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    background: var(--surface);
    color: var(--text);
}

.category-row select { flex: 1 1 140px; }
.category-row input { flex: 1 1 160px; }

.btn-add-category {
    padding: 9px 16px;
    background: var(--brand);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: inherit;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.15s;
}

.btn-add-category:hover { background: var(--brand-dark); }

/* ── Category filter (posts list) ── */
.filter-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.filter-row select {
    padding: 7px 10px;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    font-size: 0.88rem;
    font-family: inherit;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
}

/* ── Category badge on post cards ── */
.post-category-badge {
    display: inline-block;
    margin-left: 10px;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: var(--surface);
    border: 1px solid #f0a500;
    color: #f0a500;
    vertical-align: middle;
}

/* ── Featured image upload (post form) ── */
.container input[type="file"] {
    padding: 8px 0;
    border: none;
    background: none;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ── Featured image display (post cards) ── */
.post-featured-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 14px;
    box-shadow: 0 3px 10px var(--shadow);
}

/* ── Header actions (theme toggle, auth button, user menu) ── */
.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-auth-toggle {
    padding: 9px 20px;
    background: var(--brand);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.88rem;
    font-family: inherit;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.15s;
}

.btn-auth-toggle:hover { background: var(--brand-dark); }

.user-menu.hidden {
    display: none;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    color: var(--text);
}

.btn-logout-small {
    padding: 7px 16px;
    background: var(--btn-secondary-bg, var(--surface));
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.82rem;
    font-family: inherit;
    transition: background 0.15s, color 0.15s;
}

.btn-logout-small:hover { color: var(--text); border-color: var(--text-muted); }

/* ── Auth dropdown panel ── */
.auth-dropdown-wrap {
    position: relative;
}

.auth-panel.hidden {
    display: none;
}

.auth-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 300px;
    max-width: calc(100vw - 32px);
    max-height: 80vh;
    overflow-y: auto;
    background: var(--surface);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 12px 34px var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 50;
}

.auth-panel h2 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--brand);
    margin-bottom: 4px;
}

[data-theme="dark"] .auth-panel h2 {
    color: var(--brand-readable);
}

.auth-panel input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    font-size: 0.92rem;
    font-family: inherit;
    background: var(--surface);
    color: var(--text);
}

.auth-panel input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(81, 0, 97, 0.12);
}

.auth-panel button {
    padding: 10px;
    background: var(--brand);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 600;
    transition: background 0.15s;
}

.auth-panel button:hover { background: var(--brand-dark); }

.auth-panel hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 4px 0;
}

@media (max-width: 480px) {
    .auth-panel {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 14px 14px 0 0;
    }
}

/* ── Comments ── */
.comments-section {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.no-comments {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.comment-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    padding: 8px 12px;
    background: var(--surface-2, var(--bg));
    border-radius: 8px;
    font-size: 0.85rem;
}

.comment-author {
    font-weight: 600;
    color: var(--brand);
}

[data-theme="dark"] .comment-author {
    color: var(--brand-readable);
}

.comment-content {
    color: var(--text);
    flex: 1 1 auto;
}

.comment-date {
    color: var(--text-faint, var(--text-muted));
    font-size: 0.72rem;
}

.comment-actions {
    display: inline-flex;
    gap: 10px;
    margin-left: auto;
}

.comment-item .btn-edit-comment,
.comment-item .btn-delete-comment,
.comment-item .btn-save-comment,
.comment-item .btn-cancel-comment {
    padding: 0;
    border: none;
    background: none;
    font-size: 0.72rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.comment-item .btn-edit-comment,
.comment-item .btn-save-comment {
    color: #f0a500;
}

.comment-item .btn-delete-comment {
    color: #d1453d;
}

.comment-item .btn-cancel-comment {
    color: var(--text-muted);
}

.comment-item .btn-edit-comment:hover,
.comment-item .btn-delete-comment:hover,
.comment-item .btn-save-comment:hover,
.comment-item .btn-cancel-comment:hover {
    opacity: 0.7;
}

.edit-comment-input {
    flex: 1 1 auto;
    padding: 6px 10px;
    border: 1px solid var(--brand);
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: inherit;
    background: var(--surface);
    color: var(--text);
}

.comment-form {
    display: flex;
    gap: 8px;
}

.comment-form input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    font-size: 0.88rem;
    font-family: inherit;
    background: var(--surface);
    color: var(--text);
}

.comment-form input:focus {
    outline: none;
    border-color: var(--brand);
}

.comment-form button {
    padding: 8px 18px;
    background: var(--brand);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: inherit;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.15s;
}

.comment-form button:hover { background: var(--brand-dark); }

/* ── Author link on posts ── */
.post-author-link {
    color: var(--brand);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

[data-theme="dark"] .post-author-link {
    color: var(--brand-readable);
}

.post-author-link:hover { opacity: 0.75; }

/* ── Profile card ── */
#profile-header.hidden { display: none; }

.profile-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 20px;
    box-shadow: 0 3px 12px var(--shadow);
}

.profile-card .btn-back-to-posts {
    align-self: auto;
    width: auto;
    padding: 6px 14px !important;
    border: 1px solid var(--border) !important;
    background: transparent !important;
    color: var(--text-muted) !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    font-family: inherit;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.profile-card .btn-back-to-posts:hover {
    color: var(--text) !important;
    border-color: var(--text-muted) !important;
}

.profile-username {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 4px;
}

[data-theme="dark"] .profile-username {
    color: var(--brand-readable);
}

.profile-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ── Posts heading row ── */
#posts-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 4px;
}

#posts-heading-row h2 {
    font-size: clamp(1.05rem, 1.6vw, 1.4rem);
    font-weight: 600;
    color: var(--brand);
}

[data-theme="dark"] #posts-heading-row h2 {
    color: var(--brand-readable);
}

/* ── Pagination ── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.btn-page-nav {
    padding: 8px 18px;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: inherit;
    font-weight: 500;
    transition: background 0.15s, border-color 0.15s;
}

.btn-page-nav:hover:not(:disabled) {
    border-color: var(--brand);
}

.btn-page-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-indicator {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ── Two-column page layout ── */
.page-layout {
    display: flex;
    align-items: flex-start;
    gap: clamp(16px, 3vw, 32px);
    width: 100%;
    max-width: 900px;
}

.page-layout #main-content {
    flex: 1;
    min-width: 0;
    max-width: 600px;
    margin-top: 0;
}

/* ══════════════════════════════════════════════════════════
   PROMO SIDEBAR
   ══════════════════════════════════════════════════════════ */

.promo-sidebar {
    width: 260px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
}

/* ── Shared "card" look ──
   promo-card and membership-info both use this basic shape:
   image + heading + blurb + one CTA button (class="promo-cta"). */
.promo-card,
.membership-info {
    background: var(--surface);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 3px 12px var(--shadow);
}

.promo-card img,
.membership-info img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 12px;
}

.promo-card h3,
.membership-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand);
    margin-bottom: 8px;
    line-height: 1.35;
}

[data-theme="dark"] .promo-card h3,
[data-theme="dark"] .membership-info h4 {
    color: var(--brand-readable);
}

.promo-card p,
.membership-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

/* CTA button — add class="promo-cta" to any link that should look
   like a solid call-to-action button (used by both cards above). */
.promo-cta {
    display: block;
    padding: 10px 16px;
    background: var(--brand);
    color: white;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}

.promo-cta:hover { background: var(--brand-dark); }

/* ── Shared "link list" look ──
   promo-links (Our Services) is a heading + plain vertical links. */
.promo-links {
    background: var(--surface);
    border-radius: 14px;
    padding: 20px 24px;
    box-shadow: 0 3px 12px var(--shadow);
}

.promo-links h4 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.promo-links a {
    display: block;
    padding: 8px 0;
    color: var(--text);
    font-size: 0.9rem;
    text-decoration: none;
    border-top: 1px solid var(--border);
    transition: color 0.15s;
}

.promo-links a:first-of-type {
    border-top: none;
}

.promo-links a:hover {
    color: var(--brand);
}

[data-theme="dark"] .promo-links a:hover {
    color: var(--brand-readable);
}

/* ── Affiliate links ──
   Same card shell as promo-links, but each entry (.aff-item) is a
   clickable image + caption instead of plain text. To add a new
   affiliate, copy one <a class="aff-item"> block in index.htm. */
.aff-links {
    background: var(--surface);
    border-radius: 14px;
    padding: 20px 24px;
    box-shadow: 0 3px 12px var(--shadow);
}

.aff-links h4 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.aff-links > p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 14px;
}

.aff-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--border);
    text-decoration: none;
    transition: opacity 0.15s;
}

.aff-item:first-of-type {
    border-top: none;
}

.aff-item:hover {
    opacity: 0.75;
}

.aff-item img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: contain;
    background: var(--surface-2, var(--bg));
    padding: 6px;
    flex-shrink: 0;
}

.aff-item span {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
}

[data-theme="dark"] .aff-item span {
    color: var(--text);
}

/* ── Placeholder ad slot ──
   Visually distinct (dashed border, muted) from real affiliate
   entries, to invite future sponsors without looking like a live link. */
.aff-item-placeholder {
    border: 1px dashed var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: 4px;
}

.aff-item-placeholder:first-of-type {
    border-top: 1px dashed var(--border);
}

.aff-placeholder-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    background: var(--surface-2, var(--bg));
    color: var(--text-muted);
    font-size: 1.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.aff-item-placeholder span:last-child {
    color: var(--text-muted);
    font-weight: 500;
    font-style: italic;
}

/* Stack sidebar below content on smaller screens */
@media (max-width: 900px) {
    .page-layout {
        flex-direction: column;
    }

    .promo-sidebar {
        width: 100%;
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .promo-card,
    .membership-info,
    .promo-links,
    .aff-links {
        flex: 1 1 260px;
    }
}
/* ── Email verification reminder banner ── */
.verify-banner {
    position: sticky;
    top: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 20px;
    background: #f0a500;
    color: #1a1a1a;
    font-size: 0.85rem;
    font-weight: 500;
}

.verify-banner button {
    padding: 5px 14px;
    border: 1px solid rgba(0,0,0,0.25);
    border-radius: 6px;
    background: rgba(255,255,255,0.3);
    color: #1a1a1a;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s;
}

.verify-banner button:hover { background: rgba(255,255,255,0.5); }

.verify-banner-close {
    padding: 4px 8px !important;
    border: none !important;
    background: none !important;
    font-size: 1.1rem !important;
    line-height: 1;
}

/* ── Forgot password link + inline form ── */
.forgot-password-link {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
    margin-top: -2px;
}

.forgot-password-link:hover { color: var(--text); }

#forgot-password-form.hidden { display: none; }

#forgot-password-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

#forgot-password-form input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    background: var(--surface);
    color: var(--text);
}

#forgot-password-form button {
    padding: 9px;
    background: var(--brand);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.88rem;
    font-family: inherit;
    font-weight: 600;
    transition: background 0.15s;
}

#forgot-password-form button:hover { background: var(--brand-dark); }

/* ── Digest subscription toggle ── */
.digest-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    margin-bottom: 4px;
}

.digest-toggle input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--brand);
    cursor: pointer;
}