.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 11, 46, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 16px;
}

.card {
  background: var(--bg-mid);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 28px;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.closeBtn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  font-family: var(--font-sans);
}

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

.token {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tokenLabel {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  font-weight: 700;
}

.tokenAmount {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.modes {
  display: flex;
  gap: 10px;
}

.mode {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: border-color 0.2s, background 0.2s;
}

.mode:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.modeActive {
  border-color: var(--interactive);
  background: rgba(74, 109, 255, 0.1);
}

.modeTitle {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.modeDesc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.3;
}

.solNote {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.confirmBtn {
  width: 100%;
  height: 56px;
  background: linear-gradient(135deg, var(--grad-edge), var(--grad-center));
  border: none;
  border-radius: 14px;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-sans);
  letter-spacing: 0.3px;
  transition: filter 0.25s, box-shadow 0.25s;
}

.confirmBtn:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 24px rgba(91, 61, 184, 0.5);
}

.confirmBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  filter: none;
  box-shadow: none;
}

@media (max-width: 480px) {
  .modes {
    flex-direction: column;
  }
}
