#mbokaAuthV2 {
    position: fixed;
    inset: 0;
    z-index: 50000;
    display: none;
    place-items: center;
    padding: 24px;
    overflow-y: auto;
    background:
        radial-gradient(
            circle at 13% 14%,
            rgba(39,194,128,.14),
            transparent 30rem
        ),
        radial-gradient(
            circle at 85% 16%,
            rgba(42,131,241,.13),
            transparent 34rem
        ),
        rgba(244,249,248,.96);
    backdrop-filter:
        blur(22px)
        saturate(130%);
    -webkit-backdrop-filter:
        blur(22px)
        saturate(130%);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

#mbokaAuthV2.open {
    display: grid;
}

.authv2-shell {
    width: min(1060px,100%);
    min-height: min(690px,calc(100vh - 48px));
    display: grid;
    grid-template-columns:
        minmax(0,1.05fr)
        minmax(420px,.95fr);
    overflow: hidden;
    border: 1px solid rgba(15,48,59,.075);
    border-radius: 32px;
    background: rgba(255,255,255,.96);
    box-shadow:
        0 34px 100px rgba(19,53,67,.15);
}

.authv2-visual {
    position: relative;
    min-height: 690px;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            #083f33,
            #0d5260
        );
}

.authv2-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.authv2-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(4,27,24,.03),
            rgba(4,27,24,.74)
        );
}

.authv2-visual-content {
    position: absolute;
    z-index: 2;
    left: 38px;
    right: 38px;
    bottom: 38px;
    color: #fff;
}

.authv2-visual-kicker {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #9af4ca;
}

.authv2-visual-title {
    max-width: 560px;
    margin-top: 9px;
    font-size:
        clamp(32px,4vw,52px);
    line-height: 1.02;
    letter-spacing: -.052em;
    font-weight: 950;
}

.authv2-visual-copy {
    max-width: 520px;
    margin-top: 12px;
    color: rgba(255,255,255,.75);
    font-size: 11px;
    line-height: 1.65;
}

.authv2-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    padding:
        32px
        clamp(28px,4vw,48px)
        36px;
    color: #0a283a;
}

.authv2-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(10,40,58,.075);
    border-radius: 13px;
    cursor: pointer;
    background: #f8fbfa;
    color: #758990;
    font: inherit;
    font-size: 20px;
}

.authv2-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    color: #09283a;
    font-size: 15px;
    font-weight: 950;
    letter-spacing: -.035em;
}

.authv2-brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #fff;
    background:
        linear-gradient(
            135deg,
            #13a960,
            #1679da
        );
    box-shadow:
        0 9px 22px rgba(11,142,99,.18);
}

.authv2-content {
    width: 100%;
    max-width: 410px;
    margin:
        auto
        auto;
    padding-top: 54px;
}

.authv2-eyebrow {
    color: #11915b;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.authv2-title {
    margin: 8px 0 0;
    font-size:
        clamp(29px,3.3vw,40px);
    line-height: 1.02;
    letter-spacing: -.045em;
    font-weight: 950;
}

.authv2-copy {
    margin-top: 10px;
    color: #748890;
    font-size: 10px;
    line-height: 1.6;
}

.authv2-tabs {
    display: grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap: 4px;
    margin-top: 25px;
    padding: 4px;
    border-radius: 14px;
    background: #f3f7f6;
}

.authv2-tab {
    min-height: 39px;
    border: 0;
    border-radius: 11px;
    cursor: pointer;
    background: transparent;
    color: #74868d;
    font: inherit;
    font-size: 9px;
    font-weight: 850;
}

.authv2-tab.active {
    color: #0b2b3b;
    background: #fff;
    box-shadow:
        0 5px 16px rgba(20,55,70,.075);
}

.authv2-form {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.authv2-field {
    display: grid;
    gap: 6px;
}

.authv2-field label {
    color: #425e69;
    font-size: 8px;
    font-weight: 850;
}

.authv2-control {
    position: relative;
}

.authv2-input,
.authv2-select {
    width: 100%;
    min-height: 49px;
    padding:
        0
        14px;
    border: 1px solid rgba(12,51,65,.10);
    border-radius: 14px;
    outline: none;
    background: #fbfdfd;
    color: #0c2a3a;
    font: inherit;
    font-size: 14px;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.authv2-input:focus,
.authv2-select:focus {
    border-color: rgba(12,155,92,.42);
    background: #fff;
    box-shadow:
        0 0 0 4px rgba(12,155,92,.075);
}

.authv2-input.has-eye {
    padding-right: 52px;
}

.authv2-eye {
    position: absolute;
    top: 50%;
    right: 7px;
    transform: translateY(-50%);
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    background: transparent;
    color: #7d9098;
    font: inherit;
    font-size: 8px;
    font-weight: 850;
}

.authv2-hint {
    color: #84969c;
    font-size: 7px;
    line-height: 1.45;
}

.authv2-checkbox-row {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 12px;
    border: 1px solid rgba(12,51,65,.08);
    border-radius: 13px;
    background: #fbfdfd;
    color: #546e79;
    font-size: 8px;
}

.authv2-checkbox-row input {
    width: 17px;
    height: 17px;
    accent-color: #0a9a5c;
}

.authv2-submit {
    width: 100%;
    min-height: 50px;
    margin-top: 4px;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    background:
        linear-gradient(
            135deg,
            #0aa05c,
            #08734a
        );
    color: #fff;
    box-shadow:
        0 14px 28px rgba(9,145,87,.18);
    font: inherit;
    font-size: 10px;
    font-weight: 900;
    transition:
        transform .2s ease,
        opacity .2s ease;
}

.authv2-submit:hover {
    transform: translateY(-1px);
}

.authv2-submit:disabled {
    opacity: .58;
    cursor: wait;
    transform: none;
}

.authv2-message {
    display: none;
    padding: 11px 12px;
    border-radius: 12px;
    font-size: 8px;
    line-height: 1.55;
}

.authv2-message.show {
    display: block;
}

.authv2-message.error {
    color: #a93d46;
    border: 1px solid rgba(201,68,79,.12);
    background: rgba(201,68,79,.045);
}

.authv2-message.ok {
    color: #087249;
    border: 1px solid rgba(7,154,91,.13);
    background: rgba(7,154,91,.045);
}

.authv2-switch {
    margin-top: 17px;
    text-align: center;
    color: #7c9097;
    font-size: 8px;
}

.authv2-switch button {
    border: 0;
    cursor: pointer;
    background: transparent;
    color: #0b955a;
    font: inherit;
    font-weight: 900;
}

.authv2-security {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(11,42,57,.06);
    color: #8a9ba1;
    font-size: 7px;
    line-height: 1.55;
}

#authV2LoginLauncher,
#authV2RegisterLauncher {
    display: none !important;
}

@media (max-width: 840px) {
    #mbokaAuthV2 {
        padding: 0;
        background: #fff;
    }

    .authv2-shell {
        width: 100%;
        min-height: 100vh;
        grid-template-columns: 1fr;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .authv2-visual {
        display: none;
    }

    .authv2-panel {
        min-height: 100vh;
        padding:
            calc(24px + env(safe-area-inset-top,0px))
            22px
            calc(30px + env(safe-area-inset-bottom,0px));
    }

    .authv2-content {
        max-width: 500px;
        padding-top: 62px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .authv2-submit,
    .authv2-input,
    .authv2-select {
        transition: none;
    }
}
