@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&family=Poppins:wght@300;400;600&display=swap');

/* ─── Design Tokens ─────────────────────────────────────────────── */
:root {
    /* Dark cosmic palette */
    --color-bg:          #07070d;
    --color-surface:     rgba(255, 255, 255, 0.05);
    --color-surface-md:  rgba(255, 255, 255, 0.08);
    --color-border:      rgba(255, 255, 255, 0.1);
    --color-text:        #f0f0f0;
    --color-text-muted:  rgba(255, 255, 255, 0.45);
    --color-accent:      #e8341c;         /* bold red — primary action only */
    --color-accent-soft: rgba(232, 52, 28, 0.15);
    --color-gold:        #f0b429;         /* saffron-gold — mantras & highlights */
    --color-gold-soft:   rgba(240, 180, 41, 0.12);
    --color-error:       #ff5252;
    --color-success:     #4caf7d;

    /* Typography */
    --font-sans:  'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Lora', Georgia, serif;

    /* Type scale */
    --text-display: 1.875rem; /* 30px */
    --text-title:   1.25rem;  /* 20px */
    --text-body:    1rem;     /* 16px */
    --text-small:   0.875rem; /* 14px */
    --text-caption: 0.8125rem;/* 13px */

    /* Spacing (8px grid) */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;

    /* Radius */
    --radius-sm:   6px;
    --radius-md:   12px;
    --radius-lg:   20px;
    --radius-pill: 100px;
}

/* Light mode override */
body.light-mode {
    --color-bg:          #f5f3ef;
    --color-surface:     rgba(0, 0, 0, 0.04);
    --color-surface-md:  rgba(0, 0, 0, 0.07);
    --color-border:      rgba(0, 0, 0, 0.12);
    --color-text:        #1a1a1a;
    --color-text-muted:  rgba(0, 0, 0, 0.45);
    --color-gold-soft:   rgba(190, 120, 10, 0.1);
}

body.light-mode #starfield {
    opacity: 0.08;
}

/* ─── Reset & Base ──────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    font-size: var(--text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 300ms ease, color 300ms ease;
}

/* ─── Starfield Canvas ──────────────────────────────────────────── */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ─── Landing Page ──────────────────────────────────────────────── */
.landing-view {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 2rem 1rem;
    animation: fadeIn 0.5s ease;
}

.landing-hero {
    text-align: center;
}

.landing-hero h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.landing-tagline {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    font-weight: 600;
}

.landing-subtext {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.landing-actions {
    max-width: 300px;
    margin: 0 auto;
}

.landing-actions .auth-switch-text {
    margin-top: 1.5rem;
}

.landing-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--color-text);
}

.feature-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.landing-how-it-works {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.landing-how-it-works h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-text);
    text-align: center;
}

.how-it-works-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.how-it-works-steps li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.step-num {
    background: var(--color-accent);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
}

.landing-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.landing-footer a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.landing-footer a:hover {
    color: var(--color-text);
}

.footer-links {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

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

/* ─── Container ─────────────────────────────────────────────────── */
.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    padding-bottom: var(--space-6);
}

/* ─── Header ────────────────────────────────────────────────────── */
header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: var(--space-3) var(--space-3) var(--space-2);
    min-height: 64px;
}

.header-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

header h1 {
    font-family: var(--font-serif);
    font-size: var(--text-title);
    font-weight: 700;
    margin: 0;
    color: var(--color-text);
    letter-spacing: 0.01em;
    white-space: nowrap;
}

/* Mixed italic style: "Swara *Yoga*" */
header h1 em {
    font-style: italic;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
}

body.light-mode header h1 em {
    color: rgba(0, 0, 0, 0.55);
}

header .selected-date-label {
    font-size: var(--text-caption);
    color: var(--color-text-muted);
    margin-top: 2px;
    display: block;
}

/* ─── Main ──────────────────────────────────────────────────────── */
main {
    padding: var(--space-2) var(--space-3) var(--space-4);
}

/* ─── Pending Approval View ─────────────────────────────────────── */
.pending-wrapper {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    animation: fade-in 0.6s ease forwards;
}

