/* =============================================
   TAPSYNC PROFESSIONAL THEME
   Design system baseado no logo TapSync (cyan → purple → pink)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

:root {
  /* Brand — TapSync */
  --tap-cyan: #4dbffa;
  --tap-blue: #7c6ef9;
  --tap-purple: #a667f2;
  --tap-pink: #d946ef;
  --tap-magenta: #ec4899;
  --brand-primary: #7c6ef9;
  --brand-primary-hover: #6a5be6;
  --brand-primary-strong: #5b48d6;
  --brand-gradient: linear-gradient(135deg, #4dbffa 0%, #7c6ef9 42%, #a667f2 68%, #d946ef 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(77, 191, 250, 0.18) 0%, rgba(124, 110, 249, 0.20) 42%, rgba(166, 103, 242, 0.22) 68%, rgba(217, 70, 239, 0.18) 100%);
  --brand-gradient-radial: radial-gradient(circle at 50% 50%, rgba(124, 110, 249, 0.55) 0%, rgba(217, 70, 239, 0.18) 60%, transparent 75%);
  --brand-glow: 0 0 30px rgba(124, 110, 249, 0.35), 0 0 60px rgba(166, 103, 242, 0.15);

  /* Layers / surfaces */
  --bg-base: #0a0a15;
  --bg-deep: #050510;
  --bg-surface: rgba(20, 20, 36, 0.72);
  --bg-surface-strong: rgba(26, 26, 46, 0.92);
  --bg-elevated: rgba(34, 34, 58, 0.96);
  --bg-input: rgba(10, 10, 22, 0.85);
  --bg-hover: rgba(124, 110, 249, 0.08);

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-brand: rgba(124, 110, 249, 0.35);
  --border-brand-soft: rgba(124, 110, 249, 0.18);

  /* Text */
  --text-primary: #f4f4fb;
  --text-secondary: #b4b4d4;
  --text-muted: #75758f;
  --text-dim: #4d4d66;

  /* Semantic */
  --success: #22c55e;
  --success-soft: rgba(34, 197, 94, 0.14);
  --success-border: rgba(34, 197, 94, 0.28);

  --warning: #f59e0b;
  --warning-soft: rgba(245, 158, 11, 0.14);
  --warning-border: rgba(245, 158, 11, 0.28);

  --error: #f43f5e;
  --error-soft: rgba(244, 63, 94, 0.14);
  --error-border: rgba(244, 63, 94, 0.28);

  --info: #06b6d4;
  --info-soft: rgba(6, 182, 212, 0.14);
  --info-border: rgba(6, 182, 212, 0.28);

  /* Legacy variable aliases (mantidas para não quebrar seletores existentes) */
  --gold: var(--brand-primary);
  --gold-dark: var(--brand-primary-strong);
  --red: var(--error);
  --red-dark: #be123c;
  --blue: var(--tap-cyan);
  --blue-dark: #2563eb;
  --green: var(--success);
  --yellow: var(--warning);
  --ocean: var(--tap-cyan);
  --ocean-dark: #2563eb;
  --bg-dark: var(--bg-base);
  --bg-card: rgba(20, 20, 36, 0.9);
  --bg-card-hover: rgba(30, 30, 52, 0.95);
  --bg-sidebar: #0a0a15;
  --border: var(--border-default);
  --border-gold: var(--border-brand);

  --text-1: var(--text-primary);
  --text-2: var(--text-secondary);
  --text-3: var(--text-muted);

  --shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 8px 20px rgba(0, 0, 0, 0.35);
  --shadow-brand: 0 12px 32px rgba(124, 110, 249, 0.25);
  --shadow-gold: 0 12px 32px rgba(124, 110, 249, 0.25);
  --shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.6);

  --radius-sm: 10px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --sidebar-w: 228px;
  --topbar-h: 52px;
}

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

html, body { min-height: 100vh; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-feature-settings: 'ss01', 'cv11', 'liga';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 8% 12%, rgba(77, 191, 250, 0.08), transparent 45%),
    radial-gradient(circle at 92% 88%, rgba(217, 70, 239, 0.08), transparent 45%),
    radial-gradient(circle at 50% 0%, rgba(124, 110, 249, 0.05), transparent 55%),
    linear-gradient(180deg, #0a0a15 0%, #050510 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; font-family: inherit; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  background: rgba(124, 110, 249, 0.35);
  border-radius: 4px;
  transition: background .2s;
}
::-webkit-scrollbar-thumb:hover { background: rgba(124, 110, 249, 0.6); }

