* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

body {
    background: #f4f7fb;
}

.isp-login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(440px, 38%) 1fr;
}


/* LEFT */

.login-visual-panel {
    position: relative;
    overflow: hidden;
    padding: 44px 52px;
    color: #fff;
    background:
        radial-gradient(
            circle at 70% 60%,
            rgba(34, 103, 255, 0.24),
            transparent 36%
        ),
        linear-gradient(
            150deg,
            #071b39 0%,
            #03142e 45%,
            #061b3f 100%
        );
}

.login-visual-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .55;
    background-image:
        radial-gradient(
            circle at 80% 10%,
            rgba(80, 133, 255, .15) 0 2px,
            transparent 3px
        );
    background-size: 32px 32px;
    pointer-events: none;
}

.login-brand {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-size: 30px;
    color: #fff;
    background:
        linear-gradient(
            145deg,
            #1e74ff,
            #174ddd
        );
    box-shadow:
        0 14px 35px rgba(16, 98, 255, .28);
}

.brand-title {
    font-size: 28px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.5px;
}

.brand-title span {
    color: #3486ff;
}

.brand-subtitle {
    margin-top: 8px;
    color: #b9c9e5;
    font-size: 14px;
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-top: 66px;
    max-width: 470px;
}

.hero-content h1 {
    margin: 0;
    font-size: clamp(40px, 4vw, 58px);
    line-height: 1.05;
    letter-spacing: -1.5px;
    font-weight: 800;
}

.hero-content h1 span {
    display: block;
    color: #3a8bff;
}

.hero-content p {
    margin: 20px 0 0;
    max-width: 420px;
    color: #c2cfe4;
    font-size: 17px;
    line-height: 1.8;
}

.feature-list {
    position: relative;
    z-index: 3;
    margin-top: 40px;
    display: grid;
    gap: 18px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    font-size: 22px;
}

.feature-icon.blue {
    color: #47a0ff;
    background: rgba(24, 107, 255, .18);
}

.feature-icon.green {
    color: #35e1a0;
    background: rgba(25, 194, 140, .15);
}

.feature-icon.purple {
    color: #9b73ff;
    background: rgba(123, 74, 255, .17);
}

.feature-icon.orange {
    color: #ffba29;
    background: rgba(255, 164, 19, .15);
}

.feature-item strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
}

.feature-item span {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: #aebbd1;
}

.network-art {
    position: absolute;
    right: -70px;
    bottom: 180px;
    width: 430px;
    height: 390px;
    opacity: .82;
}

.network-globe {
    position: absolute;
    width: 370px;
    height: 370px;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 1px solid rgba(48, 128, 255, .4);
    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(28, 96, 220, .32),
            rgba(6, 28, 64, .2) 55%,
            transparent 72%
        );
    box-shadow:
        inset 0 0 60px rgba(41, 103, 240, .16),
        0 0 80px rgba(28, 90, 255, .15);
}

.network-globe::before,
.network-globe::after {
    content: "";
    position: absolute;
    inset: 30px;
    border-radius: 50%;
    border: 1px solid rgba(57, 129, 255, .35);
}

.network-globe::after {
    inset: 80px;
}

.device {
    position: absolute;
    z-index: 2;
    width: 120px;
    height: 66px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 33px;
    color: #69a7ff;
    background:
        linear-gradient(
            145deg,
            #101c2d,
            #020811
        );
    border: 1px solid rgba(105, 167, 255, .18);
    box-shadow:
        0 22px 40px rgba(0, 0, 0, .38);
}

.device-1 {
    top: 74px;
    right: 70px;
}

.device-2 {
    right: 205px;
    bottom: 65px;
}

.device-3 {
    right: 50px;
    bottom: 18px;
}

.network-dot {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #54a6ff;
    box-shadow:
        0 0 14px #54a6ff;
}

.dot-1 {
    top: 50px;
    left: 80px;
}

.dot-2 {
    top: 135px;
    left: 5px;
}

.dot-3 {
    bottom: 110px;
    left: 75px;
}

.dot-4 {
    bottom: 170px;
    right: 5px;
}

.stats-panel {
    position: absolute;
    z-index: 4;
    left: 46px;
    right: 46px;
    bottom: 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    background: rgba(11, 36, 74, .75);
    backdrop-filter: blur(18px);
}

.stat-box {
    position: relative;
    padding: 18px 12px;
    text-align: center;
}

.stat-box:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 16px;
    right: 0;
    bottom: 16px;
    width: 1px;
    background: rgba(255,255,255,.11);
}

.stat-box i {
    display: block;
    margin-bottom: 8px;
    font-size: 22px;
    color: #3c91ff;
}

.stat-box strong {
    display: block;
    font-size: 19px;
    font-weight: 800;
}

.stat-box span {
    display: block;
    margin-top: 4px;
    color: #aab8ce;
    font-size: 11px;
}


/* RIGHT */

.login-form-panel {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 44px;
    background:
        radial-gradient(
            circle at 100% 35%,
            rgba(84, 103, 255, .10),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #fbfcff,
            #f4f7ff
        );
}

.background-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.decoration-1 {
    top: -230px;
    right: -150px;
    width: 540px;
    height: 540px;
    border: 2px solid rgba(48, 105, 255, .07);
}