.pending-content {
    background: rgba(18, 18, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 3rem 2rem;
    max-width: 400px;
    width: 100%;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.pending-icon {
    display: block;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

#pending-headline {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.pending-body-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.pending-contact-btn {
    display: inline-block;
    width: 100%;
    padding: 12px;
    margin-bottom: 1.5rem;
    text-decoration: none;
    text-align: center;
}

.pending-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 0.5rem;
}

.pending-signout-link {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}

.pending-signout-link:hover {
    color: var(--color-text);
}

.highlight-text {
    color: var(--color-text);
    font-weight: 600;
}

/* ─── View Transitions ──────────────────────────────────────────── */
.view-enter {
    animation: viewFadeIn 300ms ease-out both;
}

@keyframes viewFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Login Container & Auth Screens ────────────────────────────── */
#login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-5) var(--space-3);
    min-height: calc(100vh - 80px);
    justify-content: center;
}

.auth-view {
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    animation: viewFadeIn 300ms ease-out both;
}

.login-step-sub {
    font-size: var(--text-small);
    color: var(--color-text-muted);
    text-align: center;
    margin: 0 0 var(--space-2);
    line-height: 1.6;
}

.auth-instruction {
    font-size: var(--text-caption);
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: var(--space-3);
    line-height: 1.5;
}

.auth-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.login-divider {
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-text-muted);
    font-size: var(--text-caption);
    margin: var(--space-1) 0;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--color-border);
}

.auth-switch-text {
    font-size: var(--text-caption);
    color: var(--color-text-muted);
    margin-top: var(--space-3);
    text-align: center;
}

.auth-switch-text a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    transition: color 200ms ease;
}

.auth-switch-text a:hover {
    color: var(--color-gold);
}

.forgot-password-link {
    text-align: right;
    margin-top: 6px;
}

.forgot-password-link a {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 200ms ease;
}

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

.auth-message {
    width: 100%;
    max-width: 360px;
    margin-top: var(--space-3);
    padding: var(--space-2);
    border-radius: var(--radius-md);
    font-size: var(--text-small);
    text-align: center;
    line-height: 1.5;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
}

.auth-message.success {
    border-color: rgba(76, 175, 125, 0.3);
    color: var(--color-success);
    background-color: rgba(76, 175, 125, 0.1);
}

.auth-message.error {
    border-color: rgba(255, 82, 82, 0.3);
    color: var(--color-error);
    background-color: rgba(255, 82, 82, 0.1);
}

/* ─── Form Elements ─────────────────────────────────────────────── */
.form-group {
    margin-bottom: var(--space-3);
    text-align: left;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: var(--space-1);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.label-optional {
    font-weight: 300;
    color: var(--color-text-muted);
    text-transform: none;
    letter-spacing: 0;
}

.form-group input {
    width: 100%;
    padding: 14px var(--space-2);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--text-body);
    font-family: var(--font-sans);
    box-sizing: border-box;
    background-color: var(--color-surface);
    color: var(--color-text);
    transition: border-color 200ms ease, box-shadow 200ms ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.05);
}

.form-group input.error-border {
    border-color: var(--color-error);
}

/* Password Group & Eye Icon */
.password-group {
    position: relative;
}

.btn-eye {
    position: absolute;
    right: 12px;
    top: 14px;
    background: none;
    border: none;
    padding: 0;
    min-width: auto;
    height: auto;
    font-size: 1.2rem;
    color: var(--color-text-muted);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 200ms ease;
}

.btn-eye:hover {
    opacity: 1;
}

/* Inline Validation Errors */
.inline-error {
    display: block;
    color: var(--color-error);
    font-size: 0.75rem;
    margin-top: 4px;
    min-height: 18px;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 200ms ease, transform 200ms ease;
}

.inline-error.show {
    opacity: 1;
    transform: translateY(0);
}

/* Password Strength Meter */
.password-strength {
    height: 4px;
    background-color: var(--color-surface-md);
    border-radius: 2px;
    margin-top: 6px;
    overflow: hidden;
    position: relative;
}

.strength-meter {
    height: 100%;
    width: 0%;
    border-radius: 2px;
    transition: width 300ms ease, background-color 300ms ease;
}