/* =============================================
   LOGIN
   ============================================= */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 20px;
}

.login-container::before,
.login-container::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.login-container::before {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(124, 110, 249, 0.28) 0%, transparent 70%);
  top: -140px;
  right: -100px;
  animation: floatDrift 18s ease-in-out infinite;
}

.login-container::after {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.22) 0%, transparent 70%);
  bottom: -160px;
  left: -140px;
  animation: floatDriftReverse 20s ease-in-out infinite;
}

.energy-wave,
.energy-wave-secondary {
  position: absolute;
  inset: auto -10% -18% -10%;
  height: 320px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.energy-wave {
  background: radial-gradient(circle, rgba(77, 191, 250, 0.4) 0%, rgba(124, 110, 249, 0.15) 45%, transparent 75%);
  opacity: 0.35;
  animation: swell 14s ease-in-out infinite;
}
.energy-wave-secondary {
  background: radial-gradient(circle, rgba(217, 70, 239, 0.35) 0%, rgba(166, 103, 242, 0.12) 45%, transparent 75%);
  opacity: 0.28;
  animation: swell 22s ease-in-out infinite reverse;
}

.login-box {
  position: relative;
  z-index: 2;
  width: 460px;
  max-width: 100%;
  padding: 44px 40px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(24, 24, 44, 0.94) 0%, rgba(14, 14, 30, 0.98) 100%);
  border: 1px solid var(--border-strong);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(124, 110, 249, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  overflow: hidden;
  animation: cardRise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.login-box::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(124, 110, 249, 0.6), transparent 40%, transparent 60%, rgba(217, 70, 239, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

.logo {
  text-align: center;
  margin-bottom: 28px;
  position: relative;
}

.logo-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(124, 110, 249, 0.12);
  border: 1px solid rgba(124, 110, 249, 0.28);
  color: #cfc8ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.logo-kicker::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-gradient);
  box-shadow: 0 0 8px rgba(124, 110, 249, 0.8);
}

/* Rectangular brand mark (novo logo TapSync) */
.brand-mark {
  display: block;
  width: 230px;
  height: auto;
  max-width: 78%;
  margin: 0 auto 14px;
  filter: drop-shadow(0 12px 30px rgba(124, 110, 249, 0.35))
          drop-shadow(0 0 40px rgba(217, 70, 239, 0.18));
  animation: brandPulse 5s ease-in-out infinite;
}

.sidebar-brand-mark {
  display: block;
  width: 180px;
  height: auto;
  max-width: 90%;
  margin: 0 auto 6px;
  filter: drop-shadow(0 6px 16px rgba(124, 110, 249, 0.35));
}

/* mantém compatibilidade com selectors legados */
.dragon-ball-icon,
.sidebar-dragon-icon {
  display: block;
  margin: 0 auto 14px;
}

.logo h1,
.sidebar-header h2,
.page-header h1,
.table-header h3,
.form-container h2,
.error-container h2,
.modal-box h3 {
  font-family: 'Inter', -apple-system, sans-serif;
  letter-spacing: -0.01em;
  font-weight: 800;
}

.logo h1 {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.logo .subtitle {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.login-note {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(124, 110, 249, 0.05);
  border: 1px solid rgba(124, 110, 249, 0.14);
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

/* =============================================
   FORMS
   ============================================= */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea,
.table-filters input,
.table-filters select {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.table-filters input,
.table-filters select {
  width: auto;
  min-width: 160px;
  padding: 10px 12px;
  font-size: 13px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.table-filters input:focus,
.table-filters select:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(124, 110, 249, 0.18);
  background: rgba(14, 14, 26, 0.95);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn i { font-size: 13px; }

.btn-primary {
  width: 100%;
  padding: 15px 20px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--brand-gradient);
  background-size: 200% 200%;
  box-shadow: 0 12px 30px rgba(124, 110, 249, 0.35);
}
.btn-primary:hover {
  background-position: 100% 100%;
  box-shadow: 0 16px 40px rgba(124, 110, 249, 0.45), 0 0 20px rgba(217, 70, 239, 0.2);
}

/* variação inline (para tabelas / listas) */
.btn.btn-primary.btn-sm,
.btn.btn-primary.btn-inline {
  width: auto;
  padding: 8px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-success {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.28);
}
.btn-success:hover { filter: brightness(1.1); }

.btn-danger {
  background: linear-gradient(135deg, #f43f5e, #be123c);
  color: #fff;
  box-shadow: 0 6px 18px rgba(244, 63, 94, 0.28);
}
.btn-danger:hover { filter: brightness(1.1); }

.btn-outline,
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
}
.btn-outline:hover,
.btn-ghost:hover {
  border-color: var(--brand-primary);
  color: #fff;
  background: rgba(124, 110, 249, 0.08);
}

.btn-sm {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
}

.btn-xs {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 8px;
}

/* =============================================
   ALERTS
   ============================================= */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert i { font-size: 15px; }
.alert-error {
  background: var(--error-soft);
  border: 1px solid var(--error-border);
  color: #fecdd3;
}
.alert-success {
  background: var(--success-soft);
  border: 1px solid var(--success-border);
  color: #bbf7d0;
}
.alert-info {
  background: var(--info-soft);
  border: 1px solid var(--info-border);
  color: #a5f3fc;
}
.alert-warning {
  background: var(--warning-soft);
  border: 1px solid var(--warning-border);
  color: #fde68a;
}

.alert-box {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: #fecdd3;
  background: var(--error-soft);
  border: 1px solid var(--error-border);
  font-size: 14px;
  margin-bottom: 18px;
}

/* =============================================
   SUPPORT CARDS (contato/telegram)
   ============================================= */
.support-card,
.sidebar-support-card {
  border: 1px solid var(--border-brand-soft);
  background: linear-gradient(180deg, rgba(20, 20, 36, 0.88), rgba(14, 14, 28, 0.94));
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 16px 12px;
}
.login-support-card {
  margin: 20px 0 6px;
}
.support-title {
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.support-title::before {
  content: "\f2b5"; /* fa-headset */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--tap-cyan);
}
.support-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.support-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(124, 110, 249, 0.14);
  border: 1px solid rgba(124, 110, 249, 0.28);
  color: #dcd5ff;
  font-size: 12px;
  font-weight: 600;
  transition: all .2s;
}
.support-link:hover {
  background: rgba(124, 110, 249, 0.24);
  color: #fff;
  transform: translateY(-1px);
}
.support-link i { font-size: 12px; }

/* =============================================
   LAYOUT
   ============================================= */
.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-w);
  background: linear-gradient(180deg, #0d0d1e 0%, #060612 100%);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  z-index: 100;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
}

.sidebar-header {
  padding: 26px 20px 22px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
  position: relative;
}
.sidebar-header::after {
  content: '';
  position: absolute;
  left: 20px; right: 20px;
  bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 110, 249, 0.5), transparent);
}

.sidebar-header h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 8px;
}

.sidebar-header .badge,
.sidebar-header .badge-master {
  display: inline-block;
  background: var(--brand-gradient);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 10px;
  box-shadow: 0 4px 14px rgba(124, 110, 249, 0.35);
}

.sidebar-nav {
  flex: 1;
  padding: 14px 12px;
  overflow-y: auto;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  margin-bottom: 3px;
  position: relative;
}

.sidebar-nav a:hover {
  background: rgba(124, 110, 249, 0.08);
  color: var(--text-primary);
}

.sidebar-nav a.active {
  background: linear-gradient(135deg, rgba(124, 110, 249, 0.18) 0%, rgba(217, 70, 239, 0.10) 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(124, 110, 249, 0.28);
}
.sidebar-nav a.active::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 25%;
  bottom: 25%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--brand-gradient);
}

