/*
 * Maltepe Forms theme: the shadcn/ui CSS variables that BlazorBlueprint components read.
 * Neutral base palette, with the brand colour #A0197D as primary and ring.
 * Loaded before _content/BlazorBlueprint.Components/blazorblueprint.css.
 */
@layer base {
  :root {
    --brand: #a0197d;
    --brand-hover: #86146a;

    --radius: 0.625rem;

    --background: oklch(1 0 0);
    --foreground: oklch(0.145 0 0);
    --card: oklch(1 0 0);
    --card-foreground: oklch(0.145 0 0);
    --popover: oklch(1 0 0);
    --popover-foreground: oklch(0.145 0 0);

    --primary: var(--brand);
    --primary-foreground: #ffffff;

    --secondary: oklch(0.97 0 0);
    --secondary-foreground: oklch(0.205 0 0);
    --muted: oklch(0.97 0 0);
    --muted-foreground: oklch(0.556 0 0);
    --accent: #f7e8f3;
    --accent-foreground: #5c0e48;
    --destructive: oklch(0.577 0.245 27.325);
    --destructive-foreground: oklch(1 0 0);
    --border: oklch(0.922 0 0);
    --input: oklch(0.922 0 0);
    --ring: var(--brand);

    --chart-1: var(--brand);
    --chart-2: oklch(0.6 0.118 184.704);
    --chart-3: oklch(0.398 0.07 227.392);
    --chart-4: oklch(0.828 0.189 84.429);
    --chart-5: oklch(0.769 0.188 70.08);

    --sidebar: oklch(0.985 0 0);
    --sidebar-foreground: oklch(0.145 0 0);
    --sidebar-primary: var(--brand);
    --sidebar-primary-foreground: #ffffff;
    --sidebar-accent: #f7e8f3;
    --sidebar-accent-foreground: #5c0e48;
    --sidebar-border: oklch(0.922 0 0);
    --sidebar-ring: var(--brand);
  }

  .dark {
    --background: oklch(0.145 0 0);
    --foreground: oklch(0.985 0 0);
    --card: oklch(0.205 0 0);
    --card-foreground: oklch(0.985 0 0);
    --popover: oklch(0.205 0 0);
    --popover-foreground: oklch(0.985 0 0);

    --primary: #d04aae;
    --primary-foreground: #ffffff;

    --secondary: oklch(0.269 0 0);
    --secondary-foreground: oklch(0.985 0 0);
    --muted: oklch(0.269 0 0);
    --muted-foreground: oklch(0.708 0 0);
    --accent: #3d0a30;
    --accent-foreground: oklch(0.985 0 0);
    --destructive: oklch(0.704 0.191 22.216);
    --destructive-foreground: oklch(0.985 0 0);
    --border: oklch(1 0 0 / 10%);
    --input: oklch(1 0 0 / 15%);
    --ring: #d04aae;

    --sidebar: oklch(0.205 0 0);
    --sidebar-foreground: oklch(0.985 0 0);
    --sidebar-primary: #d04aae;
    --sidebar-primary-foreground: #ffffff;
    --sidebar-accent: #3d0a30;
    --sidebar-accent-foreground: oklch(0.985 0 0);
    --sidebar-border: oklch(1 0 0 / 10%);
    --sidebar-ring: #d04aae;
  }
}
