/* =====================================================================
   Gemlogue — LIGHT mode for auth, error, seller-signup and simple public pages (25-Nov-2026)
   Real palette (no colour inversion). Loaded via partials.gl-auth-head after gl-auth.css.
   ===================================================================== */
html[data-theme=light] {
  --ga-bg: #F7F5F0; --ga-bg2: #FFFFFF; --ga-bg3: #F1EDE4;
  --ga-gold: #8B6F3E; --ga-gold2: #6F5730; --ga-gold-dim: rgba(139,111,62,.10);
  --ga-text: #1A1814; --ga-text2: #4A463F; --ga-text3: #6B675F;
  --ga-line: #E2DDD3; --ga-line2: rgba(139,111,62,.38);
  --ga-input: #FFFFFF; --ga-danger: #B23A3A; --ga-ok: #2F7D55;
  /* variables used by website.partials.header */
  --bg: #F7F5F0; --bg2: #FFFFFF; --bg3: #F1EDE4; --card: #FFFFFF;
  --gold: #8B6F3E; --gold2: #6F5730; --gold-dim: rgba(139,111,62,.10); --gold-glow: rgba(139,111,62,.06);
  --cream: #1A1814; --cream2: #4A463F; --cream3: #6B675F; --cream4: #8C877D;
  --line: #E2DDD3; --line2: rgba(139,111,62,.38);
  color-scheme: light;
}
html[data-theme=light] body { background: var(--ga-bg) !important; color: var(--ga-text); }
html[data-theme=light] body::before { opacity: .5; }
html[data-theme=light] body.gla::before { background: radial-gradient(circle at 15% 10%, rgba(139,111,62,.08), transparent 40%), radial-gradient(circle at 85% 90%, rgba(139,111,62,.06), transparent 40%); }

/* buttons: gold fill with white text reads better than near-black on the darker light-mode gold */
html[data-theme=light] .gla-btn,
html[data-theme=light] .gla-card .btn-primary, html[data-theme=light] .gla-card button[type=submit],
html[data-theme=light] body.gl-sreg .bottom .btn { color: #FFFFFF !important; }
html[data-theme=light] .gla-btn.ghost { color: var(--ga-gold) !important; background: transparent; }
html[data-theme=light] .gla-card, html[data-theme=light] .glc-form, html[data-theme=light] .glc-item,
html[data-theme=light] body.gl-sreg #step1, html[data-theme=light] body.gl-sreg #step2, html[data-theme=light] body.gl-sreg #step3 { box-shadow: 0 18px 50px rgba(60,48,25,.08); }
html[data-theme=light] .gla-input:focus, html[data-theme=light] .gla-card .form-control:focus { background: #FFFDF8 !important; }
html[data-theme=light] .glc-form select.gla-input option { background: #FFFFFF; color: #1A1814; }

/* photo side panels keep the photo, just a softer veil; text on them stays light for contrast */
html[data-theme=light] .gla-side { --ga-text: #FFFFFF; --ga-text2: rgba(255,255,255,.85); --ga-gold: #E6C98F; --ga-line2: rgba(230,201,143,.55); border-right-color: var(--ga-line); }
html[data-theme=light] .sreg-hero-img { background-color: #E9E3D6; }

/* header partial (website.partials.header) */
html[data-theme=light] .gl-header { background: rgba(255,255,255,.94) !important; border-bottom-color: #E2DDD3 !important; }
html[data-theme=light] .gl-header .gl-logo { color: #1A1814 !important; }
html[data-theme=light] .gl-header .gl-logo span { color: #8B6F3E !important; }
html[data-theme=light] .gl-header .gl-menu a { color: #4A463F !important; }
html[data-theme=light] .gl-header .gl-menu a:hover { color: #8B6F3E !important; }
html[data-theme=light] .gl-header .gl-icon, html[data-theme=light] .gl-header .gl-profile-btn { color: #4A463F !important; border-color: #E2DDD3 !important; background: transparent !important; }
html[data-theme=light] .gl-header .gl-profile-menu { background: #FFFFFF !important; border-color: #E2DDD3 !important; box-shadow: 0 14px 40px rgba(60,48,25,.12) !important; }
html[data-theme=light] .gl-header .gl-profile-menu a, html[data-theme=light] .gl-header .gl-profile-menu button { color: #1A1814 !important; }
html[data-theme=light] .gl-header .gl-register { color: #FFFFFF !important; }
html[data-theme=light] .gl-toast { background: #FFFFFF !important; color: #1A1814 !important; box-shadow: 0 10px 30px rgba(60,48,25,.15); }
html[data-theme=light] .nav-accent { background: linear-gradient(90deg, transparent, #8B6F3E, transparent) !important; }

/* footer */
html[data-theme=light] .gl-foot { background: #FFFFFF; }
html[data-theme=light] .gl-foot-logo { color: rgba(26,24,20,.55); }
html[data-theme=light] .gl-foot-logo span { color: #8B6F3E; }

/* simple pages */
html[data-theme=light] .gls-hero { background: radial-gradient(ellipse at 50% 0%, rgba(139,111,62,.10), transparent 60%), #F7F5F0; }
html[data-theme=light] .gls-prose td, html[data-theme=light] .gls-prose th { border-color: #E2DDD3; }

/* seller multi-step form */
html[data-theme=light] body.gl-sreg .step.active .circle { box-shadow: 0 0 0 4px rgba(139,111,62,.15); }
html[data-theme=light] body.gl-sreg .toast { background: #FFFFFF; box-shadow: 0 10px 30px rgba(60,48,25,.15); }

/* legacy "coming soon" video pages keep their dark video look in both modes */
html[data-theme=light] body.gl-soon { background: #060608 !important; }