.sidebar-nav a .nav-icon,
.sidebar-nav a > i {
  width: 22px;
  text-align: center;
  font-size: 14px;
  color: var(--tap-cyan);
  transition: color .2s;
}
.sidebar-nav a.active .nav-icon,
.sidebar-nav a.active > i { color: var(--tap-pink); }

.sidebar-footer {
  padding: 14px 16px 18px;
  border-top: 1px solid var(--border-subtle);
}
.sidebar-footer .user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.sidebar-footer .user-avatar {
  width: 40px; height: 40px;
  background: var(--brand-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(124, 110, 249, 0.35);
}
.sidebar-footer .user-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.sidebar-footer .user-role {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}
.sidebar-footer .user-role i { font-size: 10px; color: var(--tap-cyan); }

.sidebar-footer .btn-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.20);
  color: #fda4af;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}
.sidebar-footer .btn-logout:hover {
  background: rgba(244, 63, 94, 0.15);
  color: #fecdd3;
  border-color: rgba(244, 63, 94, 0.35);
}

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

/* =============================================
   PAGE HEADER
   ============================================= */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.page-header h1 {
  font-size: 26px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-header h1 i {
  color: var(--tap-blue);
  font-size: 22px;
}
.page-header .breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* =============================================
   CARDS / CONTAINERS
   ============================================= */
.card,
.form-container,
.table-container,
.modal-box,
.stat-card {
  background: var(--bg-surface-strong);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: fadeIn 0.4s ease-out;
}

.card {
  padding: 24px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--border-brand);
  box-shadow: var(--shadow-brand);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.stat-card {
  padding: 22px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--brand-gradient-soft);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.stat-card:hover { border-color: var(--border-brand); transform: translateY(-3px); }
.stat-card:hover::before { opacity: 0.35; }
.stat-card > * { position: relative; z-index: 1; }

.stat-card .stat-icon {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--tap-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(124, 110, 249, 0.14);
  border: 1px solid rgba(124, 110, 249, 0.24);
}
.stat-card .stat-value {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.stat-card .stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* =============================================
   TABLES
   ============================================= */
.table-container { overflow: hidden; }
.table-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.table-header h3 {
  color: var(--text-primary);
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.table-header h3 i { color: var(--tap-cyan); }
.table-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

table { width: 100%; border-collapse: collapse; }
thead th {
  padding: 13px 16px;
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  font-weight: 700;
}
tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.15s;
}
tbody tr:hover { background: rgba(124, 110, 249, 0.05); }
tbody tr:last-child { border-bottom: none; }
tbody td {
  padding: 13px 16px;
  font-size: 13.5px;
  color: var(--text-secondary);
}
tbody td strong { color: var(--text-primary); font-weight: 600; }

/* =============================================
   BADGES / STATUS
   ============================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(124, 110, 249, 0.14);
  color: #dcd5ff;
  border: 1px solid rgba(124, 110, 249, 0.28);
}
.badge i { font-size: 10px; }
.badge-active,
.badge-success,
.badge-online {
  background: var(--success-soft);
  color: #86efac;
  border-color: var(--success-border);
}
.badge-expired,
.badge-danger,
.badge-offline {
  background: var(--error-soft);
  color: #fecdd3;
  border-color: var(--error-border);
}
.badge-trial,
.badge-warning {
  background: var(--warning-soft);
  color: #fde68a;
  border-color: var(--warning-border);
}
.badge-info {
  background: var(--info-soft);
  color: #a5f3fc;
  border-color: var(--info-border);
}

.status-badge,
.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.status-aprovado { background: var(--success-soft); color: #86efac; border: 1px solid var(--success-border); }
.status-negado,
.status-error { background: var(--error-soft); color: #fecdd3; border: 1px solid var(--error-border); }
.status-links-loss { background: rgba(166, 103, 242, 0.14); color: #d8b4fe; border: 1px solid rgba(166, 103, 242, 0.28); }
.status-completed { background: var(--success-soft); color: #86efac; border: 1px solid var(--success-border); }
.status-processing,
.status-pending { background: var(--warning-soft); color: #fde68a; border: 1px solid var(--warning-border); }

.role-master {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 4px 12px rgba(124, 110, 249, 0.35);
}
.role-admin,
.role-extranet {
  background: rgba(77, 191, 250, 0.14);
  color: #7dd3fc;
  border: 1px solid rgba(77, 191, 250, 0.28);
}
.role-user,
.role-tropa {
  background: rgba(255, 255, 255, 0.06);
  color: #d4d4dc;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.active-dot,
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.active-dot.online,
.status-dot.online { background: var(--success); box-shadow: 0 0 8px rgba(34, 197, 94, 0.6); }
.active-dot.offline,
.status-dot.offline { background: var(--error); }

/* =============================================
   TOGGLE SWITCH
   ============================================= */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
  cursor: pointer;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  transition: 0.3s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  top: 3px;
  left: 3px;
  transition: 0.3s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--brand-gradient);
}
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(22px); }

