/* Variable color */
:root {
    --color-accent: #EC2022;
}


#login h1 a,
.login h1 a {
    background-image: url(../logo-login.png);
    height: 100px;
    width: 300px;
    background-size: contain;
    background-repeat: no-repeat;
    padding-bottom: 10px;
}

#login {
    margin: initial !important;
    padding: initial !important;
}

body.login {
    background-color: #1a1a1a;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.message {
    color: #1a1a1a;
    border-radius: 5px;
}

.login #backtoblog a,
.login #nav a {
    color: var(--color-accent) !important;
}

.wp-core-ui .button-primary {
    background-color: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
}

.login #login_error,
.login .message,
.login .success {
    border-left-color: var(--color-accent) !important;
}

.wp-core-ui .button-primary.focus,
.wp-core-ui .button-primary:focus {
    box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--color-accent) !important;
}

.wp-core-ui select:hover {
    color: var(--color-accent) !important;
}

input[type=checkbox]:focus,
input[type=color]:focus,
input[type=date]:focus,
input[type=datetime-local]:focus,
input[type=datetime]:focus,
input[type=email]:focus,
input[type=month]:focus,
input[type=number]:focus,
input[type=password]:focus,
input[type=radio]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=time]:focus,
input[type=url]:focus,
input[type=week]:focus,
select:focus,
textarea:focus {
    border-color: var(--color-accent) !important;
    -webkit-box-shadow: 0 0 0 1px var(--color-accent) !important;
    box-shadow: 0 0 0 1px var(--color-accent) !important;
}

#loginform {
    border-radius: 15px;
    border-color: #1a1a1a;
}

.wp-core-ui .button,
.wp-core-ui .button-secondary {
    color: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    background: #ffffff !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
    box-shadow: 0 0 0 30px #ffffff inset !important;
}

#login_error {
    color: var(--color-accent) !important;
}