/* =====================================================================
   HTA Group Support — DESIGN TOKENS  (hta-tokens.css)
   THE single source of truth for the whole osTicket UI (client portal,
   staff/admin SCP, and the agent login page). Loaded FIRST in all three
   headers; every overlay stylesheet references these var(--hui-*) tokens.

   To restyle the entire system, edit a value here — nothing else.
   ===================================================================== */
:root{
  /* ---- Brand ---- */
  --hui-red:#b02626;
  --hui-red-dark:#8f1d1d;
  --hui-red-tint:rgba(176,38,38,.06);   /* subtle row hover */
  --hui-red-wash:rgba(176,38,38,.10);   /* icon chips / accents */
  --hui-red-ring:rgba(176,38,38,.25);   /* focus ring */
  --hui-navy:#161d2b;
  --hui-gradient:linear-gradient(125deg,#a5222a 0%,#7c1a20 46%,#161d2b 100%);

  /* ---- Ink / text ---- */
  --hui-ink:#2b3a4d;
  --hui-ink2:#1f2430;
  --hui-ink-soft:#5a6675;
  --hui-ink-muted:#9aa4b0;
  --hui-on-red:#ffffff;
  --hui-on-dark:#eef1f5;

  /* ---- Surfaces & lines ---- */
  --hui-surface:#ffffff;
  --hui-surface-2:#eef1f5;
  --hui-surface-3:#f6f8fa;
  --hui-surface-disabled:#f1f3f6;
  --hui-line:#c3cbd6;
  --hui-line-soft:#e2e6ea;

  /* ---- State ---- */
  --hui-error:#c62828;
  --hui-error-ring:rgba(198,40,40,.18);

  /* ---- Shape ---- */
  --hui-radius:6px;         /* app controls: buttons, inputs, tables */
  --hui-radius-card:14px;   /* marketing cards on the client landing */
  --hui-radius-pill:999px;  /* nav / sub-nav pills */

  /* ---- Spacing ---- */
  --hui-pad-input:9px 11px;
  --hui-pad-btn:8px 16px;
  --hui-pad-btn-neutral:8px 14px;

  /* ---- Effects ---- */
  --hui-focus-ring:0 0 0 2px var(--hui-red-ring);
  --hui-error-focus:0 0 0 2px var(--hui-error-ring);
  --hui-card-shadow:0 12px 30px rgba(15,20,32,.18);
  --hui-card-shadow-lg:0 18px 44px rgba(15,20,32,.24);

  /* ---- Type ---- */
  --hui-font-size:14px;
  --hui-font-stack:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;

  /* ---- Weights ---- */
  --hui-fw-primary:700;
  --hui-fw-neutral:600;
}
