}

.auth-animated-link:hover,
.auth-animated-link:focus {
  background-size: 0 2px, 100% 2px;
}

.auth-links {
  font-size: 13px;
  color: #777;
  text-align: center;
  margin-top: 12px;
}

.auth-signup {
  margin-top: 18px;
  border-top: 1px solid #e6e6e6;
  padding-top: 14px;
}

.auth-signup-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #7a7a7a;
  margin-bottom: 10px;
}

.auth-signup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}


.auth-alert {
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
}

.auth-alert-error {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.auth-error {
  font-size: 12px;
  color: #c2410c;
  margin-top: -8px;
}

.auth-help {
  font-size: 12px;
  color: #777;
  margin-top: -6px;
}

.auth-image {
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 460px;
}

.auth-layout--login {
  background: #ececec;
}

.auth-layout--login .auth-shell .container {
  max-width: 980px;
}

.login-modal-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: 980px;
  min-height: 525px;
  margin: 0 auto;
  background: #f3f3f3;
  border: 1px solid #dddddd;
}

.auth-form--login .auth-field {
  --auth-login-field-bg: #d9dfeb;
  max-width: 420px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--auth-login-field-bg);
  padding: 0;
  gap: 0;
}

.auth-form--login .auth-icon {
  width: 52px;
  height: 48px;
  background: #c6ccd8;
}

/* Guard login field visuals from late global button/input overrides. */
html body .auth-layout--login .auth-form.auth-form--login .auth-field {
  padding: 0 !important;
  gap: 0 !important;
  background-color: var(--auth-login-field-bg) !important;
}

html body .auth-layout--login .auth-form.auth-form--login .auth-field .auth-icon {
  width: 52px !important;
  min-width: 52px !important;
  flex: 0 0 52px !important;
  height: 48px !important;
  background-color: #c6ccd8 !important;
}

.auth-form--login input[type="text"],
.auth-form--login input[type="email"],
.auth-form--login input[type="password"] {
  height: 48px;
  padding: 0 15px;
  color: #202020;
  font-weight: 500;
}

html body .auth-layout--login .auth-form.auth-form--login .auth-field input[type="text"],
html body .auth-layout--login .auth-form.auth-form--login .auth-field input[type="email"],
html body .auth-layout--login .auth-form.auth-form--login .auth-field input[type="password"] {
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
}

.auth-field--password input[type="password"],
.auth-field--password input[type="text"] {
  min-width: 0;
}

.auth-password-toggle {
  border: 0;
  background: transparent;
  background-color: transparent !important;
  background-image: none !important;
  appearance: none;
  -webkit-appearance: none;
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #5d6677;
  cursor: pointer;
  box-shadow: none !important;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.auth-field--password .auth-password-toggle {
  width: 52px;
  min-width: 52px;
  height: 48px;
  margin-right: 0;
  align-self: stretch;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

.auth-field--password .auth-password-toggle i {
  display: block;
  line-height: 1;
  pointer-events: none;
}

.auth-password-toggle:hover,
.auth-password-toggle:focus-visible {
  color: #232937;
}

.auth-password-toggle:focus-visible {
  outline: 2px solid #6a7ea7;
  outline-offset: 2px;
  border-radius: 4px;
}

.auth-form--login .auth-password-toggle {
  width: 52px;
  min-width: 52px;
  height: 48px;
  margin-right: 0;
  align-self: stretch;
  background: transparent;
  background-color: transparent !important;
  background-image: none !important;
  border-radius: 4px;
}

.auth-form--login .auth-password-toggle:hover,
.auth-form--login .auth-password-toggle:focus-visible {
  background: transparent;
}

html body .auth-layout--login .auth-form.auth-form--login .auth-field.auth-field--password,
html body .auth-layout--login .auth-form.auth-form--login .auth-field.auth-field--password input[type="password"],
html body .auth-layout--login .auth-form.auth-form--login .auth-field.auth-field--password input[type="text"] {
  background-color: var(--auth-login-field-bg) !important;
}

html body .auth-layout--login .auth-form.auth-form--login .auth-field.auth-field--password > *:last-child {
  background-color: transparent !important;
}

html body .auth-layout--login .auth-form.auth-form--login .auth-field.auth-field--password button.auth-password-toggle,
html body .auth-layout--login .auth-form.auth-form--login .auth-field.auth-field--password button.auth-password-toggle:hover,
html body .auth-layout--login .auth-form.auth-form--login .auth-field.auth-field--password button.auth-password-toggle:focus,
html body .auth-layout--login .auth-form.auth-form--login .auth-field.auth-field--password button.auth-password-toggle:focus-visible,
html body .auth-layout--login .auth-form.auth-form--login .auth-field.auth-field--password button.auth-password-toggle:active {
  width: 52px !important;
  min-width: 52px !important;
  flex: 0 0 52px !important;
  height: 48px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background: #d9dfeb !important;
  background-color: #d9dfeb !important;
  background-image: none !important;
}

html body .auth-layout--login .auth-form.auth-form--login .auth-field.auth-field--password button.auth-password-toggle::before,
html body .auth-layout--login .auth-form.auth-form--login .auth-field.auth-field--password button.auth-password-toggle::after {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

.auth-row--login {
  justify-content: center;
  gap: 22px;
  margin-top: 2px;
}

.auth-remember--login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #333;
  font-size: 13px;
  line-height: 1.2;
}

.auth-remember--login input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 16px !important;
  min-width: 16px;
  height: 16px !important;
  margin: 0;
  padding: 0;
  border: 1px solid #b8b8b8;
  border-radius: 2px;
  box-shadow: none;
  outline: none;
  background: #fff;
}

.auth-note--login {
  max-width: 440px;
  font-size: 18px;
  line-height: 1.34;
  color: #545454;
}

.auth-links--login {
  max-width: 420px;
  margin-top: 12px;
  border-bottom: 1px solid #d5d5d5;
  padding-bottom: 18px;
}

.auth-signup--login {
  max-width: 420px;
  margin-top: 20px;
  border-top: 0 !important;
  padding-top: 0 !important;
  text-align: center;
}

.auth-signup--login .auth-signup-title {
  text-align: center;
  width: 100%;
}

.auth-signup--login .auth-signup-actions {
  display: flex;
  justify-content: center;
  width: 100%;
}

.login-side-image {
  background-color: #efefef;
  border-left: 1px solid #e1e1e1;
  background-size: cover;
  background-position: center;
}

.auth-card--compact {
  min-height: 420px;
  max-width: 960px;
}

.auth-form--reset .auth-field {
  max-width: 420px;
}

.auth-reset-copy {
  max-width: 380px;
  color: #616161;
  font-size: 18px;
  line-height: 1.35;
}

.auth-reset-divider {
  max-width: 380px;
  border-bottom: 1px solid #cfcfcf;
}

.auth-reset-footnote {
  max-width: 380px;
  color: #606060;
  font-size: 17px;
  line-height: 1.35;
}

@media (max-width: 1023px) {
  .auth-card,
  .login-modal-card {
    grid-template-columns: 1fr;
  }

  .auth-image {
    min-height: 250px;
    background-size: cover;
  }

  .login-modal-card {
    max-width: 860px;
    min-height: 0;
  }

  .auth-note--login {
    font-size: 16px;
    max-width: 100%;
  }
