.auth-route__pw-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-route__pw-wrap input {
  flex: 1;
  padding-right: 2.6rem;
}

.auth-route__pw-toggle {
  position: absolute;
  right: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--color-text-dim);
  cursor: pointer;
  border-radius: var(--radius-sm, 4px);
  transition: color 150ms ease;
  flex-shrink: 0;
}

.auth-route__pw-toggle:hover {
  color: var(--color-text-soft);
}

.auth-route__pw-toggle .pw-icon--eye-off {
  display: none;
}

.auth-route__pw-toggle[data-pw-visible="true"] .pw-icon--eye {
  display: none;
}

.auth-route__pw-toggle[data-pw-visible="true"] .pw-icon--eye-off {
  display: block;
}

.auth-route__legal {
  font-size: 0.78rem;
  color: var(--color-text-dim);
  text-align: center;
  margin-top: 0.25rem;
}

.auth-route__legal a {
  color: var(--color-text-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.auth-route__legal a:hover {
  color: var(--color-green);
}

.auth-route__cgu-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--color-text-soft);
  cursor: pointer;
  line-height: 1.5;
}

.auth-route__cgu-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 0.15rem;
  accent-color: var(--color-green);
  cursor: pointer;
}

.auth-route__cgu-link {
  color: var(--color-text-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.auth-route__cgu-link:hover {
  color: var(--color-green);
}

.auth-route__cgu-link strong {
  font-weight: 600;
}
