:root {
  /* TENANT: Qnetics GmbH (https://www.qnetics.de/)
     German livestock-genetics & breeding-data company (Alsfeld, Hessen/Thüringen); runs the
     Zuchtvieh- and Absetzer-auctions and the Qnetics-Marktplatz.
     Brand primary color taken from the site's msapplication tile color: #e7003f (vivid crimson)
     = oklch(58.7% 0.236 19.3). Page backgrounds light with white content surfaces.
  */

  /* BRAND ADAPTATION GUIDE
     1. Analyse the target tenant website, logo and existing brand palette first.
     2. Map the strongest brand color to --primary.
     3. Map the main call-to-action / highlight color to --accent.
     4. Keep backgrounds light unless the tenant website is clearly dark.
     5. Use --accent-soft and --accent-strong as lighter/darker versions of --accent.
     6. Keep status colors functional unless the tenant brand clearly overrides them.
     7. Always check contrast for foreground variables against their matching background variables.
  */

  /* TYPOGRAPHY
     Body is used for regular UI text.
     Display is used for headings, auction titles, hero titles and prominent prices.
     (Kept as Outfit — swap to the tenant's actual webfont if you have it.)
  */
  --font-body: 'Outfit', system-ui, sans-serif;
  --font-display: 'Outfit', system-ui, sans-serif;

  /* ELEVATION
     Card shadow is used for auction cards, lot cards, panels and elevated content blocks.
  */
  --shadow-card: 0 4px 12px oklch(0% 0 0 / 0.08);

  /* BASE COLORS
     Background is the base surface behind content.
     Foreground is the default content-layer color (text, icons and similar elements) on top of background surfaces.
  */
  --background: oklch(99% 0.004 20);
  --foreground: oklch(25% 0.02 20);

  /* SURFACES
     Card is used for lots, auction cards, bidding panels and content sections.
  */
  --card: oklch(100% 0 0);
  --card-foreground: oklch(25% 0.02 20);

  /* POPOVER SURFACES
     Popover is used for dropdowns, menus, overlays and modal-like floating surfaces.
  */
  --popover: oklch(100% 0 0);
  --popover-foreground: oklch(25% 0.02 20);

  /* BRAND COLORS
     Primary is used for hero overlay tint, default badges, outline buttons and selected pagination states.
     It should represent the strongest/base brand tone, but most call-to-action buttons use --accent.
     Primary foreground must stay readable on top of primary.
     -> Exact brand color #e7003f (vivid crimson). White text clears WCAG AA on it (4.70:1).
  */
  --primary: oklch(58.7% 0.236 19.3);
  --primary-foreground: oklch(100% 0 0);

  /* SECONDARY SURFACES
     Secondary is used for subtle backgrounds, inactive controls and low-emphasis panels
     (for example: soft section backgrounds or neutral chips).
     Use secondary when you need more emphasis than muted, but less emphasis than primary/accent surfaces.
     Secondary foreground is the readable text/icon color on secondary.
  */
  --secondary: oklch(96% 0.012 20);
  --secondary-foreground: oklch(40% 0.06 20);

  /* MUTED UI
     Muted is used for subdued backgrounds and separators.
     Muted foreground is used for helper text, metadata, dates, labels and less important copy.
  */
  --muted: oklch(94% 0.008 20);
  --muted-foreground: oklch(52% 0.035 20);

  /* ACCENT COLORS
     Accent is the main call-to-action/highlight color for buttons, links, active states and auction emphasis.
     Accent foreground must stay readable on accent buttons and badges.
     Accent soft is a lighter accent for hover states, subtle highlights and gentle backgrounds.
     Accent strong is a darker accent for pressed states, emphasis and high-contrast details.
     -> Uses the exact brand crimson #e7003f directly for CTAs (white text clears AA at 4.70:1).
        --accent-soft lightens to a coral-pink for hovers/gentle fills; --accent-strong deepens for
        pressed/high-contrast states.
  */
  --accent: oklch(58.7% 0.236 19.3);
  --accent-foreground: oklch(100% 0 0);
  --accent-soft: oklch(72% 0.14 19);
  --accent-strong: oklch(46% 0.21 19);

  /* ALTERNATIVE ACCENT
     Accent alt is a secondary brand tone, often used for luxury, contrast or special emphasis.
     Accent alt foreground must stay readable on accent-alt backgrounds.
     -> Editorial choice: a deep ink-navy as a grounded, professional counterpoint to the energetic
        crimson (red + navy reads strong and corporate). Change if the brand defines its own secondary tone.
  */
  --accent-alt: oklch(40% 0.09 255);
  --accent-alt-foreground: oklch(100% 0 0);

  /* FUNCTIONAL FEEDBACK COLORS
     Destructive is used for danger, errors, removal actions and urgent/live warning surfaces.
     Success is used for positive states such as active/accepted/highest bidder feedback.
     Info is used for informative states such as upcoming auctions.
     Warning is used for cautionary states that need attention but are not errors.
     NOTE: the brand colour itself is a red, so --destructive is shifted toward an orange-scarlet
     (hue ~33) so error/live states stay clearly distinct from the magenta-leaning brand crimson.
  */
  --destructive: oklch(54% 0.21 33);
  --destructive-foreground: oklch(100% 0 0);
  --success: oklch(64% 0.16 152);
  --success-foreground: oklch(100% 0 0);
  --info: oklch(62% 0.17 258);
  --info-foreground: oklch(100% 0 0);
  --warning: oklch(74% 0.16 80);
  --warning-foreground: oklch(20% 0 0);

  /* FORM AND FOCUS COLORS
     Border is used for cards, section dividers and outlined controls.
     Input is used for form fields and input borders.
     Ring is used for keyboard focus rings and should usually match --accent.
  */
  --border: oklch(91% 0.01 20);
  --input: oklch(91% 0.01 20);
  --ring: var(--accent);

  /* AUCTION STATUS COLORS
     Live should feel urgent and attention-grabbing.
     Active should feel positive/safe.
     Upcoming should feel informative.
     These usually remain functional colors, even when brand colors change.
  */
  --status-live: var(--destructive);
  --status-active: var(--success);
  --status-upcoming: var(--info);

  /* SHAPE
     Radius controls the default roundness of cards, buttons, inputs and badges.
  */
  --radius: 0.5rem;
}
