/*
* Source of a background image for the login page: https://www.vecteezy.com/vector-art/2099730-moon-nature-landscape-background-vector-design-illustration
*/
body.login {
    background-size: cover !important;
    background-position: center !important;
    display: flex;
    align-items: center;
    position: relative;
}

body.login::after {
    background: #000;
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    left: 0;
    top: 0;
    z-index: -1;
}

body.login #login {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0 2px 1px var(--ui-color-white);
}

body.login form {
    --size: 4px;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    padding-left: var(--size);
    padding-right: var(--size);
    padding-bottom: var(--size);
}

.login label {
    color: var(--ui-color-white);
    padding-bottom: 4px;
}

.login form input:not([type=checkbox]) {
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 9px;
    padding: 10px 16px;
    font-size: 14px;
    background: rgba(255, 255, 255, .5);
}

.login form input:focus:not([type=checkbox]) {
    outline-width: 2px;
    outline-offset: 2px;
    outline-style: solid;
    outline-color: var(--ui-color-1);
}

.login .wp-pwd button {
    color: var(--ui-color-2) !important;
    /* top: -4px !important; */
}

.login .wp-pwd button:focus {
    color: var(--ui-color-1) !important;
    border: none !important;
    box-shadow: none !important;
}

.login label[for=rememberme] {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    user-select: none !important;;
}

.login input[type=checkbox] {
    border-color: transparent;
    background: rgba(255, 255, 255, .5) !important;
}

.login input[type=checkbox]:focus {
    border-color: var(--ui-color-1);
    box-shadow: 0 0 0 1px var(--ui-color-1);
}

.login .submit .button {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 6px 10px;
    font-size: 15px;
    color: var(--ui-color-white);
    background: var(--ui-color-2);
    border-color: var(--ui-color-2);
    transition: .1s;
}

.login .submit .button:hover {
    background: var(--ui-color-1);
}

.login #nav {
    margin: 0;
    margin-top: 10px;
    width: 40%;
    float: left;
    padding: 0;
}

.login #nav a {
    color: var(--ui-color-white);
    margin-top: 5px;
    display: inline-block;
}

.login a {color: var(--ui-color-2) !important;}
.login a:hover {color: var(--ui-color-1) !important;}

.login a:focus {
    color: var(--ui-color-1) !important;
    box-shadow: none
}

.login #backtoblog {
    margin: 0;
    margin-top: 10px;
    width: 60%;
    float: right;
    text-align: right;
    padding: 0;
}

.login #backtoblog a {
    display: inline-block;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    padding: 6px 15px;
    border-radius: 5px;
    transition: 0.5s;
}

.login #backtoblog a:hover {
    background: rgba(255, 255, 255, .1);
}

.login .success,
.login .notice-success {border-left-color: #22c55e !important;}
.login .notice-info {border-left-color: #0ea5e9 !important;}
.login .notice-error {border-left-color: #e11d1d !important;}
