/* ==========================================================================
   Shared Prototype UI — Semantic Color Tokens (Icon Factory System)
   ========================================================================== */

:root {
  /* Light Theme — Background */
  --background-primary: #ffffff;
  --background-secondary: #ededed;
  --background-tertiary: rgba(20, 20, 20, 0.04);
  --background-inverse: #141414;
  --background-brand: #068bee;
  --color-blue-400: #6daafb;

  /* Light Theme — Status Backgrounds */
  --background-info-default: #068bee;
  --background-info-subtle: #dee9fe;
  --background-success-default: #34c759;
  --background-success-subtle: #d3efda;
  --background-warning-default: #fc823a;
  --background-warning-subtle: #fedac4;
  --background-danger-default: #ff3b30;
  --background-danger-subtle: #ffe1de;

  /* Light Theme — Content */
  --content-primary: #141414;
  --content-secondary: rgba(20, 20, 20, 0.8);
  --content-tertiary: rgba(20, 20, 20, 0.6);
  --content-inverse: #ffffff;
  --content-brand: #002661;
  --content-info: #006ab9;
  --content-success: #00783e;
  --content-warning: #ad4000;
  --content-danger: #d10b00;

  /* Light Theme — Borders */
  --border-subtle: rgba(20, 20, 20, 0.04);
  --border-default: rgba(20, 20, 20, 0.08);
  --border-strong: rgba(20, 20, 20, 0.12);
}

[data-theme="dark"] {
  --background-primary: #141414;
  --background-secondary: #1d1d1d;
  --background-tertiary: rgba(255, 255, 255, 0.04);
  --background-inverse: #ffffff;
  --background-brand: #068bee;

  --background-info-subtle: #0a1d3a;
  --background-success-subtle: #0a2114;
  --background-warning-subtle: #371806;
  --background-danger-default: #d91a23;
  --background-danger-subtle: #2d0f12;

  --content-primary: #ffffff;
  --content-secondary: rgba(255, 255, 255, 0.8);
  --content-tertiary: rgba(255, 255, 255, 0.5);
  --content-inverse: #141414;
  --content-brand: #eff4fe;
  --content-info: #068bee;
  --content-success: #06c167;
  --content-warning: #ea5805;
  --content-danger: #f82d36;

  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-default: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.12);
}
