.auth-flow {
  z-index: 35;
  overflow-y: auto;
  color: #08090a;
  background: white;
  scrollbar-width: none;
}
.auth-flow::-webkit-scrollbar { display: none; }
.auth-entry-panel,
.auth-otp-panel {
  min-height: 100%;
  padding: 44px 20px 34px;
}
.auth-flow-header {
  position: relative;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #ececee;
}
.auth-back {
  position: absolute;
  left: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 22px;
  color: inherit;
  text-decoration: none;
}
.auth-back:active { background: #f2f2f3; }
.auth-flow-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
}
.auth-flow-brand img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}
.auth-flow-brand strong { font-weight: 800; }
.auth-flow-body { padding: 28px 2px 0; }
.auth-form {
  width: 100%;
}
.auth-form h1 {
  margin: 0 0 20px;
  font-family: var(--font);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.25;
}
.auth-entry { width: 100%; }
.auth-field {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  border: 0;
  border-radius: 8px;
  outline: none;
  background: #f3f3f3;
  color: #08090a;
  font-size: 16px;
}
.auth-field::placeholder { color: #9a9a9a; }
.auth-field:focus { box-shadow: 0 0 0 2px #08090a; }
.auth-phone-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.auth-country { position: relative; flex: 0 0 auto; }
.auth-country__btn {
  height: 52px;
  min-width: 88px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 8px;
  background: #f3f3f3;
  color: #08090a;
}
.auth-country__btn:hover,
.auth-country.is-open .auth-country__btn {
  box-shadow: 0 0 0 2px #08090a;
}
.auth-country__flag { font-size: 20px; line-height: 1; }
.auth-country__chevron { color: #6b6b6b; flex-shrink: 0; }
.auth-country__list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 20;
  margin: 0;
  padding: 6px;
  list-style: none;
  min-width: 14rem;
  background: white;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}
.auth-country__list li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}
.auth-country__list li:hover,
.auth-country__list li[aria-selected="true"] {
  background: #f3f3f3;
}
.auth-country__dial {
  margin-left: auto;
  color: #6b6b6b;
  font-weight: 600;
}
.auth-phone-field-wrap {
  flex: 1;
  min-width: 0;
}
.auth-field--phone {
  font-variant-numeric: tabular-nums;
}
.auth-error {
  margin: 8px 2px 0;
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
}
.auth-continue {
  width: 100%;
  height: 52px;
  margin-top: 12px;
  border-radius: 8px;
  color: white;
  background: #08090a;
  font-size: 16px;
  font-weight: 600;
}
.auth-continue:hover { background: #1a1a1a; }
.auth-or {
  margin: 18px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: #6b6b6b;
  font-size: 14px;
}
.auth-or::before,
.auth-or::after {
  height: 1px;
  background: #e8e8e8;
  content: '';
}
.auth-alt {
  width: 100%;
  height: 52px;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  color: #08090a;
  background: #f3f3f3;
  font-size: 15px;
  font-weight: 600;
}
.auth-alt:first-of-type { margin-top: 0; }
.auth-alt:hover { background: #eaeaea; }
.auth-alt svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: none;
}
.auth-legal {
  margin: 28px 0 0;
  color: #6b6b6b;
  font-size: 12px;
  line-height: 1.45;
}
