:root {
    --noc-bg: #05080e;
    --noc-panel: #0a101a;
    --noc-panel-2: #101722;
    --noc-border: #26303c;

    --noc-red: #d91f2d;
    --noc-red-bright: #ff3344;
    --noc-red-dark: #8f101b;

    --noc-text: #f5f7fa;
    --noc-muted: #8995a5;
    --noc-input: #090e16;
}


* {
    box-sizing: border-box;
}


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


body.login-page {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(217, 31, 45, 0.07),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #04070c,
            #080d15 55%,
            #05080d
        );

    color: var(--noc-text);

    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;

    overflow-x: hidden;
}


.noc-background {
    position: fixed;
    inset: 0;

    pointer-events: none;
    overflow: hidden;
}


.noc-grid {
    position: absolute;
    inset: 0;

    opacity: 0.16;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );

    background-size: 52px 52px;

    mask-image:
        linear-gradient(
            to right,
            black,
            transparent 75%
        );
}


.noc-glow {
    position: absolute;

    width: 480px;
    height: 480px;

    border-radius: 50%;

    filter: blur(90px);

    background:
        rgba(217, 31, 45, 0.07);
}


.noc-glow-one {
    left: -240px;
    top: 15%;
}


.noc-glow-two {
    right: -300px;
    bottom: -200px;
}


.network-map {
    position: absolute;

    left: 4%;
    bottom: 4%;

    width: 48vw;
    height: 38vh;

    opacity: 0.42;
}


.net-line {
    position: absolute;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(217, 31, 45, 0.6),
            transparent
        );

    transform-origin: left center;
}


.line-1 {
    width: 55%;
    left: 10%;
    top: 62%;
    transform: rotate(-18deg);
}


.line-2 {
    width: 44%;
    left: 33%;
    top: 30%;
    transform: rotate(26deg);
}


.line-3 {
    width: 52%;
    left: 14%;
    top: 72%;
    transform: rotate(11deg);
}


.line-4 {
    width: 35%;
    left: 50%;
    top: 62%;
    transform: rotate(-36deg);
}


.net-node {
    position: absolute;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--noc-red-bright);

    box-shadow:
        0 0 0 5px rgba(217, 31, 45, 0.08),
        0 0 16px rgba(255, 51, 68, 0.8);
}


.node-1 {
    left: 10%;
    top: 60%;
}


.node-2 {
    left: 34%;
    top: 28%;
}


.node-3 {
    left: 55%;
    top: 68%;
}


.node-4 {
    left: 72%;
    top: 39%;
}


.node-5 {
    left: 82%;
    top: 70%;
}


.noc-login-shell {
    position: relative;
    z-index: 2;

    width: min(1400px, 92vw);
    min-height: 100vh;

    margin: auto;

    display: grid;
    grid-template-columns:
        minmax(420px, 1.15fr)
        minmax(400px, 0.85fr);

    align-items: center;

    gap: clamp(60px, 9vw, 150px);

    padding: 55px 20px;
}


.noc-brand {
    max-width: 650px;
}


.noc-logo {
    width: 245px;
    max-width: 65%;

    display: block;

    margin-bottom: 58px;
}


.noc-brand-rule {
    width: 58px;
    height: 4px;

    margin-bottom: 28px;

    border-radius: 10px;

    background: var(--noc-red);
}


.noc-eyebrow {
    display: block;

    margin-bottom: 18px;

    color: var(--noc-red-bright);

    font-size: 0.76rem;
    font-weight: 800;

    letter-spacing: 0.19em;
}


.noc-brand-copy h1 {
    margin: 0;

    font-size:
        clamp(3rem, 5vw, 5.4rem);

    line-height: 0.98;

    letter-spacing: -0.055em;

    font-weight: 800;
}


.noc-brand-copy p {
    max-width: 560px;

    margin:
        28px 0
        42px;

    color: #a6b0bd;

    font-size: 1.08rem;
    line-height: 1.75;
}


