/* Color scheme overrides — base typography and contrast stay in styles.css */

:root {
  --theme-glow-1: rgba(8, 145, 178, 0.07);
  --theme-glow-2: rgba(14, 116, 144, 0.05);
}

[data-theme="ocean"] {
  --accent: #0891b2;
  --accent-light: #ecfeff;
  --accent-hover: #0e7490;
  --theme-glow-1: rgba(8, 145, 178, 0.07);
  --theme-glow-2: rgba(14, 116, 144, 0.05);
}

[data-theme="forest"] {
  --accent: #047857;
  --accent-light: #ecfdf5;
  --accent-hover: #065f46;
  --theme-glow-1: rgba(4, 120, 87, 0.07);
  --theme-glow-2: rgba(6, 95, 70, 0.05);
}

[data-theme="slate"] {
  --accent: #475569;
  --accent-light: #f1f5f9;
  --accent-hover: #334155;
  --theme-glow-1: rgba(71, 85, 105, 0.08);
  --theme-glow-2: rgba(100, 116, 139, 0.05);
}

[data-theme="indigo"] {
  --accent: #4f46e5;
  --accent-light: #eef2ff;
  --accent-hover: #4338ca;
  --theme-glow-1: rgba(79, 70, 229, 0.07);
  --theme-glow-2: rgba(67, 56, 202, 0.05);
}

[data-theme="sage"] {
  --accent: #4d7c0f;
  --accent-light: #f7fee7;
  --accent-hover: #3f6212;
  --theme-glow-1: rgba(77, 124, 15, 0.07);
  --theme-glow-2: rgba(63, 98, 18, 0.05);
}

[data-theme="sand"] {
  --accent: #b45309;
  --accent-light: #fffbeb;
  --accent-hover: #92400e;
  --theme-glow-1: rgba(180, 83, 9, 0.07);
  --theme-glow-2: rgba(146, 64, 14, 0.05);
}

[data-theme="navy"] {
  --accent: #1d4ed8;
  --accent-light: #eff6ff;
  --accent-hover: #1e40af;
  --theme-glow-1: rgba(29, 78, 216, 0.07);
  --theme-glow-2: rgba(30, 64, 175, 0.05);
}

[data-theme="plum"] {
  --accent: #7c3aed;
  --accent-light: #f5f3ff;
  --accent-hover: #6d28d9;
  --theme-glow-1: rgba(124, 58, 237, 0.07);
  --theme-glow-2: rgba(109, 40, 217, 0.05);
}

[data-theme="stone"] {
  --accent: #0f766e;
  --accent-light: #f0fdfa;
  --accent-hover: #115e59;
  --theme-glow-1: rgba(15, 118, 110, 0.07);
  --theme-glow-2: rgba(120, 113, 108, 0.05);
}

[data-theme="rosewood"] {
  --accent: #be123c;
  --accent-light: #fff1f2;
  --accent-hover: #9f1239;
  --theme-glow-1: rgba(190, 18, 60, 0.06);
  --theme-glow-2: rgba(159, 18, 57, 0.04);
}

body::before {
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, var(--theme-glow-1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 10%, var(--theme-glow-2) 0%, transparent 50%);
}

.btn-primary {
  box-shadow: none;
}

.btn-primary:hover {
  box-shadow: none;
}

.progress-fill {
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 70%, white));
}

.logo-mark.has-custom-logo {
  background: var(--bg);
  padding: 4px;
}

.logo-mark .site-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: calc(var(--radius-sm) - 2px);
}

.login-brand .logo-mark.has-custom-logo,
.sidebar-brand .logo-mark.has-custom-logo {
  border: 1px solid var(--border);
}

[data-theme] {
  --accent-dark: var(--accent-hover);
}
