
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body.bf-auth-body {
    min-height: 100vh;
    margin: 0;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background: #f7f9f8;
    color: #102a2e;
}

.bf-auth-page {
    display: grid;
    grid-template-columns: minmax(420px, 46%) 1fr;
    min-height: 100vh;
}


/* =========================================================
   BRAND PANEL
   ========================================================= */

.bf-auth-brand {
    position: relative;
    min-height: 100vh;
    padding: 46px 56px 38px;
    display: flex;
    flex-direction: column;

    color: #fff;

    background:
        radial-gradient(
            circle at 12% 8%,
            rgba(72, 225, 150, .23),
            transparent 30%
        ),
        linear-gradient(
            155deg,
            #0aa35a 0%,
            #08765a 30%,
            #0a4a4b 58%,
            #082f46 80%,
            #06263b 100%
        );
}

.bf-brand-logo,
.bf-auth-mobile-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bf-brand-logo img,
.bf-auth-mobile-logo img {
    display: block;
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.bf-brand-logo span {
    font-size: 27px;
    font-weight: 750;
    letter-spacing: -0.8px;
}

.bf-brand-content {
    margin: auto 0;
    max-width: 580px;
}

.bf-brand-badge {
    display: inline-flex;
    padding: 8px 13px;
    margin-bottom: 24px;

    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 999px;

    background: rgba(255,255,255,.09);
    backdrop-filter: blur(8px);

    font-size: 13px;
    font-weight: 650;
    letter-spacing: .02em;
}

.bf-brand-content h1 {
    margin: 0;
    font-size: clamp(42px, 4vw, 66px);
    line-height: 1.02;
    letter-spacing: -2.8px;
    font-weight: 720;
}

.bf-brand-content h1 span {
    color: #8ef0ba;
}

.bf-brand-content > p {
    margin: 27px 0 34px;
    max-width: 510px;

    color: rgba(255,255,255,.80);
    font-size: 18px;
    line-height: 1.65;
}

.bf-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bf-benefit {
    display: flex;
    align-items: center;
    gap: 12px;

    color: rgba(255,255,255,.92);
    font-size: 15px;
}

.bf-benefit-check {
    width: 25px;
    height: 25px;

    flex: 0 0 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(142,240,186,.17);
    color: #8ef0ba;

    font-size: 13px;
    font-weight: 900;
}

.bf-brand-footer {
    color: rgba(255,255,255,.54);
    font-size: 12px;
}


/* =========================================================
   FORM
   ========================================================= */

.bf-auth-main {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;

    padding: 55px 7%;
}

.bf-auth-card {
    width: 100%;
    max-width: 480px;
}

.bf-auth-mobile-logo {
    display: none;
    margin-bottom: 40px;

    color: #073f3e;
}

.bf-auth-mobile-logo span {
    font-size: 25px;
    font-weight: 750;
    letter-spacing: -.7px;
}

.bf-eyebrow {
    margin-bottom: 10px;

    color: #07985a;
    font-size: 13px;
    font-weight: 750;

    letter-spacing: .07em;
    text-transform: uppercase;
}

.bf-form-heading {
    margin-bottom: 34px;
}

.bf-form-heading h2,
.bf-auth-success h2 {
    margin: 0;

    color: #102c31;
    font-size: 37px;
    line-height: 1.12;
    font-weight: 720;
    letter-spacing: -1.25px;
}

.bf-form-heading p,
.bf-auth-success p {
    margin: 13px 0 0;

    color: #718083;
    font-size: 15px;
    line-height: 1.6;
}

.bf-field {
    margin-bottom: 19px;
}

.bf-field label {
    display: block;
    margin-bottom: 8px;

    color: #213b3f;
    font-size: 14px;
    font-weight: 650;
}

.bf-input {
    display: block;

    width: 100%;
    min-height: 52px;

    padding: 0 16px;

    border: 1px solid #dce5e3;
    border-radius: 12px;

    background: #fff;

    color: #152f33;

    font-size: 15px;

    outline: none;

    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

.bf-input:focus {
    border-color: #0aa35a;
    box-shadow: 0 0 0 4px rgba(10,163,90,.10);
}

.bf-input[readonly] {
    color: #627276;
    background: #f3f6f5;
}

.bf-primary-button {
    width: 100%;
    min-height: 54px;

    margin-top: 7px;
    padding: 0 20px;

    border: 0;
    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    text-decoration: none;

    background:
        linear-gradient(
            100deg,
            #079955,
            #087d5c
        );

    color: #fff !important;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 10px 28px rgba(7, 126, 88, .18);

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.bf-primary-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(7, 126, 88, .23);
}

.bf-primary-button span {
    font-size: 19px;
}

.bf-login-link {
    margin-top: 22px;
    text-align: center;

    color: #899598;
    font-size: 13px;
}

.bf-login-link a {
    color: #087d5c;
    font-weight: 700;
    text-decoration: none;
}

.bf-error {
    margin: 5px 0 18px;
    padding: 12px 14px;

    border: 1px solid #ffd6d6;
    border-radius: 10px;

    background: #fff3f3;
    color: #a02a2a;

    font-size: 13px;
}

.bf-invalid-token {
    padding: 20px;

    border-radius: 14px;
    background: #f4f7f6;

    text-align: center;
}

.bf-invalid-token h3 {
    margin: 0 0 7px;
    font-size: 18px;
}

.bf-invalid-token p {
    margin: 0 0 15px;

    color: #778588;
    font-size: 14px;
}


/* =========================================================
   SUCCESS
   ========================================================= */

.bf-auth-success {
    text-align: center;
}

.bf-success-icon {
    width: 64px;
    height: 64px;

    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e9f8ef;
    color: #079955;

    font-size: 28px;
    font-weight: 800;
}

.bf-auth-success .bf-primary-button {
    margin-top: 30px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .bf-auth-page {
        display: block;
    }

    .bf-auth-brand {
        display: none;
    }

    .bf-auth-main {
        min-height: 100vh;
        padding: 40px 24px;
    }

    .bf-auth-mobile-logo {
        display: flex;
    }

    .bf-auth-card {
        max-width: 500px;
    }

}

@media (max-width: 520px) {

    .bf-auth-main {
        align-items: flex-start;
        padding: 28px 20px 40px;
    }

    .bf-form-heading h2,
    .bf-auth-success h2 {
        font-size: 31px;
    }

    .bf-form-heading {
        margin-bottom: 28px;
    }

}

