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

body.login-page {
    margin: 0;
    color: #f4f5f6;
    background: #121416;
    font-family: "Segoe UI", Arial, sans-serif;
}

.login-page *,
.login-page *::before,
.login-page *::after {
    box-sizing: border-box;
}

.login-shell {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 24px;
    background-color: #121416;
}

.login-card-dark {
    width: 100%;
    max-width: 430px;
    padding: 34px;
    background: #202326;
    border: 1px solid #393d40;
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .38);
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.login-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #162017;
    background: #68c56b;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 800;
}

.login-brand-name {
    display: block;
    color: #ffffff;
    font-size: 21px;
    font-weight: 700;
}

.login-brand-meta {
    display: block;
    margin-top: 2px;
    color: #92999e;
    font-size: 12px;
    font-weight: 600;
}

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

.login-heading h1 {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 25px;
    font-weight: 600;
}

.login-heading p {
    margin: 0;
    color: #aeb4b9;
    font-size: 14px;
}

.login-fields {
    display: grid;
    gap: 17px;
}

.login-field {
    display: block;
    margin: 0;
}

.login-field-label {
    display: block;
    margin-bottom: 7px;
    color: #cdd1d4;
    font-size: 12px;
    font-weight: 700;
}

.login-control {
    display: flex;
    align-items: center;
    min-height: 48px;
    color: #969da2;
    background: #16181a;
    border: 1px solid #464a4e;
    border-radius: 6px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.login-control:focus-within {
    border-color: #68c56b;
    box-shadow: 0 0 0 3px rgba(104, 197, 107, .14);
}

.login-control input,
.login-control select {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 14px;
    color: #ffffff;
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 15px;
}

.login-control select {
    cursor: pointer;
}

.login-control select:disabled {
    color: #747b80;
    cursor: not-allowed;
}

.login-control select option {
    color: #f4f5f6;
    background: #202326;
}

.password-toggle {
    flex: 0 0 66px;
    height: 44px;
    padding: 0;
    color: #aeb4b9;
    background: transparent;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}

.password-toggle:hover,
.password-toggle:focus {
    color: #ffffff;
    background: #2d3134;
    outline: 0;
}

.login-submit {
    width: 100%;
    min-height: 50px;
    margin-top: 24px;
    color: #102111;
    background: #68c56b;
    border: 1px solid #68c56b;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 800;
    transition: background-color .15s ease, border-color .15s ease;
}

.login-submit:hover,
.login-submit:focus {
    color: #0d1b0e;
    background: #7bd67e;
    border-color: #7bd67e;
    outline: 0;
}

.login-submit:disabled {
    color: #d0d4d1;
    background: #4a514b;
    border-color: #4a514b;
    cursor: wait;
}

.login-footer {
    margin: 22px 0 0;
    color: #757d82;
    font-size: 11px;
    text-align: center;
}

@media only screen and (max-width: 480px) {
    .login-shell {
        align-items: center;
        padding: 16px;
    }

    .login-card-dark {
        padding: 26px 22px;
    }

    .login-brand {
        margin-bottom: 25px;
    }

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

@media only screen and (max-height: 660px) {
    .login-shell {
        align-items: start;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .login-card-dark {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .login-brand,
    .login-heading {
        margin-bottom: 18px;
    }

    .login-fields {
        gap: 12px;
    }
}
