/* FixHubb Portal — Theme & Design Tokens */

/* ============================================================
   FixHubb Portal — Client Management System
   Theme: "SYSTEM ONLINE" dark tech (default) + light mode
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0c111a;
  --bg2: #101724;
  --panel: #141d2d;
  --panel2: #1a2538;
  --hover: #223048;
  --line: #233148;
  --line2: #354768;
  --text: #ffffff;
  --muted: #a0aec0;
  --dim: #718096;
  --accent: #f97316;
  --accent-ink: #070b10;
  --accent-soft: rgba(249, 115, 22, 0.16);
  --accent-2: #fb923c;
  --navy: #101927;
  --navy-2: #0a101a;
  --cyan: #06b6d4;
  --cyan-soft: rgba(6, 182, 212, 0.15);
  --good: #10b981;
  --good-soft: rgba(16, 185, 129, 0.15);
  --warn: #f59e0b;
  --warn-soft: rgba(245, 158, 11, 0.15);
  --bad: #ef4444;
  --bad-soft: rgba(239, 68, 68, 0.15);
  --info: #3b82f6;
  --info-soft: rgba(59, 130, 246, 0.15);
  --purple: #8b5cf6;
  --purple-soft: rgba(139, 92, 246, 0.15);
  --cashfree: #6739b6;
  --cashfree-soft: rgba(103, 57, 182, 0.18);
  --shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Plus Jakarta Sans", "Inter", "Segoe UI", Roboto, sans-serif;
}

[data-theme="light"] {
  --bg: #f8fafc;
  --bg2: #f1f5f9;
  --panel: #ffffff;
  --panel2: #f8fafc;
  --hover: #e2e8f0;
  --line: #e2e8f0;
  --line2: #cbd5e1;
  --text: #0f172a;
  --muted: #475569;
  --dim: #64748b;
  --accent: #ea580c;
  --accent-ink: #ffffff;
  --accent-soft: rgba(234, 88, 12, 0.12);
  --accent-2: #f97316;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

html, body { height: 100%; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.app-bg::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(249, 115, 22, 0.08), transparent 70%);
}

::selection { background: var(--accent-soft); }

a { color: var(--accent); text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.25; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: 12px; }
.tiny { font-size: 11px; }
.right { text-align: right; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mt-1{margin-top:4px}.mt-2{margin-top:8px}.mt-3{margin-top:12px}.mt-4{margin-top:16px}.mt-5{margin-top:24px}
.mb-2{margin-bottom:8px}.mb-3{margin-bottom:12px}.mb-4{margin-bottom:16px}
.flex{display:flex}.gap-1{gap:4px}.gap-2{gap:8px}.gap-3{gap:12px}.gap-4{gap:16px}
.items-center{align-items:center}.justify-between{justify-content:space-between}.flex-wrap{flex-wrap:wrap}
.grow{flex:1}.w-100{width:100%}

/* ---------- scrollbars ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }

