/* Dornori Booking — light/dark theme tokens */
:root, [data-theme="dark"] {
  --bg: #0b0f14;
  --card: #141b24;
  --elev: #1c2633;
  --line: #2a3648;
  --text: #edf2f7;
  --muted: #8b9cb3;
  --accent: #3b82f6;
  --accent2: #60a5fa;
  --ok: #22c55e;
  --warn: #f59e0b;
  --bad: #ef4444;
  --theme-toggle-bg: #1c2633;
  --theme-toggle-fg: #edf2f7;
}

[data-theme="light"] {
  --bg: #f4f6f9;
  --card: #ffffff;
  --elev: #eef2f7;
  --line: #d0d7e2;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #2563eb;
  --accent2: #1d4ed8;
  --ok: #16a34a;
  --warn: #d97706;
  --bad: #dc2626;
  --theme-toggle-bg: #e2e8f0;
  --theme-toggle-fg: #0f172a;
}

html, body {
  background: var(--bg);
  color: var(--text);
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Floating theme toggle */
#theme-toggle {
  position: fixed;
  z-index: 9999;
  bottom: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--theme-toggle-bg);
  color: var(--theme-toggle-fg);
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, background 0.2s ease;
}
#theme-toggle:hover { transform: scale(1.06); }
#theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
