/* ============================================================
   Colours - shared by every page (load this before other CSS)

   RULE: always use these variables, never a fixed colour code.
   Each business picks its own brand colours, which /js/theme.js
   swaps in on the admin pages. Pages shown before anyone logs in
   (home, sign in) use the platform defaults below.

   Brand colours (from the business's settings):
     --primary-color    header, menu bar, table headings, main buttons
     --secondary-color  page background
     --accent-color     highlights (e.g. Logout button)

   Text that sits ON a brand colour must use the matching "on" colour.
   theme.js sets each one to dark or light, whichever is easier to read:
     --on-primary-color, --on-secondary-color, --on-accent-color

   Text IN the main colour on a white panel (e.g. outlined buttons):
     --primary-text-color  the main colour, or the normal text colour
                           when the main colour is too light to read

   Neutral colours (the same for every business):
     --surface-color       white panels, cards, menus
     --text-color          text on those panels
     --muted-text-color    less important text on panels (hints, footers)
     --border-color        lines between rows, neutral buttons
     --input-border-color
     --hover-color         faint shading for hovered rows: a 5% tint of the
                           text colour, so it shows on light and dark backgrounds

   Status colours (also the same for every business). Each pair is a
   pale background with readable text on it:
     --danger-color / --on-danger-color    "Cancel" buttons, errors
     --danger-surface / --danger-text      declined, error messages
     --warning-color / --on-warning-color  strong amber: Dashboard cards waiting on you
     --warning-surface / --warning-text    warnings, waiting for approval
     --success-surface / --success-text    approved
   ============================================================ */

:root {
    /* Gilde's own colours (the logo: navy, gold) - user, 2026-11-24 */
    --primary-color: #1b2a41;
    --secondary-color: #e5e6e8;
    --accent-color: #c9962b;

    --on-primary-color: #ffffff;
    --on-secondary-color: #222222;
    --on-accent-color: #222222;
    --primary-text-color: #1b2a41;

    --surface-color: #ffffff;
    --text-color: #222222;
    --muted-text-color: #666666;
    --border-color: #dddddd;
    --input-border-color: #cccccc;
    --hover-color: color-mix(in srgb, currentColor 5%, transparent);

    --danger-color: #c62828;
    --on-danger-color: #ffffff;
    --danger-surface: #ffcdd2;
    --danger-text: #8e0000;
    --warning-color: #f2a900;
    --on-warning-color: #222222;
    --warning-surface: #fff3c4;
    --warning-text: #5d4300;
    --success-surface: #c8e6c9;
    --success-text: #1b5e20;
}
