* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #070b12;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}


/* NAVBAR */

.navbar {
    height: 82px;
    padding: 0 5vw;

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

    border-bottom: 1px solid rgba(88, 176, 255, 0.12);
    background: rgba(7, 11, 18, 0.96);
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;

    color: #ffffff;
    text-decoration: none;
}

.brand-icon {
    width: 46px;
    height: 46px;

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

    border: 1px solid rgba(30, 160, 255, 0.6);
    border-radius: 50%;
    overflow: hidden;

    background: #0b1b35;
}

.brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name span:first-child {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.brand-name span:last-child {
    margin-top: 3px;
    color: #7f8a99;
    font-size: 8px;
    letter-spacing: 0.18em;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.page-title {
    color: #58b0ff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
}

.home-link {
    color: #7f8a99;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-decoration: none;

    transition: color 0.25s ease;
}

.home-link:hover {
    color: #58b0ff;
}


/* LOGIN PAGE */

.login-page {
    flex: 1;

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

    padding: 70px 20px;

    background:
        radial-gradient(
            circle at center,
            rgba(20, 66, 110, 0.13),
            transparent 45%
        );
}

.login-panel {
    width: min(430px, 100%);
    padding: 45px 42px 38px;

    border: 1px solid rgba(88, 176, 255, 0.18);

    background:
        linear-gradient(
            145deg,
            rgba(18, 48, 82, 0.28),
            rgba(7, 16, 29, 0.72)
        );

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35),
        0 0 35px rgba(88, 176, 255, 0.04);
}


/* LOGO */

.login-logo {
    width: 68px;
    height: 68px;

    margin: 0 auto 30px;

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

    border: 1px solid rgba(88, 176, 255, 0.45);
    border-radius: 50%;
    overflow: hidden;

    background: #0b1b35;
}

.login-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* TEXT */

.section-label {
    margin-bottom: 12px;

    color: #58b0ff;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.login-panel h1 {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.login-description {
    margin-top: 12px;

    color: #7f8a99;
    font-size: 12px;
    line-height: 1.7;
}


/* FORM */

#login-form {
    margin-top: 32px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;

    color: #9ba7b5;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
}

.input-group input {
    width: 100%;
    height: 46px;

    padding: 0 14px;

    outline: none;

    border: 1px solid rgba(88, 176, 255, 0.16);

    background: rgba(3, 9, 17, 0.75);

    color: #ffffff;

    font-size: 13px;

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

.input-group input:focus {
    border-color: rgba(88, 176, 255, 0.65);

    box-shadow:
        0 0 0 3px rgba(88, 176, 255, 0.06);
}


/* BUTTON */

#login-button {
    width: 100%;
    height: 48px;

    margin-top: 4px;

    border: 1px solid rgba(88, 176, 255, 0.55);

    background:
        linear-gradient(
            135deg,
            rgba(30, 110, 180, 0.55),
            rgba(20, 62, 105, 0.7)
        );

    color: #ffffff;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;

    cursor: pointer;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

#login-button:hover:not(:disabled) {
    border-color: #58b0ff;

    background:
        linear-gradient(
            135deg,
            rgba(40, 135, 215, 0.7),
            rgba(25, 78, 130, 0.8)
        );

    transform: translateY(-2px);
}

#login-button:disabled {
    opacity: 0.55;
    cursor: wait;
}


/* STATUS */

.login-status {
    min-height: 18px;

    margin-top: 18px;

    text-align: center;

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.login-status.success {
    color: #58b0ff;
}

.login-status.error {
    color: #ff6b6b;
}


/* SECURITY NOTE */

.security-note {
    margin-top: 30px;
    padding-top: 18px;

    border-top: 1px solid rgba(88, 176, 255, 0.10);

    text-align: center;

    color: #4e5967;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.16em;
}


/* FOOTER */

footer {
    height: 65px;
    padding: 0 5vw;

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

    border-top: 1px solid rgba(88, 176, 255, 0.10);

    color: #4e5967;

    font-size: 8px;
    letter-spacing: 0.12em;
}


/* MOBILE */

@media (max-width: 650px) {

    .navbar {
        height: 72px;
        padding: 0 22px;
    }

    .page-title {
        display: none;
    }

    .nav-right {
        gap: 0;
    }

    .login-page {
        padding: 45px 18px;
    }

    .login-panel {
        padding: 38px 25px 32px;
    }

    footer {
        padding: 0 22px;
        font-size: 7px;
    }

    footer span:last-child {
        display: none;
    }
}