html.bre-auth-active,
body.bre-auth-active {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.bre-auth {
    --bre-brand-950: #031b15;
    --bre-brand-900: #06271e;
    --bre-brand-800: #0a3b2c;
    --bre-brand-700: #0d5b40;
    --bre-brand-600: #117a53;
    --bre-brand-500: #189565;
    --bre-brand-300: #7ed7b2;
    --bre-brand-100: #dcf6eb;
    --bre-ink: #10261f;
    --bre-copy: #60736c;
    --bre-surface: #ffffff;
    --bre-soft: #f3f8f6;
    --bre-line: #dce8e3;
    position: fixed;
    z-index: 2147483000;
    inset: 0;
    display: block;
    width: 100%;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at 12% 78%, rgba(43, 166, 115, .20), transparent 32%),
        radial-gradient(circle at 84% 10%, rgba(58, 191, 138, .10), transparent 24%),
        linear-gradient(135deg, var(--bre-brand-950) 0%, #06261d 46%, #0a382a 100%);
    box-shadow: none;
    color: #fff;
    isolation: isolate;
}

.bre-auth * {
    box-sizing: border-box;
}

.bre-auth::before {
    position: fixed;
    z-index: -2;
    inset: 0;
    content: "";
    pointer-events: none;
    opacity: .28;
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(90deg, #000, transparent 88%);
}

.bre-auth::after {
    position: fixed;
    z-index: -1;
    top: -340px;
    left: -280px;
    width: 780px;
    height: 780px;
    content: "";
    pointer-events: none;
    border: 1px solid rgba(126, 215, 178, .09);
    border-radius: 50%;
    box-shadow:
        0 0 0 90px rgba(126, 215, 178, .018),
        0 0 0 180px rgba(126, 215, 178, .012);
}

.bre-auth-header {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1440px, 100%);
    min-height: 92px;
    margin: 0 auto;
    padding: 22px 58px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.bre-brand-lockup {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bre-brand-mark {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .06));
    box-shadow: inset 0 1px rgba(255, 255, 255, .12), 0 12px 28px rgba(0, 0, 0, .14);
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.7px;
}

.bre-auth-header .bre-brand span {
    color: #fff;
    font-size: 25px;
    letter-spacing: -.8px;
}

.bre-auth-header .bre-brand small {
    margin-top: 6px;
    color: var(--bre-brand-300);
    font-size: 9px;
    letter-spacing: 3.2px;
    opacity: .82;
}

.bre-secure-label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(224, 245, 236, .70);
    font-size: 12px;
    letter-spacing: .2px;
}

.bre-secure-label i,
.bre-security-note i,
.bre-auth-brand .bre-eyebrow i {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #62d7a3;
    box-shadow: 0 0 0 5px rgba(98, 215, 163, .10), 0 0 18px rgba(98, 215, 163, .65);
}

.bre-auth-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) 470px;
    grid-template-areas: "brand panel";
    align-items: center;
    gap: clamp(50px, 7vw, 112px);
    width: min(1440px, 100%);
    min-height: calc(100vh - 92px);
    min-height: calc(100dvh - 92px);
    margin: 0 auto;
    padding: 48px 58px 62px;
}

.bre-auth .bre-auth-panel {
    grid-area: panel;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 24px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 38px 90px rgba(0, 16, 11, .30), 0 2px 8px rgba(0, 0, 0, .08);
    color: var(--bre-ink);
}

.bre-login-heading {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 29px 32px 25px;
    border-bottom: 1px solid var(--bre-line);
    background: linear-gradient(145deg, #fff, #f2faf6);
}

.bre-lock-icon {
    display: grid;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(145deg, var(--bre-brand-600), var(--bre-brand-800));
    box-shadow: 0 12px 25px rgba(17, 122, 83, .25);
    color: #fff;
    font-size: 23px;
    font-weight: 850;
    letter-spacing: -1px;
}

.bre-card-kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--bre-brand-600);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.bre-login-heading h2 {
    margin: 0 0 5px;
    color: var(--bre-ink) !important;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -.45px;
}

