/* =========================================================
   AxisSIEM — Design System
   Matched to AxisNetworks visual language:
   Brand blue #0066cc / #004499, slate gradient hero,
   Inter font, dark app shell, card-based sections.
   ========================================================= */

:root {
  --brand: #0066cc;
  --brand-dark: #004499;
  --brand-light: #3385d6;
  --brand-glow: rgba(0, 102, 204, 0.35);

  --bg: #0b1220;
  --bg-2: #0f172a;
  --panel: #111c30;
  --panel-2: #16223a;
  --panel-3: #1c2b48;
  --border: #233352;
  --border-soft: #1b2740;

  --text: #e8edf6;
  --text-dim: #93a3bd;
  --text-mute: #64748b;

  --slate-grad: linear-gradient(135deg, #0f172a 0%, #1e293b 30%, #334155 70%, #475569 100%);
  --brand-grad: linear-gradient(135deg, #0066cc 0%, #004499 100%);

  --sev-info: #38bdf8;
  --sev-low: #22c55e;
  --sev-medium: #f59e0b;
  --sev-high: #f97316;
  --sev-critical: #ef4444;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgba(0,0,0,0.35);
  --shadow-glow: 0 0 0 1px rgba(0,102,204,0.25), 0 8px 30px rgba(0,102,204,0.12);

  --sidebar-w: 248px;
  --topbar-h: 64px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-light); text-decoration: none; }
a:hover { color: var(--brand); }

button { font-family: var(--font); cursor: pointer; border: none; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--panel-3); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 13px; transition: all .2s;
  background: var(--brand); color: #fff;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--brand-light);
  border: 2px solid var(--brand);
}
.btn-ghost:hover { background: var(--brand); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Login ---------- */
.login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--slate-grad); position: relative; overflow: hidden;
}
.login-wrap::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0,102,204,0.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,68,153,0.15), transparent 45%);
}
.login-card {
  position: relative; z-index: 2; width: 100%; max-width: 420px;
  background: rgba(17,28,48,0.92); backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px 36px; box-shadow: var(--shadow);
}
.login-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.login-logo .mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--brand-grad); display: grid; place-items: center;
  font-weight: 800; color: #fff; font-size: 18px;
  box-shadow: 0 0 18px var(--brand-glow);
}
.login-logo .brand-name { font-size: 20px; font-weight: 700; }
.login-logo .brand-name span { color: var(--brand-light); }
.login-card h1 { font-size: 22px; margin-bottom: 6px; }
.login-card .sub { color: var(--text-dim); margin-bottom: 26px; font-size: 13px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; color: var(--text-dim); margin-bottom: 7px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border-radius: var(--radius-sm);
  background: var(--panel); border: 1px solid var(--border); color: var(--text);
  font-size: 14px; font-family: var(--font); transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-glow);
}
.login-error {
  background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.4);
  color: #fca5a5; padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 13px; margin-bottom: 16px;
}
.login-hint {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-mute);
}
.login-hint b { color: var(--text-dim); }

/* ---------- App shell ---------- */
.app { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w); background: var(--bg-2);
  border-right: 1px solid var(--border); position: fixed;
  top: 0; bottom: 0; left: 0; display: flex; flex-direction: column;
  z-index: 50;
}
.sidebar-brand {
  height: var(--topbar-h); display: flex; align-items: center; gap: 11px;
  padding: 0 18px; border-bottom: 1px solid var(--border);
}
.sidebar-brand .mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--brand-grad); display: grid; place-items: center;
  font-weight: 800; color: #fff; font-size: 15px;
  box-shadow: 0 0 14px var(--brand-glow);
}
.sidebar-brand .name { font-weight: 700; font-size: 16px; }
.sidebar-brand .name span { color: var(--brand-light); }
.sidebar-brand .tag { font-size: 10px; color: var(--text-mute); letter-spacing: .5px; }

.nav { flex: 1; padding: 14px 12px; overflow-y: auto; }
.nav-section { font-size: 10px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-mute); padding: 14px 10px 6px; font-weight: 600; }
.nav a {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px;
  border-radius: var(--radius-sm); color: var(--text-dim); font-size: 13px;
  font-weight: 500; margin-bottom: 2px; transition: all .15s;
}
.nav a:hover { background: var(--panel); color: var(--text); }
.nav a.active { background: var(--brand); color: #fff; box-shadow: 0 0 14px var(--brand-glow); }
.nav a .ico { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav a .ico svg { width: 18px; height: 18px; }

/* SVG icon helper */
.ic { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.ic svg { width: 100%; height: 100%; display: block; }

.sidebar-foot .status-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--sev-low); margin-right: 6px; vertical-align: middle;
}

/* page action bar (e.g. Add asset button) */
.page-actions { margin-bottom: 18px; display: flex; gap: 10px; align-items: center; }

/* icon button (delete row, etc.) */
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  background: transparent; color: var(--text-dim); transition: all .15s;
  border: 1px solid transparent;
}
.icon-btn:hover { background: var(--panel-2); color: var(--text); }
.icon-btn.danger:hover { background: rgba(239,68,68,0.15); color: var(--sev-critical); border-color: rgba(239,68,68,0.3); }

