.account-modal.signin-screen.customer-auth-page {
  --auth-line: color-mix(in srgb, var(--auth-ink) 15%, var(--auth-surface));
  --accent: var(--auth-accent);
  --on-accent: var(--auth-on-accent);
  --form-line: var(--auth-line);
  --form-ink: var(--auth-ink);
  --ink: var(--auth-ink);
  --muted: var(--auth-muted);
  --card: var(--auth-surface);
  background: var(--auth-page);
  color: var(--form-ink);
  color-scheme: dark;
  font-family: Inter, system-ui, sans-serif;
}

.customer-auth-page .signin-shell {
  position: relative;
  isolation: isolate;
  width: min(100%, 440px);
  padding: max(24px, env(safe-area-inset-top)) 28px
    max(24px, env(safe-area-inset-bottom));
}

.customer-auth-page .signin-shell::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 380px;
  background:
    radial-gradient(
      520px 260px at 85% 0%,
      color-mix(in srgb, var(--accent) 9%, transparent),
      transparent 70%
    ),
    radial-gradient(circle, #ffffff12 1px, transparent 1.2px) 0 0 / 22px 22px;
  mask-image: linear-gradient(#000, transparent);
  content: "";
  pointer-events: none;
}

.customer-auth-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.customer-auth-page-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 75%;
  min-width: 0;
  font-size: 15px;
  font-weight: 800;
  text-align: right;
  overflow-wrap: anywhere;
}

.customer-auth-page-logo {
  flex-shrink: 0;
  width: 34px;
  max-width: 100%;
  height: 34px;
  object-fit: contain;
  object-position: right center;
}

.customer-auth-page-logo-wide {
  width: 152px;
}

.customer-auth-page .signin-back {
  margin-left: 0;
  border: 1px solid var(--auth-line);
  border-radius: 12px;
  background: var(--auth-surface);
  color: var(--auth-ink);
}

.customer-auth-page .signin-back:hover {
  border-color: var(--accent);
}

.customer-auth-page-mark {
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 15px;
  font-weight: 800;
}

.customer-auth-page .signin-main {
  width: 100%;
  margin: 32px 0 0;
  padding: 0;
}

.customer-auth-page .auth-copy .customer-auth-page-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.customer-auth-page-label::before {
  flex: 0 0 24px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.customer-auth-page .auth-copy .customer-auth-page-label[hidden] {
  display: none;
}

.customer-auth-page .auth-copy h1 {
  margin: 0;
  color: var(--form-ink);
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.19;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.customer-auth-page .auth-copy .customer-auth-page-subtitle {
  margin: 8px 0 0;
  color: var(--auth-muted);
  font-size: 14px;
  line-height: 1.5;
}

.customer-auth-page .auth-form {
  gap: 20px;
  margin-top: 28px;
}

.customer-auth-page #register-form {
  margin-top: 24px;
}

.customer-auth-page .auth-form label {
  color: var(--form-ink);
  font-weight: 700;
}

.customer-auth-field > label {
  margin-bottom: 8px;
}

.customer-auth-input {
  position: relative;
}

.customer-auth-page .auth-form input:not([type="checkbox"]) {
  height: 54px;
  border-radius: 14px;
  box-shadow: none;
}

.customer-auth-page .auth-form .customer-auth-input > input {
  padding-left: 46px;
}

.customer-auth-page .auth-form .password-input > input {
  padding-right: 56px;
}

.customer-auth-field-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: var(--auth-muted);
  pointer-events: none;
}

.customer-auth-input:focus-within > .customer-auth-field-icon {
  color: var(--accent);
}

.customer-auth-page .password-input > button {
  inset: 4px 4px 4px auto;
  width: 46px;
  min-width: 46px;
  min-height: 0;
  color: var(--auth-muted);
}

.customer-auth-page .password-input svg {
  width: 20px;
  height: 20px;
}

