@font-face {
  font-family: "BG Login Sefira";
  src: url("/fonts/M-Sefira-Regular-login-20261111.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "BG Login Sefira";
  src: url("/fonts/M-Sefira-Bold-login-20261111.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
.login-privacy {
  margin: 0;
  background: #fffefa;
  color: #29271e;
  font: 17px/1.65 "BG Login Sefira", "Segoe UI", sans-serif;
}
.login-privacy main { max-width: 42rem; margin-inline: auto; padding: clamp(26px, 7vw, 88px) clamp(20px, 5vw, 52px); }
.login-privacy img { display: block; width: min(250px, 100%); height: auto; margin-bottom: 2.5rem; }
.login-privacy :is(h1, h2) { line-height: 1.25; }
.login-privacy h1 { font-size: clamp(28px, 5vw, 42px); margin-block: 1.8rem 1rem; }
.login-privacy h2 { font-size: 22px; margin-block: 2rem .5rem; }
.login-privacy p { margin-block: .5rem 1rem; }
.login-privacy a { color: #3d482c; text-underline-offset: .18em; overflow-wrap: anywhere; }
.login-privacy a:focus-visible { outline: 2px solid #3d482c; outline-offset: 4px; }

.auth.auth-refined {
  --font-body: "BG Login Sefira", "Segoe UI", sans-serif;
  --font-heading: "M Jardin", "Frank Ruhl Libre", serif;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  min-height: 100svh;
  background: #fffefa;
  font-family: var(--font-body);
}
.auth-refined *, .auth-refined input, .auth-refined button { font-family: var(--font-body); }
.auth-refined ::selection { background: #dce2cd; color: #211d17; }
.auth-refined :focus-visible { outline: 2px solid #4e5340; outline-offset: 4px; }
.auth-refined .authbrand {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  min-width: 0;
  min-height: 100svh;
  padding: 0;
  background: #3f4636;
  color: #fffefa;
  display: block;
  overflow: hidden;
  isolation: isolate;
}
.auth-refined .authbrand::after { content: none; }
.auth-refined .authbrand :focus-visible { outline-color: #fffefa; }
.auth-refined .auth-film { position: absolute; inset: 0; overflow: hidden; }
.auth-refined .auth-film video, .auth-refined .auth-film img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.auth-refined .auth-film video { opacity: 0; transition: opacity .45s ease-out; }
.auth-refined .auth-film video.is-playing { opacity: 1; }
.auth-refined .auth-film::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: min(200px, 72%);
  background: linear-gradient(180deg, #161b14d1, #161b14b8 55%, #161b1400);
  pointer-events: none;
}
.auth-refined .auth-film-title {
  position: absolute;
  z-index: 1;
  inset-block-start: clamp(24px, 3.5vw, 48px);
  inset-inline: clamp(12px, 2.2vw, 32px);
  margin: 0;
  color: #fffefa;
  font-family: var(--font-heading);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 400;
  line-height: 1.15;
  text-wrap: balance;
}
.auth-refined .auth-film-toolbar {
  position: absolute;
  inset-inline: clamp(12px, 2.2vw, 32px);
  bottom: clamp(12px, 2.2vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.auth-refined .auth-film-toggle, .auth-refined .auth-film-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  min-height: 44px;
  padding: 8px 13px;
  border: 0;
  border-radius: 8px;
  background: #20251deb;
  color: #fffefa;
  font-size: 13px;
  box-shadow: none;
}
.auth-refined .auth-film-toggle:hover, .auth-refined .auth-film-link:hover { background: #20251d; color: #fffefa; }
.auth-refined .auth-film-toggle svg { width: 16px; height: 16px; }
.auth-refined .auth-film-link { text-decoration: underline; text-underline-offset: 4px; }
.auth-refined .authform { grid-column: 2; grid-row: 1; background: #fffefa; padding: 50px clamp(28px, 5vw, 88px); }
.auth-refined .authform > .auth-form-inner { display: block; width: min(380px, 100%); padding: 0; box-shadow: none; border-radius: 0; background: transparent; }
.auth-refined .auth-form-logo { display: block; width: min(250px, 78%); height: auto; margin: 0 0 clamp(32px, 5vh, 48px); }
.auth-refined .authform h1 { font-family: var(--font-heading); font-size: clamp(37px, 3.3vw, 48px); line-height: 1.15; font-weight: 400; margin: 0 0 14px; text-wrap: balance; }
.auth-refined .auth-form-intro { color: #696351; font-size: 17px; line-height: 1.55; margin: 0 0 30px; max-width: 32ch; }
.auth-refined .authform .form { display: grid; gap: 20px; }
.auth-refined .authform label { display: grid; gap: 9px; font-size: 15px; line-height: 1.35; color: #3c4134; }
.auth-refined .authform input {
  border: 1px solid #b6baa9; border-radius: 9px; min-height: 52px; width: 100%; padding: 11px 14px;
  background: #fffefa; color: #211d17; font-size: 17px; box-shadow: none; caret-color: #4e5340;
}
.auth-refined .authform input:hover { border-color: #767e65; }
.auth-refined .authform input:focus { border-color: #4e5340; box-shadow: none; }
.auth-refined .auth-password-wrap { position: relative; }
.auth-refined .auth-password-field { display: grid; gap: 9px; }
.auth-refined .auth-password-wrap input { padding-inline-end: 52px; }
.auth-refined .auth-password-toggle {
  position: absolute; inset-inline-end: 5px; top: 5px; width: 42px; min-height: 42px; padding: 10px;
  background: transparent; color: #4e5340; border: 0; border-radius: 7px; box-shadow: none;
}
.auth-refined .auth-password-toggle:hover { background: #edf0e5; }
.auth-refined .auth-password-toggle svg { width: 21px; height: 21px; }
.auth-refined .authform button.primary { min-height: 52px; margin-top: 4px; border-radius: 26px; background: #4e5340; color: #fffefa; border: 0; font-size: 17px; font-weight: 700; box-shadow: none; }
.auth-refined .authform button.primary:hover { background: #3f4636; }
.auth-refined .authform button:disabled { cursor: wait; opacity: .65; }
.auth-refined .authform .formerror { margin: 0; font-size: 14px; line-height: 1.5; color: #923e30; }
.auth-refined .authform .formerror:empty { display: none; }
.auth-refined .auth-google { margin-top: 24px; padding-top: 20px; border-top: 1px solid #ded9cc; }
.auth-refined .auth-google-unavailable { margin: 0; font-size: 14px; color: #696351; line-height: 1.5; }
.google-auth-status { font-size: 14px; line-height: 1.5; color: #696351; }
.auth-google-slot { min-height: 44px; max-width: 100%; }
.auth-google-slot > div { max-width: 100%; }
@supports (zoom: 1.3) {
  .auth-refined .auth-google-slot { --google-button-scale: 1.3; min-height: 52px; }
  .auth-refined .auth-google-slot > div { zoom: var(--google-button-scale); }
  @media (max-width: 299px) {
    .auth-refined .auth-google-slot { --google-button-scale: 1; min-height: 44px; }
  }
}
.google-privacy-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.5;
}
.account-google { display: grid; gap: 12px; }
.account-google p { margin: 0; line-height: 1.5; }
.account-google-form { display: grid; gap: 14px; max-width: 410px; }
.account-google-form input { width: 100%; }
.account-login-email { direction: ltr; text-align: right; overflow-wrap: anywhere; }
.account-google .auth-google-slot { margin-top: 8px; }
.user-login-email { display: block; direction: ltr; text-align: right; overflow-wrap: anywhere; }
@media (max-width: 1100px) and (min-width: 901px) {
  .auth-refined .authform { padding: 42px 32px; }
}
@media (max-width: 900px) {
  .auth.auth-refined { display: flex; flex-direction: column; min-height: 100svh; }
  .auth-refined .authform { order: 0; padding: 32px 24px 40px; display: flex; flex: 1; }
  .auth-refined .authform > .auth-form-inner { margin-inline: auto; width: min(390px, 100%); }
  .auth-refined .auth-form-logo { width: min(230px, 78%); margin-bottom: 34px; }
  .auth-refined .authform h1 { font-size: 38px; }
  .auth-refined .auth-form-intro { margin-bottom: 26px; font-size: 16px; }
  .auth-refined .authbrand { order: 1; flex: none; min-height: 0; aspect-ratio: 16 / 9; }
  .auth-refined .auth-film-title { inset-block-start: 16px; font-size: 26px; }
  .auth-refined .auth-film-link { display: none; }
}
@media (max-width: 380px) {
  .auth-refined .authform { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-refined .auth-film video { transition: none; }
}
