@charset "utf-8";

:root {
    --theme-color: #0095DB;


    --theme-color-hover: color-mix(in srgb, var(--theme-color) 85%, #000);
    --theme-color-light: color-mix(in srgb, var(--theme-color) 15%, #fff);
    --theme-color-lighter: color-mix(in srgb, var(--theme-color) 6%, #fff);
    --theme-color-border: color-mix(in srgb, var(--theme-color) 40%, #fff);
    --theme-color-alpha: color-mix(in srgb, var(--theme-color) 20%, transparent);
    --theme-color-text: #fff;

    --theme-color-accent-auto: var(--theme-color);
    --theme-color-accent-dark-auto: var(--theme-color);
    --theme-color-accent: var(--theme-color-accent-custom, var(--theme-color-accent-auto));
    --theme-color-accent-dark: var(--theme-color-accent-dark-custom, var(--theme-color-accent-dark-auto));

    --theme-color-complement: hsl(from var(--theme-color) calc(h + 180) s l);

    --theme-color-triad: hsl(from var(--theme-color) calc(h + 120) s l);
}

@supports (color: oklch(from red l c h)) {
    :root {
        --theme-color-accent-auto: oklch(from var(--theme-color) clamp(0.55, l, 0.68) max(c, min(c * 3, 0.12)) h);
        --theme-color-accent-dark-auto: oklch(from var(--theme-color) clamp(0.72, l, 0.85) max(c, min(c * 3, 0.12)) h);
        --theme-color-hover: oklch(from var(--theme-color) calc(l - 0.08 + 0.16 * clamp(0, (0.45 - l) * 1000, 1)) c h);
        --theme-color-text: oklch(from var(--theme-color) clamp(0, (0.75 - l) * 1000, 1) 0 0);
    }
}
