:root {
    --green: #65f58d;
    --panel: rgba(13, 16, 18, .94);
    --muted: #a6aaad;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: #090d10;
    color: #fff;
    font-family: "Segoe UI", Tahoma, sans-serif;
}

.login-v2-video {
    position: fixed;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-v2-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(3, 7, 9, .6);
}

.login-v2-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 30px;
}

.login-v2-shell {
    width: min(1030px, 100%);
    min-height: 500px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 24px;
    background: var(--panel);
    box-shadow: 0 30px 85px rgba(0, 0, 0, .55);
}

.login-v2-brand-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 58px 65px;
    background: radial-gradient(
        circle at 45% 42%, 
        rgba(34, 163, 91, .14), 
        transparent 36%
        ), linear-gradient(
            145deg, 
            rgba(4, 25, 29, .97), 
            rgba(8, 14, 14, .95)
        );
    border-right: 1px solid rgba(255, 255, 255, .08);
}

.login-v2-network {
    position: relative;
    width: min(360px, 100%);
    height: 82px;
    margin: 0 auto;
    overflow: hidden;
    flex: 0 0 auto;
}

.login-v2-network img {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    transform: translateY(-24%);
}

.node {
    position: absolute;
    z-index: 2;
    width: 24px;
    height: 24px;
    border: 2px solid var(--green);
    border-radius: 50%;
    background: #102024;
}

.node-a {
    left: 13px;
    top: 37px;
    width: 38px;
    height: 38px;
}

.node-b {
    left: 103px;
    top: 72px;
    width: 30px;
    height: 30px;
}

.node-c {
    left: 88px;
    top: 1px;
}

.node-d {
    left: 38px;
    top: 91px;
    width: 22px;
    height: 22px;
}

.line {
    position: absolute;
    z-index: 1;
    height: 3px;
    background: var(--green);
    transform-origin: left center;
}

.line-a {
    width: 74px;
    left: 43px;
    top: 62px;
    transform: rotate(21deg);
}

.line-b {
    width: 68px;
    left: 98px;
    top: 18px;
    transform: rotate(72deg);
}

.line-c {
    width: 48px;
    left: 34px;
    top: 68px;
    transform: rotate(72deg);
}

.login-v2-product {
    display: flex;
    align-items: baseline;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -.06em;
}

.login-v2-product strong {
    color: var(--green);
}

.login-v2-copy {
    width: 100%;
    margin-top: 35px;
    text-align: center;
}

.login-v2-copy h1 {
    margin: 0 0 10px;
    font-size: 1.4rem;
    line-height: 1.5rem;
}

.login-v2-copy p {
    margin: 0;
    color: #c1c5c7;
    line-height: 1.55;
    font-size: .95rem;
}

.login-v2-form-panel {
    display: flex;
    align-items: center;
    padding: 48px;
    background: linear-gradient(145deg, rgba(35, 38, 40, .96), rgba(14, 15, 16, .97));
}

.login-v2-form-content {
    width: 100%;
    max-width: 390px;
    margin: auto;
}

.login-v2-form-content header {
    margin-bottom: 26px;
}

.login-v2-form-content h2 {
    margin: 0 0 6px;
    font-size: 2rem;
    font-weight: 750;
}

.login-v2-form-content header p {
    margin: 0;
    color: var(--muted);
}

.login-v2-field {
    margin-bottom: 17px;
}

.login-v2-field>label {
    display: block;
    margin-bottom: 7px;
    color: #d9dcde;
    font-size: .8rem;
    font-weight: 600;
}

.login-v2-input {
    display: flex;
    align-items: center;
    min-height: 45px;
    border: 1px solid #4b5054;
    border-radius: 5px;
    background: rgba(10, 12, 13, .44);
    overflow: hidden;
}

.login-v2-input>i {
    width: 42px;
    color: #858b8f;
    text-align: center;
}

.login-v2-input input {
    flex: 1;
    min-width: 0;
    height: 43px;
    border: 0;
    outline: 0;
    padding: 0 10px 0 0;
    background: transparent !important;
    color: #fff;
    caret-color: var(--green);
}

