@import url("creditos-ui.css");

:root {
  /* Core brand */
  --th-bg-0: #030812;
  --th-bg-1: #071224;
  --th-bg-2: #0b1931;
  --th-surface-1: #101d35;
  --th-surface-2: #152846;
  --th-surface-3: #1b3156;

  /* Borders and effects */
  --th-border-strong: rgba(56, 189, 248, 0.24);
  --th-border-soft: rgba(148, 163, 184, 0.18);
  --th-glow-cyan: rgba(56, 189, 248, 0.2);
  --th-glow-blue: rgba(37, 99, 235, 0.24);

  /* Typography */
  --th-text-strong: #eef5ff;
  --th-text: #e2ecfb;
  --th-text-muted: #8fa4c2;
  --th-text-dim: #6f85a5;

  /* Semantic */
  --th-accent: #2563eb;
  --th-accent-2: #38bdf8;
  --th-warning: #f59e0b;
  --th-danger: #ef4444;
  --th-success: #22c55e;

  /* Typography families */
  --th-font-head: "Space Grotesk", sans-serif;
  --th-font-body: "Inter", "Segoe UI", sans-serif;

  /* Radii */
  --th-radius-sm: 8px;
  --th-radius-md: 12px;
  --th-radius-lg: 16px;

  /* Shadows */
  --th-shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.28);
  --th-shadow-md: 0 16px 34px rgba(4, 14, 31, 0.42);
  --th-shadow-lg: 0 24px 52px rgba(0, 0, 0, 0.42);
}

html, body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--th-font-body);
}

/* Common visuals */
.th-glass {
  background: linear-gradient(165deg, rgba(24, 43, 72, 0.78), rgba(13, 24, 42, 0.9));
  border: 1px solid var(--th-border-soft);
  backdrop-filter: blur(10px);
}

.th-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid var(--th-border-strong);
  background: rgba(56, 189, 248, 0.1);
  color: #c8e8ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.th-empty {
  border: 1px dashed rgba(148, 163, 184, 0.28);
  border-radius: var(--th-radius-md);
  background: rgba(12, 23, 42, 0.5);
  color: var(--th-text-muted);
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(16, 29, 53, 0.9);
}

::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 189, 248, 0.5);
}
