.auth-page {
  background: #fff;
}

.auth-page .signin-main {
  display: grid;
  grid-template-columns: 40% 60%;
  place-items: stretch;
  column-gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.auth-page .signin-layout {
  grid-column: 1;
  min-width: 0;
  width: 100%;
  padding: 48px 32px;
}

.auth-page .signin-card {
  width: min(100%, 360px);
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.auth-page .signin-card h1 {
  font-size: 26px;
  font-weight: 500;
}

.auth-page .signin-card > p {
  margin: 10px 0 22px;
  font-size: 13px;
  line-height: 1.6;
}

.auth-page .signin-form {
  gap: 14px;
}

.auth-page .signin-form label {
  gap: 6px;
  font-weight: 500;
}

.auth-page .signin-form input:not([type='checkbox']) {
  min-height: 40px;
  padding: 9px 11px;
  background: #fafbfc;
  font-size: 13px;
}

.auth-page .signin-form select {
  min-height: 40px;
  padding: 9px 11px;
  font-size: 13px;
}

.auth-page #registration-organisation-fields {
  gap: 14px;
}

.auth-page .signin-form .primary-button {
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 6px;
}

.auth-provider-options {
  display: grid;
  gap: 10px;
}

.auth-provider-button {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #d7dce3;
  border-radius: 6px;
  color: #243044;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.auth-provider-button svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.auth-provider-button:hover:not(:disabled) {
  border-color: #aeb9c8;
  background: #fafbfc;
}

.auth-provider-button:focus-visible {
  outline: 2px solid var(--page-blue);
  outline-offset: 3px;
}

.auth-page .auth-provider-button:disabled {
  opacity: 0.65;
}

.auth-provider-note {
  margin: 0;
  color: #697586;
  font-size: 11px;
  line-height: 1.5;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block: 8px 0;
  color: #7d8795;
  font-size: 11px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: #e5e8ed;
}

.auth-aside {
  display: grid;
  grid-column: 2;
  align-content: start;
  justify-items: center;
  min-width: 0;
  padding: clamp(120px, calc(42svh - 120px), 360px) clamp(40px, 6vw, 100px) 64px;
  border-left: 1px solid #e8ecf1;
  background: #fafbfc;
}

.auth-brand-panel {
  width: min(100%, 320px);
  text-align: center;
}

.auth-brand-graphic {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 28px;
}

.auth-aside h2 {
  margin: 0;
  color: #34435a;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1.5;
}

.auth-aside h2 span {
  margin-right: 3px;
  color: var(--page-blue);
  font-weight: 400;
}

.auth-brand-panel p {
  margin: 8px 0 0;
  color: #707d90;
  font-size: 14px;
  line-height: 1.6;
}

.auth-page .showcase-footer {
  padding-block: 18px;
  border-top: 1px solid #e8ecf1;
  background: #fff;
  font-size: 11px;
}

.auth-page #registration-confirmation {
  display: grid;
  gap: 18px;
  color: var(--page-body);
  font-size: 14px;
  line-height: 1.7;
}

.auth-page .signin-card [hidden] {
  display: none !important;
}

@media (min-width: 1500px) {
  .auth-page .signin-layout {
    padding-block: 56px;
  }
}

@media (max-width: 950px) {
  .auth-page .signin-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .auth-aside {
    display: none;
  }
}

@media (max-width: 600px) {
  .auth-page .signin-layout {
    padding: 40px 24px;
  }
}
