/* ═══════════════════════════════════════════════════════════════════════════
   Zabbix Dashboard — Premium Dark Theme
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Colors */
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-panel: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.15);
  --bg-hover: #f1f5f9;

  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;

  /* Accent */
  --accent: #4f46e5;
  --accent-glow: rgba(79, 70, 229, 0.2);

  /* Severity colors */
  --sev-0: #64748b;
  --sev-1: #38bdf8;
  --sev-2: #fbbf24;
  --sev-3: #fb923c;
  --sev-4: #f87171;
  --sev-5: #ef4444;

  /* Status */
  --status-ok: #34d399;
  --status-problem: #f87171;
  --status-disabled: #64748b;

  /* Spacing */
  --header-h: 64px;
  --radius: 12px;
  --radius-sm: 8px;
}

/* ─── Reset ────────────────────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(99, 102, 241, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(139, 92, 246, 0.05), transparent);
}

/* ─── Header ───────────────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  gap: 16px;
  flex-wrap: wrap;
}

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

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

.logo h1 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.logo .subtitle {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.header-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-shrink: 1;
}

.header-title h1 {
  font-size: 1.1rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-primary);
}

.host-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ─── Refresh Indicator ─────────────────────────────────────────────── */
.refresh-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.refresh-ring {
  position: relative;
  width: 36px;
  height: 36px;
}

.refresh-ring svg {
  width: 36px;
  height: 36px;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 3;
}

.ring-progress {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 100.53;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear;
  filter: drop-shadow(0 0 4px var(--accent-glow));
}

.countdown {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
}

.interval-select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 8px;
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 24px 5px 10px;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236366f1' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}

.interval-select:hover {
  background-color: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
}

.interval-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-glow);
}

.interval-select option {
  background: #ffffff;
  color: var(--text-primary);
}

/* ─── Status Badge ──────────────────────────────────────────────────── */
.status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--status-ok);
  transition: all 0.3s ease;
}

.status-badge.error {
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.2);
  color: var(--status-problem);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.last-update {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* ─── Main ─────────────────────────────────────────────────────────────── */
.main {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
}

/* ─── Loading ──────────────────────────────────────────────────────────── */
.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ─── Host Header Layout Fix (host.html) ────────────────────────────── */
.header-title {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-title h1 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--text-primary);
}
.header-title .host-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.back-btn {
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.back-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}


.loader {
  text-align: center;
}

.loader-spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader p {
  color: var(--text-secondary);
  font-weight: 500;
}

/* ─── Error Banner ─────────────────────────────────────────────────────── */
.error-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  font-size: 0.85rem;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.error-dismiss {
  margin-left: auto;
  background: none;
  border: none;
  color: #fca5a5;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.error-dismiss:hover {
  opacity: 1;
}

/* ─── Summary Cards ────────────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.card-hosts::before { background: linear-gradient(90deg, #6366f1, #8b5cf6); }
.card-enabled::before { background: linear-gradient(90deg, #34d399, #2dd4bf); }
.card-problems::before { background: linear-gradient(90deg, #fbbf24, #fb923c); }
.card-triggers::before { background: linear-gradient(90deg, #f87171, #ef4444); }
.card-cpu::before { background: linear-gradient(90deg, #f472b6, #ec4899); }
.card-memory::before { background: linear-gradient(90deg, #a78bfa, #7c3aed); }
.card-ping::before { background: linear-gradient(90deg, #2dd4bf, #06b6d4); }
.card-network::before { background: linear-gradient(90deg, #38bdf8, #3b82f6); }

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
}

.card-hosts .card-icon { background: rgba(99, 102, 241, 0.15); color: #818cf8; }
.card-enabled .card-icon { background: rgba(52, 211, 153, 0.15); color: #34d399; }
.card-problems .card-icon { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
.card-triggers .card-icon { background: rgba(248, 113, 113, 0.15); color: #f87171; }
.card-cpu .card-icon { background: rgba(244, 114, 182, 0.15); color: #f472b6; }
.card-memory .card-icon { background: rgba(167, 139, 250, 0.15); color: #a78bfa; }
.card-ping .card-icon { background: rgba(45, 212, 191, 0.15); color: #2dd4bf; }
.card-network .card-icon { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }

.chart-wrapper-tall {
  height: 320px;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-value {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.card-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ─── Severity Section ─────────────────────────────────────────────────── */
