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

body {
  background-color: #0a0e17;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0, 212, 170, 0.04) 1px, transparent 0);
  background-size: 32px 32px;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0a0e17;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

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

@keyframes slideDown {
  from { opacity: 0; max-height: 0; }
  to { opacity: 1; max-height: 2000px; }
}

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

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(16px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-8px) scale(0.95); }
}

.animate-fade-in {
  animation: fadeIn 0.35s ease-out forwards;
}

.animate-slide-down {
  animation: slideDown 0.3s ease-out forwards;
}

.skeleton {
  background: linear-gradient(90deg, #151d2e 25%, #1a2540 50%, #151d2e 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

.toast-enter {
  animation: toast-in 0.3s ease-out forwards;
}

.toast-exit {
  animation: toast-out 0.2s ease-in forwards;
}

.glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, #00d4aa33, transparent);
}

input::placeholder, textarea::placeholder {
  color: #4b5563;
}

textarea {
  resize: vertical;
}

.json-key { color: #00d4aa; }
.json-string { color: #fbbf24; }
.json-number { color: #818cf8; }
.json-boolean { color: #f472b6; }
.json-null { color: #6b7280; }
.json-bracket { color: #9ca3af; }

.nav-pill {
  transition: all 0.2s ease;
}
.nav-pill:hover {
  background: rgba(0, 212, 170, 0.08);
}
.nav-pill.active {
  background: rgba(0, 212, 170, 0.15);
  color: #00d4aa;
  box-shadow: inset 0 -2px 0 #00d4aa;
}

.card-hover {
  transition: all 0.2s ease;
}
.card-hover:hover {
  border-color: #00d4aa33;
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.05);
}

.btn-primary {
  background: linear-gradient(135deg, #00d4aa, #00b894);
  color: #0a0e17;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-primary:hover {
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.3);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}