/* =============================================
   PAGINATION
   ============================================= */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.pagination a {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.pagination a:hover {
  border-color: var(--brand-primary);
  color: var(--text-primary);
  background: rgba(124, 110, 249, 0.1);
}
.pagination .active {
  background: var(--brand-gradient);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 4px 12px rgba(124, 110, 249, 0.35);
}
.pagination .disabled { opacity: 0.35; cursor: not-allowed; }
.pagination .info { color: var(--text-muted); font-size: 13px; margin: 0 8px; }

/* =============================================
   FORM CONTAINER / MODAL
   ============================================= */
.form-container {
  max-width: 720px;
  padding: 32px;
}
.form-container h2 {
  color: var(--text-primary);
  font-size: 22px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-container h2 i { color: var(--tap-blue); }
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: cardRise .4s ease-out;
}
.modal-box h3 { color: var(--text-primary); font-size: 20px; margin-bottom: 12px; }
.modal-box p { color: var(--text-secondary); margin-bottom: 24px; font-size: 14px; line-height: 1.6; }
.modal-box .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* =============================================
   ERROR PAGE
   ============================================= */
.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 20px;
}
.error-container .error-icon {
  font-size: 72px;
  margin-bottom: 20px;
  color: var(--tap-blue);
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.error-container h2 {
  color: var(--text-primary);
  font-size: 26px;
  margin-bottom: 12px;
}
.error-container p { color: var(--text-secondary); max-width: 480px; line-height: 1.6; }

/* =============================================
   TROPA EXPIRY BANNER
   ============================================= */
.tropa-expiry-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  margin: 16px 12px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.10), rgba(217, 70, 239, 0.10));
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--text-primary);
  font-size: 13px;
}
.tropa-expiry-banner.is-warning {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.14), rgba(245, 158, 11, 0.10));
  border-color: rgba(244, 63, 94, 0.35);
}
.tropa-expiry-banner.is-expired {
  background: rgba(244, 63, 94, 0.18);
  border-color: rgba(244, 63, 94, 0.45);
}
.tropa-expiry-copy { display: flex; align-items: center; gap: 10px; }
.tropa-expiry-icon { color: var(--warning); font-size: 18px; }
.tropa-expiry-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); font-weight: 700; }
.tropa-expiry-date { font-size: 12.5px; color: var(--text-secondary); }
.tropa-expiry-clock {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 14px;
  color: var(--warning);
  background: rgba(0, 0, 0, 0.35);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245, 158, 11, 0.25);
  min-width: 100px;
  text-align: center;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-30px, 20px, 0) scale(1.08); }
}

