/* Public V3 registration */
.bm-auth-body {
    min-width: 320px;
    min-height: 100vh;
}

.bm-auth-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(340px, 0.9fr) minmax(560px, 1.1fr);
    background:
        radial-gradient(circle at 8% 12%, rgba(59, 130, 246, 0.28), transparent 32%),
        radial-gradient(circle at 38% 88%, rgba(20, 241, 149, 0.12), transparent 30%),
        #07111f;
}

.bm-auth-intro {
    min-height: 100vh;
    padding: 44px clamp(36px, 6vw, 92px);
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.bm-auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    width: fit-content;
    color: #ffffff;
    text-decoration: none;
}

.bm-auth-brand img {
    width: 48px;
    height: 48px;
    display: block;
    border-radius: 50%;
}

.bm-auth-brand strong,
.bm-auth-brand small {
    display: block;
}

.bm-auth-brand strong {
    font-size: 19px;
    line-height: 1.2;
}

.bm-auth-brand small {
    margin-top: 3px;
    color: #91a4bf;
    font-size: 11px;
}

.bm-auth-copy {
    max-width: 570px;
    margin: auto 0;
    padding: 70px 0;
}

.bm-auth-eyebrow {
    display: inline-flex;
    padding: 7px 11px;
    border: 1px solid rgba(20, 241, 149, 0.3);
    border-radius: 999px;
    background: rgba(20, 241, 149, 0.08);
    color: #6ee7b7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bm-auth-copy h1 {
    margin: 24px 0 18px;
    color: #ffffff;
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.bm-auth-copy > p {
    max-width: 520px;
    margin: 0;
    color: #a8b5ca;
    font-size: 18px;
    line-height: 1.65;
}

.bm-auth-benefits {
    display: grid;
    gap: 15px;
    margin: 34px 0 0;
    padding: 0;
    color: #d8e2f1;
    list-style: none;
}

.bm-auth-benefits li {
    display: flex;
    align-items: center;
    gap: 11px;
}

.bm-auth-benefits span {
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 25px;
    border-radius: 50%;
    background: rgba(20, 241, 149, 0.13);
    color: #6ee7b7;
    font-weight: 900;
}

.bm-auth-panel {
    min-height: 100vh;
    padding: 44px clamp(28px, 6vw, 96px) 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.018);
}

.bm-auth-card {
    width: min(100%, 680px);
    margin: auto;
    padding: clamp(26px, 4vw, 46px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: rgba(8, 20, 37, 0.9);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
}

.bm-auth-card-heading {
    margin-bottom: 28px;
}

.bm-auth-step {
    margin: 0 0 8px;
    color: #6ee7b7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bm-auth-card-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: 30px;
    letter-spacing: -0.025em;
}

.bm-auth-card-heading > p:last-child {
    margin: 9px 0 0;
    color: #91a4bf;
}

.bm-auth-card a {
    color: #7cb3ff;
}

.bm-auth-alert {
    margin-bottom: 24px;
    padding: 15px 17px;
    border: 1px solid rgba(248, 113, 113, 0.4);
    border-radius: 12px;
    background: rgba(127, 29, 29, 0.2);
    color: #fecaca;
    line-height: 1.45;
    outline: none;
}

.bm-auth-alert ul {
    margin: 8px 0 0 20px;
    padding: 0;
}

.bm-auth-form {
    display: grid;
    gap: 19px;
}

.bm-auth-field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.bm-auth-field label {
    display: block;
    margin-bottom: 8px;
    color: #dce6f4;
    font-size: 13px;
    font-weight: 700;
}

.bm-auth-field input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 11px;
    outline: none;
    background: rgba(255, 255, 255, 0.045);
    color: #ffffff;
    font: inherit;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.bm-auth-field input:focus {
    border-color: #3b82f6;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.17);
}

.bm-auth-field small,
.bm-password-help,
.bm-auth-next {
    display: block;
    margin: 7px 0 0;
    color: #7f91aa;
    font-size: 12px;
    line-height: 1.45;
}

.bm-password-control {
    position: relative;
}

.bm-password-control input {
    padding-right: 62px;
}

.bm-password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    padding: 4px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #8dbbff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
}

.bm-password-help {
    margin-top: -9px;
}

.bm-auth-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #b8c6d9;
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}

.bm-auth-check input {
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    accent-color: #3b82f6;
}

.bm-auth-submit {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.25);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.bm-auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.32);
}

.bm-auth-submit:focus-visible,
.bm-password-toggle:focus-visible,
.bm-auth-card a:focus-visible,
.bm-auth-brand:focus-visible {
    outline: 3px solid rgba(96, 165, 250, 0.65);
    outline-offset: 3px;
}

.bm-auth-next {
    margin: -7px 0 0;
    text-align: center;
}

@media (max-width: 980px) {
    .bm-auth-layout {
        grid-template-columns: 1fr;
    }

    .bm-auth-intro {
        min-height: auto;
        padding: 28px clamp(24px, 7vw, 60px) 42px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .bm-auth-copy {
        max-width: 700px;
        margin: 48px 0 0;
        padding: 0;
    }

    .bm-auth-copy h1 {
        font-size: clamp(36px, 8vw, 58px);
    }

    .bm-auth-panel {
        min-height: auto;
        padding: 42px clamp(20px, 7vw, 60px) 28px;
    }
}

@media (max-width: 620px) {
    .bm-auth-intro {
        padding: 22px 20px 34px;
    }

    .bm-auth-brand small,
    .bm-auth-benefits {
        display: none;
    }

    .bm-auth-copy {
        margin-top: 38px;
    }

    .bm-auth-copy h1 {
        margin-top: 18px;
        font-size: 36px;
    }

    .bm-auth-copy > p {
        font-size: 16px;
    }

    .bm-auth-panel {
        padding: 28px 14px 22px;
    }

    .bm-auth-card {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .bm-auth-field-row {
        grid-template-columns: 1fr;
    }

}
