/*
 * Investment Axis brand theme (direction C: light menu, green accent).
 *
 * This file only sets brand values: the fonts and the colour tokens. It has no
 * layout rules and nothing is marked important. Every stylesheet reads these
 * tokens, so a new brand is a copy of this file with different values.
 *
 * Set in Company Settings > White Label Branding instead of here: the logo,
 * --crm-primary, --crm-heading, --crm-button and --crm-sidebar-accent.
 * Defaults for every token are in resources/css/filament/admin/foundation/tokens.css.
 *
 * Fonts: the device's own interface font, like Microsoft 365, GitHub and Stripe
 * (owner 21/11/2026: "sharp and clean like all top saas portals"). Segoe UI on
 * Windows, San Francisco on Apple, Roboto on Android; Arabic from the system too
 * (Segoe UI, SF Arabic, Noto Arabic). Nothing is downloaded, and each device
 * draws its own font at its sharpest. Another brand can use a web font: declare
 * it in this file and put its name first in --crm-font.
 */

:root {
    /* Type */
    --crm-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    /* Filament's own font token, so its parts use the same font (it defaults to Inter). */
    --font-family: var(--crm-font);

    /* Page */
    --crm-canvas: #f7f9f8;
    --crm-surface: #ffffff;
    --crm-border: #e5eae7;
    --crm-text: #0f1f2e;
    --crm-text-muted: #4a5b6d;   /* darker than before (21/11/2026) for sharper secondary text */

    /* Shape: one radius and size per kind of thing, read by every Axis
       stylesheet (agreed with the owner 17/11/2026, from his reference
       design). Defaults live in foundation/tokens.css for the next careful
       theme rebuild; these are the live values until then. */
    --crm-radius-card: 14px;      /* cards and tinted highlight blocks */
    --crm-radius-control: 10px;   /* inputs and buttons in filter bars */
    --crm-radius-tile: 5px;       /* calendar days and appointments (owner 19/11/2026: less rounded) */
    --crm-radius-full: 999px;     /* chips and round choice toggles */
    --crm-control-height: 42px;   /* one height for everything in a bar */
    --crm-card-pad: 20px;

    /* Charts: Axis greens and navy first, warm accents for waiting states */
    --crm-chart-1: #1e7a3c;
    --crm-chart-2: #144069;
    --crm-chart-3: #39b54a;
    --crm-chart-4: #c9902c;
    --crm-chart-5: #5b8fb9;
    --crm-chart-6: #a3b1bf;

    /* Home donuts (owner 22/11/2026: "colours feel a bit bland"): a light-to-dark green
       funnel for stages that move forward, amber only for waiting on someone, grey for
       paused or quiet, navy for prospects. */
    --crm-funnel-1: #a6d8b1;
    --crm-funnel-2: #5fb673;
    --crm-funnel-3: #2f9447;
    --crm-funnel-4: #1e6b2b;
    --crm-wait-1: #d4952a;
    --crm-wait-2: #ecc678;
    --crm-quiet-1: #b8c3cd;
    --crm-quiet-2: #8695a4;
    --crm-prospect: #144069;
    --crm-donut-track: #eef1f3;

    /* Desktop menu: light rail, square full-width highlight, green marker on the edge */
    --crm-rail-inset: 0px;
    --crm-rail-gap: 2px;
    --crm-rail-radius: 0;
    --crm-rail-marker-inset: 0px;
    --crm-rail-marker-radius: 0;
    --crm-rail: #ffffff;
    --crm-rail-edge: #e5eae7;
    --crm-rail-divider: #e5eae7;
    --crm-rail-text: #4a5b6d;
    --crm-rail-hover: #f1f4f2;
    --crm-rail-hover-text: #0f1f2e;
    --crm-rail-active: #e3f4e6;
    --crm-rail-active-text: #1e6b2b;
    --crm-rail-selected: #e3f4e6;
    --crm-rail-marker: var(--crm-button, #1e7a3c);
    --crm-rail-focus: var(--crm-button, #1e7a3c);
    --crm-panel-heading: #0f1f2e;
    --crm-panel-subheading: #1e6b2b;
    --crm-panel-subheading-rule: #e5eae7;
    --crm-panel-hover: #f1f4f2;
    --crm-panel-edge: #e5eae7;
    --crm-panel-shadow: rgb(15 31 46 / 8%);

    /* Scrollbars in dropdown lists (axis-dropdown-scroll.css) */
    --crm-scrollbar-thumb: #929aa5;
    --crm-scrollbar-track: #eef0f3;
}

/* Arabic screens: the system's Arabic interface font (Segoe UI on Windows, SF Arabic
   on Apple, Noto Arabic on Android), with the same Latin font as English screens. */
html[dir="rtl"] {
    --crm-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Arabic", "Noto Naskh Arabic", Roboto, Tahoma, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}
