
/* ==========================================
   B2BFinder Login Page
   Scoped styles - universal header untouched
========================================== */

.b2bl-login {
    --b2bl-purple: #5825f5;
    --b2bl-purple-dark: #4720db;
    --b2bl-ink: #101632;
    --b2bl-muted: #667393;
    --b2bl-border: #e2e7f2;

    font-family: Inter, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    color: var(--b2bl-ink);
}

.b2bl-login *,
.b2bl-login *::before,
.b2bl-login *::after {
    box-sizing: border-box;
}

.b2bl-section {
    position: relative;
    overflow: hidden;
    min-height: 760px;
    padding: 76px 24px 92px;
    background:
        radial-gradient(
            ellipse at 13% 32%,
            rgba(102, 66, 255, .11),
            transparent 48%
        ),
        radial-gradient(
            ellipse at 90% 85%,
            rgba(112, 73, 255, .09),
            transparent 45%
        ),
        #fdfdff;
}

.b2bl-container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 88px;
}

/* LEFT CONTENT */

.b2bl-intro {
    padding: 25px 0;
}

.b2bl-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--b2bl-purple);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
    margin-bottom: 24px;
}

.b2bl-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #673cff;
    box-shadow: 0 0 0 5px #eee8ff;
}

.b2bl-intro h1 {
    font-size: clamp(37px, 3.7vw, 55px);
    line-height: 1.12;
    letter-spacing: -2.2px;
    font-weight: 800;
    color: var(--b2bl-ink);
    margin: 0 0 24px;
}

.b2bl-intro h1 span {
    color: var(--b2bl-purple);
}

.b2bl-description {
    max-width: 455px;
    font-size: 16px;
    line-height: 1.85;
    color: var(--b2bl-muted);
    margin: 0 0 38px;
}

