/* =========================================================
   OWK Login
   ========================================================= */

body.login {
    min-height: 100vh;

    background-image:
        linear-gradient(rgba(16, 21, 19, 0.62), rgba(16, 21, 19, 0.72)),
        url("https://development.odenwaldklub-hoechst.de/owk2026/wp-content/webseitengrafiken/owk-klubheim.webp");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    color: #f3f4f1;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
}

body.login #login {
    width: min(420px, calc(100vw - 32px));
    padding: 15vh 0 0;

    border-radius: 0;
    overflow: visible;

    box-shadow: none;
}

body.login h1 {
    margin: 0 !important;
    padding: 30px 34px 0 !important;

    background: rgba(255, 255, 255, 0.90);
    border-radius: 26px 26px 0 0;

    box-shadow: none;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.login .message + form,
body.login .notice + form,
body.login .success + form {
    border-radius: 0 0 26px 26px;
}

body.login h1 a {
    display: block;

    width: 260px;
    height: 92px;

    margin: 0 auto !important;

    background-image: url("https://development.odenwaldklub-hoechst.de/owk2026/wp-content/uploads/2026/04/informativ_gruen.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

body.login form {
    margin: 0 !important;

    padding: 28px 34px 30px;

    border: 0;
    border-radius: 0 0 26px 26px;

    background: rgba(255, 255, 255, 0.90);

    box-shadow: none;

    color: #1f1f1f;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.login label {
    color: #1f1f1f;

    font-size: 0.96rem;
    line-height: 1.4;
    font-weight: 800;
}

body.login form .input,
body.login input[type="text"],
body.login input[type="password"],
body.login input[type="email"] {
    min-height: 48px;

    padding: 10px 14px;

    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.92);
    color: #1f1f1f;

    font-size: 1.05rem;

    box-shadow: none;
}

body.login form .input:focus,
body.login input[type="text"]:focus,
body.login input[type="password"]:focus,
body.login input[type="email"]:focus {
    border-color: #f28c28;
    box-shadow: 0 0 0 4px rgba(242, 140, 40, 0.18);

    outline: none;
}

body.login .button.wp-hide-pw {
    color: #1a6b28;
}

body.login .forgetmenot {
    margin-top: 8px;
}

body.login .forgetmenot label {
    font-weight: 700;
}

body.login .button-primary {
    min-height: 46px;

    padding: 0 24px;

    border: 0;
    border-radius: 999px;

    background: #1a6b28;
    color: #ffffff;

    font-size: 1rem;
    font-weight: 850;
    line-height: 1;

    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

body.login .button-primary:hover,
body.login .button-primary:focus {
    background: #f28c28;
    color: #ffffff;
}

body.login #nav,
body.login #backtoblog {
    text-align: center;
}

body.login #nav a,
body.login #backtoblog a,
body.login .privacy-policy-page-link a {
    color: rgba(255, 255, 255, 0.88);

    font-weight: 750;
    text-decoration: none;
}

body.login #nav a:hover,
body.login #backtoblog a:hover,
body.login .privacy-policy-page-link a:hover {
    color: #f28c28;
}

body.login .message,
body.login .notice,
body.login .success {
    margin: 0 !important;
    padding: 14px 34px 16px !important;

    border: 0 !important;
    border-left: 6px solid #1a6b28 !important;
    border-radius: 0 !important;

    background: rgba(255, 255, 255, 0.90) !important;
    color: #1f1f1f !important;

    font-size: 0.96rem !important;
    line-height: 1.45 !important;
    font-weight: 750 !important;

    box-shadow: none !important;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.login .message a,
body.login .notice a,
body.login .success a {
    color: #1a6b28 !important;
    font-weight: 850 !important;
}

body.login #login_error {
    margin: 0 !important;
    padding: 14px 34px 16px !important;

    border: 0 !important;
    border-left: 6px solid #d63638 !important;
    border-radius: 0 !important;

    background: rgba(255, 255, 255, 0.90) !important;
    color: #1f1f1f !important;

    font-size: 0.96rem !important;
    line-height: 1.45 !important;
    font-weight: 750 !important;

    box-shadow: none !important;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 768px) {
    body.login {
        background-attachment: scroll;
        background-position: center top;
    }
}

@media (max-width: 480px) {
    body.login #login {
        width: calc(100vw - 28px);
        padding-top: 5vh;

        border-radius: 22px;
    }

    body.login h1 {
        padding: 24px 22px 0 !important;
        border-radius: 22px 22px 0 0;
    }

    body.login h1 a {
        width: 220px;
        height: 80px;
    }

    body.login form {
        padding: 24px 22px 26px;
        border-radius: 0 0 22px 22px;

        background: rgba(255, 255, 255, 0.90);
    }
	    body.login .message,

    body.login .notice,

    body.login .success,

    body.login #login_error {

        padding: 13px 22px 15px !important;

    }
}