@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    /* Primary brand colors */
    --3c-primary: 32 104 61;              /* #20683D - brand green */
    --3c-primary-hover: 25 82 48;         /* #195230 - darker green for hover */
    --3c-danger: 231 89 106;              /* #E7596A - consistent danger red */
    --3c-info: 0 108 253;                 /* #006CFD - bright blue for info */
    --3c-info-alternative: 251 227 59;    /* #FBE33B - yellow/gold for accents */
    --3c-secondary: 236 236 236;          /* #ECECEC - neutral border color */

    /* Dark background system */
    --background-main: 1 2 2;             /* #010202 - deep rich black */
    --background-primary: 12 16 12;       /* #0C100C - cards on dark */
    --background-secondary: 8 12 8;       /* #080C08 - slightly lighter than main */
    --background-tertiary: 16 20 16;      /* #101410 - elevated surfaces */

    /* Text hierarchy optimized for dark background */
    --3c-text: 240 244 255;               /* #F0F4FF - bright white for main text */
    --3c-text-alternative: 199 210 254;   /* #C7D2FE - soft blue-white for secondary text */
    --3c-text-muted: 148 163 184;         /* #94A3B8 - muted but readable */
    --3c-text-muted-alternative: 125 140 168; /* #7D8CA8 - more muted */
    --3c-text-info-alternative: 112 138 52;  /* #708A34 - olive green for info text */
    --3c-text-locked: 200 200 200;        /* Disabled/locked items */

    /* Link colors */
    --3c-link: 0 108 253;                 /* #006CFD - bright blue links */
    --3c-link-alternative: 251 227 59;    /* #FBE33B - yellow accent links */

    /* Icon backgrounds */
    --3c-icon-bg: 41 89 60;               /* #29593C - readable badge on dark */
}

/* Lumen-specific contrast fixes for info panels on blue backgrounds */
.bg-3c-info {
    --3c-text: 240 244 255;                /* readable white */
    --3c-text-alternative: 240 244 255;
    --3c-text-muted: 221 229 250;
    --3c-text-muted-alternative: 203 213 225;
    --3c-text-info-alternative: 240 244 255;
    --3c-link: 251 227 59;                 /* yellow accent links */
    --3c-link-alternative: 251 227 59;
}