.customer-auth-page .auth-form .consent-check {
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.customer-auth-page .consent-check input {
  flex-basis: 22px;
  width: 22px;
  height: 22px;
}

.customer-auth-page .primary-action {
  min-height: 58px;
  margin: 2px 0 0;
  border-radius: 14px;
  font-weight: 700;
}

.customer-auth-page .primary-action:enabled:hover {
  filter: brightness(1.05);
}

.customer-auth-page .auth-help-link {
  justify-self: end;
  align-self: center;
  min-height: 30px;
  margin: -14px 0 0;
  padding: 6px 0;
  background: none;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.customer-auth-page .auth-help-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.customer-auth-page :is(.auth-field-error, .password-hint.unmet),
.customer-auth-page .verification-box .auth-field-error {
  color: var(--auth-error);
}

.customer-auth-page .password-hint.met {
  color: var(--auth-success);
}

.customer-auth-page .social-auth {
  margin-top: 22px;
}

.customer-auth-page .social-auth-divider {
  gap: 14px;
  margin-bottom: 16px;
  color: var(--auth-muted);
  font-size: 13px;
}

.customer-auth-page .social-auth-divider::before,
.customer-auth-page .social-auth-divider::after {
  background: var(--auth-line);
}

.customer-auth-page :is(.social-auth-button, .customer-auth-page-alternate) {
  min-height: 54px;
  border: 1px solid var(--auth-line);
  border-radius: 14px;
  color: var(--auth-ink);
  font:
    700 15px/1.4 Inter,
    system-ui,
    sans-serif;
}

.customer-auth-page
  :is(.social-auth-button, .customer-auth-page-alternate):hover {
  border-color: var(--accent);
}

.customer-auth-page .social-auth-google {
  background: var(--auth-surface);
}

.customer-auth-page .social-auth-button.social-auth-apple {
  background: #111;
  color: #fff;
}

.customer-auth-page .auth-help-link,
.customer-auth-page-footer a,
.customer-auth-promotion-terms > summary {
  color: var(--accent);
}

.customer-auth-page .customer-auth-page-footer {
  display: block;
  margin: auto 0 0;
  padding: 28px 0 0;
  border: 0;
  color: var(--auth-muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.customer-auth-page-footer p {
  margin: 0;
}

.customer-auth-page:has(#register-form) .customer-auth-page-footer {
  margin-top: 0;
  padding-top: 18px;
}

.customer-auth-page-footer a {
  text-underline-offset: 2px;
}

.customer-auth-page .customer-auth-page-footer .signup-terms {
  margin: 0 0 12px;
  color: var(--auth-muted);
}

.customer-auth-page-footer .signup-terms a {
  color: var(--auth-ink);
}

.customer-auth-page .customer-auth-page-alternate {
  display: grid;
  place-items: center;
  margin-top: 12px;
  text-decoration: none;
}

.customer-auth-page #signup-promotion {
  margin-top: 14px;
}

.customer-auth-promotion-reward {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 4px;
  overflow: hidden;
  padding: 16px;
  border: 1px solid var(--auth-line);
  border-radius: 16px;
  background: var(--auth-surface);
  color: var(--auth-muted);
  font-size: 13px;
  line-height: 1.35;
}

.customer-auth-promotion-reward::after {
  position: absolute;
  z-index: -1;
  top: -30px;
  right: -30px;
  width: 112px;
  height: 112px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 50%;
  box-shadow:
    0 0 0 18px color-mix(in srgb, var(--accent) 5%, transparent),
    0 0 0 36px color-mix(in srgb, var(--accent) 3%, transparent);
  content: "";
}

.customer-auth-promotion-reward:has(> img:only-child)::after {
  display: none;
}

.customer-auth-promotion-reward strong {
  color: var(--accent);
  font:
    700 24px/30px Manrope,
    Inter,
    system-ui,
    sans-serif;
  letter-spacing: -0.03em;
}

.customer-auth-promotion-reward img {
  display: block;
  max-width: 100%;
  border-radius: 8px;
}

.customer-auth-promotion-reward p {
  margin: 0;
}

.customer-auth-promotion-terms {
  margin-top: 12px;
  color: var(--auth-muted);
  font-size: 13px;
  line-height: 1.5;
}

.customer-auth-promotion-terms > summary {
  width: fit-content;
  padding: 4px 0;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.customer-auth-promotion-terms ul {
  margin: 6px 0 0;
  padding-left: 20px;
}

.customer-auth-page :is(.verification-box p, .password-help-card p) {
  color: var(--auth-muted);
}

.customer-auth-page :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (min-width: 701px) {
  .customer-auth-page .signin-shell {
    width: 460px;
    min-height: calc(100dvh - 96px);
    margin-block: 48px;
    padding: 32px;
    border: 1px solid var(--auth-line);
    border-radius: 20px;
    background: var(--auth-surface);
  }

  .customer-auth-page .signin-shell::before {
    display: none;
  }

  .customer-auth-page :is(.signin-back, .social-auth-google),
  .customer-auth-page .auth-form input:not([type="checkbox"]),
  .customer-auth-promotion-reward {
    background: var(--auth-page);
  }
}

@media (max-width: 359px) {
  .customer-auth-page .signin-shell {
    padding-inline: 20px;
  }
}