.strength-meter.weak {
    width: 33%;
    background-color: var(--color-error);
}

.strength-meter.medium {
    width: 66%;
    background-color: var(--color-gold);
}

.strength-meter.strong {
    width: 100%;
    background-color: var(--color-success);
}

body.light-mode .form-group input:focus {
    border-color: rgba(0, 0, 0, 0.35);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

/* Date/time inputs — light text on dark */
input[type="date"],
input[type="time"] {
    color-scheme: dark;
}

body.light-mode input[type="date"],
body.light-mode input[type="time"] {
    color-scheme: light;
}

/* ─── Button System ─────────────────────────────────────────────── */
button {
    font-family: var(--font-sans);
    font-size: var(--text-body);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-pill);
    padding: 0 var(--space-4);
    height: 56px;
    min-width: 44px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    transition: background-color 180ms ease, opacity 180ms ease, transform 120ms ease;
    text-decoration: none;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    letter-spacing: 0.01em;
}

button:active {
    transform: scale(0.97);
}

button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
    pointer-events: none;
}

/* Primary — bold red pill */
.btn-primary {
    background-color: var(--color-accent);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.btn-primary:hover:not(:disabled) {
    background-color: #ff3d22;
}

/* Secondary — outlined white pill */
.btn-secondary {
    background-color: transparent;
    color: var(--color-text-muted);
    border: 1.5px solid var(--color-border);
    height: 48px;
    font-weight: 400;
    font-size: var(--text-small);
}

.btn-secondary:hover:not(:disabled) {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--color-text);
}

/* Google Sign In Button */
.btn-google {
    background-color: #ffffff;
    color: #3c4043;
    border: 1px solid #dadce0;
    font-weight: 500;
    font-size: 14px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: var(--radius-pill);
    transition: background-color 200ms ease, box-shadow 200ms ease;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.btn-google:hover:not(:disabled) {
    background-color: #f8f9fa;
    box-shadow: 0 1px 3px 0 rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);
}

.btn-google svg {
    flex-shrink: 0;
}

/* Ghost — minimal */
.btn-ghost {
    background-color: transparent;
    color: var(--color-text-muted);
    height: 44px;
    padding: 0 var(--space-2);
    font-size: var(--text-small);
    font-weight: 400;
}

.btn-ghost:hover:not(:disabled) {
    color: var(--color-text);
}

/* Nav ghost — compact header buttons */
.btn-nav-ghost {
    background-color: transparent;
    color: var(--color-text-muted);
    height: 36px;
    padding: 0 var(--space-1);
    font-size: var(--text-small);
    font-weight: 500;
    border-radius: var(--radius-pill);
}

.btn-nav-ghost:hover:not(:disabled) {
    color: var(--color-text);
}

/* Icon-only button */
.btn-icon-only {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Danger button — sign out */
.btn-danger {
    background-color: transparent;
    color: var(--color-error);
    border: 1.5px solid rgba(255, 82, 82, 0.3);
    height: 48px;
    font-weight: 500;
    font-size: var(--text-small);
}

.btn-danger:hover:not(:disabled) {
    background-color: rgba(255, 82, 82, 0.08);
}

/* Full-width modifier */
.btn-full {
    width: 100%;
}

/* Loading state */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    animation: btnSpin 0.7s linear infinite;
}

@keyframes btnSpin {
    to { transform: rotate(360deg); }
}

/* ─── Home Screen Greeting ──────────────────────────────────────── */
.home-greeting {
    padding: var(--space-3) 0 var(--space-4);
}

.home-greeting-text {
    font-size: var(--text-small);
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 4px;
}

