body {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  padding-top: 96px;
  padding-bottom: 24px;
}

.balance {
  cursor: pointer;
  transition: color 0.2s;
}

.balance:hover {
  color: var(--primary);
}

.input-wrapper {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: border-color 0.2s;
}

.input-wrapper:focus-within {
  border-color: var(--primary);
}

input {
  background: transparent;
  border: none;
  color: var(--text);
  padding: 12px 16px;
  font-size: 20px;
  font-weight: 600;
  width: 100%;
  outline: none;
}

.token-tag {
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  margin-right: 8px;
  color: var(--text);
}

.btn {
  width: 100%;
  padding: 16px;
  border-radius: 16px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(1);
}

.steps {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  position: relative;
  padding: 0 10px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--glass);
  border: 2px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  transition: all 0.3s;
}

.step.active .circle {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
}

.step.completed .circle {
  background: var(--success);
  border-color: var(--success);
  color: white;
}

.step-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
}

.step.active .step-label {
  color: var(--text);
}

.connector {
  position: absolute;
  top: 16px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.connector-progress {
  height: 100%;
  background: var(--success);
  width: 0%;
  transition: width 0.3s;
}

.loader {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

@media (max-width: 480px) {
  .card {
    padding: 24px;
  }
}
