@import "tailwindcss";

@theme {
  --color-ap-red: #D72638;
  --color-ap-red-dim: #D7263844;
  --color-ap-black: #1B1B1E;
  --color-ap-dark: #121214;
  --color-ap-panel: #222226;
  --color-ap-silver: #E0E0E2;
  --color-ap-silver-dim: #E0E0E266;
  --color-ap-blue: #0056B3;
  --color-ap-blue-dim: #0056B344;
  --color-ap-green: #00C853;
  --color-ap-yellow: #FFD600;
  --color-ap-orange: #FF6D00;
  --font-mono: 'JetBrains Mono', monospace;
  --font-sans: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-ap-dark);
  color: var(--color-ap-silver);
  overflow-x: hidden;
}

#root {
  min-height: 100vh;
}

::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
::-webkit-scrollbar-track {
  background: var(--color-ap-black);
}
::-webkit-scrollbar-thumb {
  background: var(--color-ap-red);
}

@keyframes pulse-red {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

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

.panel {
  background-color: var(--color-ap-panel);
  border: 1px solid #E0E0E215;
  position: relative;
  overflow: hidden;
}

.panel-header {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #E0E0E288;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid #E0E0E210;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.panel-header .dot {
  width: 5px;
  height: 5px;
  background: var(--color-ap-red);
  display: inline-block;
}

.severity-critical { color: #D72638; }
.severity-high { color: #FF6D00; }
.severity-medium { color: #FFD600; }
.severity-low { color: #0056B3; }
.severity-info { color: #E0E0E266; }
