body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bg-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    radial-gradient(circle at top, rgba(34,211,238,0.16), transparent 35%),
    radial-gradient(circle at bottom right, rgba(167,139,250,0.14), transparent 30%);
  background-size: 28px 28px, 28px 28px, auto, auto;
}

.glass {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(2, 6, 23, 0.76));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 80px rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(18px);
}

.input-shell {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(15, 23, 42, 0.82);
  padding: 0.9rem 1rem;
  color: white;
  outline: none;
}

.input-shell:focus {
  border-color: rgba(34, 211, 238, 0.8);
}

.amount-shell {
  display: flex;
  align-items: stretch;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(15, 23, 42, 0.82);
  overflow: hidden;
}

.amount-shell:focus-within {
  border-color: rgba(34, 211, 238, 0.8);
}

.amount-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  color: white;
  outline: none;
  padding: 0.9rem 1rem;
}

.amount-toggle {
  min-width: 88px;
  padding: 0 1rem;
  border: 0;
  border-left: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.06);
  color: #e2e8f0;
  font-weight: 600;
}

.amount-toggle:hover {
  background: rgba(255,255,255,0.12);
}

.wallet-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(2, 6, 23, 0.65);
  padding: 1rem;
}

.balance-row + .balance-row {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
}

.icon-btn:hover {
  background: rgba(255,255,255,0.1);
}

.chevron {
  transition: transform 0.15s ease;
}

.chevron.rotated {
  transform: rotate(90deg);
}

.wallet-toggle {
  background: transparent;
  border: 0;
  color: inherit;
  padding: 0;
}