.home-date-display {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 var(--space-1);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.home-context-line {
    font-size: var(--text-small);
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ─── Sadhana Streak Bar ────────────────────────────────────────── */
.home-sadhana-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2) var(--space-3);
    margin-bottom: var(--space-4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.sadhana-streak-block {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.sadhana-streak-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
}

.sadhana-streak-label {
    font-size: var(--text-caption);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
}

/* Day Zero State */
.sadhana-zero-state {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 4px 0;
}

.zero-state-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.zero-state-text {
    display: flex;
    flex-direction: column;
}

.zero-state-text strong {
    font-size: 1rem;
    color: var(--color-text);
    font-weight: 600;
    line-height: 1.2;
}

.zero-state-text p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 2px 0 0;
    line-height: 1.3;
}

/* Standard Streak State */
.sadhana-standard-state {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.sadhana-dots {
    display: flex;
    gap: 8px; /* Slightly increased gap to fit labels */
    align-items: flex-start; /* Align to top to fit labels underneath */
}

.sadhana-dot-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.sadhana-dot-label {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    font-weight: 500;
    text-transform: uppercase;
}

.sadhana-dot-label.today {
    color: var(--color-gold);
    font-weight: 700;
}

.sadhana-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-border);
    transition: background-color 200ms ease, transform 200ms ease;
}

.sadhana-dot.completed {
    background-color: var(--color-gold);
    transform: scale(1.15);
}

.sadhana-dot.today {
    border: 1.5px solid var(--color-gold);
    background-color: transparent;
}

.sadhana-dot.today.completed {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
}

/* ─── Date Selection & Past Practice ────────────────────────────── */
#date-selection {
    text-align: left;
    padding-top: var(--space-1);
}

.button-container {
    margin-top: var(--space-3);
}

.past-practice-section {
    margin-bottom: 1.5rem;
    text-align: center;
}

.toggle-past-practice-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: underline;
    display: inline-block;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.toggle-past-practice-link:hover {
    color: var(--text-color);
}

#past-practice-fields {
    text-align: left;
    margin-top: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ─── Practice Cards ────────────────────────────────────────────── */
.practice-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-top: var(--space-3);
}

.practice-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2) var(--space-3) var(--space-3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    transition: border-color 200ms ease;
}

.practice-card:focus-within {
    border-color: rgba(255, 255, 255, 0.2);
}

.practice-card-content {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.practice-card-icon {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
}

.practice-card-body {
    flex: 1;
    min-width: 0;
}

.practice-card-title {
    font-family: var(--font-serif);
    font-size: var(--text-body);
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 2px;
}

.practice-card-desc {
    font-size: var(--text-caption);
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.4;
}

/* ─── Pooja secondary row ────────────────────────────────────────── */
.pooja-secondary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    opacity: 0.72;
    transition: opacity 200ms ease;
}

.pooja-secondary-row:hover {
    opacity: 1;
}

.pooja-secondary-content {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex: 1;
    min-width: 0;
}

.pooja-secondary-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.pooja-secondary-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pooja-secondary-title {
    font-family: var(--font-serif);
    font-size: var(--text-caption);
    font-weight: 700;
    color: var(--color-text);
}

.pooja-secondary-desc {
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

.pooja-secondary-btn {
    font-size: var(--text-caption);
    padding: 6px 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.practice-done-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--color-gold-soft);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-size: var(--text-caption);
    font-weight: 600;
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    flex-shrink: 0;
    letter-spacing: 0.03em;
}

/* ─── Error ─────────────────────────────────────────────────────── */
.error {
    color: var(--color-error);
    font-size: var(--text-small);
    margin-top: var(--space-2);
    min-height: 20px;
    text-align: center;
}

/* ─── Stepper ───────────────────────────────────────────────────── */
.stepper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--color-border);
    position: relative;
    gap: 0;
}

/* Connector line */
.stepper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: calc(100% / 14);
    right: calc(100% / 14);
    height: 1px;
    background-color: var(--color-border);
    z-index: 0;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
    position: relative;
    cursor: default;
}

.step-indicator-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1.5px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-small);
    font-weight: 600;
    color: var(--color-text-muted);
    transition: all 250ms ease;
    position: relative;
    z-index: 1;
}

.step-indicator-label {
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--color-text-muted);
    text-align: center;
    line-height: 1.2;
    max-width: 52px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 250ms ease;
}

.step-indicator.active .step-indicator-circle {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
    box-shadow: 0 0 16px rgba(232, 52, 28, 0.5);
}

.step-indicator.active .step-indicator-label {
    color: var(--color-accent);
    font-weight: 600;
}

