body.login-action-login {
    background-image: url(../images/background-login.png);
    margin: 0;
    font-family: sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100vh;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.wp-login-logo {
    display: none;
}
#login {
    margin: 0 auto;
}
.login #nav,
.login #backtoblog {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.login #nav,
.login #backtoblog a, .login #nav a {
    color: #ffc72c;
}

.wp-core-ui .button, .wp-core-ui .button-secondary {
    color: #ffc72c;
    border-color: #ffc72c;
}
.wp-core-ui .button-secondary:hover, .wp-core-ui .button.hover, .wp-core-ui .button:hover {
    color: #f7c84c;
    border-color: #f7c84c;
}
.wp-pwd button {
    display: none;
}
#loginform {
    min-width: 400px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.login .button.wp-hide-pw {
    top: 3px;
}
#login form p {
    width: 100%;
}
#login {
    width: max-content;
}
#loginform input[type="text"],
#loginform input[type="password"] {
    width: 100%;
    height: 45px;
    padding: 10px;
    border: 1px solid #000;
    border-radius: 6px;
    font-size: 16px;
    color: #000;
    box-sizing: border-box;
}
#loginform input[type="submit"] {
    background-color: #ffc72c;
    color: #fff;
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
    width: max-content;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    line-height: unset;
    align-items: center;
}
#loginform input[type="submit"]:hover {
    background-color: #FFF;
    color: #ffc72c;
    outline: 1px solid #ffc72c;
}
#login form p.submit {
    display: flex;
}
.login-links a {
    font-size: 16px;
}
#loginform label{
    font-size: 14px;
    font-weight: 700;
}
#loginform p {
    margin-bottom: 12px !important;
    margin-top: 0 !important;
}
.login-error {
    color: #b00020;
    background: #ffe5e5;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
}
.login-links {
    margin-top: 10px;
    text-align: center;
}
.remember-me {
    margin-bottom: 10px;
}
.logged-in-msg {
    text-align: center;
    background: #f0fff0;
    padding: 20px;
    border-radius: 10px;
}
.back-to-home {
    text-align: center;
    margin-top: 20px;
}
.back-to-home a {
    color: #ffc72c;
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
}
.back-to-home a:hover {
    text-decoration: underline;
}

.custom-login-logo {
    text-align: center;
    margin-bottom: 20px;
}
.custom-login-logo img {
    max-width: 325px;
    height: auto;
}

.password {
    position: relative;
}
.password button {
    position: absolute;
    margin:0;
    top: 39px;
    right: 10px;
    padding: 0;
    border: 0;
    background: unset;
}

.password button img{
    width: 30px;
    height: auto;
}

@media (max-width: 852px) {
    #loginform {
        min-width: unset;
    }
    #login {
        width: 95%;
    }
}
