/* lsghobby portal colour set. Every portal uses the same main.css and differs only in these values. */

:root {
    --lsg-color-primary: #e0a20f;        /* accent: active nav item, buttons, link hover */
    --lsg-color-primary-dark: #bb8504;   /* hover and pressed on accent backgrounds */
    --lsg-color-on-primary: #fff;        /* text on the accent colour */
    /* border on the accent (buttons): the accent darkened toward black; % = how much accent stays */
    --lsg-color-primary-border: color-mix(in srgb, var(--lsg-color-primary) 25%, #000);
    --lsg-color-primary-dark-border: #000;  /* border on the darker accent (button hover / pressed) */

    --lsg-color-text: #333;              /* body text, headings, links */
    --lsg-color-text-body: #4a4a4a;      /* paragraphs */
    --lsg-color-text-muted: #777;        /* meta lines, teasers, answers, placeholders */

    --lsg-color-surface: #fff;           /* page and card background */
    --lsg-color-surface-muted: #f5f5f5;  /* search button, pagination, table head */
    --lsg-color-border: #ddd;            /* inputs, dividers, list separators */

    --lsg-color-dark: #333;              /* nav bar, footer, mobile menu */
    --lsg-color-on-dark: #fff;           /* text on the dark colour, on the status and action colours */
    --lsg-color-on-dark-muted: #d0d0d0;  /* secondary text on the dark colour */
    --lsg-color-on-dark-highlight: #ff0; /* the highlighted nav item on the dark colour (Express Order) */
    --lsg-color-dark-border: #555;       /* dividers on the dark colour */

    /* Status and action colours: one per meaning */
    --lsg-color-secondary: #4c4c4c;      /* secondary buttons */
    --lsg-color-secondary-dark: #333;    /* their hover and pressed */
    --lsg-color-danger: #c10000;         /* danger buttons, % off, out of stock, error status */
    --lsg-color-danger-dark: #a00000;    /* danger hover and pressed */
    --lsg-color-success: #16a34a;        /* in stock, success status */
    --lsg-color-info: #004085;           /* info status */
    --lsg-color-neutral: #9ca3af;        /* neutral status */

    /* The same colours as "r, g, b", for Bootstrap variables that need that form */
    --lsg-color-primary-rgb: 224, 162, 15;
    --lsg-color-primary-dark-rgb: 187, 133, 4;
    --lsg-color-text-rgb: 51, 51, 51;
    --lsg-color-surface-rgb: 255, 255, 255;
    --lsg-color-on-dark-rgb: 255, 255, 255;

    /* Bootstrap's own colour variables, from the colours above: its components and links follow the portal */
    --bs-body-color: var(--lsg-color-text);
    --bs-body-color-rgb: var(--lsg-color-text-rgb);
    --bs-body-bg: var(--lsg-color-surface);
    --bs-body-bg-rgb: var(--lsg-color-surface-rgb);
    --bs-border-color: var(--lsg-color-border);
    --bs-secondary-color: var(--lsg-color-text-muted);
    --bs-tertiary-bg: var(--lsg-color-surface-muted);
    --bs-primary: var(--lsg-color-primary);
    --bs-primary-rgb: var(--lsg-color-primary-rgb);
    --bs-link-color: var(--lsg-color-text);
    --bs-link-color-rgb: var(--lsg-color-text-rgb);
    --bs-link-hover-color: var(--lsg-color-primary);
    --bs-link-hover-color-rgb: var(--lsg-color-primary-rgb);
}