.step-indicator.completed .step-indicator-circle {
    background-color: transparent;
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.step-indicator.completed .step-indicator-label {
    color: var(--color-gold);
}

/* ─── Step Content ──────────────────────────────────────────────── */
.steps-container .step {
    display: none;
    animation: stepFadeIn 250ms ease-out both;
}

.steps-container .step.active {
    display: block;
}

@keyframes stepFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.step {
    padding: var(--space-4) 0 var(--space-2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 260px;
    justify-content: center;
}

.step-meta {
    font-size: var(--text-caption);
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-2);
    text-align: center;
}

/* Step icon */
.step-icon {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: var(--space-3);
    display: block;
}

/* Large serif title */
.step h3 {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 var(--space-3) 0;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-align: center;
}

/* Info chips — centered row */
.step-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1);
    margin-bottom: var(--space-3);
    justify-content: center;
}

.chip {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--color-surface-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 10px var(--space-2);
    min-width: 80px;
    text-align: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.chip-label {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 3px;
}

.chip-value {
    font-size: var(--text-small);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.2;
}

.chip.chip-gold {
    border-color: rgba(240, 180, 41, 0.3);
    background-color: var(--color-gold-soft);
}

.chip.chip-gold .chip-value {
    color: var(--color-gold);
}

/* Instruction — muted subtitle below the title */
.step-instruction {
    font-size: var(--text-body);
    line-height: 1.75;
    color: var(--color-text-muted);
    margin: 0;
    max-width: 36ch;
    text-align: center;
}

.step p {
    font-size: var(--text-body);
    line-height: 1.75;
    color: var(--color-text-muted);
    margin: 0;
    max-width: 36ch;
    text-align: center;
}

.step .highlight {
    color: var(--color-gold);
    font-weight: 600;
}

/* Mantra blockquote */
.step blockquote {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    line-height: 1.9;
    color: var(--color-gold);
    border: 1px solid rgba(240, 180, 41, 0.25);
    background-color: var(--color-gold-soft);
    margin: var(--space-3) 0;
    padding: var(--space-3);
    border-radius: var(--radius-md);
    font-style: italic;
    max-width: 38ch;
    text-align: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Action list — left-aligned numbered steps */
.step-actions {
    list-style: none;
    margin: var(--space-3) 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    width: 100%;
    max-width: 38ch;
}

.step-actions li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: var(--text-small);
    line-height: 1.6;
    color: var(--color-text-muted);
}

.step-actions li::before {
    content: attr(data-n);
    min-width: 24px;
    height: 24px;
    background-color: rgba(232, 52, 28, 0.15);
    border: 1px solid rgba(232, 52, 28, 0.3);
    color: var(--color-accent);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ─── Navigation ────────────────────────────────────────────────── */
.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-5);
    gap: var(--space-2);
}

/* ─── Pooja Journey ─────────────────────────────────────────────── */
#pooja-journey h2 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 var(--space-2) 0;
    letter-spacing: -0.01em;
}

/* Tighter top padding in pooja journey — progress dots sit close to card */
#pooja-journey .steps-container .step {
    padding-top: var(--space-2);
}

/* Mixed italic — "Pooja *Steps*" */
#pooja-journey h2 em {
    font-style: italic;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
}

/* Stats row */
.stats-row {
    display: flex;
    align-items: stretch;
    margin-bottom: var(--space-4);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
}

.stat-item {
    flex: 1;
    padding: var(--space-2) var(--space-1);
    text-align: center;
    position: relative;
}

.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: var(--color-border);
}

.stat-label {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 4px;
    display: block;
}

.stat-value {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
    display: block;
}

.stat-value em {
    font-style: normal;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-text-muted);
    font-family: var(--font-sans);
    margin-left: 2px;
}

/* ─── Pooja Progress Dots ───────────────────────────────────────── */
.pooja-progress {
    margin-bottom: var(--space-2);
}

.pooja-progress-dots {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: var(--space-1);
}

.pooja-dot {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background-color: var(--color-border);
    transition: background-color 300ms ease, transform 200ms ease;
}

.pooja-dot.filled {
    background: linear-gradient(90deg, var(--color-accent), var(--color-gold));
}