.sidebar-foot {
  padding: 14px 18px; border-top: 1px solid var(--border); font-size: 11px; color: var(--text-mute);
}
.sidebar-foot { font-size: 11px; }

.main { margin-left: var(--sidebar-w); flex: 1; min-width: 0; }

.topbar {
  height: var(--topbar-h); background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 26px; position: sticky; top: 0; z-index: 40;
}
.topbar .page-title { font-size: 18px; font-weight: 600; }
.topbar .page-sub { font-size: 12px; color: var(--text-mute); }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.client-switcher {
  background: var(--panel); border: 1px solid var(--border); color: var(--text);
  padding: 8px 12px; border-radius: 20px; font-size: 12px; font-family: var(--font);
  max-width: 200px;
}
.client-switcher:focus { outline: none; border-color: var(--brand); }
.live-pill {
  display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-dim);
  background: var(--panel); padding: 7px 12px; border-radius: 20px; border: 1px solid var(--border);
}
.live-pill .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--sev-low);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(34,197,94,0.6)} 70%{box-shadow:0 0 0 9px rgba(34,197,94,0)} 100%{box-shadow:0 0 0 0 rgba(34,197,94,0)} }
.user-chip { display: flex; align-items: center; gap: 9px; }
.user-chip .av {
  width: 34px; height: 34px; border-radius: 50%; background: var(--brand-grad);
  display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff;
}
.user-chip .uname { font-size: 13px; }
.user-chip .urole { font-size: 11px; color: var(--text-mute); }
.logout-btn { background: transparent; color: var(--text-dim); font-size: 12px; padding: 6px 10px; border-radius: 6px; }
.logout-btn:hover { color: var(--sev-critical); }

.content { padding: 26px; }

/* ---------- Cards / Panels ---------- */
.card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.card-title { font-size: 13px; font-weight: 600; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: .6px; margin-bottom: 14px; }

.grid { display: grid; gap: 18px; }
.kpi-grid { grid-template-columns: repeat(6, 1fr); }
.dash-grid { grid-template-columns: 2fr 1fr; }
.cols-2 { grid-template-columns: 1fr 1fr; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1200px) { .kpi-grid { grid-template-columns: repeat(3,1fr); } .dash-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .kpi-grid, .cols-2, .cols-3 { grid-template-columns: 1fr; }
  .sidebar { transform: translateX(-100%); }
  .main { margin-left: 0; }
}

/* KPI cards */
.kpi { position: relative; overflow: hidden; }
.kpi .kpi-val { font-size: 30px; font-weight: 700; line-height: 1; }
.kpi .kpi-label { font-size: 12px; color: var(--text-dim); margin-top: 8px; }
.kpi .kpi-ico {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px;
  border-radius: 10px; display: grid; place-items: center;
  background: rgba(0,102,204,0.14); color: var(--brand-light);
}
.kpi .kpi-ico svg { width: 20px; height: 20px; }
.kpi.alert .kpi-val { color: var(--sev-critical); }
.kpi.warn .kpi-val { color: var(--sev-high); }
.kpi.ok .kpi-val { color: var(--sev-low); }

