* {
    box-sizing: border-box;
}

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

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f2f5f9;
    color: #202a3a;
}

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

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

    padding: 30px 15px;

    overflow: hidden;
}

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

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(23,32,51,.08),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(23,32,51,.06),
            transparent 32%
        ),
        #f4f7fb;
}

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

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

    background: #fff;

    border: 1px solid #e7ebf1;

    border-radius: 18px;

    padding: 42px 42px 28px;

    box-shadow:
        0 20px 60px rgba(23,32,51,.10);
}

.brand {
    text-align: center;
}

.brand-logo {
    width: 62px;
    height: 62px;

    margin: 0 auto 13px;

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

    background: #172033;
    color: #fff;

    border-radius: 15px;

    font-size: 31px;
    font-weight: 700;
}

.brand-name {
    font-size: 22px;
    font-weight: 800;

    letter-spacing: 2px;

    color: #172033;
}

.brand-description {
    margin-top: 4px;

    font-size: 11px;

    color: #929cab;

    letter-spacing: .3px;
}

.login-heading {
    margin-top: 35px;
    margin-bottom: 24px;
}

.login-heading h1 {
    margin: 0;

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

    color: #202a3a;
}

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

    color: #8d97a6;

    font-size: 13px;
}

.login-alert {
    margin-bottom: 18px;

    padding: 11px 13px;

    border-radius: 8px;

    background: #fff3f2;

    border: 1px solid #f3d2cf;

    color: #b23b32;

    font-size: 12px;

    line-height: 1.5;
}

.login-alert i {
    margin-right: 5px;
}

.form-group {
    margin-bottom: 19px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    font-size: 12px;

    font-weight: 600;

    color: #495568;
}

.input-wrapper {
    position: relative;
}

.input-wrapper > i:first-child {
    position: absolute;

    left: 14px;
    top: 50%;

    transform: translateY(-50%);

    color: #9ba5b3;

    font-size: 14px;

    z-index: 2;
}

.input-wrapper input {
    width: 100%;

    height: 48px;

    border: 1px solid #dfe4eb;

    border-radius: 8px;

    outline: none;

    background: #fbfcfe;

    padding: 0 45px 0 40px;

    font-size: 13px;

    color: #263238;

    transition: .2s;
}

.input-wrapper input:focus {
    border-color: #172033;

    background: #fff;

    box-shadow: 0 0 0 3px rgba(23,32,51,.06);
}

.input-wrapper input::placeholder {
    color: #aeb6c2;
}

.password-toggle {
    position: absolute;

    right: 5px;
    top: 5px;

    width: 38px;
    height: 38px;

    border: 0;

    background: transparent;

    color: #8f99a8;

    cursor: pointer;

    border-radius: 6px;
}

.password-toggle:hover {
    background: #f1f4f8;
}

.login-options {
    display: flex;

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

    margin: 5px 0 22px;

    font-size: 11px;
}

.remember-me {
    display: flex;

    align-items: center;

    color: #687486;

    cursor: pointer;
}

.remember-me input {
    margin: 0 7px 0 0;

    accent-color: #172033;
}

.login-options a {
    color: #172033;

    text-decoration: none;

    font-weight: 600;
}

.login-options a:hover {
    text-decoration: underline;
}

.login-button {
    width: 100%;

    height: 50px;

    border: 0;

    border-radius: 8px;

    background: #172033;

    color: #fff;

    cursor: pointer;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .8px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    transition: .2s;
}

.login-button:hover {
    background: #222d44;

    transform: translateY(-1px);
}

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

.login-button.loading {
    opacity: .75;

    cursor: wait;
}

.login-footer {
    margin-top: 30px;

    padding-top: 20px;

    border-top: 1px solid #edf0f4;

    display: flex;

    justify-content: space-between;

    gap: 10px;

    color: #a0a8b4;

    font-size: 9px;
}

@media (max-width: 480px) {

    .login-page {
        padding: 15px;
    }

    .login-card {
        padding: 32px 23px 24px;

        border-radius: 14px;
    }

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

    .login-heading h1 {
        font-size: 22px;
    }

    .login-footer {
        flex-direction: column;

        text-align: center;

        align-items: center;
    }
}
