.customer-auth-dialog { width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 32px; border: 0; background: #fff; color: #242424; box-shadow: 0 20px 70px #0003; overflow-y: auto; }
.customer-auth-dialog::backdrop { background: #0008; }
body:has(.customer-auth-dialog[open]) { overflow: hidden; }
.customer-auth-dialog h2 { margin: 0 32px 24px 0; font-size: 24px; }
.customer-auth-dialog .customer-auth-close { position: absolute; top: 12px; right: 12px; min-height: 36px; width: 36px; padding: 0; border: 0; background: transparent; color: #333; font-size: 28px; cursor: pointer; }
.customer-auth [hidden] { display: none !important; }
.customer-auth-tabs { display: flex; gap: 24px; margin-bottom: 24px; border-bottom: 1px solid #e4e4e4; }
.customer-auth-tabs a { padding: 0 0 12px; font-size: 18px; color: #666; border-bottom: 2px solid transparent; }
.customer-auth-tabs a[aria-current] { color: var(--wd-primary-color, #e63329); border-bottom-color: currentColor; }
.customer-auth-field { margin-bottom: 16px; }
.customer-auth-field label { display: block; margin-bottom: 6px; }
.customer-auth-field :is(input, select, textarea) { width: 100%; min-height: 44px; border: 1px solid #ccc; background: #fff; padding: 10px 12px; color: #242424; font: inherit; }
.customer-auth-field textarea { resize: vertical; }
.customer-auth-field [aria-invalid] { border-color: #b42318; }
.customer-auth-wholesale { border: 0; margin: 0; padding: 0; min-width: 0; }
.customer-auth-wholesale legend { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.customer-auth-hint { font-size: 13px; line-height: 1.6; margin: 0 0 18px; }
.customer-auth-hint a { text-decoration: underline; }
.customer-auth-honeypot { display: none !important; }
.customer-auth-checkbox { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 16px; font-size: 14px; line-height: 1.5; }
.customer-auth-checkbox input { flex: 0 0 auto; margin: 4px 0 0; }
.customer-auth-checkbox a { text-decoration: underline; }
.customer-auth-error, .customer-auth-status { display: block; color: #b42318; font-size: 13px; line-height: 1.5; margin: 6px 0; }
.customer-auth .customer-auth-submit { width: 100%; margin-top: 8px; padding: 12px 16px; background: var(--wd-primary-color, #e63329); color: #fff; border: 0; cursor: pointer; }
.customer-auth-submit:disabled { opacity: .65; cursor: wait; }
@media (max-width: 480px) {
    .customer-auth-dialog { padding: 24px; }
}
