@import url('https://fonts.googleapis.com/css2?family=Saira+Condensed:wght@600;700&family=Roboto:wght@400;500&display=swap');

/* ── Achtergrond ── */
body.login {
    background-color: #005d22;
    background-image:
        linear-gradient(135deg, rgba(0,0,0,0.25) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 110%, #007a2e 0%, transparent 60%);
    font-family: 'Roboto', sans-serif;
}

/* ── Logo ── */
#login h1 a,
.login h1 a {
    background-image: url('../images/vvog-logo-100jaar.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 120px;
    height: 120px;
    display: block;
    margin: 0 auto 8px;
    text-indent: -9999px;
}

/* ── Kaart ── */
#login {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.28);
    padding: 32px 32px 24px;
    width: 340px;
}

.login form {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-top: 0;
}

/* ── Titel boven het formulier ── */
.login h1 {
    margin-bottom: 12px;
}

.login h1 a span {
    display: none;
}

/* ── Subtitel / site naam ── */
#login_error,
.login .message,
.login .success {
    border-left-color: #005d22;
}

/* ── Labels ── */
.login label,
.login label * {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #444 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── Invoervelden ── */
.login input[type="text"],
.login input[type="password"],
.login input[type="email"] {
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: none;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    padding: 10px 12px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.login input[type="text"]:focus,
.login input[type="password"]:focus,
.login input[type="email"]:focus {
    border-color: #005d22;
    box-shadow: 0 0 0 2px rgba(0,93,34,0.15);
    outline: none;
}

/* ── Aanmeldknop ── */
.login input[type="submit"],
.login .button-primary {
    font-family: 'Saira Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: #005d22;
    border: none;
    border-radius: 4px;
    color: #fff;
    padding: 12px 20px;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: none;
    text-shadow: none;
}

.login input[type="submit"]:hover,
.login .button-primary:hover,
.login input[type="submit"]:focus,
.login .button-primary:focus {
    background: #004a1b;
    border: none;
    box-shadow: none;
    color: #fff;
}

/* ── "Wachtwoord vergeten?" link ── */
.login #nav,
.login #backtoblog {
    text-align: center;
}

.login #nav a,
.login #backtoblog a {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.login #nav a:hover,
.login #backtoblog a:hover {
    color: #111;
}

/* ── Checkbox "Aangemeld blijven" ── */
.login .forgetmenot {
    margin-top: 4px;
}

.login .forgetmenot label {
    text-transform: none;
    letter-spacing: 0;
    font-size: 13px;
    color: #555;
}

/* ── Foutmelding ── */
#login_error {
    background: #fff8f8;
    border-left: 4px solid #c00;
    border-radius: 4px;
    color: #c00;
    font-size: 13px;
    margin-bottom: 16px;
}

/* ── Wachtwoord-oog icoon ── */
.login .wp-pwd button.wp-hide-pw {
    color: #005d22;
}

/* ── Taalwisselaar verbergen ── */
.login .language-switcher {
    display: none !important;
}

/* ── Verticale en horizontale centrering ── */
body.login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0;
}

body.login div#login {
    position: static !important;
    float: none;
    margin: 0;
    padding: 32px;
    left: auto;
    top: auto;
    transform: none;
}

/* ── Divider boven de links ── */
.login #nav,
.login #backtoblog {
    border-top: 1px solid #e8e8e8;
    margin-top: 16px;
    padding-top: 14px;
}

.login #nav a,
.login #backtoblog a {
    color: #005d22;
    font-size: 13px;
}
