/* ============================================================
   demo-themes.css — BookWithZara demo theme system
   Used by: booking-demo.html, appointments-demo.html, admin-demo.html
   ============================================================ */

/* Theme: Warm Luxe (default) */
body.theme-warm-luxe {
  --bg:#FBF6EF;--bg2:#F2EBE0;--surface:#FFFFFF;
  --header-bg:#1C1814;--header-text:#FBF6EF;
  --accent:#C68B47;--accent2:#A97235;
  --primary:#1C1814;--primary-text:#FFFFFF;
  --text:#1C1814;--text-mid:#6B5E52;--text-light:#B8A898;
  --border:#F2EBE0;
  --card-radius:16px;--btn-radius:16px;
  --font-head:'Cormorant Garamond',Georgia,serif;
  --font-body:'DM Sans',sans-serif;
  --head-weight:300;--head-style:normal;--head-transform:none;--head-spacing:0.06em;
  --success:#4A7C59;--error:#C0392B;--skeleton:#EDE8E1;
  --page-bg:var(--bg);
}

/* Theme: Bold Dark */
body.theme-bold-dark {
  --bg:#0F0F0F;--bg2:#1A1A1A;--surface:#1A1A1A;
  --header-bg:#0F0F0F;--header-text:#FFFFFF;
  --accent:#E53E3E;--accent2:#C53030;
  --primary:#E53E3E;--primary-text:#FFFFFF;
  --text:#FFFFFF;--text-mid:#9CA3AF;--text-light:#4B5563;
  --border:#2A2A2A;
  --card-radius:8px;--btn-radius:8px;
  --font-head:'Inter',sans-serif;
  --font-body:'Inter',sans-serif;
  --head-weight:700;--head-style:normal;--head-transform:uppercase;--head-spacing:0.04em;
  --success:#22C55E;--error:#EF4444;--skeleton:#222222;
  --page-bg:var(--bg);
}

/* Theme: Soft Blush */
body.theme-soft-blush {
  --bg:#FDF6F7;--bg2:#F9EEF0;--surface:#FFFFFF;
  --header-bg:#F9EEF0;--header-text:#7D3F4A;
  --accent:#B5606C;--accent2:#9A4D58;
  --primary:#B5606C;--primary-text:#FFFFFF;
  --text:#5C2D35;--text-mid:#A07078;--text-light:#C4A8AB;
  --border:#F0D9DD;
  --card-radius:14px;--btn-radius:24px;
  --font-head:'Playfair Display',Georgia,serif;
  --font-body:'Lato',sans-serif;
  --head-weight:400;--head-style:italic;--head-transform:none;--head-spacing:0.04em;
  --success:#4A7C59;--error:#C0392B;--skeleton:#F0D9DD;
  --page-bg:var(--bg);
}

/* Theme: Noir Rose */
body.theme-noir-rose {
  --bg:#0A080C;--bg2:#140F18;--surface:rgba(18,12,22,0.90);
  --header-bg:#0A080C;--header-text:#F0D8E8;
  --accent:#D4608A;--accent2:#B04570;
  --primary:#D4608A;--primary-text:#0A080C;
  --text:#F0D8E8;--text-mid:#B090A8;--text-light:#604858;
  --border:rgba(200,100,140,0.18);
  --card-radius:14px;--btn-radius:14px;
  --font-head:'Playfair Display',Georgia,serif;
  --font-body:'DM Sans',sans-serif;
  --head-weight:400;--head-style:italic;--head-transform:none;--head-spacing:0.04em;
  --success:#4A7C59;--error:#C0392B;--skeleton:#140F18;
  --page-bg:url('https://bookwithzara.ca/theme-assets/noir-rose-bg.jpg') center center / cover no-repeat scroll;
}

/* ============================================================
   Theme switcher floating button + panel
   ============================================================ */

.demo-theme-switcher-btn {
  position: fixed;
  bottom: calc(90px + env(safe-area-inset-bottom));
  right: 16px;
  background: #1a1a1a;
  color: #fff;
  border: 2px solid #C68B47;
  padding: 11px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  cursor: pointer;
  z-index: 10001;
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.demo-theme-switcher-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.demo-theme-switcher-btn:active { transform: translateY(0); }

@media (min-width: 720px) {
  .demo-theme-switcher-btn {
    bottom: 24px;
    right: 24px;
    padding: 13px 22px;
    font-size: 15px;
  }
}

.demo-theme-switcher-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.demo-theme-switcher-overlay.open { display: flex; }

.demo-theme-switcher-panel {
  background: #1a1a1a;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  width: 100%;
  max-width: 520px;
  padding: 24px 20px 36px;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.5);
  animation: demoSlideUp 0.3s ease;
}
@keyframes demoSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.demo-theme-switcher-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 4px;
  font-family: -apple-system, system-ui, sans-serif;
}
.demo-theme-switcher-sub {
  font-size: 17px;
  color: #fff;
  margin-bottom: 18px;
  font-family: -apple-system, system-ui, sans-serif;
}

.demo-theme-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.demo-theme-card {
  background: #2a2a2a;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 14px 14px 12px;
  cursor: pointer;
  text-align: left;
  font-family: -apple-system, system-ui, sans-serif;
  transition: border-color 0.15s, transform 0.1s;
}
.demo-theme-card:hover { border-color: #555; }
.demo-theme-card:active { transform: scale(0.98); }
.demo-theme-card.selected { border-color: #C68B47; }

.demo-theme-dots {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}
.demo-theme-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
}

.demo-theme-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}
.demo-theme-desc {
  font-size: 11px;
  color: #999;
  line-height: 1.4;
}

.demo-theme-switcher-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255,255,255,0.08);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
