/* ════════════════════════════════════════════════════════════
   GlobalInc Admin — Theme (dark + roxo)
   ════════════════════════════════════════════════════════════ */

:root {
  /* Brand */
  --brand-primary: #7c3aed;
  --brand-secondary: #a78bfa;
  --brand-tertiary: #c4b5fd;
  --brand-dark: #5b21b6;
  --brand-darker: #4c1d95;
  --brand-glow: #8b5cf6;

  /* Backgrounds */
  --bg-base: #0a0517;
  --bg-elevated: #110a25;
  --bg-card: #1a0f30;
  --bg-hover: #241846;
  --bg-active: #2d1f56;
  --bg-input: #0f0820;

  /* Text */
  --text-primary: #ede9fe;
  --text-secondary: #a78bfa;
  --text-muted: #8b7cb8;
  --text-disabled: #5a4a82;

  /* Borders */
  --border-subtle: rgba(139, 92, 246, 0.12);
  --border-default: rgba(139, 92, 246, 0.25);
  --border-strong: rgba(139, 92, 246, 0.45);
  --border-focus: #8b5cf6;

  /* Semantic */
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.15);
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.15);
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.15);
  --info: #3b82f6;
  --info-bg: rgba(59, 130, 246, 0.15);

  /* Sizing */
  --sidebar-width: 260px;
  --topbar-height: 60px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 20px rgba(124, 58, 237, 0.25);

  /* Type */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
}

/* Reset minimalista */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
h1, h2, h3, h4, h5 { margin: 0; font-weight: 500; }
h1 { font-size: 22px; }
h2 { font-size: 18px; }
h3 { font-size: 16px; }
h4 { font-size: 14px; }
p { margin: 0; }
a { color: var(--brand-secondary); text-decoration: none; }
a:hover { color: var(--brand-tertiary); }
button, input, select, textarea { font: inherit; color: inherit; }

/* Utilitários */
.u-flex { display: flex; }
.u-flex-col { flex-direction: column; }
.u-items-center { align-items: center; }
.u-justify-between { justify-content: space-between; }
.u-gap-1 { gap: 4px; }
.u-gap-2 { gap: 8px; }
.u-gap-3 { gap: 12px; }
.u-gap-4 { gap: 16px; }
.u-gap-6 { gap: 24px; }
.u-mt-1 { margin-top: 4px; }
.u-mt-2 { margin-top: 8px; }
.u-mt-3 { margin-top: 12px; }
.u-mt-4 { margin-top: 16px; }
.u-mt-6 { margin-top: 24px; }
.u-mb-2 { margin-bottom: 8px; }
.u-mb-4 { margin-bottom: 16px; }
.u-mb-6 { margin-bottom: 24px; }
.u-text-muted { color: var(--text-muted); }
.u-text-secondary { color: var(--text-secondary); }
.u-text-success { color: var(--success); }
.u-text-warning { color: var(--warning); }
.u-text-danger { color: var(--danger); }
.u-text-sm { font-size: 12px; }
.u-text-xs { font-size: 11px; }
.u-text-lg { font-size: 16px; }
.u-text-xl { font-size: 20px; }
.u-text-2xl { font-size: 28px; }
.u-font-medium { font-weight: 500; }
.u-w-full { width: 100%; }
.u-flex-1 { flex: 1; }
.u-rounded { border-radius: var(--radius-md); }
.u-rounded-lg { border-radius: var(--radius-lg); }
.u-hidden { display: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-default); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-strong); }
