/* Login method chooser shown before the existing phone OTP flow. */
.nb-otp-choice[hidden],
.nb-otp-steps[hidden] {
  display: none !important;
}
.nb-otp-choice {
  position: relative;
  isolation: isolate;
  text-align: center;
}
.nb-otp-choice::before,
.nb-otp-choice::after {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  content: "";
}
.nb-otp-choice::before {
  top: -18px;
  left: -30px;
  width: 194px;
  height: 148px;
  opacity: .76;
  background: url('../images/login-flower.webp') left top / contain no-repeat;
}
.nb-otp-choice::after {
  right: -48px;
  bottom: -58px;
  width: 190px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 70% 65%, rgba(248, 151, 190, .23), rgba(255, 220, 235, .13) 48%, transparent 74%);
}
.nb-otp-choice > * {
  position: relative;
  z-index: 1;
}
.nb-otp-choice__brand {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  margin: 0 auto 15px;
}
.nb-otp-choice__brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.nb-otp-choice__brand img.custom-logo {
  display: block;
  width: auto;
  max-width: 150px;
  max-height: 54px;
  object-fit: contain;
}
.nb-otp-choice__brand-name {
  color: var(--pink-600, #e0186a);
  font-size: 22px;
  font-weight: 800;
}
.nb-otp-choice h3 {
  margin: 0 0 6px;
  color: var(--text-dark, #26232a);
  font-size: 22px;
  font-weight: 800;
}
.nb-otp-choice__sub {
  margin: 0 0 24px;
  color: var(--text-mid, #6b6470);
  font-size: 14px;
  line-height: 1.8;
}
.nb-otp-choice__option {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 72px;
  gap: 13px;
  padding: 12px 14px;
  border: 1.5px solid var(--border, #eee3ea);
  border-radius: 16px;
  background: var(--bg-surface, #fff);
  color: var(--text-dark, #26232a);
  text-align: right;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.nb-otp-choice__option:hover,
.nb-otp-choice__option:focus-visible {
  border-color: var(--pink-500, #ec2c6f);
  box-shadow: 0 7px 20px rgba(236, 44, 111, .12);
  outline: none;
  transform: translateY(-1px);
}
.nb-otp-choice__option--phone {
  border-color: var(--pink-500, #ec2c6f);
  background: linear-gradient(110deg, var(--bg-surface, #fff), var(--pink-50, #fdf1f6));
}
.nb-otp-choice__icon {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--pink-50, #fdf1f6);
  color: var(--pink-600, #e0186a);
}
.nb-otp-choice__copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}
.nb-otp-choice__title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.6;
}
.nb-otp-choice__hint {
  color: var(--text-mid, #6b6470);
  font-size: 11.5px;
  line-height: 1.6;
}
.nb-otp-choice__arrow {
  flex: 0 0 auto;
  color: var(--text-light, #9992a0);
  font-size: 22px;
  line-height: 1;
}
.nb-otp-choice__divider {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 15px 0;
  color: var(--text-light, #9992a0);
  font-size: 12px;
}
.nb-otp-choice__divider::before,
.nb-otp-choice__divider::after {
  height: 1px;
  flex: 1;
  background: var(--border, #eee3ea);
  content: "";
}
.nb-otp-choice__torob {
  width: 100%;
  margin: 0;
}
.nb-otp-choice__torob > p {
  margin: 0;
}
.nb-otp-choice__torob a,
.nb-otp-choice__torob button {
  max-width: 100%;
  font-family: inherit;
}
.nb-otp-choice__torob-unavailable {
  padding: 12px 14px;
  border: 1px solid var(--border, #eee3ea);
  border-radius: 14px;
  color: var(--text-mid, #6b6470);
  font-size: 12px;
  text-align: center;
}
.nb-otp-choice__legal {
  margin: 16px 0 0;
  color: var(--text-light, #9992a0);
  font-size: 10.5px;
  line-height: 1.8;
}
@media (max-width: 480px) {
  .nb-otp-choice::before { width: 166px; height: 126px; top: -14px; left: -26px; }
  .nb-otp-choice::after { width: 150px; height: 120px; right: -38px; bottom: -44px; }
  .nb-otp-choice h3 { font-size: 20px; }
  .nb-otp-choice__option { min-height: 68px; padding: 11px 12px; }
}
