.swap-card {
  margin-bottom: 28px;
}

.swap-card h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

.swap-card > p {
  color: #9ca3af;
  line-height: 1.5;
  margin-bottom: 20px;
}

.swap-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.swap-tab {
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: #9ca3af;
  font-weight: 700;
  cursor: pointer;
}

.swap-tab.active {
  border-color: rgba(96,165,250,0.50);
  background: rgba(37,99,235,0.18);
  color: #fff;
}

.swap-input-wrap {
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 14px;
}

.swap-input-label {
  color: #9ca3af;
  font-size: 12px;
  margin-bottom: 8px;
}

.swap-input-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.swap-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}

.swap-token-symbol {
  font-weight: 800;
  color: #93c5fd;
  white-space: nowrap;
}

.swap-settings {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  color: #9ca3af;
  font-size: 13px;
}

.swap-slippage {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #fff;
  padding: 6px 9px;
}

.swap-quote {
  margin-top: 16px;
  background: rgba(255,255,255,0.035);
  border-radius: 12px;
  padding: 14px;
}

.swap-quote-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 5px 0;
  color: #9ca3af;
  font-size: 13px;
}

.swap-quote-row strong {
  color: #fff;
  text-align: right;
}

.swap-impact-warning {
  color: #fbbf24 !important;
}

.swap-impact-danger {
  color: #f87171 !important;
}

.swap-message {
  margin-top: 14px;
  color: #9ca3af;
  line-height: 1.5;
  word-break: break-word;
  white-space: pre-line;
}

.swap-message.success {
  color: #4ade80;
}

.swap-message.error {
  color: #f87171;
}

@media(max-width:800px) {
  .swap-settings {
    align-items: flex-start;
    flex-direction: column;
  }
}
