#account-registration-modal {
    --registration-violet: #6a3579;
    --registration-dark: #362c5e;
    --registration-muted: #68616d;
    --registration-border: #e3dfe5;
    color: #302d35;
    font: 14px/1.5 'Open Sans', Arial, sans-serif;
}
#account-registration-modal .modal-dialog { --bs-modal-width: 600px; --bs-modal-margin: 1rem; }
#account-registration-modal .modal-content { max-height: calc(100dvh - 2rem); overflow: hidden; border: 1px solid var(--registration-border); border-top: 4px solid var(--registration-violet); border-radius: 12px; background: white; box-shadow: 0 8px 28px rgb(54 44 94 / 12%); }
#account-registration-modal .modal-header { position: relative; display: block; flex-shrink: 0; padding: 1.5rem 3.5rem; border: 0; background: #f4edf6; text-align: center; }
#account-registration-modal .checkout-registration-eyebrow { margin: 0 0 .5rem; padding: 0; color: var(--registration-violet); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
#account-registration-modal .modal-title { margin: 0 0 .75rem; padding: 0; color: var(--registration-dark); font: 700 clamp(1.5rem, 4vw, 2rem)/1.25 'Open Sans', Arial, sans-serif; }
#account-registration-modal .checkout-registration-description { margin: 0; padding: 0; color: var(--registration-muted); font-size: .9rem; line-height: 1.6; }
#account-registration-modal .btn-close { position: absolute; top: .5rem; right: .5rem; box-sizing: border-box; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 6px; background-color: transparent; background-position: center; background-size: 16px; cursor: pointer; }
#account-registration-modal .modal-body { min-height: 0; padding: 1.5rem; overflow-y: auto; overscroll-behavior-y: contain; background: white; }
#account-registration-modal.checkout-registration .row { --bs-gutter-y: .75rem; }
#account-registration-modal .form-label { display: block; margin: 0 0 .5rem; color: #302d35; font-size: .875rem; font-weight: 600; }
#account-registration-modal .form-control { box-sizing: border-box; min-height: 46px; padding: .6rem .75rem; border: 1px solid var(--registration-border); border-radius: 6px; background: white; color: #302d35; font: 16px/1.5 'Open Sans', Arial, sans-serif; }
#account-registration-modal .form-control:focus { border-color: var(--registration-violet); box-shadow: 0 0 0 .2rem rgb(106 53 121 / 15%); }
#account-registration-modal :is(.form-text, .form-check-label) { color: var(--registration-muted); font-size: .85rem; }
#account-registration-modal [hidden], #account-registration-modal .checkout-registration-error:has([hidden]) { display: none !important; }
#account-registration-modal .form-switch .form-check-input:checked { background-color: var(--registration-violet); border-color: var(--registration-violet); }
#account-registration-modal .form-check-input:focus { border-color: var(--registration-violet); box-shadow: 0 0 0 .2rem rgb(106 53 121 / 15%); }
#account-registration-modal .checkout-modal-actions { position: sticky; bottom: -1.5rem; z-index: 2; padding-block: .75rem; background: white; }
#account-registration-modal .btn-primary {
    --bs-btn-bg: var(--registration-violet);
    --bs-btn-border-color: var(--registration-violet);
    --bs-btn-hover-bg: var(--registration-dark);
    --bs-btn-hover-border-color: var(--registration-dark);
    --bs-btn-active-bg: var(--registration-dark);
    --bs-btn-active-border-color: var(--registration-dark);
    --bs-btn-disabled-bg: var(--registration-violet);
    --bs-btn-disabled-border-color: var(--registration-violet);
    --bs-btn-focus-shadow-rgb: 106, 53, 121;
    min-height: 46px; padding: .7rem 1rem; border-radius: 6px; color: white; font: 600 .95rem/1.5 'Open Sans', Arial, sans-serif;
}
#account-registration-modal :is(button, input):focus-visible { outline: 3px solid var(--registration-violet); outline-offset: 2px; }
@media (max-width: 575px) {
    #account-registration-modal .modal-header { padding: 1.25rem 3rem; }
    #account-registration-modal .modal-body { padding: 1rem; }
    #account-registration-modal .checkout-modal-actions { bottom: -1rem; }
}
