@font-face {
  font-family: Heebo;
  src: url("./assets/heebo-hebrew.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}
@font-face {
  font-family: Heebo;
  src: url("./assets/heebo-latin.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
  unicode-range: U+0000-00FF;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: #f8f6f2;
  color: #201b27;
  font: 400 1rem/1.6 Heebo, Arial, sans-serif;
}
.advisor-auth-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 76px;
  padding: 1rem clamp(1.25rem, 5vw, 4rem);
  border-bottom: 1px solid #dbb65d66;
  background: #180c2d;
  color: #e4daed;
}
.advisor-auth-header img { width: 155px; height: auto; }
.advisor-auth-header span { padding-inline-start: 1.5rem; border-inline-start: 1px solid #ffffff38; font-size: .9rem; }
.advisor-auth-main {
  width: min(100% - 2rem, 28rem);
  margin: clamp(2rem, 12vh, 7rem) auto;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  border: 1px solid #ded9e4;
  border-radius: 16px;
  background: #fff;
}
h1 { margin: 0; color: #180c2d; font-size: clamp(1.6rem, 5vw, 1.95rem); font-weight: 750; line-height: 1.3; }
.advisor-auth-intro { margin: .6rem 0 1.75rem; color: #665f6d; }
form { display: grid; gap: 1.1rem; }
label { display: grid; gap: .4rem; font-size: .95rem; font-weight: 650; }
input {
  width: 100%;
  min-height: 50px;
  padding: .65rem .8rem;
  border: 1px solid #b4a9c0;
  border-radius: 8px;
  color: #201b27;
  background: #fff;
  font: inherit;
  font-size: 1.05rem;
}
input[name="code"] { text-align: center; letter-spacing: .32em; font-variant-numeric: tabular-nums; }
.staff-otp { display: block; position: relative; direction: ltr; }
.staff-otp-slots { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: .45rem; }
.staff-otp-slots > span { display: grid; place-items: center; min-height: 54px; border: 1px solid #b4a9c0; border-radius: 8px; font-size: 1.4rem; background: #fff; }
.staff-otp input[name="code"] { position: absolute; inset: 0; height: 100%; color: transparent; caret-color: transparent; background: transparent; border-color: transparent; letter-spacing: normal; }
.staff-otp:focus-within .staff-otp-slots > span { border-color: #4b1f74; }
input:focus { outline: 2px solid #4b1f74; outline-offset: 2px; border-color: #4b1f74; }
button {
  min-height: 50px;
  margin-top: .45rem;
  border: 0;
  border-radius: 8px;
  background: #4b1f74;
  color: #fff;
  font: 700 1rem Heebo, Arial, sans-serif;
  cursor: pointer;
}
button:hover { background: #351458; }
:where(button, a):focus-visible { outline: 3px solid #dbb65d; outline-offset: 3px; }
a { color: #4b1f74; text-underline-offset: .2em; font-size: .9rem; }
.advisor-auth-main > p:last-child { margin: 1.25rem 0 0; }
.advisor-auth-error { padding: .75rem; border: 1px solid #e4c5bf; border-radius: 8px; color: #973e2d; background: #fff8f6; }
@media (max-width: 420px) {
  .advisor-auth-header { gap: 1rem; }
  .advisor-auth-header span { padding-inline-start: 1rem; }
}
