/* Studio Nina split-screen login / register */

html.html-login-page,
html.html-registration-page {
  background: #f8f6f3;
  overflow-x: hidden;
}

html.html-login-page body:not(.impersonated),
html.html-registration-page body:not(.impersonated) {
  padding-top: 0 !important;
}

html.html-login-page .header,
html.html-login-page .footer,
html.html-login-page .st-prefooter-newsletter,
html.html-login-page .responsive-nav-wrapper,
html.html-login-page .overlayOffCanvas,
html.html-login-page .scroll-back-button2,
html.html-login-page .scroll-back-top-button,
html.html-login-page .sn-cookie-bar,
html.html-login-page .sn-whatsapp-fab,
html.html-login-page .inroen-scroll-top,
html.html-login-page .language-gate,
html.html-registration-page .header,
html.html-registration-page .footer,
html.html-registration-page .st-prefooter-newsletter,
html.html-registration-page .responsive-nav-wrapper,
html.html-registration-page .overlayOffCanvas,
html.html-registration-page .scroll-back-button2,
html.html-registration-page .scroll-back-top-button,
html.html-registration-page .sn-cookie-bar,
html.html-registration-page .sn-whatsapp-fab,
html.html-registration-page .inroen-scroll-top,
html.html-registration-page .language-gate {
  display: none !important;
}

html.html-login-page .master-wrapper-page,
html.html-registration-page .master-wrapper-page {
  background: #f8f6f3;
}

html.html-login-page .master-wrapper-content,
html.html-registration-page .master-wrapper-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #f8f6f3;
}

.html-login-page .center-1,
.html-login-page .master-column-wrapper,
.html-login-page .master-wrapper-content,
.html-registration-page .center-1,
.html-registration-page .master-column-wrapper,
.html-registration-page .master-wrapper-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
  background: #f8f6f3;
}

.html-login-page .page.login-page,
.html-registration-page .page.registration-page {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: none;
  text-align: left;
}

.html-login-page .page.login-page .page-body,
.html-registration-page .page.registration-page .page-body {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.html-login-page .page-title,
.html-login-page .topic-block,
.html-login-page .login-page > .page-body > .external-authentication,
.html-registration-page .page-title {
  display: none;
}

.sn-auth {
  --sn-auth-brand: #322923;
  --sn-auth-mid: #978c87;
  --sn-auth-bg: #f8f6f3;
  --sn-auth-line: #e8e4e0;
  --sn-auth-accent: #aa8066;
  --sn-auth-err: #c04040;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--sn-auth-bg);
}

.sn-auth__visual {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  background: var(--sn-auth-brand) url("/images/login-visual.png") center center / cover no-repeat;
}

.sn-auth__visual-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px 40px;
  background: linear-gradient(to bottom, rgba(50, 41, 35, 0.3) 0%, rgba(50, 41, 35, 0.72) 100%);
}

