@font-face {
  font-family: Heebo;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/heebo-hebrew-v28.woff2") format("woff2");
  unicode-range:
    U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: Heebo;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/heebo-latin-v28.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: light;
  font-family: Heebo, Arial, sans-serif;
  font-synthesis: none;
  color: #1b1759;
  background: #fff;
  --login-muted: #6d7184;
  --login-gold: #947619;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-padding-block: 24px;
}
body {
  margin: 0;
  min-width: 280px;
}
button,
input {
  font: inherit;
}
.login-shell {
  display: flex;
  flex-direction: column;
  width: min(100%, 400px);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding: clamp(32px, 7svh, 64px) 26px max(28px, env(safe-area-inset-bottom));
}
.login-brand {
  display: grid;
  justify-items: center;
  margin-block-end: clamp(28px, 5svh, 44px);
}
.login-brand img {
  display: block;
  width: 164px;
  max-width: 52%;
  height: auto;
}
.login-brand-rule {
  width: 88px;
  height: 2px;
  margin-block-start: 26px;
  background: var(--login-gold);
}
h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.5px;
}
.login-intro {
  margin: 7px 0 0;
  color: var(--login-muted);
  font-size: 16px;
  line-height: 1.6;
}
form {
  margin-block-start: clamp(28px, 5svh, 40px);
}
label {
  display: block;
  margin-block-end: 9px;
  font-size: 16px;
  font-weight: 600;
}
.login-password-field {
  position: relative;
}
input {
  width: 100%;
  height: 56px;
  padding: 13px 16px 13px 54px;
  border: 1px solid #7d8299;
  border-radius: 12px;
  outline: 0;
  background: #fff;
  color: #1b1759;
  font-size: 17px;
  direction: ltr;
  text-align: right;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
input::placeholder {
  color: #85899b;
  opacity: 1;
}
input:focus {
  border-color: #1b1759;
  box-shadow: 0 0 0 3px #94761920;
}
input[aria-invalid="true"] {
  border-color: #b94b4b;
}
.login-password-toggle {
  position: absolute;
  inset-block: 4px;
  left: 5px;
  display: grid;
  place-items: center;
  width: 46px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #6d7184;
  cursor: pointer;
}
.login-password-toggle svg {
  width: 22px;
  height: 22px;
}
.login-eye-slash {
  display: none;
}
.login-password-toggle[aria-pressed="true"] .login-eye-slash {
  display: initial;
}
.login-password-toggle:hover {
  color: #1b1759;
  background: #f5f5fa;
}
.login-submit {
  width: 100%;
  min-height: 56px;
  margin-block-start: 18px;
  padding: 13px 18px;
  border: 1px solid #1b1759;
  border-radius: 12px;
  background: #1b1759;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}
.login-submit:hover {
  background: #292373;
}
.login-submit:active {
  transform: translateY(1px);
}
.login-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}
button:focus-visible {
  outline: 2px solid #1b1759;
  outline-offset: 4px;
}
.login-error {
  margin-block-end: 18px;
  padding: 12px 14px;
  border-inline-start: 3px solid #b94b4b;
  border-radius: 4px;
  background: #fff4f4;
  color: #923b3b;
  font-size: 14px;
  line-height: 1.6;
}
.login-footer {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-block-start: auto;
  padding-block-start: 36px;
  color: var(--login-muted);
}
.login-footer svg {
  width: 18px;
  height: 18px;
  color: #1b1759;
}
.login-footer p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}
@media (max-height: 620px) {
  .login-shell {
    padding-block-start: 24px;
    padding-block-end: 20px;
  }
  .login-brand {
    margin-block-end: 24px;
  }
  .login-brand img {
    width: 128px;
  }
  .login-brand-rule {
    width: 68px;
    margin-block-start: 18px;
  }
  h1 {
    font-size: 26px;
  }
  form {
    margin-block-start: 24px;
  }
  .login-footer {
    padding-block-start: 28px;
  }
}
@media (min-width: 700px) {
  .login-shell {
    width: 440px;
  }
  .login-brand img {
    width: 180px;
  }
  h1 {
    font-size: 31px;
  }
}
@media (prefers-reduced-motion: reduce) {
  input,
  button {
    transition: none !important;
  }
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-block: 18px;
  color: var(--login-muted);
  font-size: 13px;
}
.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e4e5ed;
}
.login-email-option {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid #cbd0dc;
  border-radius: 12px;
  color: #1b1759;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}
.login-email-option:hover {
  background: #f7f7fb;
}
.login-back {
  display: block;
  width: fit-content;
  margin: 18px auto 0;
  color: #1b1759;
  font-size: 14px;
  text-underline-offset: 4px;
}
.login-back:focus-visible,
.login-email-option:focus-visible {
  outline: 2px solid #1b1759;
  outline-offset: 4px;
}
.login-email,
.login-code {
  padding-inline: 16px;
}
.login-email {
  text-align: left;
}
.login-code {
  text-align: center;
  letter-spacing: 0.3em;
  font-size: 24px;
  font-weight: 600;
}
.login-code-help {
  margin: 16px 0 0;
  color: var(--login-muted);
  font-size: 13px;
  line-height: 1.6;
}
