/* InfoCat design system — shared across redesigned pages.
   Category-standard dark dashboard convention (MEE6/Statbot craft bar),
   executed with real tonal elevation instead of glassmorphism blur, and a
   single committed accent instead of the old purple/pink/red mix. */

:root {
  --shadow-panel: 0 1px 2px rgba(0,0,0,.35), 0 8px 24px rgba(0,0,0,.28);
  --shadow-panel-hover: 0 1px 2px rgba(0,0,0,.4), 0 16px 40px rgba(0,0,0,.36);
}

/* Self-hosted variable font -- avoids the Google Fonts network round-trip and
   the flash of the platform default. Weights 400-800 all live in this file. */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-variable.woff2') format('woff2-variations'), url('/fonts/hanken-grotesk-variable.woff2') format('woff2');
}

body {
  background: #0a0a0d;
  font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-feature-settings: 'tnum' 1, 'cv11' 1;
}

/* Restrained ambient ground: one soft brand-tinted glow from the top, nothing
   saturated or blurred into "blobs" and no decorative grid overlay. */
.bg-app {
  position: fixed;
  inset: 0;
  z-index: -10;
  background:
    radial-gradient(1100px 520px at 50% -12%, rgba(138,126,240,.14), transparent 60%),
    #0a0a0d;
}

/* Panels: solid tonal elevation, hairline border, real offset+blur shadow.
   Replaces .glass everywhere. */
.panel {
  background: #131318;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-panel);
}
.panel-2 { background: #1b1b22; border: 1px solid rgba(255,255,255,.08); }

.panel-hover { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.panel-hover:hover {
  transform: translateY(-2px);
  border-color: rgba(138,126,240,.35);
  box-shadow: var(--shadow-panel-hover);
}

.ring-soft { box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset; }

.input {
  width: 100%;
  background: #131318;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: .75rem;
  padding: .75rem 1rem;
  color: #fff;
}
.input:focus { outline: 0; box-shadow: 0 0 0 2px #8a7ef0; border-color: transparent; }

.btn-primary {
  background-color: #8a7ef0;
  color: #0a0a0d;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 1px 2px rgba(0,0,0,.45), 0 8px 20px rgba(0,0,0,.4);
  transition: filter .15s ease, transform .15s ease;
}
.btn-primary:hover { filter: brightness(1.06); }

.btn-secondary {
  background-color: rgba(138,126,240,.14);
  color: #b3aaf5;
  border: 1px solid rgba(138,126,240,.3);
  transition: background-color .15s ease, transform .15s ease;
}
.btn-secondary:hover { background-color: rgba(138,126,240,.22); }

.icon { width: 1.25rem; height: 1.25rem; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; display: block; }
.icon-lg { width: 1.75rem; height: 1.75rem; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #131318; }
::-webkit-scrollbar-thumb { background: #33334a; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #4a4a6b; }

::selection { background: rgba(138,126,240,.35); color: #fff; }

:focus-visible {
  outline: 2px solid #8a7ef0;
  outline-offset: 2px;
  border-radius: 2px;
}

.avatar-glow {
  /* Calm ring, no pulsing halo animation -- static brand-tinted outline instead. */
  box-shadow: 0 0 0 2px rgba(138,126,240,.5);
}

@media (prefers-reduced-motion: reduce) {
  .panel-hover { transition: none; }
}
