@import "tailwindcss";

:root {
  --background: #edf3fb;
  --surface: #ffffff;
  --border: #d4e0ed;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #2663ac;
  --accent-warm: #f7993a;
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

@theme inline {
  --color-background: var(--background);
  --color-surface: var(--surface);
  --color-border: var(--border);
  --color-text: var(--text);
  --color-muted: var(--muted);
  --color-accent: var(--accent);
  --color-accent-warm: var(--accent-warm);
  --font-sans: var(--font-manrope);
  --font-mono: var(--font-space-mono);
}

* {
  border-color: var(--border);
}

body {
  font-family: var(--font-manrope), sans-serif;
  background:
    radial-gradient(circle at 4% 4%, rgba(38, 99, 172, 0.15), transparent 28%),
    radial-gradient(circle at 94% 2%, rgba(247, 153, 58, 0.18), transparent 32%),
    radial-gradient(circle at 85% 92%, rgba(38, 99, 172, 0.08), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #edf3fb 100%);
  color: var(--text);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.995);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.enter-fade-up {
  animation: fade-up 520ms var(--ease-out-expo) both;
  animation-delay: var(--enter-delay, 0ms);
}

.enter-fade {
  animation: fade-in 360ms ease-out both;
  animation-delay: var(--enter-delay, 0ms);
}

th,
label,
code,
pre,
.caption {
  font-family: var(--font-space-mono), monospace;
}

::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}

::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, #89add7, #4f81bf);
  background-clip: padding-box;
}

::-webkit-scrollbar-track {
  background: transparent;
}

.recharts-surface:focus,
.recharts-wrapper:focus,
.recharts-wrapper:focus-visible,
.recharts-wrapper *:focus,
.recharts-wrapper *:focus-visible,
.recharts-layer:focus,
.recharts-layer:focus-visible,
.recharts-rectangle:focus,
.recharts-rectangle:focus-visible,
.recharts-sector:focus,
.recharts-sector:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.recharts-tooltip-wrapper {
  transition: opacity 160ms ease-out, transform 180ms var(--ease-out-expo);
}

summary::-webkit-details-marker {
  display: none;
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

[aria-busy="true"] {
  cursor: progress;
}
