:root{
    --cicl-navy:#071a3d;
    --cicl-navy-soft:#102a5f;
    --cicl-blue:#2563eb;
    --cicl-blue-dark:#1d4ed8;
    --cicl-cyan:#22d3ee;
    --cicl-bg:#eef4ff;
    --cicl-text:#0f172a;
    --cicl-muted:#64748b;
    --cicl-border:#dbe5f2;
    --cicl-white:#ffffff;
    --cicl-success:#166534;
    --cicl-success-bg:#dcfce7;
    --cicl-danger:#991b1b;
    --cicl-danger-bg:#fee2e2;
}

*{
    box-sizing:border-box;
}

html,
body{
    margin:0;
    min-height:100%;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,
        BlinkMacSystemFont,"Segoe UI",sans-serif;
    background:var(--cicl-bg);
    color:var(--cicl-text);
}

body{
    min-height:100vh;
}

a{
    color:inherit;
}

.b2b-auth-shell{
    min-height:100vh;
    display:grid;
    grid-template-columns:minmax(370px,44%) minmax(0,56%);
}

.b2b-brand-panel{
    position:relative;
    overflow:hidden;
    min-height:100vh;
    padding:42px 48px 34px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    color:#fff;
    background:
        radial-gradient(circle at 16% 15%,
            rgba(34,211,238,.27),transparent 30%),
        radial-gradient(circle at 92% 84%,
            rgba(37,99,235,.35),transparent 32%),
        linear-gradient(145deg,#061735 0%,#0a2458 55%,#123c91 100%);
}

.b2b-brand-panel::before,
.b2b-brand-panel::after{
    content:"";
    position:absolute;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.12);
    pointer-events:none;
}

.b2b-brand-panel::before{
    width:420px;
    height:420px;
    left:-230px;
    bottom:-160px;
}

.b2b-brand-panel::after{
    width:300px;
    height:300px;
    right:-170px;
    top:80px;
}

.b2b-brand-top,
.b2b-brand-content,
.b2b-brand-footer{
    position:relative;
    z-index:2;
}

.b2b-brand-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
}

.b2b-brand-lockup{
    display:flex;
    align-items:center;
    gap:14px;
    color:#fff;
    text-decoration:none;
}

.b2b-brand-logo{
    width:62px;
    height:62px;
    padding:7px;
    border-radius:17px;
    display:grid;
    place-items:center;
    background:#fff;
    box-shadow:0 16px 35px rgba(0,0,0,.22);
}

.b2b-brand-logo img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.b2b-brand-name strong{
    display:block;
    font-size:21px;
    line-height:1.15;
}

.b2b-brand-name span{
    display:block;
    margin-top:5px;
    color:#bfdbfe;
    font-size:13px;
    font-weight:700;
    letter-spacing:.04em;
}

.b2b-enterprise-badge{
    padding:8px 12px;
    border:1px solid rgba(255,255,255,.22);
    border-radius:999px;
    background:rgba(255,255,255,.1);
    color:#dbeafe;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.08em;
    backdrop-filter:blur(10px);
}

.b2b-brand-content{
    max-width:560px;
    margin:70px 0;
}

.b2b-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:20px;
    padding:8px 13px;
    border-radius:999px;
    color:#cffafe;
    background:rgba(34,211,238,.12);
    border:1px solid rgba(103,232,249,.25);
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.1em;
}

.b2b-brand-content h1{
    margin:0;
    max-width:560px;
    font-size:clamp(40px,5vw,68px);
    line-height:1.02;
    letter-spacing:-.045em;
}

.b2b-brand-content > p{
    max-width:540px;
    margin:24px 0 30px;
    color:#dbeafe;
    font-size:17px;
    line-height:1.75;
}

.b2b-feature-list{
    display:grid;
    gap:14px;
}

.b2b-feature{
    display:grid;
    grid-template-columns:34px 1fr;
    gap:12px;
    align-items:start;
    padding:14px 16px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:15px;
    background:rgba(255,255,255,.07);
    backdrop-filter:blur(12px);
}