.severity-section {
  margin-bottom: 24px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.severity-bar {
  display: flex;
  height: 28px;
  border-radius: 100px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.severity-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  transition: flex 0.6s ease;
  min-width: 0;
  overflow: hidden;
}

.severity-segment.sev-0 { background: var(--sev-0); }
.severity-segment.sev-1 { background: var(--sev-1); }
.severity-segment.sev-2 { background: var(--sev-2); color: #1e293b; }
.severity-segment.sev-3 { background: var(--sev-3); color: #1e293b; }
.severity-segment.sev-4 { background: var(--sev-4); }
.severity-segment.sev-5 { background: var(--sev-5); }

.severity-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.legend-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.sev-0 .dot { background: var(--sev-0); }
.sev-1 .dot { background: var(--sev-1); }
.sev-2 .dot { background: var(--sev-2); }
.sev-3 .dot { background: var(--sev-3); }
.sev-4 .dot { background: var(--sev-4); }
.sev-5 .dot { background: var(--sev-5); }

/* ─── Charts Section ──────────────────────────────────────────────────── */
.charts-section {
  margin-bottom: 24px;
}

.charts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .charts-grid {
    grid-template-columns: 1fr;
  }
}

.chart-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: border-color 0.3s ease;
}

.chart-card:hover {
  border-color: var(--border-hover);
}

.chart-card-full {
  grid-column: 1 / -1;
}

.chart-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.chart-wrapper {
  position: relative;
  height: 220px;
}

/* ─── Content Grid ─────────────────────────────────────────────────────── */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Panel ────────────────────────────────────────────────────────────── */
.panel {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.panel:hover {
  border-color: var(--border-hover);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.panel-header .section-title {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 24px;
  padding: 0 8px;
  border-radius: 100px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
}

.panel-body {
  max-height: 500px;
  overflow-y: auto;
}

.panel-body::-webkit-scrollbar {
  width: 4px;
}

.panel-body::-webkit-scrollbar-track {
  background: transparent;
}

.panel-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

/* ─── Problem Item ─────────────────────────────────────────────────────── */
.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}

.problem-item:last-child {
  border-bottom: none;
}

.problem-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.sev-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.sev-badge.sev-0 { background: rgba(100, 116, 139, 0.2); color: var(--sev-0); }
.sev-badge.sev-1 { background: rgba(56, 189, 248, 0.15); color: var(--sev-1); }
.sev-badge.sev-2 { background: rgba(251, 191, 36, 0.15); color: var(--sev-2); }
.sev-badge.sev-3 { background: rgba(251, 146, 60, 0.15); color: var(--sev-3); }
.sev-badge.sev-4 { background: rgba(248, 113, 113, 0.15); color: var(--sev-4); }
.sev-badge.sev-5 { background: rgba(239, 68, 68, 0.2); color: var(--sev-5); animation: pulseBg 2s ease-in-out infinite; }

@keyframes pulseBg {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.3); }
  50% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}

.problem-info {
  flex: 1;
  min-width: 0;
}

.problem-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
  word-break: break-word;
}

.problem-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* ─── Host Item ────────────────────────────────────────────────────────── */
.host-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}

.host-item:last-child {
  border-bottom: none;
}

.host-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.host-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.host-dot.available { background: var(--status-ok); box-shadow: 0 0 8px rgba(52, 211, 153, 0.4); }
.host-dot.unavailable { background: var(--status-problem); box-shadow: 0 0 8px rgba(248, 113, 113, 0.4); }
.host-dot.unknown { background: var(--status-disabled); }

.host-info {
  flex: 1;
  min-width: 0;
}

.host-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.host-ip {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.host-status-label {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.host-status-label.enabled {
  background: rgba(52, 211, 153, 0.1);
  color: var(--status-ok);
}

.host-status-label.disabled {
  background: rgba(100, 116, 139, 0.1);
  color: var(--status-disabled);
}

/* ─── Empty State ──────────────────────────────────────────────────────── */
.empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-style: italic;
}

/* ─── Card value transition ────────────────────────────────────────────── */
.card-value.updated {
  animation: valueFlash 0.6s ease;
}

@keyframes valueFlash {
  0% { color: var(--accent); transform: scale(1.1); }
  100% { color: var(--text-primary); transform: scale(1); }
}

/* ─── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .header {
    padding: 0 16px;
  }

  .main {
    padding: 16px;
  }

  .refresh-label {
    display: none;
  }

  .last-update {
    display: none;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .card {
    padding: 14px;
    gap: 10px;
  }

  .card-icon {
    width: 40px;
    height: 40px;
  }

  .card-value {
    font-size: 1.4rem;
  }

  .severity-legend {
    gap: 8px;
  }
}

/* ─── JSON Log Panel ──────────────────────────────────────────────────── */
.log-panel {
  margin-top: 24px;
}

.log-header {
  cursor: pointer;
  user-select: none;
}

.log-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.log-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.log-clear-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(248, 113, 113, 0.1);
  color: var(--sev-4);
  cursor: pointer;
  transition: all 0.2s ease;
}

.log-clear-btn:hover {
  background: rgba(248, 113, 113, 0.2);
  transform: scale(1.05);
}

.log-toggle-icon {
  font-size: 0.7rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.log-toggle-icon.collapsed {
  transform: rotate(-90deg);
}

.log-body {
  max-height: 400px;
  overflow-y: auto;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.log-body.collapsed {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

.log-entries {
  display: flex;
  flex-direction: column;
}

.log-entry {
  border-bottom: 1px solid var(--border);
  animation: logSlideIn 0.3s ease;
}

.log-entry:last-child {
  border-bottom: none;
}

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

.log-entry-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.2s;
}

.log-entry-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.log-timestamp {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.log-method {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(52, 211, 153, 0.1);
  color: var(--status-ok);
  text-transform: uppercase;
}

.log-method.error {
  background: rgba(248, 113, 113, 0.1);
  color: var(--status-problem);
}

.log-summary {
  font-size: 0.75rem;
  color: var(--text-secondary);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.log-expand-icon {
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.log-expand-icon.expanded {
  transform: rotate(90deg);
}

.log-json-wrapper {
  display: none;
  padding: 0 20px 12px 20px;
}

.log-json-wrapper.expanded {
  display: block;
}

.log-json {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.7rem;
  line-height: 1.6;
  color: var(--text-secondary);
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 300px;
  overflow-y: auto;
}

.log-json::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

.log-json::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

/* JSON syntax colors */
.json-key { color: #c4b5fd; }
.json-string { color: #34d399; }
.json-number { color: #fbbf24; }
.json-bool { color: #38bdf8; }
.json-null { color: #64748b; }
