* {
    box-sizing: border-box;
}

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

body {
    min-height: 100vh;

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

    color: #ffffff;

    background:
        radial-gradient(
            circle at 50% -20%,
            #143762 0%,
            #091728 35%,
            #040910 70%,
            #020408 100%
        );
}

button,
input {
    font: inherit;
}

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

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

    position: relative;

    padding: 24px;

    overflow: hidden;
}

.login-glow {
    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background:
        rgba(20, 94, 180, 0.13);

    filter: blur(80px);

    pointer-events: none;
}

.login-card {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 430px;

    padding: 36px;

    border:
        1px solid rgba(255,255,255,.08);

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(9,18,32,.97),
            rgba(4,9,17,.97)
        );

    box-shadow:
        0 35px 100px rgba(0,0,0,.55);
}

.brand {
    display: flex;
    align-items: center;

    gap: 13px;
}

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

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

    border-radius: 14px;

    font-size: 23px;
    font-weight: 900;

    background:
        linear-gradient(
            135deg,
            #1478ff,
            #073675
        );

    box-shadow:
        0 10px 30px rgba(20,120,255,.22);
}

.brand h1 {
    margin: 0;

    font-size: 22px;

    letter-spacing: -.5px;
}

.brand span {
    display: block;

    margin-top: 3px;

    color: #71839b;

    font-size: 12px;
}

.login-heading {
    margin-top: 38px;
}

.login-heading h2 {
    margin: 0;

    font-size: 30px;

    letter-spacing: -1px;
}

.login-heading p {
    margin:
        8px 0 0;

    color: #8596ab;

    font-size: 14px;
}

form {
    margin-top: 30px;
}

.field {
    margin-bottom: 20px;
}

.field label {
    display: block;

    margin-bottom: 8px;

    color: #c5d1df;

    font-size: 13px;
    font-weight: 600;
}

.field input {
    width: 100%;
    height: 52px;

    padding: 0 16px;

    border:
        1px solid rgba(255,255,255,.09);

    border-radius: 13px;

    outline: none;

    color: #ffffff;

    background:
        rgba(255,255,255,.035);

    transition:
        border-color .2s,
        box-shadow .2s,
        background .2s;
}

.field input::placeholder {
    color: #536276;
}

.field input:focus {
    border-color:
        rgba(38,132,255,.8);

    background:
        rgba(255,255,255,.05);

    box-shadow:
        0 0 0 4px
        rgba(32,116,255,.10);
}

.password-box {
    position: relative;
}

.password-box input {
    padding-right: 65px;
}

.show-password {
    position: absolute;

    top: 50%;
    right: 10px;

    transform:
        translateY(-50%);

    border: 0;

    padding: 8px;

    color: #72aaff;

    background: transparent;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}

.login-button {
    width: 100%;
    height: 54px;

    margin-top: 4px;

    border: 0;

    border-radius: 14px;

    color: #ffffff;

    font-weight: 800;

    cursor: pointer;

    background:
        linear-gradient(
            135deg,
            #116cf2,
            #07408f
        );

    box-shadow:
        0 16px 35px
        rgba(6,84,190,.28);

    transition:
        transform .2s,
        box-shadow .2s;
}

.login-button:hover {
    transform:
        translateY(-1px);

    box-shadow:
        0 20px 40px
        rgba(6,84,190,.38);
}

.login-button:active {
    transform:
        translateY(1px);
}

.alert-error {
    margin-top: 22px;

    padding: 13px 15px;

    border:
        1px solid rgba(239,68,68,.18);

    border-radius: 12px;

    background:
        rgba(239,68,68,.08);

    color: #fca5a5;

    font-size: 13px;
}

.security {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 7px;

    margin-top: 28px;

    color: #526277;

    font-size: 11px;
}

.security-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #22c55e;

    box-shadow:
        0 0 10px
        rgba(34,197,94,.7);
}

@media (max-width: 520px) {

    .login-page {
        padding: 16px;
    }

    .login-card {
        padding: 28px 22px;

        border-radius: 20px;
    }

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