.pooja-dot.active {
    transform: scaleY(1.35);
    background: var(--color-gold);
}

/* ─── Pooja step hint ───────────────────────────────────────────── */
.pooja-step-hint {
    margin-top: var(--space-3);
    font-size: var(--text-caption);
    color: var(--color-text-muted);
    text-align: center;
    letter-spacing: 0.01em;
    opacity: 0.6;
}

/* ─── Sadhana Log Modal ─────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    z-index: 100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: overlayFadeIn 200ms ease-out both;
}

@keyframes overlayFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.modal-sheet {
    background: #111118;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    width: 100%;
    max-width: 480px;
    padding: var(--space-2) var(--space-3) var(--space-5);
    animation: sheetSlideUp 280ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
    border: 1px solid var(--color-border);
    border-bottom: none;
}

body.light-mode .modal-sheet {
    background: #faf9f7;
}

@keyframes sheetSlideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

.modal-handle {
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: var(--color-border);
    margin: 0 auto var(--space-3);
}

.modal-header {
    margin-bottom: var(--space-3);
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 6px;
}

.modal-title em {
    font-style: italic;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
}

body.light-mode .modal-title em {
    color: rgba(0, 0, 0, 0.5);
}

.modal-subtitle {
    font-size: var(--text-small);
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}

.modal-body {
    margin-bottom: var(--space-3);
}

.modal-footer {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.sadhana-field {
    margin-bottom: var(--space-3);
}

.sadhana-field-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: var(--space-1);
}

/* Mood rating buttons */
.mood-rating {
    display: flex;
    gap: var(--space-1);
}

.mood-btn {
    flex: 1;
    height: 48px;
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-muted);
    font-size: var(--text-small);
    font-weight: 600;
    padding: 0;
    transition: all 180ms ease;
}

.mood-btn:hover:not(:disabled) {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background: var(--color-gold-soft);
    transform: none;
}

.mood-btn.selected {
    background: var(--color-gold-soft);
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* Sadhana note textarea */
.sadhana-textarea {
    width: 100%;
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: var(--text-small);
    line-height: 1.6;
    padding: 14px var(--space-2);
    resize: none;
    box-sizing: border-box;
    transition: border-color 200ms ease;
    -webkit-appearance: none;
    appearance: none;
}

.sadhana-textarea::placeholder {
    color: var(--color-text-muted);
}

.sadhana-textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
}

/* ─── Settings Panel ────────────────────────────────────────────── */
.settings-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 200;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: overlayFadeIn 200ms ease-out both;
}

.settings-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 360px;
    background: #0d0d18;
    z-index: 201;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-left: 1px solid var(--color-border);
    animation: panelSlideIn 280ms cubic-bezier(0.4, 0, 0.2, 1) both;
    padding-bottom: var(--space-6);
}

body.light-mode .settings-panel {
    background: #faf9f7;
}

@keyframes panelSlideIn {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}

@keyframes panelSlideOut {
    from { transform: translateX(0); }
    to   { transform: translateX(100%); }
}

.settings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-3) var(--space-3) var(--space-2);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    background: inherit;
    z-index: 1;
}

.settings-title {
    font-family: var(--font-serif);
    font-size: var(--text-title);
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.settings-section {
    padding: var(--space-3);
}

.settings-section-title {
    font-size: var(--text-small);
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 4px;
}

.settings-section-desc {
    font-size: var(--text-caption);
    color: var(--color-text-muted);
    margin: 0 0 var(--space-2);
    line-height: 1.5;
}

.settings-hint {
    font-size: var(--text-caption);
    color: var(--color-text-muted);
    margin: var(--space-1) 0 0;
    line-height: 1.5;
    opacity: 0.7;
}

.settings-divider {
    height: 1px;
    background: var(--color-border);
    margin: 0 var(--space-3);
}

/* Profile row */
.settings-profile {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) 0;
}

.settings-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent-soft), var(--color-gold-soft));
    border: 1.5px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-gold);
    flex-shrink: 0;
}