.b2bl-benefits {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.b2bl-benefit {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.b2bl-benefit-icon {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee9ff;
    border-radius: 12px;
    color: var(--b2bl-purple);
    font-size: 23px;
    font-weight: 700;
}

.b2bl-benefit strong {
    display: block;
    font-size: 14px;
    font-weight: 750;
    margin: 2px 0 6px;
}

.b2bl-benefit p {
    color: var(--b2bl-muted);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.b2bl-trust {
    margin-top: 49px;
}

.b2bl-trust > span {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #929db5;
    margin-bottom: 18px;
}

.b2bl-trust-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.b2bl-trust-tags span {
    font-size: 11px;
    font-weight: 650;
    color: #626c88;
    background: #fff;
    border: 1px solid #e5e8f5;
    padding: 9px 12px;
    border-radius: 8px;
}

/* LOGIN CARD */

.b2bl-card {
    width: 100%;
    padding: 40px 36px 32px;
    background: #fff;
    border: 1px solid #e9eaf5;
    border-radius: 22px;
    box-shadow:
        0 22px 70px rgba(38, 30, 98, .07),
        0 5px 20px rgba(38, 30, 98, .025);
}

.b2bl-card-heading {
    text-align: center;
    margin-bottom: 30px;
}

.b2bl-card-icon {
    width: 43px;
    height: 43px;
    margin: 0 auto 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--b2bl-purple);
    color: #fff;
    font-size: 24px;
    font-weight: 800;
}

.b2bl-card-heading h2 {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -.8px;
    margin: 0 0 9px;
    color: var(--b2bl-ink);
}

.b2bl-card-heading h2 span {
    color: var(--b2bl-purple);
}

.b2bl-card-heading p {
    font-size: 13px;
    color: var(--b2bl-muted);
    margin: 0;
}

/* SOCIAL LOGIN */

.b2bl-social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.b2bl-social {
    min-height: 45px;
    border: 1px solid var(--b2bl-border);
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    color: #141b35;
    cursor: pointer;
    transition: .2s ease;
}

.b2bl-social:hover {
    background: #f8f7ff;
    border-color: #c8bbff;
}

.b2bl-google {
    font-size: 20px;
    font-weight: 800;
    color: #4285f4;
}

.b2bl-microsoft {
    width: 15px;
    height: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.b2bl-microsoft i:nth-child(1) { background: #f25022; }
.b2bl-microsoft i:nth-child(2) { background: #7fba00; }
.b2bl-microsoft i:nth-child(3) { background: #00a4ef; }
.b2bl-microsoft i:nth-child(4) { background: #ffb900; }

.b2bl-divider {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 26px 0;
    color: #8994ad;
    font-size: 10px;
    white-space: nowrap;
}

.b2bl-divider::before,
.b2bl-divider::after {
    content: "";
    height: 1px;
    background: #e8eaf3;
    flex: 1;
}

/* FORM */

.b2bl-field {
    margin-bottom: 21px;
}

.b2bl-field label {
    display: block;
    color: #121a34;
    font-size: 12px;
    font-weight: 750;
    margin-bottom: 9px;
}

.b2bl-field input {
    display: block;
    width: 100%;
    height: 47px;
    padding: 0 14px;
    border: 1px solid #dfe5f0;
    border-radius: 8px;
    outline: none;
    background: #fff;
    color: #141b35;
    font-family: inherit;
    font-size: 13px;
    transition: .2s ease;
}

.b2bl-field input::placeholder {
    color: #9aa5be;
}

.b2bl-field input:focus {
    border-color: var(--b2bl-purple);
    box-shadow: 0 0 0 3px rgba(88, 37, 245, .09);
}

.b2bl-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.b2bl-login .b2bl-forgot {
    color: var(--b2bl-purple);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 9px;
}

.b2bl-password-wrap {
    position: relative;
}

.b2bl-password-wrap input {
    padding-right: 66px;
}

.b2bl-show-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c7794;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.b2bl-remember {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    color: #5f6c88;
    margin: 2px 0 25px;
    cursor: pointer;
}

.b2bl-remember input {
    width: 15px;
    height: 15px;
    accent-color: var(--b2bl-purple);
}

.b2bl-submit {
    width: 100%;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: none;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(110deg, #5223f3, #7130ff);
    font-family: inherit;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 9px 22px rgba(88, 37, 245, .18);
    transition: .2s ease;
}

.b2bl-submit:hover {
    background: linear-gradient(110deg, #461bdc, #6122eb);
    transform: translateY(-1px);
}

.b2bl-form-message {
    font-size: 12px;
    line-height: 1.5;
    color: #6b4be5;
    text-align: center;
    margin: 12px 0 0;
}

.b2bl-form-message:empty {
    display: none;
}

.b2bl-signup-link {
    text-align: center;
    margin-top: 25px;
    font-size: 12px;
    color: #667393;
}

.b2bl-login .b2bl-signup-link a {
    color: var(--b2bl-purple);
    font-weight: 750;
    text-decoration: none;
    margin-left: 4px;
}

.b2bl-card-bottom {
    border-top: 1px solid #edf0f7;
    padding-top: 23px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 27px;
    font-size: 11px;
    color: #8a95ae;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
    .b2bl-container {
        gap: 35px;
    }

    .b2bl-card {
        padding: 32px 25px;
    }

    .b2bl-intro h1 {
        font-size: 39px;
    }
}

@media (max-width: 767px) {
    .b2bl-section {
        min-height: auto;
        padding: 45px 18px 65px;
    }

    .b2bl-container {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 480px;
    }

    .b2bl-intro {
        padding: 0;
        text-align: center;
    }

    .b2bl-intro h1 {
        font-size: 36px;
        letter-spacing: -1.5px;
    }

    .b2bl-description {
        font-size: 14px;
        margin: 0 auto 22px;
    }

    .b2bl-benefits,
    .b2bl-trust {
        display: none;
    }

    .b2bl-card {
        padding: 29px 20px;
        border-radius: 17px;
    }

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

    .b2bl-social-buttons {
        grid-template-columns: 1fr;
    }

    .b2bl-social {
        min-height: 44px;
    }

    .b2bl-card-bottom {
        gap: 14px;
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .b2bl-login *,
    .b2bl-login *::before,
    .b2bl-login *::after {
        transition: none !important;
    }
}
