/* ==========================================================================
   KUBE-Sentinel — Vercel / Stripe Modern Light Enterprise Theme (Crisp White)
   ========================================================================== */

:root {
  --bg-dark: #f8fafc;
  --bg-panel: #ffffff;
  --bg-panel-hover: #f1f5f9;
  --border-slate: #e2e8f0;
  --border-k8s: #0284c7;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  
  --k8s-blue: #0284c7;
  --healthy-green: #059669;
  --warning-amber: #d97706;
  --crash-red: #dc2626;
  --purple-ebpf: #7c3aed;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  background-color: #f8fafc;
  background-image: 
    radial-gradient(at 0% 0%, rgba(2, 132, 199, 0.05) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(124, 58, 237, 0.05) 0px, transparent 50%);
  color: var(--text-main);
  font-family: var(--font-sans);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f8fafc;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

/* Header Navbar */
.k8s-header {
  height: 68px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-slate);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--k8s-blue);
  font-size: 1.35rem;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.1);
}

.brand-text .title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.brand-text .sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-weight: 600;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 20px;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 20px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--healthy-green);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--healthy-green);
  box-shadow: 0 0 10px var(--healthy-green);
  animation: pulse-glow 1.5s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-k8s {
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  border: 1px solid var(--border-slate);
  background: #ffffff;
  color: var(--text-main);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.btn-k8s:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}
.btn-k8s.btn-primary {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}
.btn-k8s.btn-primary:hover {
  background: #0369a1;
}
.btn-k8s.btn-chaos {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}
.btn-k8s.btn-chaos:hover {
  background: #b91c1c;
}

/* App Layout Grid */
.app-container {
  padding: 28px;
  max-width: 1700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 28px;
}

@media (max-width: 1200px) {
  .app-container {
    grid-template-columns: 1fr;
  }
}