.login-v2-input input::placeholder {
    color: #777e82;
    opacity: 1;
}

.login-v2-input input:-webkit-autofill,
.login-v2-input input:-webkit-autofill:hover,
.login-v2-input input:-webkit-autofill:focus,
.login-v2-input input:-webkit-autofill:active {
    -webkit-text-fill-color: #fff !important;
    caret-color: var(--green);
    -webkit-box-shadow: 0 0 0 1000px #15191b inset !important;
    box-shadow: 0 0 0 1000px #15191b inset !important;
    transition: background-color 9999s ease-out 0s;
}

.login-v2-input input:autofill {
    color: #fff !important;
    background: #15191b !important;
    box-shadow: 0 0 0 1000px #15191b inset !important;
}

.login-v2-input:focus-within {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(101, 245, 141, .1);
}

.login-v2-input button {
    align-self: stretch;
    width: 42px;
    border: 0;
    background: transparent;
    color: #8f969a;
    cursor: pointer;
}

.login-v2-options {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 5px 0 17px;
    color: #b8bdc0;
    font-size: .8rem;
}

.login-v2-remember {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    cursor: pointer;
}

.login-v2-remember input {
    accent-color: var(--green);
}

.login-v2-options a {
    color: var(--green);
    font-weight: 600;
    text-decoration: none;
}

.login-v2-submit {
    width: 100%;
    height: 45px;
    border: 0;
    border-radius: 7px;
    background: var(--green);
    color: #08110b;
    font-weight: 750;
    cursor: pointer;
    transition: transform .15s, filter .15s;
}

.login-v2-submit:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.login-v2-footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.login-v2-footer-brand img {
    width: 60px;
    height: auto;
}


.login-v2-alert {
    padding: 9px 12px;
    font-size: .85rem;
}

.login-v2-modal {
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    color: #172033;
}

.login-v2-modal .modal-header {
    background: #17211b;
    color: #fff;
}

.login-v2-modal .close {
    color: #fff;
}

.login-v2-modal .modal-body {
    padding: 24px;
}

.login-v2-modal .modal-footer {
    border: 0;
}

.login-v2-modal .modal-submit {
    width: auto;
    padding: 0 22px;
}

.recovery-shell { min-height: 570px; }
.recovery-code { letter-spacing: .22em; text-transform: uppercase; font-weight: 700; }
.recovery-hint { margin: -4px 0 16px; color: #92999d; font-size: .76rem; line-height: 1.45; }
.recovery-back { margin-top: 18px; text-align: center; }
.recovery-back a { color: var(--green); font-size: .84rem; text-decoration: none; }

@media (max-width: 820px) {
    .login-v2-page {
        padding: 18px;
    }

    .login-v2-shell {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .login-v2-brand-panel {
        padding: 34px;
    }

    .login-v2-network {
        width: min(320px, 100%);
        height: 72px;
        margin-bottom: 14px;
    }

    .login-v2-product {
        font-size: 2.4rem;
    }

    .login-v2-copy {
        margin-top: 20px;
        text-align: center;
    }

    .login-v2-copy p {
        display: none;
    }

    .login-v2-form-panel {
        padding: 38px 30px;
    }
}

@media (max-width: 480px) {
    .login-v2-page {
        padding: 10px;
    }

    .login-v2-shell {
        border-radius: 16px;
    }

    .login-v2-brand-panel {
        padding: 24px 20px;
    }

    .login-v2-network {
        width: min(260px, 100%);
        height: 58px;
        margin-bottom: 10px;
    }

    .login-v2-product {
        font-size: 2rem;
    }

    .login-v2-copy h1 {
        font-size: 1rem;
    }

    .login-v2-form-panel {
        padding: 30px 20px;
    }

    .login-v2-form-content h2 {
        font-size: 1.55rem;
    }

    .login-v2-options {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-v2-video {
        display: none;
    }

    .login-v2-submit {
        transition: none;
    }
}
