html,
body.login {
    margin: 0;
    height: 100%;
    min-height: 100vh;
    overflow: hidden;
    background: transparent !important;
    position: relative;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #667085;
}

body.login::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(25, 147, 162, 0.45), rgba(25, 147, 162, 0.45)), url("../images/login-bg.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

body.login {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

#login {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 430px;
    margin: 0;
    margin-top: -40px;
    padding: 30px 22px 20px;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
}

/* Logo */
.login h1 {
    margin: 0 0 18px 0;
}

.login h1 a {
    background-image: url("../images/logo.png") !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    width: 100% !important;
    height: 175px !important;
    margin: 0 0 18px !important;
}

/* Form reset */
.login form,
.login form#loginform {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Labels */
.login label {
    color: #667085;
    font-size: 14px;
    font-weight: 400;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* Inputs */
.login input[type="text"],
.login input[type="password"],
.login input[type="email"] {
    width: 100%;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 4px;
    background: #ffffff;
    color: #667085;
    font-size: 14px;
    font-family: "Segoe UI", Arial, sans-serif;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Focus behouden zoals jij mooi vindt */
.login input[type="text"]:focus,
.login input[type="password"]:focus,
.login input[type="email"]:focus {
    border-color: #007583 !important;
    box-shadow: 0 0 0 0px #007583 !important;
    outline: none !important;
    border-width: 2px;
}

.login input:focus-visible {
    outline: none !important;
}

/* Password eye */
.login .wp-pwd {
    position: relative;
}

.login .button.wp-hide-pw {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #2f6db5 !important;
}

/* Checkbox */
.login .forgetmenot {
    margin-top: 0px;
    margin-bottom: 14px!important;
}

.login .forgetmenot label {
    font-size: 14px;
    color: #667085;
}

.login input[type="checkbox"] {
    border-radius: 4px;
    border: 1px solid #d0d5dd;
    box-shadow: none;
}

/* Submit */
.login .submit {
    margin: 0 !important;
    padding: 0 !important;
}

/* Button */
.wp-core-ui .button-primary {
    width: 100%;
    min-height: 40px;
    background: #0f7d8a !important;
    border: 1px solid #0f7d8a !important;
    color: #ffffff !important;
    text-shadow: none !important;
    box-shadow: none !important;
    border-radius: 4px !important;
    font-size: 14px;
    font-weight: 600;
    font-family: "Segoe UI", Arial, sans-serif;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.wp-core-ui .button-primary:hover,
.wp-core-ui .button-primary:focus {
    background: #0c6772 !important;
    border-color: #0c6772 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

/* Links */
.login #nav {
    text-align: left;
    padding-left: 0;
    margin-top: 14px;
}

.login .privacy-policy-page-link {
    text-align: center;
    padding-left: 0;
    margin-top: 14px;
    margin-bottom: 5px;
}

.login #nav a,
.login #backtoblog a,
.login .privacy-policy-link a,
a.privacy-policy-link {
    color: #0f7d8a !important;
    font-size: 14px;
    text-decoration: none;
}

.login #nav a:hover,
.login .privacy-policy-link a:hover,
a.privacy-policy-link:hover {
    color: #0c6772 !important;
    text-decoration: underline;
}

/* Login Message / Notice */
.login .message, .login .notice, .login .success {
    border-left: 4px solid #0f7d8a82;
    background-color: #a7aaad14;
    font-size: 0.839rem;
}

/* Hide */
.login #backtoblog,
.language-switcher {
    display: none !important;
}

/* Mobile */
@media (max-width: 480px) {
    body.login {
        padding: 16px;
    }

    #login {
        width: 100%;
        max-width: none;
        padding: 24px 18px 18px;
    }

    .login h1 a {
        height: 120px !important;
    }
}