@keyframes floatDriftReverse {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(30px, -20px, 0) scale(1.1); }
}

@keyframes cardRise {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes swell {
  0% { transform: translateX(-5%) scale(1); }
  50% { transform: translateX(5%) scale(1.06); }
  100% { transform: translateX(-5%) scale(1); }
}

@keyframes brandPulse {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 12px 30px rgba(124, 110, 249, 0.35)) drop-shadow(0 0 40px rgba(217, 70, 239, 0.18)); }
  50%      { transform: translateY(-3px); filter: drop-shadow(0 16px 40px rgba(124, 110, 249, 0.5)) drop-shadow(0 0 60px rgba(217, 70, 239, 0.3)); }
}

@keyframes logoPulseLCDP {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-4px) scale(1.02); }
}
@keyframes logoPulseDBZ {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-4px) scale(1.02); }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform .3s ease;
  }
  .sidebar.open { transform: translateX(0); }
  .main { margin-left: 0; padding: 20px 16px; }
  .login-box { padding: 32px 22px; }
  .brand-mark { width: 180px; }
  .stats-grid { grid-template-columns: 1fr; }
  .table-container { overflow-x: auto; }
  .page-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .form-actions { flex-direction: column; }
  .form-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .login-box { padding: 26px 18px; }
  .brand-mark { width: 160px; }
  .logo h1 { font-size: 26px; }
  .login-container { padding: 12px; }
}


