/* Page visual extension point for login.html.
   Keep page-specific CSS here and bump the ?v= value in the HTML when edited. */
html[data-pl-route="login"] .ps-login-page > div:nth-of-type(4) > div {
  display: grid !important;
  grid-template-columns: minmax(300px, 430px) minmax(360px, 420px) !important;
  align-items: center !important;
  gap: 72px !important;
  max-width: 980px !important;
}

html[data-pl-route="login"] .pl-login-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.45;
}

html[data-pl-route="login"] .pl-login-brand {
  color: var(--text-primary);
  font-weight: 600;
}

html[data-pl-route="login"] .pl-login-feature {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
}

html[data-pl-route="login"] .pl-login-feature__icon {
  color: var(--accent-color);
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
}

html[data-pl-route="login"] .pl-login-feature strong {
  color: var(--text-primary);
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

html[data-pl-route="login"] .pl-login-feature p {
  margin: 0;
}

html[data-pl-route="login"] .ps-login-page > div:nth-of-type(4) form {
  width: 100%;
}

@media (max-width: 860px) {
  html[data-pl-route="login"] .ps-login-page > div:nth-of-type(4) > div {
    display: block !important;
    max-width: 420px !important;
  }

  html[data-pl-route="login"] .ps-login-page > div:nth-of-type(4) > div::before {
    display: none;
  }

  html[data-pl-route="login"] .pl-login-features {
    display: none;
  }
}
