/* ==========================================================================
   Votion / Lunar Cloud Design System
   Pitch-black aesthetic, elegant serif headings, outline badges, crisp borders
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg-pure: #000000;
  --bg-surface: #050505;
  --bg-card: #090909;
  --bg-hover: #111111;
  --border-subtle: #191919;
  --border-strong: #262626;
  --text-main: #ededed;
  --text-muted: #888888;
  --text-dim: #555555;
  --neon-green: #22c55e;
  --neon-red: #ef4444;
  --neon-cyan: #06b6d4;
  --neon-amber: #f59e0b;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-pure);
  color: var(--text-main);
  margin: 0;
  padding: 0;
}

/* Serif Title typography matching Votion screenshot */
.font-serif-title {
  font-family: 'Instrument Serif', Georgia, serif;
}

code, pre, .font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
::-webkit-scrollbar-track {
  background: #000000;
}
::-webkit-scrollbar-thumb {
  background: #222222;
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: #333333;
}

/* Active sidebar item with clean white vertical left indicator */
.nav-item-active {
  background-color: #0d0d0d;
  color: #ffffff !important;
  border-left: 2px solid #ffffff;
  font-weight: 600;
}

.nav-item-inactive {
  border-left: 2px solid transparent;
  color: #888888;
}
.nav-item-inactive:hover {
  background-color: #0a0a0a;
  color: #cccccc;
}

/* Outline Status Badges matching Votion screenshot */
.badge-running {
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #22c55e;
  background: transparent;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 3px;
  text-transform: uppercase;
}

.badge-stopped {
  border: 1px solid rgba(136, 136, 136, 0.4);
  color: #888888;
  background: transparent;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 3px;
  text-transform: uppercase;
}

.badge-suspended {
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #ef4444;
  background: transparent;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 3px;
  text-transform: uppercase;
}

.badge-ssl {
  border: 1px solid rgba(6, 182, 212, 0.5);
  color: #06b6d4;
  background: transparent;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 3px;
  text-transform: uppercase;
}

.badge-warning {
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #f59e0b;
  background: transparent;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 3px;
  text-transform: uppercase;
}

/* White Pill Button matching Votion "Console →" */
.btn-votion-white {
  background-color: #ffffff;
  color: #000000;
  font-weight: 600;
  border-radius: 9999px;
  padding: 4px 14px;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
  border: 1px solid #ffffff;
}
.btn-votion-white:hover {
  background-color: #e5e5e5;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

/* Dark Pill Button */
.btn-votion-dark {
  background-color: #0a0a0a;
  color: #dddddd;
  font-weight: 500;
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #222222;
  transition: all 0.15s ease;
}
.btn-votion-dark:hover {
  background-color: #141414;
  border-color: #333333;
  color: #ffffff;
}

/* Filter Pills matching Votion */
.btn-filter-active {
  background-color: #ffffff !important;
  color: #000000 !important;
  font-weight: 700 !important;
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 11px;
  letter-spacing: 0.04em;
  transition: all 0.15s ease;
}

.btn-filter-inactive {
  background-color: transparent !important;
  color: #777777 !important;
  font-weight: 600 !important;
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 11px;
  letter-spacing: 0.04em;
  transition: all 0.15s ease;
}
.btn-filter-inactive:hover {
  color: #dddddd !important;
  background-color: #121212 !important;
}

/* Votion Input Style */
.votion-input {
  background-color: #080808;
  border: 1px solid #1a1a1a;
  color: #ededed;
  border-radius: 6px;
  font-size: 12px;
  transition: border-color 0.15s ease;
}
.votion-input:focus {
  outline: none;
  border-color: #383838;
}

/* Votion Surface Card */
.votion-card {
  background-color: #050505;
  border: 1px solid #181818;
  border-radius: 8px;
}

/* Modal Animations */
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.modal-animate {
  animation: fadeInModal 0.15s ease-out forwards;
}
