.b2b-auth-page { margin: 0; color: #07144b; background: radial-gradient(ellipse at 10% 25%,#dcecff 0,transparent 50%),linear-gradient(130deg,#f5faff,#fff 55%,#eef5ff); font-family: var(--b2b-font, ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif); min-height: 100vh; min-height: 100svh; }
.b2b-auth-page * { box-sizing: border-box; }
.b2b-auth-shell { max-width: 1240px; margin: auto; padding: 24px 32px 20px; }
.b2b-auth-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.b2b-auth-header img { display: block; width: 220px; height: 72px; object-fit: contain; }
.b2b-auth-back { display: inline-flex; align-items: center; gap: 10px; color: #536489; font-size: 14px; text-decoration: none; }
.b2b-auth-card { display: grid; grid-template-columns: 1.08fr 1fr; background: white; border: 1px solid #dce8fa; border-radius: 28px; overflow: hidden; box-shadow: 0 24px 70px #153d7810; }
.b2b-auth-story { position: relative; padding: 42px 40px 30px; background: radial-gradient(ellipse at 80% 70%,#a6cfff80,transparent 65%),linear-gradient(145deg,#f0f7ff,#e2f0ff); }
.b2b-auth-badge { display: inline-flex; align-items: center; gap: 8px; color: #0055ff; font-size: 12px; font-weight: 600; border: 1px solid #c4dcff; border-radius: 30px; padding: 8px 12px; background: #ffffff80; }
.b2b-auth-badge > span { width: 7px; height: 7px; border-radius: 50%; background: #0055ff; }
.b2b-auth-story h2 { font-size: clamp(28px,3vw,38px); font-weight: 800; line-height: 1.15; letter-spacing: -.04em; margin: 22px 0 16px; }
.b2b-auth-story h2 span { color: #0055ff; text-decoration: underline; text-decoration-color: #ffa300; text-underline-offset: 7px; text-decoration-thickness: 3px; }
.b2b-auth-story > p { font-size: 14px; line-height: 1.7; color: #536489; margin: 0; max-width: 410px; }
.b2b-auth-illustration { display: block; width: 100%; height: 280px; object-fit: contain; margin: 14px auto; }
.b2b-auth-features { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 16px; }
.b2b-auth-features span { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #334b77; }
.b2b-auth-features svg { width: 17px; height: 17px; color: #0055ff; }
.b2b-auth-form-panel { align-self: center; padding: 44px 54px; }
.b2b-auth-eyebrow { color: #0055ff; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.b2b-auth-form-panel h1 { font-size: 32px; font-weight: 800; letter-spacing: -.035em; line-height: 1.2; margin: 12px 0; }
.b2b-auth-intro { color: #61708b; font-size: 14px; line-height: 1.7; margin: 0 0 28px; }
.b2b-auth-form { display: flex; flex-direction: column; gap: 20px; }
.b2b-auth-field label { display: block; font-size: 13px; font-weight: 650; margin-bottom: 9px; }
.b2b-auth-input { display: flex; align-items: center; gap: 11px; border: 1px solid #d8e4f5; border-radius: 11px; background: #fbfdff; padding: 0 14px; min-height: 54px; transition: border-color .2s,box-shadow .2s; }
.b2b-auth-input:focus-within { border-color: #0055ff; box-shadow: 0 0 0 3px #0055ff15; background: white; }
.b2b-auth-input > svg { width: 19px; height: 19px; flex-shrink: 0; color: #7494c5; }
.b2b-auth-input input { flex: 1; min-width: 0; width: 100%; border: 0; padding: 15px 0; background: transparent; color: #07144b; font-size: 15px; outline: none; box-shadow: none; }
.b2b-auth-input input:focus { outline: none; box-shadow: none; }
.b2b-auth-input input::placeholder { color: #8695ad; }
.b2b-auth-password-toggle { border: 0; padding: 8px 0 8px 4px; background: transparent; color: #0055ff; font-size: 11px; font-weight: 650; cursor: pointer; }
.b2b-auth-password-toggle[hidden] { display: none; }
.b2b-auth-forgot { align-self: flex-end; color: #0055ff; font-size: 12px; text-decoration: none; margin-top: -5px; }
.b2b-auth-submit { display: flex; align-items: center; justify-content: center; gap: 20px; width: 100%; min-height: 52px; border: 0; border-radius: 11px; color: white; background: linear-gradient(120deg,#0069ff,#0046ed); font-size: 14px; font-weight: 700; box-shadow: 0 8px 18px #0055ff24; cursor: pointer; transition: box-shadow .2s,background .2s; }
.b2b-auth-submit:hover { background: #0045d8; box-shadow: 0 10px 22px #0055ff30; }
.b2b-auth-register { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 26px; padding-top: 24px; border-top: 1px solid #e8eef7; font-size: 13px; color: #61708b; }
.b2b-auth-register a { color: #0055ff; font-weight: 700; text-decoration: none; }
.b2b-auth-help { color: #71809b; text-align: center; font-size: 12px; margin: 22px 0 0; }
.b2b-auth-help a { color: #536489; text-decoration: underline; text-underline-offset: 3px; }
.b2b-auth-alert { padding: 12px 14px; border: 1px solid #f5c9cc; border-radius: 10px; color: #a32738; background: #fff4f5; font-size: 13px; line-height: 1.6; }
.b2b-auth-alert ul { padding-left: 18px; margin: 5px 0 0; list-style: disc; }
.b2b-auth-field-error { display: block; color: #a32738; font-size: 12px; margin-top: 7px; }
.b2b-auth-footer { display: flex; justify-content: space-between; gap: 12px; padding-top: 22px; color: #71809b; font-size: 11px; }
.b2b-auth-legal { display: flex; gap: 16px; flex-shrink: 0; }
.b2b-auth-legal a { color: #536489; }
.b2b-register-legal-note { margin: 0 0 24px; color: #61708b; font-size: 12px; line-height: 1.8; }
.b2b-register-legal-note a { color: #0055ff; text-decoration: underline; text-underline-offset: 3px; }
.b2b-auth-page a:hover { color: #0045d8; }
.b2b-auth-page a:focus-visible,.b2b-auth-page button:focus-visible { outline: 3px solid #ffa300; outline-offset: 4px; }
@media(max-width: 1000px) { .b2b-auth-story { padding: 32px 28px; } .b2b-auth-form-panel { padding: 36px 32px; } .b2b-auth-features { justify-content: flex-start; } }
@media(min-width: 761px) and (max-height: 800px) { .b2b-auth-shell { padding-block: 16px; } .b2b-auth-header { margin-bottom: 18px; } .b2b-auth-story { padding-block: 30px; } .b2b-auth-illustration { height: 220px; } .b2b-auth-form-panel { padding-block: 30px; } .b2b-auth-intro { margin-bottom: 20px; } .b2b-auth-form { gap: 16px; } .b2b-auth-register { margin-top: 20px; padding-top: 18px; } .b2b-auth-help { margin-top: 16px; } .b2b-auth-footer { padding-top: 16px; } }
@media(max-width: 760px) { .b2b-auth-shell { max-width: 520px; padding: 18px 20px; } .b2b-auth-header { margin-bottom: 22px; } .b2b-auth-header img { width: 175px; height: 58px; } .b2b-auth-back { font-size: 12px; gap: 5px; } .b2b-auth-card { grid-template-columns: 1fr; border-radius: 22px; } .b2b-auth-story { display: none; } .b2b-auth-form-panel { padding: 36px 28px; } .b2b-auth-form-panel h1 { font-size: 30px; } }
@media(max-width: 380px) { .b2b-auth-shell { padding: 16px 14px; } .b2b-auth-header img { width: 145px; } .b2b-auth-form-panel { padding: 30px 20px; } .b2b-auth-footer { flex-direction: column; align-items: center; } }
@media(prefers-reduced-motion: reduce) { .b2b-auth-page * { transition: none !important; } }
.b2b-auth-success { color: #166449; border-color: #b8e5d5; background: #f0fbf6; }
.b2b-recovery-icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 20px 0; border-radius: 18px; color: #0055ff; background: #eaf3ff; }
.b2b-recovery-icon svg { width: 26px; height: 26px; }
.b2b-recovery-card h1 { font-size: clamp(26px,2.5vw,32px); }
.b2b-recovery-note { margin: 18px 0 0; color: #71809b; font-size: 12px; line-height: 1.7; }
.b2b-register-shell { max-width: 1320px; }
.b2b-register-layout { display: grid; grid-template-columns: 330px minmax(0,1fr); align-items: start; gap: 32px; }
.b2b-register-aside { position: sticky; top: 24px; border: 1px solid #d8e8ff; border-radius: 24px; padding: 28px 24px; background: radial-gradient(ellipse at 70% 90%,#bfdcff,transparent 65%),linear-gradient(145deg,#f0f7ff,#e5f1ff); }
.b2b-register-aside .b2b-auth-badge { font-size: 11px; }
.b2b-register-aside h2 { margin: 24px 0 16px; font-size: 32px; font-weight: 800; line-height: 1.2; letter-spacing: -.035em; }
.b2b-register-aside h2 span { color: #0055ff; text-decoration: underline; text-decoration-color: #ffa300; text-underline-offset: 6px; text-decoration-thickness: 3px; }
.b2b-register-aside > p { color: #536489; font-size: 13px; line-height: 1.7; }
.b2b-register-guide { display: grid; gap: 20px; margin-top: 28px; }
.b2b-register-guide a { display: flex; align-items: center; gap: 13px; color: #07144b; text-decoration: none; }
.b2b-register-guide a > span { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border: 1px solid #c8ddff; border-radius: 12px; color: #0055ff; background: #ffffffb0; font-size: 12px; font-weight: 700; }
.b2b-register-guide strong { display: block; font-size: 13px; }
.b2b-register-guide small { display: block; font-size: 11px; color: #61708b; margin-top: 3px; }
.b2b-register-illustration { display: block; width: 100%; height: 170px; object-fit: contain; margin: 22px auto 14px; }
.b2b-register-aside .b2b-register-support { font-size: 12px; margin: 0; padding-top: 18px; border-top: 1px solid #d2e3fa; }
.b2b-register-support a { color: #0055ff; font-weight: 650; }
.b2b-register-main { min-width: 0; }
.b2b-register-title { padding: 4px 0 26px; }
.b2b-register-title h1 { margin: 10px 0 12px; font-size: 34px; font-weight: 800; letter-spacing: -.035em; line-height: 1.2; }
.b2b-register-title p { color: #61708b; font-size: 14px; line-height: 1.7; margin: 0 0 12px; }
.b2b-register-title strong { font-weight: 600; color: #334b77; }
.b2b-register-required { font-size: 11px; color: #71809b; }
.b2b-register-form { display: flex; flex-direction: column; gap: 24px; }
.b2b-register-main > .b2b-auth-alert { margin-bottom: 24px; }
.b2b-register-section { padding: 28px; border: 1px solid #dce8fa; border-radius: 20px; background: #fff; box-shadow: 0 8px 28px #153d7806; scroll-margin-top: 24px; }
.b2b-register-section-heading { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid #edf2fa; }
.b2b-register-section-heading h2 { font-size: 18px; font-weight: 750; letter-spacing: -.02em; }
.b2b-register-section-icon { display: grid; place-items: center; width: 38px; height: 38px; background: #eaf3ff; color: #0055ff; border-radius: 12px; }
.b2b-register-section-icon svg { width: 21px; height: 21px; }
.b2b-register-form label { color: #334b77; font-size: 13px; font-weight: 600; }
.b2b-register-form input:not([type=radio]),.b2b-register-form select,.b2b-register-form textarea { width: 100%; min-width: 0; min-height: 48px; margin-top: 8px; border: 1px solid #d8e4f5; border-radius: 10px; background-color: #fbfdff; color: #07144b; font-size: 14px; padding: 12px; box-shadow: none; }
.b2b-register-form input:not([type=radio]):focus,.b2b-register-form select:focus,.b2b-register-form textarea:focus { border-color: #0055ff; outline: none; box-shadow: 0 0 0 3px #0055ff15; background-color: #fff; }
.b2b-register-form [aria-invalid=true] { border-color: #dc6676 !important; }
.b2b-register-form input[type=file] { font-size: 12px; padding: 10px; margin-left: 0; }
.b2b-register-form input[type=file]::file-selector-button { border: 0; border-radius: 6px; padding: 7px 10px; margin-right: 10px; color: #0055ff; background: #eaf3ff; cursor: pointer; font-weight: 600; }
.b2b-register-form input[type=file] + * { min-width: 0; }
.b2b-register-form label[for=company_logo] + div > span { display: none; }
.b2b-register-form .text-gray-500 { color: #71809b; line-height: 1.6; }
.b2b-register-password { position: relative; }
.b2b-register-form .b2b-register-password input { padding-right: 76px; }
.b2b-register-password button { position: absolute; right: 14px; top: 50%; transform: translateY(-40%); }
.b2b-register-choice { position: relative; padding: 18px; border: 1px solid #dce8fa; border-radius: 13px; background: #fff; transition: border-color .2s,background-color .2s; }
.b2b-register-choice:hover { border-color: #8cb9ff; background: #f8fbff; }
.b2b-register-choice:has(input:checked) { border-color: #0055ff; background: #f0f6ff; box-shadow: 0 0 0 1px #0055ff; }
.b2b-register-choice label { min-height: 80px; padding-right: 18px; }
.b2b-register-choice label > span:first-child { color: #07144b; font-size: 14px; }
.b2b-register-choice label > span:last-child { color: #61708b; font-size: 12px; line-height: 1.7; }
.b2b-register-choice input[type=radio] { accent-color: #0055ff; color: #0055ff; }
.b2b-register-choice:focus-within { outline: 3px solid #ffa300; outline-offset: 3px; }
.b2b-register-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 4px 0 18px; }
.b2b-register-actions a { color: #0055ff; font-size: 12px; }
.b2b-register-actions .b2b-auth-submit { width: auto; min-width: 210px; padding: 12px 24px; }
@media(max-width: 1100px) { .b2b-register-layout { grid-template-columns: 280px minmax(0,1fr); gap: 24px; } .b2b-register-aside { padding: 24px 20px; } .b2b-register-section { padding: 24px; } }
@media(max-width: 900px) { .b2b-register-layout { grid-template-columns: minmax(0,1fr); } .b2b-register-aside { display: none; } .b2b-register-shell { max-width: 820px; } }
@media(max-width: 760px) { .b2b-register-shell { max-width: 520px; } .b2b-register-title h1 { font-size: 30px; } .b2b-register-section { padding: 24px 20px; border-radius: 18px; } .b2b-register-section-heading { margin-bottom: 20px; } .b2b-register-section-heading h2 { font-size: 16px; } .b2b-register-actions { flex-direction: column-reverse; align-items: stretch; text-align: center; } .b2b-register-actions .b2b-auth-submit { width: 100%; } .b2b-register-choice label { min-height: auto; } .b2b-register-form input:not([type=radio]),.b2b-register-form select,.b2b-register-form textarea { font-size: 16px; } }

/* Login uses the same navy, electric blue and gold as the public hero. */
.b2b-login-page {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(ellipse at 13% 38%, #c7dcfa 0%, transparent 58%),
        radial-gradient(ellipse at 92% 22%, #d9e8fd 0%, transparent 52%),
        #f0f6ff;
}
.b2b-login-page::before,
.b2b-login-page::after {
    content: '';
    position: absolute;
    z-index: -1;
    bottom: 0;
    width: min(34%, 560px);
    height: clamp(42px, 9vw, 145px);
    background: linear-gradient(160deg, #ffedbd, #d7e8ff 36%, #85b5f4);
    pointer-events: none;
}
.b2b-login-page::before { left: 0; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.b2b-login-page::after { right: 0; clip-path: polygon(100% 0, 100% 100%, 0 100%); }

.b2b-login-page .b2b-auth-shell {
    max-width: 1490px;
    padding-inline: clamp(16px, 4.5vw, 66px);
}
.b2b-login-page .b2b-auth-back {
    flex-shrink: 0;
    min-height: 40px;
    padding: 8px 15px;
    border: 1px solid #ffffffc9;
    border-radius: 999px;
    background: #f8fbff;
    box-shadow: 0 4px 12px #215cb51c;
    color: #07144b;
    font-weight: 750;
}
.b2b-login-page .b2b-auth-card {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    border-color: #d2e2ff;
    border-radius: clamp(22px, 2.5vw, 40px);
    background: linear-gradient(145deg, #fff, #f5f8fd);
    box-shadow: 0 22px 58px #174d9e29;
}
.b2b-login-page .b2b-auth-story {
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(24px, 3.4vw, 56px);
    background:
        radial-gradient(ellipse at 75% 68%, #095bca 0%, transparent 58%),
        linear-gradient(145deg, #031235 14%, #062d75 75%, #0646a1);
    color: #f7f9ff;
}
.b2b-login-page .b2b-auth-story::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: auto -12% 0;
    height: 32%;
    border-bottom: 2px solid #ffc760;
    border-radius: 50%;
    transform: rotate(-9deg);
    background: linear-gradient(transparent 40%, #044bb980);
    box-shadow: 0 8px 24px #0759bd60;
    pointer-events: none;
}
.b2b-login-page .b2b-auth-badge {
    padding: 7px 12px;
    border-color: #579bff54;
    background: #0a439d80;
    color: #f7f9ff;
    font-weight: 750;
}
.b2b-login-page .b2b-auth-badge svg { width: 17px; height: 17px; flex-shrink: 0; }
.b2b-login-page .b2b-auth-story h2 {
    margin: 16px 0;
    font-size: clamp(26px, 3vw, 49px);
    line-height: 1.08;
}
.b2b-login-page .b2b-auth-story h2 span { color: #ffc400; text-decoration-color: #ffc400; }
.b2b-login-page .b2b-auth-story > p { color: #d8e8ff; font-size: clamp(14px, 1.18vw, 18px); }
.b2b-login-page .b2b-auth-illustration {
    width: 100%;
    height: clamp(235px, 29vw, 415px);
    margin: 12px auto;
}
.b2b-login-page .b2b-auth-features {
    width: 100%;
    justify-content: space-between;
    gap: 10px 14px;
}
.b2b-login-page .b2b-auth-features span { color: #eef5ff; font-size: clamp(11px, .95vw, 14px); font-weight: 700; }
.b2b-login-page .b2b-auth-features svg { color: #aad7ff; }

.b2b-login-page .b2b-auth-form-panel { min-width: 0; padding: clamp(28px, 4.3vw, 72px); }
.b2b-login-page .b2b-auth-eyebrow { font-size: 12px; text-transform: uppercase; }
.b2b-login-page .b2b-auth-form-panel h1 {
    margin: 10px 0 14px;
    font-size: clamp(34px, 3vw, 49px);
    line-height: 1.08;
}
.b2b-login-page .b2b-auth-form-panel h1::after {
    content: '';
    display: block;
    width: 66px;
    height: 4px;
    margin-top: 8px;
    border-radius: 999px;
    background: #ffbf19;
}
.b2b-login-page .b2b-auth-intro { color: #40577b; font-size: 15px; line-height: 1.55; }
.b2b-login-page .b2b-auth-field label { font-size: 15px; font-weight: 800; }
.b2b-login-page .b2b-auth-input { border-color: #c3d4ed; border-radius: 14px; background: #f5f8fd; }
.b2b-login-page .b2b-auth-input:focus-within { border-color: #0055ff; background: #fff; }
.b2b-login-page .b2b-auth-input > svg { color: #034df1; }
.b2b-login-page .b2b-auth-input input { font-size: 16px; }
.b2b-login-page .b2b-auth-input input::placeholder { color: #536989; }
.b2b-login-page .b2b-auth-password-toggle:not([hidden]) {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    height: 44px;
    margin-right: -8px;
    padding: 0;
    border-radius: 10px;
    color: #40577b;
}
.b2b-login-page .b2b-auth-password-toggle:hover { background: #e5efff; }
.b2b-login-page .b2b-auth-password-toggle svg { width: 21px; height: 21px; }
.b2b-login-page .b2b-auth-password-toggle[aria-pressed="true"]::after {
    content: '';
    position: absolute;
    width: 23px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    box-shadow: 0 1px #f5f8fd;
    transform: rotate(-45deg);
}
.b2b-login-page .b2b-auth-forgot { font-size: 14px; font-weight: 650; }
.b2b-login-page .b2b-auth-submit { border-radius: 16px; font-size: 17px; }
.b2b-login-page .b2b-auth-register { gap: 6px; color: #40577b; font-size: 14px; }
.b2b-login-page .b2b-auth-help { margin-top: 14px; }
.b2b-login-page .b2b-auth-footer { flex-wrap: wrap; color: #40577b; font-size: 12px; }

@media (max-width: 760px) {
    .b2b-login-page .b2b-auth-shell { max-width: 550px; }
    .b2b-login-page .b2b-auth-card { grid-template-columns: minmax(0, 1fr); }
    .b2b-login-page .b2b-auth-story { order: 1; }
    .b2b-login-page .b2b-auth-illustration { height: auto; max-height: 270px; }
    .b2b-login-page .b2b-auth-form-panel { padding: clamp(20px, 6vw, 36px); }
    .b2b-login-page .b2b-auth-header { gap: 8px; }
    .b2b-login-page .b2b-auth-header img { width: clamp(118px, 40vw, 175px); }
    .b2b-login-page .b2b-auth-back { padding-inline: 10px; }
    .b2b-login-page .b2b-auth-features { justify-content: center; }
}