.noc-capabilities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 12px;
}


.noc-capability {
    min-height: 112px;

    padding: 17px;

    border:
        1px solid rgba(255, 255, 255, 0.075);

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.025);

    display: flex;
    gap: 12px;

    align-items: flex-start;
}


.noc-capability i {
    color: var(--noc-red-bright);

    font-size: 1.25rem;
}


.noc-capability strong {
    display: block;

    margin-bottom: 5px;

    font-size: 0.88rem;
}


.noc-capability span {
    display: block;

    color: #7e8998;

    font-size: 0.72rem;
    line-height: 1.45;
}


.noc-auth {
    width: 100%;
    max-width: 500px;

    justify-self: end;
}


.noc-auth-card {
    position: relative;

    overflow: hidden;

    padding:
        44px
        42px
        38px;

    border:
        1px solid rgba(255, 255, 255, 0.09);

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(23, 29, 39, 0.98),
            rgba(10, 15, 23, 0.99)
        );

    box-shadow:
        0 35px 80px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(217, 31, 45, 0.04);
}


.noc-auth-accent {
    position: absolute;

    left: 0;
    right: 0;
    top: 0;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--noc-red-dark),
            var(--noc-red-bright),
            var(--noc-red-dark)
        );

    box-shadow:
        0 0 20px rgba(217, 31, 45, 0.45);
}


.noc-auth-header {
    display: flex;
    align-items: center;

    gap: 17px;

    margin-bottom: 34px;
}


.noc-lock {
    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    border:
        1px solid rgba(255, 51, 68, 0.3);

    border-radius: 12px;

    display: grid;
    place-items: center;

    color: #fff;

    font-size: 1.45rem;

    background:
        linear-gradient(
            145deg,
            #ef2636,
            #a90f1c
        );

    box-shadow:
        0 10px 30px rgba(217, 31, 45, 0.2);
}


.noc-auth-kicker {
    color: var(--noc-red-bright);

    font-size: 0.67rem;
    font-weight: 800;

    letter-spacing: 0.17em;
}


.noc-auth-header h2 {
    margin: 3px 0 3px;

    color: #fff;

    font-size: 1.72rem;
    font-weight: 750;

    letter-spacing: -0.025em;
}


.noc-auth-header p {
    margin: 0;

    color: var(--noc-muted);

    font-size: 0.88rem;
}


.noc-alert {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 24px;

    border: 0;
    border-radius: 8px;

    font-size: 0.86rem;
}


.noc-field {
    margin-bottom: 22px;
}


.noc-field label {
    display: block;

    margin-bottom: 8px;

    color: #adb6c2;

    font-size: 0.68rem;
    font-weight: 800;

    letter-spacing: 0.11em;
}


.noc-input-wrap {
    position: relative;
}


.noc-input-wrap > i {
    position: absolute;

    left: 16px;
    top: 50%;

    transform: translateY(-50%);

    color: #687585;

    font-size: 1rem;
}