/* =============================================
   UI DENSITY V2 — compact professional panels
   ============================================= */
:root {
  --sidebar-w: 228px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 18px;
}

.main {
  padding: 18px 20px 28px !important;
}

.page-header {
  margin-bottom: 16px !important;
  align-items: center !important;
  gap: 12px !important;
}
.page-header h1 {
  font-size: 20px !important;
  gap: 10px !important;
  letter-spacing: -0.02em;
}
.page-header h1 i { font-size: 16px !important; }
.page-header .breadcrumb {
  font-size: 11px !important;
  opacity: 0.75;
}

.sidebar { width: var(--sidebar-w) !important; }
.sidebar-header {
  padding: 16px 14px 12px !important;
}
.sidebar-header h2 {
  font-size: 14px !important;
  margin-top: 8px !important;
}
.sidebar-brand-mark {
  width: 42px !important;
  height: 42px !important;
  object-fit: contain;
}
.sidebar-header .badge,
.sidebar-header .badge-master {
  margin-top: 8px !important;
  padding: 4px 8px !important;
  font-size: 10px !important;
}
.sidebar-nav { padding: 8px 10px !important; gap: 2px !important; }
.sidebar-nav a {
  padding: 9px 11px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  gap: 10px !important;
}
.sidebar-nav a .nav-icon,
.sidebar-nav a > i { width: 16px; font-size: 13px !important; }
.sidebar-footer { padding: 12px 12px 14px !important; }
.sidebar-footer .user-avatar {
  width: 34px !important;
  height: 34px !important;
  font-size: 13px !important;
}
.sidebar-footer .user-name { font-size: 13px !important; }
.sidebar-footer .user-role { font-size: 11px !important; }
.sidebar-footer .btn-logout {
  margin-top: 10px !important;
  padding: 8px 10px !important;
  font-size: 12px !important;
}
.sidebar-support-card {
  margin: 8px 10px !important;
  padding: 10px !important;
  border-radius: 12px !important;
}
.support-title { font-size: 10px !important; margin-bottom: 8px !important; }
.support-link { font-size: 12px !important; padding: 7px 8px !important; }

.card,
.form-container,
.table-container,
.panel,
.stat-card {
  border-radius: 14px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18) !important;
}

.card,
.form-container,
.table-container,
.panel {
  padding: 0 !important;
}

.form-container {
  padding: 18px 18px 16px !important;
}
.form-container h2 {
  font-size: 15px !important;
  margin-bottom: 14px !important;
}

.table-container > .table-filters,
.table-container > div[style*="padding"] {
  padding: 12px 14px !important;
}
.table-filters {
  gap: 8px !important;
  flex-wrap: wrap;
}
.table-filters input,
.table-filters select {
  min-height: 36px;
  padding: 8px 10px !important;
  font-size: 13px !important;
  border-radius: 10px !important;
}

table th,
table td {
  padding: 10px 12px !important;
  font-size: 12.5px !important;
}
table th {
  font-size: 10.5px !important;
  letter-spacing: 0.08em !important;
}

.btn {
  border-radius: 10px !important;
  padding: 9px 12px !important;
  font-size: 12.5px !important;
  gap: 7px !important;
  min-height: 36px;
}
.btn-sm,
.btn.btn-sm {
  padding: 6px 9px !important;
  font-size: 11.5px !important;
  min-height: 30px;
  border-radius: 8px !important;
}
.btn-inline {
  padding: 5px 8px !important;
  min-height: 28px;
  font-size: 11px !important;
}

