@import "tailwindcss";

@theme {
  --color-surface: #0a0a0f;
  --color-surface-raised: #12121a;
  --color-surface-overlay: #1a1a26;
  --color-surface-hover: #222233;
  --color-border: #2a2a3d;
  --color-border-subtle: #1e1e2e;
  --color-text-primary: #e8e8f0;
  --color-text-secondary: #9898b0;
  --color-text-muted: #6b6b82;
  --color-accent: #6366f1;
  --color-accent-hover: #818cf8;
  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  --color-info: #3b82f6;
}

html {
  color-scheme: dark;
}

body {
  background: var(--color-surface);
  color: var(--color-text-primary);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-muted);
}

.log-viewer {
  font-family: "JetBrains Mono", "Fira Code", "SF Mono", monospace;
  font-size: 12px;
  line-height: 1.5;
}

.log-viewer .log-timestamp {
  color: var(--color-text-muted);
}

.log-viewer .log-error {
  color: var(--color-error);
}

.log-viewer .log-warning {
  color: var(--color-warning);
}

.log-viewer .log-success {
  color: var(--color-success);
}

.log-viewer .log-info {
  color: var(--color-info);
}

.log-viewer .log-header {
  color: var(--color-accent);
  font-weight: 600;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.animate-pulse-dot {
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-slide-up {
  animation: slide-up 0.3s ease-out;
}