.b2b-feature-icon{
    width:34px;
    height:34px;
    border-radius:11px;
    display:grid;
    place-items:center;
    color:#08235a;
    background:#a5f3fc;
    font-size:17px;
    font-weight:1000;
}

.b2b-feature strong{
    display:block;
    margin-bottom:3px;
    font-size:14px;
}

.b2b-feature small{
    color:#bfdbfe;
    line-height:1.5;
}

.b2b-brand-footer{
    display:flex;
    justify-content:space-between;
    gap:15px;
    color:#93c5fd;
    font-size:12px;
}

.b2b-form-panel{
    position:relative;
    min-width:0;
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:42px;
    overflow:auto;
    background:
        linear-gradient(rgba(238,244,255,.9),rgba(248,250,252,.96)),
        radial-gradient(circle at 80% 15%,#bfdbfe,transparent 30%);
}

.b2b-form-wrap{
    width:100%;
    max-width:760px;
}

.b2b-mobile-brand{
    display:none;
}

.b2b-auth-card{
    width:100%;
    padding:38px;
    border:1px solid rgba(219,229,242,.88);
    border-radius:26px;
    background:rgba(255,255,255,.96);
    box-shadow:
        0 30px 70px rgba(15,23,42,.12),
        0 3px 12px rgba(37,99,235,.05);
}

.b2b-auth-card--wide{
    max-width:820px;
}

.b2b-card-heading{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
    margin-bottom:28px;
}

.b2b-card-heading h2{
    margin:0;
    font-size:30px;
    letter-spacing:-.025em;
}

.b2b-card-heading p{
    margin:9px 0 0;
    color:var(--cicl-muted);
    line-height:1.65;
}

.b2b-card-mark{
    flex:0 0 auto;
    min-width:78px;
    padding:8px 11px;
    border-radius:999px;
    color:#1e40af;
    background:#dbeafe;
    font-size:11px;
    font-weight:900;
    text-align:center;
    text-transform:uppercase;
    letter-spacing:.07em;
}

.b2b-alert{
    margin-bottom:20px;
    padding:14px 16px;
    border-radius:14px;
    font-size:14px;
    line-height:1.55;
}

.b2b-alert ul{
    margin:8px 0 0;
    padding-left:20px;
}

.b2b-alert-success{
    color:var(--cicl-success);
    background:var(--cicl-success-bg);
    border:1px solid #bbf7d0;
}

.b2b-alert-error{
    color:var(--cicl-danger);
    background:var(--cicl-danger-bg);
    border:1px solid #fecaca;
}

.b2b-form-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
}

.b2b-field{
    min-width:0;
}

.b2b-field-full{
    grid-column:1 / -1;
}

.b2b-field label{
    display:flex;
    justify-content:space-between;
    gap:10px;
    margin-bottom:8px;
    color:#1e293b;
    font-size:13px;
    font-weight:850;
}

.b2b-required{
    color:#dc2626;
}

