@theme {
  --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --color-primary-50: #eff6ff;
  --color-primary-100: #dbeafe;
  --color-primary-200: #bfdbfe;
  --color-primary-300: #93c5fd;
  --color-primary-400: #60a5fa;
  --color-primary-500: #3b82f6;
  --color-primary-600: #2563eb;
  --color-primary-700: #1d4ed8;
  --color-primary-800: #1e40af;
  --color-primary-900: #1e3a8a;
}

body {
  font-family: var(--font-sans);
  background-color: #f8fafc;
  min-height: 100vh;
  margin: 0;
}

#root {
  min-height: 100vh;
}

.app-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 42% 16%, rgba(74, 92, 255, 0.14), transparent 32%),
    radial-gradient(circle at 80% 8%, rgba(126, 67, 255, 0.10), transparent 28%),
    linear-gradient(180deg, #07101f 0%, #050914 100%);
  color: #f8fafc;
}

.testimonial-card {
  position: absolute;
  z-index: 1;
  width: 300px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(15, 23, 42, 0.44);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  opacity: 0.72;
  pointer-events: none;
}

.testimonial-card > * {
  filter: blur(4px);
  opacity: 0.65;
}

.sidebar {
  background:
    linear-gradient(180deg, rgba(10, 28, 64, 0.96), rgba(7, 16, 31, 0.98));
  border-right: 1px solid rgba(148, 163, 184, 0.14);
}

.nav-item.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.75), rgba(124, 58, 237, 0.65));
  border: 1px solid rgba(147, 197, 253, 0.28);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.22);
}

.card {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  border-radius: 24px;
}

.auth-page {
  color: #f8fafc;
}

.auth-page header {
  background: rgba(5, 9, 20, 0.78) !important;
  border-color: rgba(148, 163, 184, 0.14) !important;
  backdrop-filter: blur(18px);
}

.auth-page .bg-white,
.auth-page [class*="bg-slate-50"],
.auth-page [class*="bg-slate-100"] {
  background: rgba(15, 23, 42, 0.72) !important;
}

.auth-page .border-slate-100,
.auth-page .border-slate-200,
.auth-page .border-slate-300 {
  border-color: rgba(148, 163, 184, 0.14) !important;
}

.auth-page .text-slate-900,
.auth-page .text-slate-950,
.auth-page .text-slate-800,
.auth-page .text-slate-700,
.auth-page .text-slate-600 {
  color: #f8fafc !important;
}

.auth-page .text-slate-500,
.auth-page .text-slate-400,
.auth-page .text-slate-300 {
  color: #cbd5e1 !important;
}

.auth-page input,
.auth-page select,
.auth-page textarea {
  background: rgba(2, 8, 23, 0.5) !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
  color: #f8fafc !important;
}

.auth-page input::placeholder,
.auth-page textarea::placeholder {
  color: #94a3b8 !important;
}

.auth-page table thead,
.auth-page [role="listbox"] {
  background: rgba(2, 8, 23, 0.62) !important;
  border-color: rgba(148, 163, 184, 0.14) !important;
}

.auth-page tbody tr:hover,
.auth-page button.hover\:bg-slate-50:hover,
.auth-page .hover\:bg-slate-50:hover,
.auth-page .hover\:bg-slate-50\/50:hover {
  background: rgba(255, 255, 255, 0.06) !important;
}

.auth-page .shadow-sm,
.auth-page .shadow-md,
.auth-page .shadow-lg,
.auth-page .shadow-xl {
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.record-hero-panel {
  background:
    radial-gradient(circle at 50% 20%, rgba(124, 58, 237, 0.26), transparent 42%),
    radial-gradient(circle at 36% 92%, rgba(37, 99, 235, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(2, 8, 23, 0.74));
  border-color: rgba(147, 197, 253, 0.24) !important;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