.bre-login-heading p {
    margin: 0;
    color: var(--bre-copy);
    font-size: 12px;
}

.bre-auth .bre-tab-panel {
    padding: 24px 32px 28px;
}

.bre-auth .bre-tab-panel label {
    display: block;
    margin: 15px 0 0;
    color: #32463f;
    font-size: 12px;
    font-weight: 700;
}

.bre-field-wrap {
    position: relative;
    display: block;
    margin-top: 7px;
}

.bre-field-wrap > i {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 17px;
    display: block;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    color: #7b9188;
    font-style: normal;
}

.bre-user-icon::before {
    position: absolute;
    top: 0;
    left: 5px;
    width: 6px;
    height: 6px;
    content: "";
    border: 1.6px solid currentColor;
    border-radius: 50%;
}

.bre-user-icon::after {
    position: absolute;
    bottom: 0;
    left: 2px;
    width: 12px;
    height: 7px;
    content: "";
    border: 1.6px solid currentColor;
    border-bottom: 0;
    border-radius: 9px 9px 2px 2px;
}

.bre-key-icon::before {
    position: absolute;
    top: 5px;
    left: 0;
    width: 7px;
    height: 7px;
    content: "";
    border: 1.6px solid currentColor;
    border-radius: 50%;
}

.bre-key-icon::after {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 8px;
    height: 2px;
    content: "";
    background: currentColor;
    box-shadow: 4px 3px 0 -0.4px currentColor;
}

.bre-auth .bre-tab-panel .bre-field-wrap input {
    display: block;
    width: 100%;
    height: 52px;
    margin: 0;
    padding: 12px 58px 12px 45px;
    border: 1px solid #cfddd7;
    border-radius: 12px;
    outline: none;
    background: #f8fbfa;
    color: var(--bre-ink);
    font-size: 14px;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.bre-auth .bre-tab-panel .bre-field-wrap input::placeholder {
    color: #91a29b;
}

.bre-auth .bre-tab-panel .bre-field-wrap input:focus {
    border-color: var(--bre-brand-500);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(24, 149, 101, .11);
}

.bre-password-toggle {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 10px;
    min-height: 0 !important;
    padding: 8px !important;
    transform: translateY(-50%);
    border: 0 !important;
    background: transparent !important;
    color: var(--bre-brand-600) !important;
    font-size: 11px;
    font-weight: 750;
}

.bre-auth .bre-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    font-size: 12px;
}

.bre-auth .bre-form-row .bre-check {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #5f736b;
    font-weight: 600;
}

.bre-auth .bre-form-row a,
.bre-help-row a {
    color: var(--bre-brand-600);
    font-weight: 700;
    text-decoration: none;
}

.bre-auth .bre-form-row a:hover,
.bre-help-row a:hover {
    color: var(--bre-brand-800);
}

.bre-auth .bre-check > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bre-switch {
    position: relative;
    width: 34px;
    height: 19px;
    border-radius: 20px;
    background: #c5d2cd;
    transition: background .2s;
}

.bre-switch::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 13px;
    height: 13px;
    content: "";
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
    transition: transform .2s;
}

.bre-check input:checked + .bre-switch {
    background: var(--bre-brand-500);
}

.bre-check input:checked + .bre-switch::after {
    transform: translateX(15px);
}

.bre-auth .bre-primary {
    display: flex;
    width: 100%;
    height: 53px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 20px 0 0;
    padding: 12px 18px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(105deg, var(--bre-brand-600), var(--bre-brand-800));
    box-shadow: 0 13px 24px rgba(13, 91, 64, .22);
    color: #fff !important;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, filter .2s;
}

.bre-auth .bre-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(13, 91, 64, .28);
    filter: brightness(1.06);
}