.sn-auth__tagline {
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 200;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.sn-auth__sub {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sn-auth__panel {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 48px;
  overflow-y: auto;
  background: var(--sn-auth-bg);
}

.sn-auth__wrap {
  width: 100%;
  max-width: 420px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sn-auth__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 0 36px;
  text-decoration: none;
  color: #a8927a;
}

.sn-auth__brand:hover,
.sn-auth__brand:focus {
  color: #97806a;
  opacity: 0.92;
  text-decoration: none;
}

.sn-auth__logo {
  display: block;
  width: min(240px, 78vw);
  height: auto;
  max-height: 140px;
  object-fit: contain;
}

.sn-auth__monogram {
  display: none !important;
}

.sn-auth__monogram-svg {
  display: none !important;
}

.sn-auth__wordmark {
  display: none !important;
}

.sn-auth__card {
  width: 100%;
  padding: 40px 36px;
  background: #fff;
  border: 1px solid var(--sn-auth-line);
  box-sizing: border-box;
}

.sn-auth__tabs {
  display: flex;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--sn-auth-line);
}

.sn-auth__tab {
  flex: 1;
  padding: 12px 0;
  min-height: 44px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  color: var(--sn-auth-mid);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.sn-auth__tab:hover {
  color: var(--sn-auth-brand);
}

.sn-auth__tab.is-active {
  color: var(--sn-auth-brand);
  border-bottom-color: var(--sn-auth-brand);
}

.sn-auth__card .form-fields {
  position: static;
  width: 100%;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

.sn-auth__card .returning-wrapper,
.sn-auth__card .fieldset {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

.sn-auth__card .inputs {
  display: block;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 18px !important;
  text-align: left !important;
  position: relative;
}

.sn-auth__card .inputs:after {
  display: none;
}

.sn-auth__card .inputs label {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin-bottom: 6px !important;
  color: var(--sn-auth-mid) !important;
  font-size: 0.625rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
  line-height: 1.4 !important;
  text-align: left !important;
}

.sn-auth__card .inputs label .required,
.sn-auth__card .inputs label .sn-auth__optional {
  text-transform: none;
  letter-spacing: 0.02em;
}

.sn-auth__card .inputs label .required,
.sn-auth__card .inputs .required {
  position: static !important;
  display: inline;
  margin: 0 0 0 3px;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
  vertical-align: baseline;
  color: var(--sn-auth-accent);
  text-transform: none;
}

.sn-auth__card .inputs input[type="text"],
.sn-auth__card .inputs input[type="email"],
.sn-auth__card .inputs input[type="password"],
.sn-auth__card .inputs input[type="tel"] {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  padding: 11px 14px;
  border: 1px solid var(--sn-auth-line);
  background: #fff;
  color: var(--sn-auth-brand);
  font-size: 0.875rem;
  font-weight: 300;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
  vertical-align: middle;
}

.sn-auth__card .inputs input:focus {
  border-color: var(--sn-auth-brand);
}

.sn-auth__card .inputs .field-validation-error,
.sn-auth__card .message-error {
  display: block;
  margin-top: 5px;
  color: var(--sn-auth-err);
  font-size: 0.6875rem;
}

.sn-auth__card .message-error:empty {
  display: none;
}

.sn-auth__card .inputs.reversed {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 18px;
}

.sn-auth__card .inputs.reversed input[type="checkbox"],
.sn-auth__card .inputs.reversed > label {
  display: none !important;
}

.sn-auth__card .forgot-password {
  margin-left: auto;
}

.sn-auth__card .forgot-password a {
  color: var(--sn-auth-mid);
  font-size: 0.6875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sn-auth__card .forgot-password a:hover {
  color: var(--sn-auth-brand);
}

.sn-auth__card .buttons {
  margin: 0;
}

.sn-auth__card .login-button,
.sn-auth__card .button-1 {
  display: block !important;
  width: 100% !important;
  padding: 13px;
  background: var(--sn-auth-brand);
  color: #fff;
  border: none;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}

.sn-auth__card .login-button:hover,
.sn-auth__card .button-1:hover {
  opacity: 0.82;
}

.sn-auth__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 16px;
}

.sn-auth__divider::before,
.sn-auth__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--sn-auth-line);
}

.sn-auth__divider span {
  color: var(--sn-auth-mid);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sn-auth__social:has(.sn-auth__external:empty) {
  display: none;
}

.sn-auth__external .external-authentication,
.sn-auth__external .external-auth-methods {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
}

.sn-auth__external .buttons,
.sn-auth__external form {
  margin: 0;
}

.sn-auth__external .external-auth-method,
.sn-auth__external button,
.sn-auth__external input[type="submit"],
.sn-auth__external a.button-1 {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 0 0 10px !important;
  padding: 11px 16px !important;
  background: #fff;
  border: 1px solid var(--sn-auth-line) !important;
  color: var(--sn-auth-brand) !important;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: none;
  cursor: pointer;
}

.sn-auth__back {
  margin-top: 20px;
  color: var(--sn-auth-mid);
  font-size: 0.6875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sn-auth__back:hover {
  color: var(--sn-auth-brand);
}

.sn-auth__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  margin-bottom: 0;
}

.sn-auth__row .inputs {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin-bottom: 18px !important;
}

.sn-auth__card .fieldset > .title {
  display: none;
}

.sn-auth__hidden {
  display: none !important;
}

.sn-auth__optional {
  font-size: 0.55rem;
  color: var(--sn-auth-mid);
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.sn-auth__date {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--sn-auth-line);
  background: #fff;
  color: var(--sn-auth-brand);
  font-size: 0.875rem;
  font-weight: 300;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
  font-family: inherit;
}

.sn-auth__date:focus {
  border-color: var(--sn-auth-brand);
}

.sn-auth__consents {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 6px 0 22px;
}

.sn-auth__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.sn-auth__check input[type="checkbox"] {
  appearance: auto;
  flex: 0 0 16px;
  width: 16px !important;
  height: 16px !important;
  margin: 3px 0 0 !important;
  padding: 0;
  accent-color: var(--sn-auth-brand);
  cursor: pointer;
}

.sn-auth__check .sn-nl-alias {
  display: none !important;
}

.sn-auth__check label,
html.html-registration-page .sn-auth__card .sn-auth__check label {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #8a827c !important;
  font-size: 0.75rem !important;
  font-weight: 300 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  line-height: 1.45 !important;
  text-align: left !important;
  cursor: pointer;
}

.sn-auth__check-link,
html.html-registration-page .sn-auth__card .sn-auth__check-link {
  color: inherit !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sn-auth__check-link:hover {
  color: var(--sn-auth-brand) !important;
}

@media (max-width: 768px) {
  .sn-auth {
    grid-template-columns: minmax(0, 1fr);
  }

  .sn-auth__visual {
    display: none;
  }

  .sn-auth__panel {
    grid-column: 1;
    align-items: flex-start;
    padding: 32px 22px;
  }

  .sn-auth__card {
    padding: 28px 20px;
  }

  .sn-auth__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

html.html-login-page .sn-auth__card .form-fields,
html.html-registration-page .sn-auth__card .form-fields {
  background: transparent !important;
  padding: 0 !important;
}

html.html-login-page .sn-auth__card .inputs.reversed > label,
html.html-login-page .sn-auth__card .inputs.reversed input[type="checkbox"],
html.html-login-page .sn-auth__card .password-eye {
  display: none !important;
}

html.html-login-page .sn-auth__card .inputs label,
html.html-registration-page .sn-auth__card .inputs label {
  text-align: left !important;
  float: none !important;
  width: 100% !important;
  display: block !important;
}

