.input {
  width: 100%;
  border-radius: 0.75rem;
  background-color: #0f172a;
  border: 1px solid #1f2937;
  padding: 0.55rem 0.85rem;
  color: #f8fafc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.3);
}

.input::placeholder {
  color: #94a3b8;
}

.pill-button {
  border-radius: 999px;
  border: 1px solid #1f2937;
  padding: 0.45rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: #0f172a;
  color: #f8fafc;
  transition: all 0.2s ease;
}

.pill-button:hover {
  background: #111827;
}

.pill-button.danger {
  border-color: rgba(248, 113, 113, 0.4);
  color: #fecaca;
  background: rgba(248, 113, 113, 0.12);
}

.pill-button.danger:hover {
  background: rgba(248, 113, 113, 0.2);
}

.nav-button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.6rem 1rem;
  border-radius: 1rem;
  text-align: left;
  font-size: 0.9rem;
  color: #94a3b8;
  border: 1px solid transparent;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-button .nav-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 1.1rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(71, 85, 105, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: inherit;
}

.nav-button .nav-label {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav-button:hover:not(.active) {
  color: #fff;
  border-color: rgba(71, 85, 105, 0.6);
  background: rgba(15, 23, 42, 0.7);
}

.nav-button:hover:not(.active) .nav-icon {
  border-color: rgba(99, 102, 241, 0.5);
}

.nav-button.active {
  color: #fff;
  border-color: rgba(99, 102, 241, 0.5);
  background: linear-gradient(120deg, rgba(99, 102, 241, 0.9), rgba(129, 140, 248, 0.5));
  box-shadow: 0 15px 35px rgba(79, 70, 229, 0.35);
}

.nav-button.active .nav-icon {
  background: rgba(255, 255, 255, 0.15);
  border-color: transparent;
  color: #fff;
}

@keyframes navAlertPulse {
  0% {
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    transform: translateZ(0);
  }
  50% {
    box-shadow: 0 0 18px currentColor;
  }
  100% {
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
}

.nav-alert-claim {
  color: #f87171;
  animation: navAlertPulse 1.6s infinite;
  border-color: rgba(248, 113, 113, 0.8) !important;
}

.nav-alert-withdraw {
  color: #60a5fa;
  animation: navAlertPulse 1.6s infinite;
  border-color: rgba(96, 165, 250, 0.8) !important;
}

.sidebar-collapsed #sidebar {
  width: 4.5rem;
}

.sidebar-collapsed #sidebar .nav-label,
.sidebar-collapsed #sidebar .nav-section-label,
.sidebar-collapsed #sidebar .sidebar-title,
.sidebar-collapsed #sidebar .sidebar-subtitle,
.sidebar-collapsed #sidebar .sidebar-footer {
  display: none;
}

.sidebar-collapsed #sidebar .nav-button {
  justify-content: center;
  padding: 0.6rem 0;
}

.pattern-test-cell {
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border: 1px solid #1f2937;
  background: #0f172a;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pattern-test-cell.active {
  background: #6366f1;
  border-color: #818cf8;
  color: #fff;
}