.bre-auth .bre-primary:focus-visible,
.bre-secondary:focus-visible,
.bre-back-login:focus-visible,
.bre-password-toggle:focus-visible {
    outline: 3px solid rgba(24, 149, 101, .25) !important;
    outline-offset: 2px;
}

.bre-auth .bre-primary b {
    font-size: 17px;
}

.bre-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 13px;
    color: #8a9c95;
    font-size: 10px;
    white-space: nowrap;
}

.bre-divider::before,
.bre-divider::after {
    width: 100%;
    height: 1px;
    content: "";
    background: var(--bre-line);
}

.bre-secondary {
    width: 100%;
    height: 47px;
    margin: 0 !important;
    border: 1px solid #b7d8ca !important;
    border-radius: 12px !important;
    background: #edf8f3 !important;
    color: var(--bre-brand-700) !important;
    font-weight: 800 !important;
    cursor: pointer;
    transition: border-color .2s, background .2s, transform .2s;
}

.bre-secondary:hover {
    transform: translateY(-1px);
    border-color: var(--bre-brand-500) !important;
    background: #e2f4ec !important;
}

.bre-security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 17px;
    color: #81938c;
    font-size: 10px;
}

.bre-security-note i {
    width: 6px;
    height: 6px;
    background: var(--bre-brand-500);
    box-shadow: 0 0 0 4px rgba(24, 149, 101, .09);
}

.bre-help-row {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 9px;
    color: #8b9b95;
    font-size: 10px;
}

.bre-auth .bre-auth-brand {
    position: relative;
    grid-area: brand;
    min-width: 0;
    min-height: 0;
    padding: 10px 0;
    background: none;
    color: #fff;
}

.bre-auth .bre-auth-brand::after {
    display: none;
}

.bre-brand-aura {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 32%;
    width: 500px;
    height: 500px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(43, 171, 118, .18), transparent 67%);
    filter: blur(8px);
    pointer-events: none;
}

.bre-auth-brand .bre-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1px solid rgba(126, 215, 178, .23);
    border-radius: 30px;
    background: rgba(126, 215, 178, .07);
    color: #a5e4c8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.bre-auth .bre-hero-copy h1 {
    max-width: 780px;
    margin: 24px 0 20px;
    color: #fff !important;
    font-size: clamp(43px, 4vw, 64px);
    font-weight: 760;
    line-height: 1.04;
    letter-spacing: -2.5px;
}

.bre-hero-copy h1 em {
    display: block;
    color: #79dab2;
    font-style: normal;
}

.bre-auth .bre-hero-copy > p {
    max-width: 700px;
    margin: 0;
    color: rgba(225, 241, 234, .72);
    font-size: 17px;
    line-height: 1.65;
}

.bre-process {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 760px;
    margin: 30px 0;
}

.bre-process article {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 1px solid rgba(196, 235, 218, .14);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035));
    box-shadow: inset 0 1px rgba(255, 255, 255, .05);
    backdrop-filter: blur(10px);
}

.bre-process article > span {
    color: #77dab1;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .8px;
}

.bre-process strong,
.bre-process small {
    display: block;
}

.bre-process strong {
    margin-bottom: 2px;
    color: #fff;
    font-size: 13px;
}

.bre-process small {
    overflow: hidden;
    color: rgba(220, 238, 230, .58);
    font-size: 10px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bre-auth .bre-hero-copy ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 28px;
    max-width: 780px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bre-auth .bre-hero-copy li {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: start;
    padding: 0;
}

.bre-auth .bre-hero-copy li::before {
    display: none;
}

.bre-hero-copy li > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(126, 215, 178, .24);
    border-radius: 11px;
    background: rgba(126, 215, 178, .08);
    color: #80ddb8;
    font-size: 12px;
}

.bre-hero-copy li strong,
.bre-hero-copy li small {
    display: block;
}

.bre-hero-copy li strong {
    margin: 0 0 4px;
    color: #f4fbf8;
    font-size: 13px;
}

.bre-hero-copy li small {
    color: rgba(219, 238, 230, .56);
    font-size: 11px;
    line-height: 1.45;
}

