/**
 * Reserve theme — inspired by luxury burgundy + champagne gold aesthetics
 * (warm deep wine surfaces, ivory/gold type, soft metallic accents).
 * Activated via data-theme="reserve". WCAG-oriented contrast on ink vs paper.
 * Version: 20260929.31
 */
html[data-theme="reserve"] {
  --rc-ink: #f5efe6;
  --rc-ink-soft: #ebe0d0;
  --rc-ink-muted: #d4c4a8;
  --rc-ink-faint: #b8a68a;
  --rc-paper: #1a0a0c;
  --rc-card: #2a1216;
  --rc-border: #5c3038;
  --rc-accent: #d4af6a;
  --rc-accent-soft: #e8d5a3;
  --rc-accent-deep: #a67c3d;
  --rc-cta-bg: #e8d9b5;
  --rc-cta-ink: #2a1810;
  --rc-sidebar: #14080a;
  --rc-glow: rgba(212, 175, 106, 0.18);
  color-scheme: dark;
}

html[data-theme="reserve"] body,
html[data-theme="reserve"] #rc-main-content,
html[data-theme="reserve"] main {
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(120, 40, 45, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(80, 25, 30, 0.4) 0%, transparent 50%),
    var(--rc-paper) !important;
  color: var(--rc-ink) !important;
}

html[data-theme="reserve"] aside#rc-sidebar {
  background: var(--rc-sidebar) !important;
  border-color: var(--rc-border) !important;
  color: var(--rc-ink-soft) !important;
}
html[data-theme="reserve"] aside#rc-sidebar .section-label {
  color: var(--rc-accent) !important;
  letter-spacing: 0.12em;
}
html[data-theme="reserve"] aside#rc-sidebar .sidebar-link,
html[data-theme="reserve"] aside#rc-sidebar a {
  color: var(--rc-ink-muted) !important;
}
html[data-theme="reserve"] aside#rc-sidebar .sidebar-link:hover,
html[data-theme="reserve"] aside#rc-sidebar .sidebar-link.active,
html[data-theme="reserve"] aside#rc-sidebar a:hover,
html[data-theme="reserve"] aside#rc-sidebar a.active {
  color: var(--rc-accent-soft) !important;
  background: rgba(212, 175, 106, 0.12) !important;
  border-color: transparent;
}
html[data-theme="reserve"] .rc-insights-icon {
  background: rgba(42, 18, 22, 0.9) !important;
  border-color: var(--rc-border) !important;
  color: var(--rc-ink-muted) !important;
}
html[data-theme="reserve"] .rc-insights-icon:hover,
html[data-theme="reserve"] .rc-insights-icon.is-active {
  background: var(--rc-accent-deep) !important;
  color: #fff8ec !important;
  border-color: var(--rc-accent) !important;
}

html[data-theme="reserve"] header[role="banner"],
html[data-theme="reserve"] #rc-main-content > header {
  background: rgba(26, 10, 12, 0.92) !important;
  border-bottom-color: var(--rc-border) !important;
  backdrop-filter: blur(10px);
}
html[data-theme="reserve"] header h1,
html[data-theme="reserve"] .text-slate-800,
html[data-theme="reserve"] .text-slate-900 {
  color: var(--rc-ink) !important;
}
html[data-theme="reserve"] .text-slate-500,
html[data-theme="reserve"] .text-slate-600,
html[data-theme="reserve"] .text-slate-400 {
  color: var(--rc-ink-muted) !important;
}

html[data-theme="reserve"] .rc-count-badge {
  background: var(--rc-accent) !important;
  color: var(--rc-cta-ink) !important;
  border-color: var(--rc-accent-deep) !important;
}
html[data-theme="reserve"] .rc-header-clock {
  background: rgba(42, 18, 22, 0.9) !important;
  color: var(--rc-ink-soft) !important;
  border-color: var(--rc-border) !important;
}

/* Cards & panels */
html[data-theme="reserve"] .bg-white,
html[data-theme="reserve"] .bg-slate-50,
html[data-theme="reserve"] .rc-vcard,
html[data-theme="reserve"] #rc-live-strip > .rc-live-cell {
  background: var(--rc-card) !important;
  border-color: var(--rc-border) !important;
  color: var(--rc-ink) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(212, 175, 106, 0.08) !important;
}
html[data-theme="reserve"] .rc-vcard-name {
  color: var(--rc-accent-soft) !important;
}
html[data-theme="reserve"] .rc-vcard-role {
  color: var(--rc-accent) !important;
}
html[data-theme="reserve"] .rc-vcard-line {
  color: var(--rc-ink-muted) !important;
}
html[data-theme="reserve"] .rc-vcard-pill {
  background: rgba(212, 175, 106, 0.14) !important;
  border-color: rgba(212, 175, 106, 0.45) !important;
  color: #f5efe6 !important;
}
html[data-theme="reserve"] .rc-vcard-foot {
  background: #1a0a0c !important;
  border-color: #5c3038 !important;
  color: #d4c4a8 !important;
}