.decoration-2 {
    left: -250px;
    bottom: -330px;
    width: 650px;
    height: 650px;
    background:
        radial-gradient(
            circle,
            rgba(62, 106, 255, .07),
            transparent 70%
        );
}

.login-card {
    position: relative;
    z-index: 2;
    width: min(100%, 600px);
    padding: 76px 42px 32px;
    border: 1px solid #e7eaf2;
    border-radius: 28px;
    background: rgba(255,255,255,.88);
    box-shadow:
        0 22px 55px rgba(32, 70, 130, .09);
    backdrop-filter: blur(18px);
}

.login-security-icon {
    position: absolute;
    top: -42px;
    left: 50%;
    transform: translateX(-50%);
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 34px;
    color: #236cff;
    background: #fff;
    box-shadow:
        0 15px 35px rgba(43, 94, 182, .15);
}

.login-heading {
    text-align: center;
    margin-bottom: 36px;
}

.login-heading h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -.6px;
    color: #10203c;
}

.login-heading p {
    margin: 8px 0 0;
    color: #71809c;
    font-size: 15px;
}

.login-label {
    margin-bottom: 8px;
    color: #17233d;
    font-weight: 700;
}

.login-input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: #1b2d4f;
    font-size: 18px;
}

.login-input {
    min-height: 58px;
    padding-left: 52px;
    padding-right: 52px;
    border-radius: 10px;
    border-color: #d8deea;
    font-size: 15px;
    color: #15233f;
    background: #fff;
}

.login-input:focus {
    border-color: #4382ff;
    box-shadow:
        0 0 0 3px rgba(47, 116, 255, .10);
}

.password-toggle {
    position: absolute;
    z-index: 3;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #687996;
    font-size: 18px;
    cursor: pointer;
}

.login-options {
    margin: 18px 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.remember-label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #3b4963;
    font-size: 14px;
}

.remember-label input {
    width: 17px;
    height: 17px;
    accent-color: #276cff;
}

.forgot-link {
    color: #1764ef;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.login-submit {
    width: 100%;
    min-height: 58px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    background:
        linear-gradient(
            90deg,
            #5438f5,
            #186eff
        );
    box-shadow:
        0 14px 25px rgba(44, 80, 247, .18);
}

.login-submit:hover {
    color: #fff;
    transform: translateY(-1px);
}

.login-divider {
    position: relative;
    margin: 28px 0;
    text-align: center;
}

.login-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e4e8f0;
}

.login-divider span {
    position: relative;
    z-index: 2;
    padding: 0 18px;
    color: #7d899d;
    background: #fff;
}

.radius-login-btn {
    width: 100%;
    min-height: 56px;
    color: #1763ed;
    border: 1px solid #8bb1ff;
    border-radius: 10px;
    font-weight: 700;
    background: #fff;
}

.radius-login-btn:disabled {
    opacity: 1;
    color: #1763ed;
    border-color: #8bb1ff;
    background: #fff;
}

.login-cityscape {
    margin-top: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 14px;
    height: 68px;
    color: #dbe6fa;
    font-size: 38px;
    overflow: hidden;
}

.login-cityscape i:nth-child(2) {
    font-size: 52px;
}

.login-cityscape i:nth-child(3) {
    font-size: 44px;
    color: #c7d9f7;
}

.login-cityscape i:nth-child(4) {
    font-size: 56px;
}

.login-footer {
    position: relative;
    z-index: 2;
    margin-top: 26px;
    color: #63718d;
    font-size: 13px;
    text-align: center;
}


/* RESPONSIVE */

@media (max-width: 1100px) {

    .isp-login-page {
        grid-template-columns: 1fr;
    }

    .login-visual-panel {
        display: none;
    }

    .login-form-panel {
        padding: 72px 24px 30px;
    }

}

@media (max-width: 640px) {

    .login-form-panel {
        justify-content: flex-start;
        padding-top: 70px;
    }

    .login-card {
        padding:
            65px
            22px
            24px;
        border-radius: 20px;
    }

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

    .login-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .login-footer {
        margin-bottom: 20px;
    }

}


/* ==========================================================
   Binary Cube NMS Branding
   ========================================================== */

.login-brand {
    position: relative;
    z-index: 5;

    display: flex;
    align-items: center;
    gap: 18px;

    width: fit-content;
}

.binary-cube-logo {
    width: 95px;
    height: 95px;

    object-fit: contain;
    display: block;

    flex-shrink: 0;

    filter:
        drop-shadow(
            0 8px 18px
            rgba(0, 0, 0, .30)
        );
}

.binary-cube-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.binary-cube-main-title {
    color: #ffffff;

    font-size: 30px;
    line-height: 1.05;

    font-weight: 800;

    letter-spacing: -.5px;
}

.binary-cube-subtitle {
    margin-top: 7px;

    color: #aebfda;

    font-size: 14px;

    font-weight: 500;

    letter-spacing: .2px;
}


/* Correct top positioning */

.login-visual-panel {
    padding-top: 34px;
}

.hero-content {
    margin-top: 78px;
}


@media (max-width: 1400px) {

    .binary-cube-logo {
        width: 82px;
        height: 82px;
    }

    .binary-cube-main-title {
        font-size: 26px;
    }

}