.b2b-field input,
.b2b-field select,
.b2b-field textarea{
    width:100%;
    min-height:48px;
    border:1px solid var(--cicl-border);
    border-radius:13px;
    padding:12px 14px;
    color:#0f172a;
    background:#fff;
    font:inherit;
    outline:none;
    transition:border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.b2b-field textarea{
    min-height:100px;
    resize:vertical;
}

.b2b-field input:focus,
.b2b-field select:focus,
.b2b-field textarea:focus{
    border-color:var(--cicl-blue);
    box-shadow:0 0 0 4px rgba(37,99,235,.12);
}

.b2b-field-note{
    display:block;
    margin-top:7px;
    color:var(--cicl-muted);
    font-size:11px;
    line-height:1.45;
}

.b2b-field-error{
    display:block;
    margin-top:7px;
    color:#b91c1c;
    font-size:12px;
    font-weight:750;
}

.b2b-security-note{
    margin:22px 0;
    padding:15px 16px;
    border:1px solid #bfdbfe;
    border-radius:15px;
    background:#eff6ff;
    color:#1e3a8a;
    font-size:12px;
    line-height:1.6;
}

.b2b-submit{
    width:100%;
    min-height:52px;
    border:0;
    border-radius:14px;
    padding:13px 18px;
    color:#fff;
    background:linear-gradient(135deg,var(--cicl-blue),#1e40af);
    box-shadow:0 14px 24px rgba(37,99,235,.22);
    font-size:14px;
    font-weight:900;
    cursor:pointer;
    transition:transform .2s ease,box-shadow .2s ease;
}

.b2b-submit:hover{
    transform:translateY(-1px);
    box-shadow:0 18px 30px rgba(37,99,235,.28);
}

.b2b-auth-links{
    margin-top:22px;
    text-align:center;
    color:var(--cicl-muted);
    font-size:13px;
}

.b2b-auth-links a{
    color:var(--cicl-blue-dark);
    font-weight:900;
    text-decoration:none;
}

.b2b-security-strip{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    margin-top:20px;
    color:#64748b;
    font-size:11px;
    text-align:center;
}

.b2b-security-dot{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#22c55e;
    box-shadow:0 0 0 4px rgba(34,197,94,.12);
}

@media(max-width:1050px){
    .b2b-auth-shell{
        grid-template-columns:minmax(330px,40%) minmax(0,60%);
    }

    .b2b-brand-panel{
        padding:34px 30px;
    }

    .b2b-enterprise-badge{
        display:none;
    }

    .b2b-form-panel{
        padding:30px;
    }
}

@media(max-width:860px){
    .b2b-auth-shell{
        display:block;
    }

    .b2b-brand-panel{
        display:none;
    }

    .b2b-form-panel{
        min-height:100vh;
        padding:28px 18px;
    }

    .b2b-mobile-brand{
        display:flex;
        align-items:center;
        justify-content:center;
        gap:12px;
        margin-bottom:20px;
    }

    .b2b-mobile-brand img{
        width:52px;
        height:52px;
        object-fit:contain;
        padding:5px;
        border-radius:14px;
        background:#fff;
        box-shadow:0 10px 25px rgba(15,23,42,.12);
    }

    .b2b-mobile-brand strong{
        display:block;
        font-size:18px;
    }

    .b2b-mobile-brand span{
        color:#64748b;
        font-size:12px;
        font-weight:700;
    }
}

@media(max-width:650px){
    .b2b-auth-card{
        padding:25px 20px;
        border-radius:21px;
    }

    .b2b-card-heading{
        display:block;
    }

    .b2b-card-mark{
        display:inline-block;
        margin-top:15px;
    }

    .b2b-card-heading h2{
        font-size:25px;
    }

    .b2b-form-grid{
        grid-template-columns:1fr;
    }

    .b2b-field-full{
        grid-column:auto;
    }
}

@media(prefers-reduced-motion:reduce){
    *,
    *::before,
    *::after{
        scroll-behavior:auto!important;
        transition:none!important;
    }
}


/* B2B_AUTH_NAVIGATION_V1 */
.b2b-auth-nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin:0 0 18px;
}
.b2b-auth-nav a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:9px 14px;
    border:1px solid #cbd5e1;
    border-radius:11px;
    color:#1e3a8a;
    background:rgba(255,255,255,.86);
    text-decoration:none;
    font-size:12px;
    font-weight:850;
}
.b2b-auth-nav a:hover{border-color:#2563eb;background:#eff6ff}
.b2b-auth-links--start{margin-top:14px;text-align:left}
@media(max-width:650px){
    .b2b-auth-nav{
        position:sticky;
        top:0;
        z-index:5;
        padding:8px 0;
        background:rgba(238,244,255,.94);
        backdrop-filter:blur(12px);
    }
    .b2b-auth-nav a{flex:1}
}
