/* Customer authentication: every selector is scoped to the dialog. */
.sb-auth-dialog {
  position: fixed;
  inset: 0;
  width: min(480px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #000;
  background: #fff;
  border: 0;
  border-radius: 0;
  font-family: var(--font-family, "Helvetica Neue", Arial, sans-serif);
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 24px 90px #0003;
}
.sb-auth-dialog::backdrop { background: rgb(0 0 0 / 65%); }
.sb-auth-dialog *, .sb-auth-dialog *::before, .sb-auth-dialog *::after { box-sizing: border-box; }
.sb-auth-dialog [hidden] { display: none !important; }
.sb-auth-dialog .sb-auth-shell { position: relative; padding: 32px; }
.sb-auth-dialog button, .sb-auth-dialog input { font: inherit; }
.sb-auth-dialog button { cursor: pointer; border-radius: 0; }
.sb-auth-dialog button:disabled { cursor: wait; opacity: .55; }
.sb-auth-dialog button:focus-visible, .sb-auth-dialog a:focus-visible { outline: 2px solid #000; outline-offset: 4px; }
.sb-auth-dialog .sb-auth-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; color: #888; background: transparent; }
.sb-auth-dialog .sb-auth-close:hover { color: #000; }
.sb-auth-dialog .sb-auth-wordmark { margin: 0 36px 20px 0; color: #898989; font-size: 10px; font-weight: 500; letter-spacing: 3.7px; }
.sb-auth-dialog .sb-auth-brand-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 20px 20px 0; }
.sb-auth-dialog .sb-auth-brand-row .sb-auth-wordmark { margin: 0; }
.sb-auth-dialog .sb-auth-languages { display: flex; gap: 5px; font-size: 10px; letter-spacing: .5px; color: #aaa; }
.sb-auth-dialog .sb-auth-languages a { color: #888; text-decoration: none; }
.sb-auth-dialog .sb-auth-languages a[aria-current="page"] { color: #000; }
.sb-auth-dialog .sb-auth-languages a[aria-disabled="true"] { pointer-events: none; opacity: .5; }
.sb-auth-dialog .sb-auth-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.sb-auth-dialog .sb-auth-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid #e9e9e9; }
.sb-auth-dialog .sb-auth-tab { position: relative; min-height: 48px; padding: 0 6px 17px; border: 0; color: #8b8b8b; background: transparent; font-size: 13px; font-weight: 400; letter-spacing: 1px; text-align: center; text-transform: uppercase; }
.sb-auth-dialog .sb-auth-tab[aria-selected="true"] { color: #000; font-weight: 650; }
.sb-auth-dialog .sb-auth-tab[aria-selected="true"]::after { position: absolute; content: ""; inset: auto 0 -1px; height: 2px; background: #000; }
.sb-auth-dialog .sb-auth-panel { margin-top: 30px; }
.sb-auth-dialog .sb-auth-form { display: flex; flex-direction: column; gap: 20px; margin: 0; }
.sb-auth-dialog .sb-auth-field > label { display: block; margin: 0 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; }
.sb-auth-dialog .sb-auth-field input { display: block; width: 100%; height: 48px; min-width: 0; margin: 0; padding: 12px 15px; border: 1px solid #d5d5d5; border-radius: 0; color: #111; background: #fff; outline: none; box-shadow: none; }
.sb-auth-dialog .sb-auth-field input::placeholder { color: #a3a3a3; opacity: 1; }
.sb-auth-dialog .sb-auth-field .sb-auth-code-input { font-size: 24px; letter-spacing: .45em; text-align: center; }
.sb-auth-dialog .sb-auth-field input:focus { border-color: #000; box-shadow: 0 0 0 1px #000; }
.sb-auth-dialog .sb-auth-field input[aria-invalid="true"] { border-color: #a32727; }
.sb-auth-dialog .sb-auth-password { position: relative; }
.sb-auth-dialog .sb-auth-password input { padding-right: 48px; }
.sb-auth-dialog .sb-auth-password-toggle { position: absolute; top: 2px; right: 2px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; color: #888; background: transparent; }
.sb-auth-dialog .sb-auth-password-toggle:hover { color: #000; }
.sb-auth-dialog .sb-auth-eye-slash { display: none; }
.sb-auth-dialog .sb-auth-password-toggle[aria-pressed="true"] .sb-auth-eye-slash { display: block; }
.sb-auth-dialog .sb-auth-hint { margin: 6px 0 0; color: #777; font-size: 11px; line-height: 1.5; }
.sb-auth-dialog .sb-auth-field-error { margin: 6px 0 0; color: #a32727; font-size: 12px; line-height: 1.4; }
.sb-auth-dialog .sb-auth-submit { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; margin: 3px 0 0; padding: 12px 16px; border: 1px solid #000; color: #fff; background: #000; font-size: 12px; font-weight: 600; letter-spacing: 1.8px; text-align: center; text-transform: uppercase; transition: background .18s; }
.sb-auth-dialog .sb-auth-submit:hover { background: #252525; }
.sb-auth-dialog .sb-auth-text-button { display: inline; min-height: 32px; padding: 4px 0; border: 0; color: #777; background: transparent; font-size: 12px; text-align: center; text-decoration: none; }
.sb-auth-dialog .sb-auth-text-button:hover { color: #000; text-decoration: underline; text-underline-offset: 4px; }
.sb-auth-dialog .sb-auth-forgot { align-self: center; margin-top: -7px; }
.sb-auth-dialog .sb-auth-divider { display: flex; align-items: center; gap: 16px; margin: 20px 0 25px; color: #999; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.sb-auth-dialog .sb-auth-divider::before, .sb-auth-dialog .sb-auth-divider::after { content: ""; flex: 1; height: 1px; background: #e9e9e9; }
.sb-auth-dialog .sb-auth-social { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 47px; padding: 10px 15px; border: 1px solid #ddd; color: #000; background: #fff; font-size: 13px; font-weight: 500; }
.sb-auth-dialog .sb-auth-social:hover { background: #fafafa; border-color: #999; }
.sb-auth-dialog .sb-auth-consents { display: flex; flex-direction: column; gap: 12px; margin: 1px 0 0; }
.sb-auth-dialog .sb-auth-check { display: flex; align-items: flex-start; gap: 10px; color: #666; font-size: 11px; line-height: 1.6; cursor: pointer; }
.sb-auth-dialog .sb-auth-check input { flex: 0 0 16px; width: 16px; height: 16px; margin: 1px 0 0; accent-color: #000; cursor: pointer; }
.sb-auth-dialog .sb-auth-check input:focus-visible { outline: 2px solid #000; outline-offset: 3px; }
.sb-auth-dialog .sb-auth-check input[aria-invalid="true"] { outline: 1px solid #a32727; outline-offset: 2px; }
.sb-auth-dialog .sb-auth-check a { color: #111; text-decoration: underline; text-underline-offset: 2px; }
.sb-auth-dialog .sb-auth-back { margin: -11px 0 18px; text-align: left; }
.sb-auth-dialog .sb-auth-back span { margin-right: 6px; }
.sb-auth-dialog .sb-auth-title { margin: 0 0 12px; color: #000; font-size: 27px; font-weight: 600; line-height: 1.15; letter-spacing: -.8px; }
.sb-auth-dialog .sb-auth-description { margin: 0 0 25px; color: #666; font-size: 13px; line-height: 1.65; }
.sb-auth-dialog .sb-auth-verify { text-align: center; }
.sb-auth-dialog .sb-auth-mail-icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 6px auto 22px; border: 1px solid #ddd; }
.sb-auth-dialog .sb-auth-eyebrow { margin: 0 0 9px; color: #888; font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; }
.sb-auth-dialog .sb-auth-verify-address { margin: -10px 0 20px; color: #111; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.sb-auth-dialog .sb-auth-verify .sb-auth-submit { margin: 25px 0 12px; }
.sb-auth-dialog .sb-auth-notice { margin: 20px 0 0; padding: 14px 16px; border-left: 2px solid #000; color: #444; background: #f5f5f5; font-size: 12px; line-height: 1.6; }
.sb-auth-dialog .sb-auth-loading { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; color: #666; font-size: 12px; }
.sb-auth-dialog .sb-auth-loading::before { content: ""; width: 12px; height: 12px; border: 1px solid #ccc; border-top-color: #111; border-radius: 50%; animation: sb-auth-spin .7s linear infinite; }
.sb-auth-dialog .sb-auth-complete-icon { color: #fff; background: #000; border-color: #000; }
.sb-auth-dialog [data-sb-auth-complete-title]:focus { outline: none; }
@keyframes sb-auth-spin { to { transform: rotate(360deg); } }
.sb-auth-dialog .sb-auth-preview-note { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid #eee; color: #888; font-size: 10px; text-align: center; }
.sb-auth-dialog .sb-auth-preview-link { display: block; width: 100%; margin-top: 14px; }
@media (max-width: 520px) {
  .sb-auth-dialog { width: calc(100% - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  .sb-auth-dialog .sb-auth-shell { padding: 30px 22px 24px; }
  .sb-auth-dialog .sb-auth-wordmark { letter-spacing: 2.7px; }
  .sb-auth-dialog .sb-auth-brand-row { gap: 8px; }
  .sb-auth-dialog .sb-auth-brand-row .sb-auth-wordmark { font-size: 9px; letter-spacing: 2px; }
  .sb-auth-dialog .sb-auth-field input { font-size: 16px; }
  .sb-auth-dialog .sb-auth-panel { margin-top: 25px; }
  .sb-auth-dialog .sb-auth-form { gap: 17px; }
  .sb-auth-dialog .sb-auth-title { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { .sb-auth-dialog .sb-auth-submit { transition: none; } .sb-auth-dialog .sb-auth-loading::before { animation: none; } }
