.backButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--color-auth-text-primary);
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  transition:
    background 0.15s ease,
    box-shadow 0.18s ease,
    transform 0.05s ease;
}

.floating {
  position: absolute;
  top: var(--spacing-xl);
  left: var(--spacing-xl);
  z-index: 2;
  width: var(--back-button-size);
  height: var(--back-button-size);
  padding: 0 2px 0 0;
  background: var(--color-auth-surface);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.soft {
  width: 42px;
  height: 42px;
  color: #21191d;
  border: 1px solid rgba(25, 19, 22, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 22px rgba(50, 30, 40, 0.08);
}

.ghost {
  width: 32px;
  height: 32px;
  color: #000000;
  background: transparent;
}

.floating:hover {
  background: rgba(0, 0, 0, 0.04);
}

.soft:hover {
  background: #ffffff;
  box-shadow: 0 14px 26px rgba(50, 30, 40, 0.12);
  transform: translateY(-1px);
}

.ghost:hover {
  opacity: 0.7;
}

.floating:active {
  transform: scale(0.96);
}

.soft:active {
  transform: translateY(1px);
}

.ghost:active {
  transform: scale(0.96);
}

.backButton:focus-visible {
  outline: 2px solid #f657a0;
  outline-offset: 3px;
}