.bre-auth-brand footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    color: #fff;
}

.bre-auth-brand footer span {
    font-size: 12px;
    font-weight: 800;
}

.bre-auth-brand footer small {
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, .17);
    color: rgba(220, 238, 230, .50);
    font-size: 10px;
}

.bre-auth .bre-notice {
    margin: 18px 32px 0;
    border: 1px solid #cfe2da;
    background: #eef7f3;
    color: #315247;
}

.bre-auth .bre-notice.error {
    border-color: #f1cbc8;
    background: #fff1f0;
    color: #922f2a;
}

.bre-auth .bre-notice.success {
    border-color: #bfe4d2;
    background: #eaf8f1;
    color: #176344;
}

.bre-auth[data-tab="apply"] .bre-auth-layout {
    display: block;
    width: min(1160px, 100%);
    min-height: calc(100vh - 92px);
    margin: 0 auto;
    padding-top: 42px;
}

.bre-auth[data-tab="apply"] .bre-auth-brand,
.bre-auth[data-tab="apply"] .bre-login-heading {
    display: none;
}

.bre-auth[data-tab="apply"] .bre-auth-panel {
    width: 100%;
    margin: 0 auto;
}

.bre-auth .bre-application-panel {
    padding: 40px 48px 48px;
}

.bre-application-title {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--bre-line);
}

.bre-application-title .bre-eyebrow {
    color: var(--bre-brand-600);
}

.bre-application-title h2 {
    margin: 9px 0 6px;
    color: var(--bre-ink) !important;
    font-size: 30px;
    letter-spacing: -.6px;
}

.bre-application-title p {
    margin: 0;
    color: var(--bre-copy);
}

.bre-back-login {
    margin: 0 0 24px !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: var(--bre-brand-600) !important;
    font-size: 12px !important;
    font-weight: 750 !important;
}

.bre-application-panel .bre-grid {
    gap: 0 20px;
}

.bre-auth .bre-application-panel h3 {
    margin-top: 30px;
    border-color: var(--bre-line);
    color: var(--bre-ink);
}

.bre-auth .bre-application-panel input,
.bre-auth .bre-application-panel textarea,
.bre-auth .bre-application-panel select {
    border-color: #cfddd7 !important;
    background: #f8fbfa !important;
    color: var(--bre-ink) !important;
}

.bre-auth .bre-application-panel input:focus,
.bre-auth .bre-application-panel textarea:focus,
.bre-auth .bre-application-panel select:focus {
    border-color: var(--bre-brand-500) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(24, 149, 101, .10) !important;
}

.bre-auth .bre-application-panel input[readonly] {
    color: #6f817a !important;
}

.bre-application-panel .bre-interests {
    border-color: var(--bre-line);
    background: #fbfdfc;
}

.bre-application-panel .bre-interests legend,
.bre-application-panel .bre-check-grid label,
.bre-application-panel .bre-policy {
    color: #40544c !important;
}

.bre-auth .bre-application-panel .bre-check-grid input,
.bre-auth .bre-application-panel .bre-policy input {
    position: static;
    width: auto;
    opacity: 1;
    accent-color: var(--bre-brand-600);
    pointer-events: auto;
}

.bre-application-panel .bre-policy {
    border: 1px solid #d8e9e1;
    background: #f0f8f4;
}

.bre-application-panel .bre-policy a {
    color: var(--bre-brand-700);
}

.bre-required {
    color: #c63e36;
    font-weight: 850;
}

.bre-optional {
    display: inline !important;
    margin: 0 0 0 4px !important;
    color: #7c8e87 !important;
    font-size: 10px !important;
    font-weight: 500 !important;
}

.bre-approval-legal {
    margin: 18px 0 0;
    padding: 15px 17px;
    border-left: 3px solid var(--bre-brand-600);
    border-radius: 0 9px 9px 0;
    background: #f3f8f6;
    color: #53675f;
    font-size: 11px;
    line-height: 1.6;
}