/* Primary actions — cream pill like luxury CTAs */
html[data-theme="reserve"] .bg-blue-600,
html[data-theme="reserve"] .bg-indigo-600,
html[data-theme="reserve"] button.bg-blue-600,
html[data-theme="reserve"] a.bg-blue-600 {
  background: linear-gradient(180deg, #f0e2c4 0%, #d4af6a 100%) !important;
  color: var(--rc-cta-ink) !important;
  border-color: var(--rc-accent-deep) !important;
}
html[data-theme="reserve"] .bg-blue-600:hover,
html[data-theme="reserve"] .bg-indigo-600:hover {
  filter: brightness(1.06);
}

html[data-theme="reserve"] input,
html[data-theme="reserve"] select,
html[data-theme="reserve"] textarea {
  background: #1f0e11 !important;
  color: var(--rc-ink) !important;
  border-color: var(--rc-border) !important;
}
html[data-theme="reserve"] input::placeholder {
  color: var(--rc-ink-faint) !important;
}

html[data-theme="reserve"] #rc-bday-strip {
  background: linear-gradient(135deg, #3a181c 0%, #2a1216 50%, #3d1f18 100%) !important;
  border-color: rgba(212, 175, 106, 0.35) !important;
}
html[data-theme="reserve"] #rc-bday-strip .rc-bday-head {
  border-bottom-color: rgba(212, 175, 106, 0.25) !important;
}
html[data-theme="reserve"] #rc-bday-strip .text-amber-800\/90,
html[data-theme="reserve"] #rc-bday-strip span {
  color: var(--rc-accent-soft) !important;
}

html[data-theme="reserve"] #rc-live-strip > .rc-live-cell #rc-wall-clock,
html[data-theme="reserve"] #rc-live-strip > .rc-live-cell #rc-wx-temp,
html[data-theme="reserve"] #rc-live-strip > .rc-live-cell #rc-aqi-val {
  color: var(--rc-accent-soft) !important;
}

/* Borders / dividers */
html[data-theme="reserve"] .border-slate-200,
html[data-theme="reserve"] .border-slate-100,
html[data-theme="reserve"] .border-slate-300 {
  border-color: var(--rc-border) !important;
}

/* Soft gold focus ring */
html[data-theme="reserve"] :focus-visible {
  outline: 2px solid var(--rc-accent) !important;
  outline-offset: 2px;
}


/* ── Global default surfaces (reports, login, cards) ── */
html[data-theme="reserve"] {
  background-color: #1a0a0c !important;
}
html[data-theme="reserve"] body {
  background-color: #1a0a0c !important;
  color: #f5efe6 !important;
}
html[data-theme="reserve"] a { color: #e8d5a3 !important; }
html[data-theme="reserve"] a:hover { color: #f5efe6 !important; }

/* Numerology report shell */
html[data-theme="reserve"] #report-container,
html[data-theme="reserve"] .nr-sacred,
html[data-theme="reserve"] body.nr-sacred,
html[data-theme="reserve"] .numero-root,
html[data-theme="reserve"] .nw {
  --n-bg: #1a0a0c !important;
  --n-card: #2a1216 !important;
  --n-border: #5c3038 !important;
  --n-text: #f5efe6 !important;
  --n-muted: #d4c4a8 !important;
  --n-label: #d4af6a !important;
  --n-input-line: #5c3038 !important;
  --n-focus-line: #d4af6a !important;
  --n-divider: #5c3038 !important;
  --n-pill-bg: rgba(212,175,106,0.12) !important;
  --n-pill-text: #e8d5a3 !important;
  --n-shadow: rgba(0,0,0,0.45) !important;
  background: #1a0a0c !important;
  color: #f5efe6 !important;
}
html[data-theme="reserve"] .nr-card,
html[data-theme="reserve"] .nw-card {
  background: #2a1216 !important;
  border-color: #5c3038 !important;
  color: #f5efe6 !important;
}

/* Janam Patri */
html[data-theme="reserve"] body.jp-vedic {
  background: #1a0a0c !important;
  color: #f5efe6 !important;
  --jp-ink: #f5efe6 !important;
  --jp-peacock-deep: #e8d5a3 !important;
}
html[data-theme="reserve"] body.jp-vedic .card {
  background: #2a1216 !important;
  border-color: #5c3038 !important;
  color: #f5efe6 !important;
}
html[data-theme="reserve"] body.jp-vedic h1,
html[data-theme="reserve"] body.jp-vedic h2 {
  color: #e8d5a3 !important;
}

/* Blood report */
html[data-theme="reserve"] .wrap,
html[data-theme="reserve"] .bg-card {
  background: #2a1216 !important;
  color: #f5efe6 !important;
}

/* Login */
html[data-theme="reserve"] .login-shell,
html[data-theme="reserve"] .login-card {
  background: #2a1216 !important;
  border-color: #5c3038 !important;
  color: #f5efe6 !important;
}
