/* =========================
   Auth Pages — Overrides
   ========================= */

header nav {
  display: none;
}

main {
  max-width: 420px;
  padding-top: 48px;
}

section {
  margin-top: 32px;
}

footer {
  margin-top: 40px;
}

.show-password-toggle {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.3;
}

.show-password-toggle input {
  margin-right: 6px;
}

.show-password-switch {
  position: relative;
  cursor: pointer;
  padding-left: 28px;
  display: inline-flex;
  align-items: center;
}

.show-password-switch .switch {
  position: absolute;
  left: 0;
  width: 18px;
  height: 10px;
  border-radius: 999px;
  background: #e5e7eb;
  transition: background 0.2s ease;
  margin-right: 6px;
}

.show-password-switch .switch::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -1px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease;
}

.show-password-toggle input:checked + .switch {
  background: #22c55e;
}

.show-password-toggle input:checked + .switch::after {
  transform: translateX(8px);
}

.password-meter {
  margin-top: 10px;
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  overflow: hidden;
}

.meter-bar {
  width: 0;
  height: 100%;
  background: #ef4444;
  border-radius: 6px;
  transition: width 0.15s ease, background 0.15s ease;
}

.password-strength-text {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
}

.password-match-message {
  margin-top: 6px;
  font-size: 13px;
  min-height: 18px;
  opacity: 0.95;
}

.password-match-message.is-ok {
  color: #22c55e;
}

.password-match-message.is-bad {
  color: #ef4444;
}

.consent-field {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.4;
}

.consent-field input {
  margin-right: 6px;
}

.consent-error {
  margin-top: 4px;
  min-height: 18px;
  font-size: 12px;
  color: #ef4444;
}

.language-field {
  margin-top: 12px;
}

.language-field label {
  display: block;
  margin-bottom: 4px;
}
