/*
 * CNTUG custom theme — Cloud Native Taiwan User Group.
 *
 * Built on the official CNCF brand palette. Layered Apple-HIG dark surfaces
 * with lifted CNCF Blue + Turquoise as the only accents. Status hues follow
 * the CNCF dark-mode guidance.
 *
 * Targets the public token contract documented in
 *   openstack-rally-monitor/docs/CUSTOMIZING.md
 */
:root {
    /* Surfaces — Apple HIG layered dark (base / tier 1 / tier 2) */
    --color-surface-base: #1c1c1e;
    --color-surface-raised: #232326;
    --color-surface-card: rgba(44, 44, 46, 0.72);

    /* Text — softened white (iOS label tiers: 92% / 62% / 40%) */
    --color-text-primary: rgba(235, 235, 245, 0.92);
    --color-text-secondary: rgba(235, 235, 245, 0.62);
    --color-text-muted: rgba(235, 235, 245, 0.40);

    /* Status — CNCF dark-mode safe fills (desaturated for low buzz) */
    --color-success: #4ade80;
    --color-failure: #f87171;
    --color-pending: rgba(235, 235, 245, 0.40);
    --color-warning: #facc15;

    /* Brand — lifted CNCF Blue (#0086FF -> #4DA8FF for AA on dark)
       paired with CNCF Turquoise as the only soft accent */
    --color-brand-primary: #4da8ff;
    --color-brand-secondary: #9fe9ff;

    /* Gradients — restrained two-stop CNCF Blue/Turquoise blueprint feel */
    --gradient-brand: linear-gradient(135deg, #4da8ff, #9fe9ff);
    --gradient-success: linear-gradient(135deg, #4ade80, #22c55e);
    --gradient-failure: linear-gradient(135deg, #f87171, #dc2626);

    /* Chart series — CNCF accents first, then status hues, then info teal
       and desaturated CNCF Pink for emphasis. All #rrggbb so Chart.js
       translucent fills work (per docs/CUSTOMIZING.md note). */
    --chart-series-1: #4da8ff;   /* CNCF Blue (lifted) */
    --chart-series-2: #9fe9ff;   /* CNCF Turquoise */
    --chart-series-3: #4ade80;   /* success */
    --chart-series-4: #facc15;   /* warning */
    --chart-series-5: #f87171;   /* danger */
    --chart-series-6: #4dd3e8;   /* info teal */
    --chart-series-7: #e96fb7;   /* CNCF Pink (desat for dark) */

    --chart-axis-label: rgba(235, 235, 245, 0.62);
    --chart-axis-tick: rgba(235, 235, 245, 0.40);
    --chart-grid: rgba(235, 235, 245, 0.06);

    /* Internal token override: swap Inter for the CNCF type stack.
       Clarity City carries Latin glyphs (CNCF brand typeface);
       Noto Sans TC handles zh-Hant fallback per CNTUG content guidance. */
    --font: "Clarity City", "Noto Sans TC", -apple-system, BlinkMacSystemFont,
            "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
}
