.auth-page { padding-bottom: 50px; }
.auth-title {
  margin: 0;
  padding: 195px 0 80px;
  font-size: 35px;
  font-weight: 700;
  letter-spacing: .3px;
  line-height: 40px;
  text-align: center;
}
.form-row { display: grid; gap: 0 30px; margin-bottom: 16px; }
.field { min-width: 0; margin-bottom: 19px; }
.field-control {
  display: flex;
  align-items: center;
  height: 46px;
  border-bottom: 2px solid rgb(255 255 255 / .5);
}
.field input {
  min-width: 0;
  width: 100%;
  padding: 14px 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ddd;
  font: 500 15px/23px Montserrat, sans-serif;
  letter-spacing: .2px;
}
.field input::placeholder { color: rgb(255 255 255 / .7); opacity: 1; }
.field input:focus { outline: none; }
.field-control:focus-within, .field.is-valid .field-control { border-color: var(--secondary); }
.field.is-invalid .field-control { border-color: #ff4817; }
.field input:autofill {
  -webkit-text-fill-color: #ddd;
  box-shadow: 0 0 0 40px var(--primary) inset;
}
.field-status {
  display: none;
  flex-shrink: 0;
  position: relative;
  width: 25px;
  height: 25px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--rose);
}
.is-valid .field-status, .is-invalid .field-status { display: block; }
.is-valid .field-status::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 9px;
  width: 7px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.is-invalid .field-status { background: #ff4817; }
.is-invalid .field-status::before, .is-invalid .field-status::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 12px;
  width: 2px;
  height: 15px;
  background: #fff;
  transform: rotate(45deg);
}
.is-invalid .field-status::after { transform: rotate(-45deg); }
.field-error { margin: 4px 0 0; color: #ff4817; font-size: 12px; line-height: 16px; }
.field-error:empty { display: none; }
.password-toggle {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 44px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgb(255 255 255 / .5);
}
.password-toggle svg { width: 18px; height: 18px; }
.password-toggle[aria-pressed="true"] .eye-slash { display: none; }
.forgot-password { margin: 0; text-align: right; }
.auth-page .login-button { width: 100%; margin: 55px 0 35px; }
.login-page .login-button { margin-top: 80px; }
.resend-activation-button {
  display: block;
  margin: 12px auto 0;
  padding: 7px 14px;
  border: 1px solid rgb(255 255 255 / .35);
  border-radius: 18px;
  background: transparent;
  color: rgb(255 255 255 / .8);
  font: 500 13px/20px Montserrat, sans-serif;
  cursor: pointer;
}
.resend-activation-button:hover { border-color: var(--secondary); color: var(--secondary); }
.resend-activation-button:disabled { opacity: .6; cursor: wait; }
.resend-activation-button[hidden] { display: none; }
.resend-activation-button:not([hidden]) + .auth-switch { margin-top: 14px; }
.auth-switch { margin: 0 0 16px; text-align: center; }
.auth-intro { margin: 0 0 35px; color: #ddd; font-size: 15px; letter-spacing: .2px; line-height: 23px; }
.reset-page .login-button { margin: 32px 0 16px; }
.reset-page .verification { margin: 0 auto; }
.reset-success { padding: 14px 0 24px; color: #fff; text-align: center; }
.reset-success-icon { display: block; width: 36px; height: 36px; margin: 0 auto 10px; }
.reset-success p { margin: 0; font-size: 15px; letter-spacing: .2px; line-height: 23px; }
.auth-page .login-button:disabled { opacity: .65; cursor: default; }
.change-password-page .login-button { margin: 25px 0 16px; }
.account-confirmation-page .auth-title { padding-bottom: 35px; }
.register-page .auth-title { width: 100%; text-align: center; }
.register-details-page .auth-title { padding-bottom: 8px; text-align: center; }
.register-location {
  margin: 0 auto 28px;
  color: #ddd;
  font-size: 15px;
  letter-spacing: .2px;
  line-height: 23px;
  text-align: center;
}
.register-details-page .verification { margin: 0 auto; }
.registration-code-form { max-width: 420px; margin: 0 auto; }
.laundry-code-field { margin-bottom: 24px; }
.laundry-code-field input { text-align: center; font-size: 21px; letter-spacing: .3em; }
.registration-code-form .verification { margin: 0 auto; }
.registration-code-form .login-button { margin-top: 28px; }
.auth-switch .register-link {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid rgb(255 255 255 / .35);
  border-radius: 16px;
  color: rgb(255 255 255 / .8);
  font-size: 13px;
  line-height: 20px;
}
.auth-switch .register-link:hover { border-color: var(--secondary); color: var(--secondary); }
.account-actions > .register-link {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid rgb(255 255 255 / .35);
  border-radius: 16px;
  color: rgb(255 255 255 / .8);
  font-size: 13px;
  line-height: 20px;
}
.account-actions > .register-link:hover { border-color: var(--secondary); color: var(--secondary); }
.change-password-result { display: grid; justify-items: center; gap: 10px; padding-top: 18px; text-align: center; }
.change-password-result[hidden] { display: none; }
.result-icon { width: 36px; height: 36px; }
.result-success { display: none; color: #b4ffbe; }
.result-failure { display: none; color: #ff4817; }
.change-password-result.is-success .result-success { display: block; }
.change-password-result.is-failure .result-failure { display: block; }
.change-result-message { margin: 0; color: #fff; font-size: 15px; line-height: 23px; }
.terms { margin-top: 30px; }
.verification { width: 300px; max-width: 100%; }
.turnstile-widget { min-height: 65px; }
.terms label { display: flex; align-items: flex-start; gap: 15px; cursor: pointer; }
.terms span { color: #ddd; font-size: 15px; letter-spacing: .2px; line-height: 23px; }
.terms input {
  appearance: none;
  position: relative;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  margin: 0;
  border: 0;
  border-radius: 2px;
  background: rgb(255 255 255 / .5);
  cursor: pointer;
}
.terms input:checked { background: var(--rose); }
.terms input:checked::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 9px;
  width: 8px;
  height: 16px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-status { color: #ddd; font-size: 15px; line-height: 23px; text-align: center; }
.form-status:empty { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 699px) {
  .auth-title { padding: 40px 0 32px; }
  .auth-page { padding-bottom: 16px; }
  .auth-switch { margin-bottom: 0; }
}

@media (min-width: 700px) {
  .auth-page {
    position: relative;
    max-width: 670px;
    margin: 30px auto 0;
    padding: 0 70px 55px;
    border-radius: 10px;
    background: var(--primary);
    box-shadow: 0 20px 160px rgb(0 0 0 / .5);
  }
  .login-page { max-width: 420px; }
  .reset-page { max-width: 470px; }
  .auth-title { padding: 90px 0 50px; }
}

@media (min-width: 768px) {
  .form-row.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