/* Severity badges */
.sev { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px;
  border-radius: 20px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.sev-info { background: rgba(56,189,248,0.15); color: var(--sev-info); }
.sev-low { background: rgba(34,197,94,0.15); color: var(--sev-low); }
.sev-medium { background: rgba(245,158,11,0.15); color: var(--sev-medium); }
.sev-high { background: rgba(249,115,22,0.15); color: var(--sev-high); }
.sev-critical { background: rgba(239,68,68,0.16); color: var(--sev-critical); }
.sev::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.status-pill { display:inline-flex; align-items:center; gap:6px; padding:3px 10px; border-radius:6px; font-size:11px; font-weight:600; }
.status-open { background: rgba(239,68,68,0.14); color: #fca5a5; }
.status-investigating { background: rgba(245,158,11,0.14); color: #fcd34d; }
.status-resolved { background: rgba(34,197,94,0.14); color: #86efac; }
.status-closed { background: rgba(148,163,184,0.14); color: #cbd5e1; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
thead th {
  text-align: left; padding: 11px 14px; font-size: 11px; font-weight: 600;
  color: var(--text-mute); text-transform: uppercase; letter-spacing: .5px;
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
tbody td { padding: 12px 14px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
tbody tr { transition: background .12s; cursor: pointer; }
tbody tr:hover { background: var(--panel-2); }
.mono { font-family: 'SF Mono', 'Fira Code', Consolas, monospace; font-size: 12px; }
.muted { color: var(--text-mute); }
.dim { color: var(--text-dim); }

/* ---------- Charts (pure CSS/SVG) ---------- */
.bar-chart { display: flex; align-items: flex-end; gap: 4px; height: 160px; padding-top: 10px; }
.bar-chart .bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bar-chart .bar {
  width: 100%; max-width: 22px; background: var(--brand-grad); border-radius: 4px 4px 0 0;
  min-height: 3px; transition: height .5s ease; position: relative;
}
.bar-chart .bar:hover { background: var(--brand-light); }
.bar-chart .bar-col .lbl { font-size: 9px; color: var(--text-mute); }

.donut { position: relative; width: 150px; height: 150px; margin: 0 auto; }
.donut svg { transform: rotate(-90deg); }
.donut .center {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
}
.donut .center .big { font-size: 26px; font-weight: 700; }
.donut .center .small { font-size: 11px; color: var(--text-mute); }

.legend { display: flex; flex-direction: column; gap: 9px; margin-top: 16px; }
.legend .li { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.legend .sw { width: 11px; height: 11px; border-radius: 3px; }
.legend .li .val { margin-left: auto; font-weight: 600; }

/* horizontal bar list */
.hbar-row { margin-bottom: 14px; }
.hbar-row .hb-top { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 5px; }
.hbar-row .hb-track { height: 8px; background: var(--panel-2); border-radius: 5px; overflow: hidden; }
.hbar-row .hb-fill { height: 100%; background: var(--brand-grad); border-radius: 5px; transition: width .6s; }

/* ---------- Live feed ---------- */
.feed { max-height: 380px; overflow-y: auto; }
.feed-item {
  display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border-soft);
  font-size: 13px; align-items: flex-start;
}
.feed-item .dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.feed-item .meta { color: var(--text-mute); font-size: 11px; margin-top: 3px; }

/* ---------- Drawer / Modal ---------- */
.overlay { position: fixed; inset: 0; background: rgba(3,7,18,0.7); z-index: 100; display: none; }
.overlay.show { display: block; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 560px; max-width: 92vw;
  background: var(--panel); border-left: 1px solid var(--border);
  z-index: 110; transform: translateX(100%); transition: transform .28s ease;
  overflow-y: auto; box-shadow: -10px 0 40px rgba(0,0,0,0.5);
}
.drawer.show { transform: translateX(0); }
.drawer-head {
  padding: 22px 24px; border-bottom: 1px solid var(--border); position: sticky; top: 0;
  background: var(--panel); z-index: 2;
}
.drawer-head .dt-title { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.drawer-body { padding: 24px; }
.drawer-close { background: transparent; color: var(--text-mute); font-size: 20px; float: right; }
.drawer-close:hover { color: var(--text); }

.detail-row { display: flex; padding: 10px 0; border-bottom: 1px solid var(--border-soft); font-size: 13px; }
.detail-row .k { color: var(--text-mute); width: 140px; flex-shrink: 0; }
.detail-row .v { color: var(--text); word-break: break-word; }

.raw-box {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px; font-family: 'SF Mono', 'Fira Code', Consolas, monospace; font-size: 12px;
  white-space: pre-wrap; word-break: break-word; color: #a8c5e8; max-height: 260px; overflow-y: auto;
}

/* ---------- Filters bar ---------- */
.filters {
  display: flex; gap: 12px; align-items: center; margin-bottom: 18px; flex-wrap: wrap;
}
.filters input, .filters select {
  background: var(--panel); border: 1px solid var(--border); color: var(--text);
  padding: 9px 13px; border-radius: var(--radius-sm); font-size: 13px; font-family: var(--font);
}
.filters input:focus, .filters select:focus { outline: none; border-color: var(--brand); }

/* ---------- Compliance ---------- */
.comp-row { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border-soft); }
.comp-row .comp-ctrl { font-weight: 600; font-size: 13px; }
.comp-row .comp-ev { font-size: 12px; color: var(--text-dim); margin-top: 3px; }
.comp-row .comp-bar { flex-shrink: 0; width: 180px; }
.coverage-ring { width: 64px; height: 64px; position: relative; flex-shrink: 0; }
.coverage-ring .pct { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; font-weight: 700; }

.tag { display:inline-block; padding:2px 8px; border-radius:5px; font-size:11px; background: var(--panel-3); color: var(--text-dim); margin-right:5px; }

.empty { text-align: center; padding: 50px 20px; color: var(--text-mute); font-size: 13px; }
.spinner { width: 22px; height: 22px; border: 2.5px solid var(--border); border-top-color: var(--brand);
  border-radius: 50%; animation: spin 0.8s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

.page-head { margin-bottom: 22px; }
.page-head h2 { font-size: 22px; font-weight: 700; }
.page-head p { color: var(--text-dim); font-size: 13px; margin-top: 5px; }

/* ---------- Notifications ---------- */
.notif-stats-grid { grid-template-columns: repeat(4, 1fr); }

.card-title-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.card-title-row .card-title { margin-bottom: 0; display: flex; align-items: center; gap: 8px; }

.notif-status { display: flex; align-items: center; gap: 6px; }

.notif-warn {
  display: flex; align-items: center; gap: 8px;
  background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.25);
  border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 16px;
  font-size: 12px; color: #fbbf24;
}
.notif-warn .ic { color: #f59e0b; flex-shrink: 0; }

.notif-msg {
  margin-top: 12px; padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500;
}
.notif-msg-info { background: rgba(0,102,204,0.1); border: 1px solid rgba(0,102,204,0.3); color: var(--brand-light); }
.notif-msg-ok { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #4ade80; }
.notif-msg-err { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; }

.notif-rules { display: flex; flex-direction: column; gap: 12px; }

.notif-rule {
  background: var(--panel-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px 16px; transition: border-color .15s;
}
.notif-rule:hover { border-color: var(--brand); }
.notif-rule.disabled { opacity: 0.55; }

.notif-rule-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.notif-rule-actions { display: flex; gap: 4px; }

.notif-rule-body { display: flex; flex-direction: column; gap: 8px; }
.nr-field { display: flex; align-items: center; gap: 10px; font-size: 13px; flex-wrap: wrap; }
.nr-label { color: var(--text-mute); font-size: 11px; text-transform: uppercase; letter-spacing: .4px; width: 90px; flex-shrink: 0; font-weight: 600; }

.checkbox-label {
  display: flex !important; align-items: center; gap: 8px;
  font-size: 14px !important; color: var(--text) !important;
  cursor: pointer; font-weight: 400 !important; margin-bottom: 0 !important;
}
.checkbox-label input[type="checkbox"] {
  width: 16px; height: 16px; accent-color: var(--brand); cursor: pointer;
}

.btn-outline {
  background: transparent !important; color: var(--brand-light) !important;
  border: 1px solid var(--brand) !important;
}
.btn-outline:hover { background: var(--brand) !important; color: #fff !important; }

/* icon alignment in card titles */
.card-title .ic { color: var(--brand-light); }

/* ---------- Settings page ---------- */
.settings-layout { display: grid; grid-template-columns: 220px 1fr; gap: 20px; }
.settings-tabs { display: flex; flex-direction: column; gap: 4px; }
.settings-tab {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  border-radius: var(--radius-sm); cursor: pointer; font-size: 13px; font-weight: 500;
  color: var(--text-dim); border: 1px solid transparent; transition: all .15s; user-select: none;
}
.settings-tab:hover { background: var(--panel-2); color: var(--text); }
.settings-tab.active { background: var(--panel-2); color: var(--brand-light); border-color: var(--border); }
.settings-tab .ic { color: inherit; flex-shrink: 0; }
.settings-panel { min-width: 0; }

/* MFA info box */
.mfa-info { display: flex; flex-direction: column; gap: 16px; }
.mfa-row { display: flex; gap: 16px; align-items: flex-start; }
.mfa-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: rgba(0,102,204,0.14); color: var(--brand-light);
  display: grid; place-items: center;
}
.mfa-icon svg { width: 24px; height: 24px; }
.mfa-title { font-size: 15px; font-weight: 600; }
.mfa-status-box {
  padding: 14px 16px; border-radius: var(--radius-sm); font-size: 13px;
  display: flex; flex-direction: column; gap: 4px;
}
.mfa-status-box.on { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #4ade80; }
.mfa-status-box.off { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.25); color: #fcd34d; }
.mfa-status-box .ic { vertical-align: middle; }
.mfa-actions { display: flex; gap: 10px; }

@media (max-width: 760px) {
  .settings-layout { grid-template-columns: 1fr; }
  .settings-tabs { flex-direction: row; flex-wrap: wrap; }
  .settings-tab { flex: 1; min-width: 120px; justify-content: center; }
}

/* ---------------- Turnstile (bot protection) ---------------- */
.turnstile-box {
  display: flex;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.turnstile-box iframe { border: 0; }

/* ---------------- User Management ---------------- */
.users-table th, .users-table td { vertical-align: middle; }
.user-actions { white-space: nowrap; display: flex; gap: 4px; }
.user-actions .icon-btn:disabled { opacity: 0.35; cursor: not-allowed; }