.bre-approval-legal strong {
    color: #29473c;
}

@media (max-width: 1120px) {
    .bre-auth-header,
    .bre-auth-layout {
        padding-right: 34px;
        padding-left: 34px;
    }

    .bre-auth-layout {
        grid-template-columns: minmax(0, 1fr) 430px;
        gap: 50px;
    }

    .bre-auth .bre-hero-copy h1 {
        font-size: 46px;
    }

    .bre-process {
        grid-template-columns: 1fr;
        max-width: 440px;
    }
}

@media (max-width: 900px) {
    .bre-auth {
        position: fixed;
    }

    .bre-auth-header {
        min-height: 78px;
        padding: 16px 24px;
    }

    .bre-auth-layout {
        grid-template-columns: 1fr;
        grid-template-areas: "panel" "brand";
        gap: 42px;
        min-height: calc(100dvh - 78px);
        padding: 34px 24px 48px;
    }

    .bre-auth .bre-auth-panel {
        max-width: 560px;
        margin: 0 auto;
    }

    .bre-auth .bre-auth-brand {
        width: min(700px, 100%);
        margin: 0 auto;
        text-align: center;
    }

    .bre-auth .bre-hero-copy h1,
    .bre-auth .bre-hero-copy > p {
        margin-right: auto;
        margin-left: auto;
    }

    .bre-process {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: none;
    }

    .bre-auth .bre-hero-copy ul {
        text-align: left;
    }

    .bre-auth-brand footer {
        justify-content: center;
    }

    .bre-auth[data-tab="apply"] .bre-auth-layout {
        min-height: calc(100dvh - 78px);
        padding: 28px 20px 42px;
    }

    .bre-auth[data-tab="apply"] .bre-auth-panel {
        max-width: 100%;
    }
}

@media (max-width: 620px) {
    .bre-auth-header {
        min-height: 69px;
        padding: 13px 18px;
    }

    .bre-brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        font-size: 18px;
    }

    .bre-auth-header .bre-brand span {
        font-size: 21px;
    }

    .bre-secure-label {
        display: none;
    }

    .bre-auth-layout {
        min-height: calc(100dvh - 69px);
        gap: 34px;
        padding: 22px 12px 38px;
    }

    .bre-auth .bre-auth-panel {
        border-radius: 19px;
    }

    .bre-login-heading {
        padding: 23px 20px;
    }

    .bre-lock-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        border-radius: 14px;
        font-size: 20px;
    }

    .bre-login-heading h2 {
        font-size: 19px;
    }

    .bre-auth .bre-tab-panel {
        padding: 20px 20px 24px;
    }

    .bre-auth .bre-form-row {
        align-items: flex-start;
        gap: 10px;
    }

    .bre-divider {
        white-space: normal;
    }

    .bre-auth .bre-hero-copy h1 {
        font-size: 34px;
        letter-spacing: -1.4px;
    }

    .bre-auth .bre-hero-copy > p {
        font-size: 15px;
    }

    .bre-process {
        grid-template-columns: 1fr;
    }

    .bre-process small {
        white-space: normal;
    }

    .bre-auth .bre-hero-copy ul {
        grid-template-columns: 1fr;
    }

    .bre-auth-brand footer {
        flex-direction: column;
        gap: 5px;
    }

    .bre-auth-brand footer small {
        padding-left: 0;
        border-left: 0;
    }

    .bre-auth[data-tab="apply"] .bre-auth-layout {
        padding: 18px 10px 34px;
    }

    .bre-auth .bre-application-panel {
        padding: 27px 20px 32px;
    }

    .bre-application-panel .bre-grid {
        grid-template-columns: 1fr;
    }

    .bre-application-title h2 {
        font-size: 24px;
    }

    .bre-auth .bre-notice {
        margin-right: 20px;
        margin-left: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bre-auth *,
    .bre-auth *::before,
    .bre-auth *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