/* Compact KPI system */
.stats-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-bottom: 14px !important;
}
.stats-grid.stats-grid-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}
.stats-grid.stats-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.stats-grid.stats-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.stat-card {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 14px !important;
  min-height: 72px !important;
  background: linear-gradient(180deg, rgba(24,24,42,0.95), rgba(16,16,30,0.95)) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  transform: none !important;
}
.stat-card::before {
  display: none !important;
}
.stat-card:hover {
  transform: none !important;
  border-color: rgba(124,110,249,0.35) !important;
  background: linear-gradient(180deg, rgba(30,30,52,0.98), rgba(18,18,34,0.98)) !important;
}
.stat-card .stat-icon {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  flex: 0 0 auto;
  display: grid !important;
  place-items: center !important;
  background: rgba(124,110,249,0.14) !important;
  color: #a5b4fc !important;
  box-shadow: none !important;
}
.stat-card .stat-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-card .stat-value {
  font-size: 20px !important;
  line-height: 1.1 !important;
  font-weight: 750 !important;
  letter-spacing: -0.03em;
  margin: 0 !important;
}
.stat-card .stat-label {
  font-size: 11px !important;
  letter-spacing: 0.02em;
  color: var(--text-muted) !important;
  text-transform: none !important;
  margin: 0 !important;
  font-weight: 500 !important;
}
.stat-card .stat-sub {
  font-size: 10.5px;
  color: rgba(255,255,255,0.45);
}

.kpi-section {
  margin-bottom: 14px;
}
.kpi-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 8px;
  padding: 0 2px;
}
.kpi-section-title h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.kpi-section-title span {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

.panel-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.panel-card {
  background: linear-gradient(180deg, rgba(22,22,38,0.96), rgba(14,14,26,0.96));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
}
.panel-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.panel-card-header h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.panel-card-header h3 i { color: var(--tap-blue); font-size: 12px; }
.panel-card-body { padding: 12px 14px; }
.panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.panel-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.04);
  font-size: 12.5px;
}
.panel-list a {
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 600;
}
.soft-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.18);
  color: #bae6fd;
  font-size: 12.5px;
  line-height: 1.45;
}
.soft-note strong { color: #e0f2fe; }
.soft-note i { margin-right: 6px; }

.money-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  margin: 12px 0 14px;
}
.money-chip {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(18,18,32,0.9);
}
.money-chip .label {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 4px;
}
.money-chip .value {
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.money-chip.ok { border-color: rgba(34,197,94,0.25); }
.money-chip.ok .value { color: #4ade80; }
.money-chip.warn { border-color: rgba(251,191,36,0.25); }
.money-chip.warn .value { color: #fbbf24; }
.money-chip.danger { border-color: rgba(244,63,94,0.25); }
.money-chip.danger .value { color: #fb7185; }

.section-stack { display: grid; gap: 12px; }
.section-stack .table-container { margin: 0 !important; }

.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.table-toolbar h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.table-toolbar h3 i { color: var(--tap-blue); font-size: 12px; }

.badge, .status-badge, .role-badge {
  border-radius: 999px !important;
  padding: 3px 8px !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
}

.form-group { margin-bottom: 12px !important; }
.form-group label {
  font-size: 12px !important;
  margin-bottom: 6px !important;
}
.form-group input,
.form-group select,
.form-group textarea {
  min-height: 38px;
  padding: 9px 11px !important;
  font-size: 13px !important;
  border-radius: 10px !important;
}
.form-group small { font-size: 11.5px !important; }
.form-actions {
  gap: 8px !important;
  margin-top: 14px !important;
}

.login-card,
.auth-card {
  border-radius: 18px !important;
  padding: 28px 26px !important;
}

.danger-zone {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(244,63,94,0.28);
  background: rgba(244,63,94,0.08);
}
.danger-zone h3 {
  margin: 0 0 6px;
  font-size: 13px;
  color: #fda4af;
  display: flex;
  align-items: center;
  gap: 8px;
}
.danger-zone p {
  margin: 0 0 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

@media (max-width: 1400px) {
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .stats-grid.stats-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .money-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 1100px) {
  .panel-grid { grid-template-columns: 1fr; }
  .stats-grid,
  .stats-grid.stats-grid-6,
  .stats-grid.stats-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 900px) {
  .sidebar { width: 228px !important; }
  .main { margin-left: 0 !important; }
  .money-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .stats-grid,
  .stats-grid.stats-grid-6,
  .stats-grid.stats-grid-3,
  .stats-grid.stats-grid-2 { grid-template-columns: 1fr !important; }
  .money-strip { grid-template-columns: 1fr; }
  .main { padding: 14px 12px 22px !important; }
}


/* legacy table-header used across pages */
.table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.table-header h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.table-header h3 i { color: var(--tap-blue); font-size: 12px; }
.mono { font-variant-numeric: tabular-nums; font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