.noc-input-wrap input {
    width: 100%;
    height: 53px;

    padding:
        0
        48px
        0
        46px;

    outline: none;

    border:
        1px solid #303a47;

    border-radius: 8px;

    background: var(--noc-input);

    color: #fff;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}


.noc-input-wrap input::placeholder {
    color: #596575;
}


.noc-input-wrap input:hover {
    border-color: #45515f;
}


.noc-input-wrap input:focus {
    border-color: var(--noc-red);

    background: #080c13;

    box-shadow:
        0 0 0 3px rgba(217, 31, 45, 0.12);
}


.noc-password-toggle {
    position: absolute;

    right: 7px;
    top: 50%;

    transform: translateY(-50%);

    width: 40px;
    height: 40px;

    border: 0;

    color: #7b8796;
    background: transparent;
}


.noc-password-toggle:hover {
    color: var(--noc-red-bright);
}


.noc-options {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin:
        4px 0
        27px;
}


.noc-remember {
    display: flex;
    align-items: center;

    gap: 8px;

    color: #9ca7b5;

    font-size: 0.83rem;

    cursor: pointer;
}


.noc-remember .form-check-input {
    margin: 0;

    border-color: #475362;

    background-color: #0a0f17;
}


.noc-remember .form-check-input:checked {
    border-color: var(--noc-red);

    background-color: var(--noc-red);
}


.noc-help {
    color: #bdc5cf;

    font-size: 0.82rem;

    text-decoration: none;
}


.noc-help:hover {
    color: #fff;
}


.noc-submit {
    width: 100%;
    height: 54px;

    border:
        1px solid #ff4050;

    border-radius: 8px;

    color: #fff;

    background:
        linear-gradient(
            100deg,
            #b81220,
            #e52030
        );

    box-shadow:
        0 12px 30px rgba(217, 31, 45, 0.18);

    font-size: 0.92rem;
    font-weight: 750;

    letter-spacing: 0.02em;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        filter 0.15s ease;
}


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

    filter: brightness(1.08);

    box-shadow:
        0 15px 36px rgba(217, 31, 45, 0.27);
}


.noc-submit:disabled {
    opacity: 0.7;
    transform: none;
}


.noc-submit i {
    margin-right: 7px;
}


.noc-security-note {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    margin-top: 27px;
    padding-top: 22px;

    border-top:
        1px solid rgba(255, 255, 255, 0.07);

    color: #697687;

    font-size: 0.72rem;
    line-height: 1.5;
}


.noc-security-note i {
    color: #929eab;

    margin-top: 1px;
}


.noc-footer {
    margin-top: 18px;

    display: flex;
    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    color: #596575;

    font-size: 0.68rem;

    letter-spacing: 0.04em;
}


.noc-footer-dot {
    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: var(--noc-red);
}


.noc-input-wrap input:-webkit-autofill,
.noc-input-wrap input:-webkit-autofill:hover,
.noc-input-wrap input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff;

    -webkit-box-shadow:
        0 0 0 1000px
        var(--noc-input)
        inset;

    caret-color: #fff;
}


@media (max-width: 1050px) {

    .noc-login-shell {
        grid-template-columns:
            minmax(330px, 0.9fr)
            minmax(390px, 1fr);

        gap: 45px;
    }

    .noc-capabilities {
        grid-template-columns: 1fr;
    }

    .noc-capability {
        min-height: auto;
    }

    .noc-brand-copy h1 {
        font-size: 3.5rem;
    }
}


@media (max-width: 820px) {

    .noc-login-shell {
        width: min(520px, 94vw);

        display: block;

        padding:
            35px
            15px
            45px;
    }

    .noc-brand {
        text-align: center;
    }

    .noc-logo {
        width: 190px;

        margin:
            0 auto
            25px;
    }

    .noc-brand-rule {
        margin:
            0 auto
            18px;
    }

    .noc-brand-copy h1 {
        font-size: 2.6rem;
    }

    .noc-brand-copy p {
        margin:
            18px auto
            25px;
    }

    .noc-capabilities {
        display: none;
    }

    .noc-auth {
        margin:
            34px auto
            0;
    }

    .network-map {
        width: 100vw;
    }
}


@media (max-width: 520px) {

    .noc-login-shell {
        width: 100%;

        padding:
            25px
            14px
            35px;
    }

    .noc-brand-copy h1 {
        font-size: 2.15rem;
    }

    .noc-brand-copy p {
        font-size: 0.9rem;
    }

    .noc-auth-card {
        padding:
            34px
            23px
            29px;
    }

    .noc-auth-header h2 {
        font-size: 1.42rem;
    }

    .noc-lock {
        width: 50px;
        height: 50px;

        flex-basis: 50px;
    }

    .noc-options {
        align-items: flex-start;

        flex-direction: column;
    }
}
