/* Scoped to signup and the public partner login. Existing dashboards are untouched. */
.sc-b2b-badge{display:inline-flex!important;align-self:center;justify-self:center;justify-content:center;align-items:center;position:relative;z-index:2;box-sizing:border-box;width:fit-content;max-width:calc(100% - 28px);min-height:36px;border:1px solid #eac6a0;background:linear-gradient(120deg,#e8bd92,#d29d6d);color:#24190f;border-radius:8px;padding:8px 14px;margin:6px auto 12px;font-size:12px!important;line-height:1.4;font-weight:800;letter-spacing:.06em;white-space:normal;text-align:center;box-shadow:inset 0 1px #fff4df55,0 3px 12px #00000020;}
.sc-b2b-badge.sc-b2b-private{border-color:#bdd5db;background:linear-gradient(120deg,#d9e8eb,#b6cfd6);color:#16262b;}
.sc-register-area{height:auto!important;min-height:245px!important;}
.sc-register-area>small{line-height:1.55!important;}
#registerPanel .sc-b2b-notice,.sc-b2b-portal-note{border:1px solid #996c47;border-left:3px solid #d09862;border-radius:12px;padding:17px 18px;background:#1e1914;color:#f0e4d8;line-height:1.6;margin:14px 0;}
#registerPanel .sc-b2b-notice>strong,.sc-b2b-portal-note>strong{font-size:14px;display:block;line-height:1.5;}
#registerPanel .sc-b2b-notice p,.sc-b2b-portal-note p{color:#d2c3b4;font-size:13px;margin:7px 0 11px;line-height:1.65;}
#registerPanel .sc-b2b-switch,.sc-b2b-portal-link{border:0;background:none;color:#f0bd86;display:inline-block;font:inherit;font-size:13px;font-weight:700;padding:7px 0;text-align:left;white-space:normal;line-height:1.6;text-decoration:underline;text-underline-offset:4px;cursor:pointer;}
.sc-b2b-portal-link{display:block;margin:0;}
#registerPanel .sc-b2b-account-type{font-size:12px;font-weight:700;letter-spacing:.03em;color:#d5af89;line-height:1.5;margin:20px 0 12px;}
#registerPanel .sc-b2b-field{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:6px!important;margin:0!important;min-width:0;width:100%;text-align:left;}
#registerPanel .sc-b2b-field>span{display:block;font-size:12px;font-weight:600;color:#ded3c8;line-height:1.45;}
#registerPanel .sc-b2b-field>input,#registerPanel .sc-b2b-field>.sc-password-field{width:100%;min-width:0;margin:0!important;}
#registerPanel .sc-b2b-field-error{color:#ffb3a7;font-size:12px;line-height:1.55;padding:1px 0;}
#registerPanel .sc-b2b-declaration{border:1px solid #735b43;border-radius:10px;padding:12px!important;background:#1b1713;line-height:1.6!important;align-items:flex-start!important;gap:10px!important;}
#registerPanel .sc-b2b-declaration span{font-size:12px!important;line-height:1.65;}
#registerPanel .sc-b2b-declaration input{width:18px!important;min-width:18px;max-width:18px;height:18px!important;margin:3px 0 0!important;accent-color:#c99561;}
#registerPanel input[aria-invalid="true"],#registerPanel select[aria-invalid="true"]{border-color:#df8c80!important;outline-color:#df8c80;}
#registerPanel input[type="checkbox"][aria-invalid="true"]{outline:2px solid #df8c80;outline-offset:2px;}
#registerPanel .sc-b2b-feedback{color:#ffe1dc;border:1px solid #85584f;border-radius:10px;padding:12px 14px;line-height:1.65;font-size:13px;background:#281b18;}
#registerPanel .sc-b2b-switch:focus-visible,.sc-b2b-portal-link:focus-visible{outline:2px solid #dbaf82;outline-offset:4px;border-radius:3px;}
#registerPanel [aria-busy="true"]{cursor:progress;}
#registerPanel .sc-b2b-field[hidden],#registerPanel .sc-b2b-field.hidden,#registerPanel [hidden],.sc-b2b-portal-note [hidden]{display:none!important;}
@media(max-width:600px){
 .sc-register-area{min-height:225px!important;}
 #registerPanel .sc-b2b-notice,.sc-b2b-portal-note{padding:14px;}
 #registerPanel .sc-b2b-switch{min-height:44px;}
 #registerPanel .auth-row{min-width:0;}
 #registerPanel .auth-row>.sc-b2b-field{flex:1;min-width:0;}
 #registerPanel .sc-b2b-field input{font-size:16px!important;}
}

html body .sc-registration-mail-note{display:block!important;padding:14px 16px;margin:10px 0;border:1px solid #8a694c;border-radius:9px;background:#241c15;color:#f3d4b5;font:14px/1.6 Arial,sans-serif}
html body #regMailReceipt{display:block!important;padding:22px;margin:0 0 22px;border:2px solid #c99a70;border-radius:12px;background:linear-gradient(125deg,#332216,#11181b);color:#f4ece3;overflow-wrap:anywhere}
html body #regMailReceipt[hidden]{display:none!important}
html body #regMailReceipt h2{font:700 23px/1.3 Arial,sans-serif;color:#f5c294;margin:0 0 12px}
html body #regMailReceipt p{font:14px/1.65 Arial,sans-serif;color:#eee0d1;margin:10px 0}
html body #regMailReceipt>div{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
html body #regMailReceipt button{white-space:normal;min-height:44px;line-height:1.4}
html body #regMailReceipt:focus{outline:2px solid #f0c79c;outline-offset:3px}

/* Center account eligibility under each area title, including the mobile grid. */
body.sc-performance #authShellNew .sc-register-area>b{text-align:center;margin-bottom:8px}
body.sc-performance #authShellNew .sc-register-area>.sc-b2b-badge{align-self:center;justify-self:center;margin:6px auto 12px;text-align:center}
body.sc-performance #authShellNew .sc-register-area>small{text-align:center;color:#ded9d3;font-size:14px!important;line-height:1.6!important;max-width:340px;width:100%;align-self:center;margin-inline:auto}
@media(max-width:760px){
 /* Let the content set the height; keep the photograph wide enough to show the cars. */
 body.sc-performance #authShellNew .sc-register-area{display:flex;flex-direction:column;min-height:0!important;height:auto!important;padding:0 0 10px;gap:0;align-items:stretch}
 body.sc-performance #authShellNew .sc-register-area .sc-area-photo{width:100%;aspect-ratio:3/1;height:auto;max-height:160px;min-height:0;margin:0 0 8px;border-right:0;border-bottom:1px solid #493c31}
 body.sc-performance #authShellNew .sc-register-area .sc-area-photo img{width:100%;height:100%;object-fit:cover;object-position:center 52%}
 body.sc-performance #authShellNew .sc-register-area>b{font-size:14px;line-height:1.4;padding:0 14px;margin:0 0 5px}
 body.sc-performance #authShellNew .sc-register-area>.sc-b2b-badge{font-size:12px!important;line-height:1.35;min-height:0;padding:4px 10px;margin:0 auto 6px;max-width:calc(100% - 28px)}
 body.sc-performance #authShellNew .sc-register-area>small{box-sizing:border-box;align-self:center;font-size:14px!important;line-height:1.45!important;padding:0 14px;margin:0 auto;max-width:34rem;width:100%}
}
