.registration-shell{max-width:540px}
/* Keep dropdown buttons styled as fields, including inside business panels. */
#registerForm .custom-select{min-width:0;margin-top:7px}
#registerForm .custom-select-trigger{display:flex;justify-content:space-between;text-align:left;min-height:48px;padding:11px 12px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#334155;font-weight:500;box-shadow:none}
#registerForm .custom-select-value{color:inherit}
#registerForm .custom-select-trigger:hover{background:#f8fafc;color:#1e293b;border-color:#94a3b8}
#registerForm .custom-select-trigger:focus,#registerForm .custom-select.is-open .custom-select-trigger{outline:none;border-color:#818cf8;box-shadow:0 0 0 2px rgba(99,102,241,.14)}
#registerForm .custom-select-trigger:focus-visible{outline:2px solid #6366f1;outline-offset:2px}
.registration-select-menu{background:#fff;border-color:#cbd5e1;box-shadow:0 12px 28px -12px rgba(15,23,42,.25);backdrop-filter:none}
.registration-select-menu .custom-select-option{background:transparent;color:#334155;min-height:42px;font-weight:500}
.registration-select-menu .custom-select-option:hover,.registration-select-menu .custom-select-option.is-focused{background:#f1f5f9;color:#1e293b}
.registration-select-menu .custom-select-option.is-selected{background:#eef2ff;color:#4338ca;font-weight:650}
.registration-select-menu .custom-select-option.is-selected:hover{background:#e0e7ff;color:#3730a3}
html.dark #registerForm .custom-select-trigger{background:#0f172a!important;color:#e2e8f0!important;border-color:#334155!important}
html.dark #registerForm .custom-select-trigger:hover{background:#1e293b!important;border-color:#64748b!important}
html.dark #registerForm .custom-select-trigger:focus,html.dark #registerForm .custom-select.is-open .custom-select-trigger{border-color:#818cf8!important}
html.dark .registration-select-menu{background:#182234!important;border-color:#475569!important}
html.dark .registration-select-menu .custom-select-option{color:#e2e8f0}
html.dark .registration-select-menu .custom-select-option:hover,html.dark .registration-select-menu .custom-select-option.is-focused{background:#29364d!important;color:#f8fafc!important}
html.dark .registration-select-menu .custom-select-option.is-selected{background:#312e81!important;color:#e0e7ff!important}
html.dark .registration-select-menu .custom-select-option.is-selected:hover{background:#3730a3!important;color:#fff!important}
#registerForm [hidden]{display:none!important}
.registration-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;list-style:none;padding:0;margin:0}
.registration-progress li{display:flex;flex-direction:column;align-items:center;gap:7px;color:#64748b;font-size:12px;position:relative}
.registration-progress li>span{display:grid;place-items:center;width:34px;height:34px;border:1px solid #cbd5e1;background:#f8fafc;border-radius:50%;font-weight:700}
.registration-progress li[aria-current]>span{background:#4f46e5;border-color:#4f46e5;color:#fff;box-shadow:0 0 0 4px #eef2ff}
.registration-progress li[aria-current]{color:#4338ca}
.registration-progress li.is-complete>span{background:#ecfdf5;border-color:#6ee7b7;color:#047857}
.registration-step-status{font-size:12px;font-weight:600;color:#64748b;margin-bottom:8px!important}
.registration-step-title{font-size:22px;font-weight:750;line-height:1.3;margin:0 0 16px;scroll-margin-top:110px}
.registration-step-title:focus{outline:none}
.registration-step-title:focus-visible{outline:2px solid #818cf8;outline-offset:5px;border-radius:4px}
#registerForm [data-registration-step]>div+div,#registerForm [data-registration-step]>label+div{margin-top:20px}
.registration-step-description{color:#64748b;font-size:14px;line-height:1.6;margin:-6px 0 20px}
.registration-actions{display:flex;gap:12px;align-items:stretch;border-top:1px solid #e2e8f0;padding-top:20px}
.registration-actions button{min-height:48px;border-radius:12px;font-weight:650;font-size:14px;padding:12px 18px}
.registration-next,#registrationSubmit{flex:1;min-width:0;background:#4f46e5;color:white}
.registration-next:hover{background:#4338ca}
.registration-back{background:#f1f5f9;color:#334155;border:1px solid #cbd5e1}
.registration-back:hover{background:#e2e8f0}
.registration-actions button:disabled{opacity:.55;cursor:wait}
#registrationLegalConsent:empty{display:none}
#registrationLegalConsent{font-size:14px;line-height:1.6;margin-bottom:18px}
#registrationLegalConsent input{margin-right:8px}
html.dark .registration-progress li,html.dark .registration-step-status,html.dark .registration-step-description{color:#aebcd1}
html.dark .registration-progress li>span{background:#182235;border-color:#475569}
html.dark .registration-progress li[aria-current]{color:#c7d2fe}
html.dark .registration-progress li[aria-current]>span{background:#6366f1;border-color:#818cf8;box-shadow:0 0 0 4px #29264d;color:white}
html.dark .registration-progress li.is-complete>span{background:#123b32;border-color:#237c62;color:#a7f3d0}
html.dark .registration-actions{border-color:#334155}
html.dark .registration-back{background:#1e293b;color:#e2e8f0;border-color:#475569}
@media(max-width:540px){.registration-shell .account-form-card{padding:24px 20px}.registration-shell .account-form-card h2{font-size:25px}.registration-progress{gap:4px}.registration-progress li{font-size:11px}.registration-actions{gap:8px}.registration-actions button{padding:12px}.registration-step-title{font-size:20px}}

#registerForm .registration-password-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:40px;padding:0;border:0;border-radius:8px;background:transparent;color:#64748b;cursor:pointer}
#registerForm .registration-password-toggle:hover{background:#eef2ff;color:#4338ca}
#registerForm .registration-password-toggle:focus-visible{outline:2px solid #6366f1;outline-offset:1px}
html.dark #registerForm .registration-password-toggle{color:#cbd5e1}
html.dark #registerForm .registration-password-toggle:hover{background:#334155;color:#fff}
#registerForm input:is(#registerPass,#registerPassConfirm){padding-right:52px}