.settings-profile-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.settings-profile-name {
    font-size: var(--text-body);
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.settings-profile-email {
    font-size: var(--text-caption);
    color: var(--color-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Location row — two inputs side by side */
.settings-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
}

.settings-form-group {
    margin-bottom: var(--space-2);
}

.settings-location-btn {
    height: 40px;
    font-size: var(--text-caption);
    padding: 0 var(--space-2);
    margin-top: var(--space-1);
}

/* Toggle switch */
.settings-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-1) 0;
}

.settings-toggle-label {
    font-size: var(--text-small);
    color: var(--color-text);
}

.toggle-switch {
    width: 48px;
    height: 28px;
    background: var(--color-surface-md);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-pill);
    padding: 0;
    position: relative;
    cursor: pointer;
    transition: background-color 220ms ease, border-color 220ms ease;
    flex-shrink: 0;
    height: 28px;
}

.toggle-switch[aria-checked="true"] {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    transition: transform 220ms ease;
    pointer-events: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.toggle-switch[aria-checked="true"] .toggle-thumb {
    transform: translateX(20px);
}

/* ─── Responsive ────────────────────────────────────────────────── */
@media (max-width: 600px) {
    body {
        padding: 0;
    }

    .container {
        max-width: 100%;
    }

    main {
        padding: var(--space-2) var(--space-2) var(--space-5);
    }

    header {
        padding: var(--space-2) var(--space-2);
    }

    .step h3 {
        font-size: 1.5rem;
    }

    .step-indicator-label {
        display: none;
    }

    .stepper::before {
        top: 20px;
    }

    .settings-panel {
        max-width: 100%;
        border-left: none;
    }

    .home-date-display {
        font-size: 1.4rem;
    }
}

@media (max-width: 400px) {
    .step-indicator-circle {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .stepper::before {
        top: 16px;
    }
}

/* ─── Payment / Activation Screen ──────────────────────────────── */
.payment-content {
    max-width: 440px;
    padding: 2.5rem 1.5rem;
}

.payment-headline {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--color-text);
}

.payment-subheadline {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.payment-box {
    background: var(--color-surface-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.payment-box-header h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin: 0;
    color: var(--color-gold);
}

.payment-box-header p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0 0 1rem;
}

.payment-pricing {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.price-monthly, .price-yearly {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
}

.price-monthly small, .price-yearly small {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

.price-or {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-left: 0.5rem;
    font-style: italic;
}

.payment-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.payment-features li {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
}

.promo-code-section {
    margin-bottom: 2rem;
    text-align: left;
}

.toggle-promo-btn {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-decoration: none;
    display: inline-block;
    transition: color 0.2s;
}

.toggle-promo-btn:hover {
    color: var(--color-text);
}

.promo-code-container {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.promo-code-container input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    color: var(--color-text);
}

.promo-code-container button {
    height: auto;
    padding: 0 1rem;
}

.payment-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-footer-text {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
}

/* ─── Onboarding Screens ────────────────────────────────────────── */
.onboarding-wrapper {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    animation: fade-in 0.6s ease forwards;
}

.onboarding-content {
    background: rgba(18, 18, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    max-width: 440px;
    width: 100%;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.onboarding-step {
    animation: fade-in 0.4s ease forwards;
}

.onboarding-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 2rem;
}

.onboarding-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-border);
    transition: background 0.3s ease;
}

.onboarding-dots .dot.active {
    background: var(--color-gold);
}

.onboarding-headline {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    text-align: center;
}

.onboarding-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.onboarding-features-list li {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    background: var(--color-surface);
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.onboarding-features-list li strong {
    color: var(--color-text);
    display: block;
    margin-bottom: 0.25rem;
}

.onboarding-desc-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    text-align: center;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.onboarding-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.onboarding-actions-split {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
}

.onboarding-actions-split button {
    flex: 1;
}

.onboarding-location-btn {
    margin-bottom: 1.5rem;
}

.onboarding-location-fields {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.onboarding-time-group {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.onboarding-time-group input {
    max-width: 200px;
    text-align: center;
    font-size: 1.25rem;
    padding: 1rem;
}

.onboarding-status-text {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 1rem;
    min-height: 1.5rem;
}

.onboarding-status-text.success {
    color: var(--color-success);
}

.onboarding-status-text.error {
    color: var(--color-error);
}
