/* tokens.css — Fogging Amazing "Carbon Gradient" theme, identical tokens to
   the ordering app (orders.foggingamazing.co.za): true-black chrome, the
   logo's blue → violet → magenta smoke-ring gradient for accents. Semantic
   colours keep their meaning: green = OK, amber = warning, red = problem. */
:root {
  --bg: #060509;
  --bg2: #0e0c14;
  --panel: #120f1a;
  --panel2: #191424;
  --line: #272033;
  --text: #f2eefc;
  --muted: #9d93b5;
  --accent: #c084fc;
  --accent2: #e0b3ff;
  --g1: #1a8fc4;
  --g2: #9333ea;
  --g3: #f43f7f;
  --grad: linear-gradient(135deg, var(--g1), var(--g2) 55%, var(--g3));
  --green: #2dd4a8;
  --amber: #fbbf24;
  --red: #ff5c74;
  --hot: #f43f7f;
  --new: #a78bfa;
  --hold: #fb923c;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .5);
  --mono: ui-monospace, 'Cascadia Code', 'Segoe UI Mono', monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: radial-gradient(1000px 600px at 78% -12%, #1c1030 0, var(--bg) 52%) fixed;
  color: var(--text);
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
.hidden { display: none !important; }

button {
  font: inherit; cursor: pointer; border: 0; border-radius: 10px;
  padding: 9px 14px; background: var(--panel2); color: var(--text);
  transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
}
button:hover { background: #221b30; }
button:active { transform: scale(.96); }
button:disabled { opacity: .45; cursor: default; transform: none; }
button.primary { background: var(--grad); color: #fff; font-weight: 700; }
button.primary:hover { box-shadow: 0 6px 20px rgba(147, 51, 234, .45); }
button.ghost { background: transparent; border: 1px solid var(--line); }
button.danger { background: transparent; border: 1px solid var(--red); color: var(--red); }
button.danger:hover { background: rgba(255, 92, 116, .12); }
button.small { padding: 5px 10px; font-size: 12.5px; border-radius: 8px; }

input, select, textarea {
  font: inherit; background: var(--bg2); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
input.qty { width: 84px; text-align: right; font-family: var(--mono); }

.spin {
  width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--accent);
  border-radius: 50%; animation: spin .8s linear infinite; margin: 40px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { 0% { transform: scale(.96); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes slideup { from { transform: translateY(14px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes faGlow {
  0%, 100% { filter: drop-shadow(0 0 5px rgba(147, 51, 234, .35)); }
  50% { filter: drop-shadow(0 0 12px rgba(244, 63, 127, .6)); }
}

.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.right { text-align: right; }
.error { color: var(--red); font-size: 13.5px; min-height: 18px; margin: 6px 0; }
.good { color: var(--green); }
.bad { color: var(--red); }
.warn { color: var(--amber); }
.w-full { width: 100%; }
.sub-line { font-size: 12.5px; color: var(--muted); }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
