.customer-auth {
  --auth-navy: #062b4f;
  --auth-cyan: #007da5;
  --auth-muted: #516779;
  --auth-line: #cfdee7;
  padding: 36px 16px 48px;
  color: var(--auth-navy);
  background: radial-gradient(ellipse at 50% 0, #e4f7ff, transparent 65%), #f5f8fa;
}
.customer-auth, .customer-auth * { box-sizing: border-box; }
.customer-auth__shell { width: min(100%, 480px); margin-inline: auto; }
.customer-auth__card { overflow: hidden; border: 1px solid var(--auth-line); border-top: 3px solid #00aeef; border-radius: 18px; background: #fff; box-shadow: 0 12px 32px #062b4f0a; }
.customer-auth__body { padding: 28px 32px; }
.customer-auth__heading { margin-bottom: 22px; }
.customer-auth__logo { display: block; width: 132px; height: 48px; object-fit: contain; object-position: center; margin: 0 auto 20px; }
.customer-auth__back { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 20px; }
.customer-auth__eyebrow { display: block; margin-bottom: 10px; color: var(--auth-cyan); font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.customer-auth[dir="rtl"] .customer-auth__eyebrow { letter-spacing: 0; }
.customer-auth h1 { margin: 0 0 10px; color: var(--auth-navy); font-size: clamp(24px, 4vw, 30px); line-height: 1.35; }
.customer-auth p { margin: 0 0 16px; color: var(--auth-muted); font-size: 14px; line-height: 1.75; }
.customer-auth__form { display: grid; gap: 16px; margin: 0; }
.customer-auth__field { display: grid; gap: 7px; min-width: 0; }
.customer-auth label { display: block; margin: 0; color: var(--auth-navy); font-size: 13px; font-weight: 750; }
.customer-auth__label-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; }
.customer-auth a { color: var(--auth-cyan); font-size: 13px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.customer-auth a:hover { color: var(--auth-navy); }
.customer-auth__label-row a { display: inline-flex; align-items: center; min-height: 28px; }
.customer-auth input:not([type="hidden"]) { display: block; width: 100%; min-width: 0; height: 48px; padding: 10px 12px; border: 1px solid #b9cdd9; border-radius: 9px; background: #fff; color: var(--auth-navy); font: inherit; font-size: 16px; box-shadow: none; }
.customer-auth input::placeholder { color: #71828e; opacity: 1; }
.customer-auth input:hover { border-color: #7a9daf; }
.customer-auth input:focus { border-color: var(--auth-cyan); outline: 3px solid #c7efff; outline-offset: 1px; }
.customer-auth :is(button, a):focus-visible { outline: 3px solid var(--auth-cyan); outline-offset: 3px; }
.customer-auth input[aria-invalid="true"] { border-color: #b53030; }
.customer-auth .password-field { position: relative; display: flex; align-items: center; }
.customer-auth .password-field input { padding-inline-end: 78px; }
.customer-auth .password-toggle { position: absolute; inset-inline-end: 2px; min-width: 64px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 7px; background: #eaf8fc; color: #06617e; font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; }
.customer-auth__submit, .customer-auth__secondary, .customer-auth .btn-primary { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 11px 16px; border: 1px solid var(--auth-navy); border-radius: 14px; background: var(--auth-navy); color: #fff; font: inherit; font-size: 15px; font-weight: 750; cursor: pointer; box-shadow: none; transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease; }
.customer-auth__submit:hover { background: #104c68; border-color: #104c68; box-shadow: 0 8px 18px #062b4f1c; }
.customer-auth__secondary { background: #fff; border-color: var(--auth-line); color: var(--auth-cyan); }
.customer-auth__secondary:hover { background: #eef9fd; }
.customer-auth button:disabled { opacity: .65; cursor: wait; }
.customer-auth__hint, .customer-auth__error, .customer-auth__status { font-size: 12px; line-height: 1.6; }
.customer-auth__hint { color: var(--auth-muted); }
.customer-auth__error { color: #a52323; }
.customer-auth__status { color: var(--auth-cyan); }
.customer-auth__status:empty, .customer-auth [hidden] { display: none; }
.customer-auth__notice, .customer-auth__feedback { margin-bottom: 20px; padding: 12px 14px; border: 1px solid #c7e6f0; border-radius: 9px; background: #f0faff; font-size: 13px; overflow-wrap: anywhere; }
.customer-auth__feedback { border-color: #edc4c4; background: #fff5f5; }
.customer-auth__feedback p { color: #942626; }
.customer-auth__feedback--success { border-color: #b6dfd0; background: #f0faf5; }
.customer-auth__feedback--success p { color: #1b684c; }
.customer-auth__notice strong { display: block; margin-bottom: 4px; }
.customer-auth :is(.customer-auth__notice, .customer-auth__feedback) p { margin: 0; font-size: 13px; }
.customer-auth__feedback p + p { margin-top: 6px; }
.customer-auth__footer { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #e7eef3; color: var(--auth-muted); font-size: 13px; text-align: center; }
.customer-auth__footer a { display: inline-flex; align-items: center; min-height: 44px; }
.customer-auth input.customer-auth__code { letter-spacing: .4em; font-size: 22px; text-align: center; }
@media (max-width: 520px) {
  .customer-auth { padding: 20px 12px 28px; }
  .customer-auth__body { padding: 24px 20px; }
  .customer-auth__card { border-radius: 14px; }
  .customer-auth__label-row a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .customer-auth *, .customer-auth *::before, .customer-auth *::after { transition: none; }
}
