/* Login page only – scoped to .login-page so message-form styles never apply here */

body.login-page {
  display: flex !important;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

body.login-page .auth-section {
  flex: 1 1 auto;
  min-height: 100vh;
  align-items: stretch !important;
  height: 100vh;
}

body.login-page #page-columns {
  min-height: 100vh;
  height: 100vh;
}

body.login-page.has-custom-footer .auth-section {
  min-height: 90vh;
  height: 90vh;
}

body.login-page.has-custom-footer #page-columns {
  min-height: 90vh;
  height: 90vh;
}

body.login-page .auth-section .auth-form-section,
body.login-page .auth-section .auth-banner-container {
  align-self: stretch !important;
}

body.login-page .auth-section .header-container {
  top: 0.75rem;
  left: 2.75rem;
  right: 2.75rem;
}

body.login-page .auth-section .language-dropdown {
  z-index: 1;
}

body.login-page .auth-section .auth-form-section .auth-form-container {
  max-width: 24rem;
}

body.login-page
  .auth-section
  .auth-form-section
  .auth-form-container
  #resetFormCard
  .forgot-password-title {
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 2rem;
}

body.login-page
  .auth-section
  .auth-form-section
  .auth-form-container
  #resetFormCard
  .reset-password-label {
  color: var(--text-primary);
  font-size: 0.875rem;
  line-height: 1.25rem;
}

body.login-page
  .auth-section
  .auth-form-section
  .auth-form-container
  form
  .input-label {
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--text-primary);
}

body.login-page
  .auth-section
  .auth-form-section
  .auth-form-container
  form
  .input {
  color: var(--text-primary);
  border-radius: 0.375rem;
}

body.login-page
  .auth-section
  .auth-form-section
  .auth-form-container
  #loginFormCard
  form
  .forgot-link,
body.login-page
  .auth-section
  .auth-form-section
  .auth-form-container
  #resetFormCard
  .back-to-login-label {
  color: var(--accent-color);
  padding: 0;
}

body.login-page
  .auth-section
  .auth-form-section
  .auth-form-container
  #loginFormCard
  form
  .forgot-link:hover {
  color: var(--accent-color);
}

body.login-page
  .auth-section
  .auth-form-section
  .auth-form-container
  #loginFormCard
  form
  .remember-me {
  margin-left: 0.5rem;
}

body.login-page
  .auth-section
  .auth-form-section
  .auth-form-container
  #loginFormCard
  .continue-label {
  text-align: center;
}

body.login-page
  .auth-section
  .auth-form-section
  .auth-form-container
  #loginFormCard
  .continue-label
  .content-line {
  position: relative;
  flex: 1 1 0%;
}

body.login-page
  .auth-section
  .auth-form-section
  .auth-form-container
  #loginFormCard
  .continue-label
  .content-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background-color: #9ca3af;
}

body.login-page
  .auth-section
  .auth-form-section
  .auth-form-container
  #loginFormCard
  .social-continue-btn {
  height: 2.75rem;
  width: 100%;
  border-radius: 0.25rem;
  border: 1px solid rgb(243 244 246);
  fill: var(--text-primary);
  padding: 0.5rem;
  gap: 0.5rem;
}

body.login-page
  .auth-section
  .auth-form-section
  .auth-form-container
  #loginFormCard
  .crush-auth-container {
  gap: 1rem;
}

body.login-page .accept-cookie-notification {
  position: fixed;
  min-height: 70px;
  height: auto;
  left: 0;
  background-color: var(--backdrop-color);
  z-index: 100 !important;
  flex-wrap: wrap;
  padding: 0.75rem 2.5rem 0.75rem 0.5rem;
}

body.login-page .accept-cookie-notification.show {
  bottom: 0;
  animation: slideInUp 0.3s linear;
}

body.login-page .accept-cookie-notification.remove {
  bottom: -200px;
  animation: slideInDown 0.3s linear;
}

body.login-page #acceptCookieNotificationCloseButton {
  top: 0;
  right: 0;
}

body.login-page #customFooterLoginPageContainer {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  width: 100%;
  z-index: 10;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: auto;
}

/* Sign In button loading state (reCAPTCHA) */
body.login-page #sign-in-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  body.login-page .auth-section .auth-form-section .auth-form-container {
    padding: 1rem 0;
  }

  body.login-page.has-custom-footer .auth-section {
    min-height: 80vh;
    height: 80vh;
  }

  body.login-page.has-custom-footer #page-columns {
    min-height: 80vh;
    height: 80vh;
  }
}

body.login-page .control .icon.password-toggle {
  pointer-events: auto !important;
  cursor: pointer !important;
}

.control .icon.password-toggle {
  pointer-events: auto !important;
  cursor: pointer !important;
}
