@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    background: #FFF8F3;
    --form-max-width: 448px;

    display: flex;
    align-items: center;
    height: max(90vh, 720px);
    justify-content: flex-end;
}
.wp-login-logo a {
    background-image: url('images/logo1.png'), url('images/logo2.png');
    background-image: url('/wp-content/uploads/2025/02/najmlodsi_pl_logo.svg'), url('/wp-content/uploads/2025/02/fundacja-rozwoju-dzieci-logo.svg');
    background-position: left top, right top; /* Positioning each logo */
    background-repeat: no-repeat, no-repeat; /* Ensure they don't repeat */
    background-size: contain, contain; /* Scale both logos appropriately */
    /* width: calc(100% - 2 * 24px); */ /* Set the width to fit the combined space */
    width: calc(50% - 2* 24px);
    height: clamp(20px, 11vw, 58px); /* Adjust height to accommodate the logos */
    display: block; /* Ensure it's a block-level element */

    color: transparent;
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 1;
}
.wp-login-logo a span {
    color: black;
    font-size: 24px;
    text-align: center;
    display: block;
    position: relative;
    top: clamp(0px, 200px - 7vw, 100px);
    top: 100px;
}
@media (min-width: 1800px) {
    .wp-login-logo a span {
        top: 20px;
    }
}

.custom-login-message {
    margin-bottom: 32px;
}
#login {
    box-sizing: border-box;
    background-color: white;
    max-width: var(--form-max-width);
    padding: 24px;
    border-radius: 24px;
    box-shadow: 0 32px 64px -12px #10182824;

    margin-right: calc(calc(100vw / 2 - var(--form-max-width)) / 2 - 12px);
}

#login_error,
label {
    display: block;
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
    color: #344054;
    padding-bottom: 6px;
}

input[type="text"],
input[type="password"] {
    width: calc(100% - 30px);
    padding: 10px 14px;
    border: 1px solid #F1BEA0;
    border-radius: 8px;
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 6px;
}

input[type="text"]::placeholder
input[type="password"]::placeholder {
    color: #667085;
}

input[type="submit"] {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid #E1793D;
    border-radius: 8px;
    background-color: #E1793D;
    color: white;
    font-family: Inter;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    cursor: pointer;
}

#backtoblog {
    color: transparent;
    font-size: 0;
}
#backtoblog > a:first-child {
    display: none;
}

a {
    font-family: Inter;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    color: #A0562B;
    text-decoration: none;
}

button.wp-hide-pw {
    display: none !important;
}

.forgetmenot,
.language-switcher {
    display: none;
}

body > h1 {
    width: 50%;
    height: 100vh;
    background: url('images/login-bg.png') no-repeat center center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
}

body > h1,
h1 {
    font-size: 0;
}

h2 {
    font-family: Inter;
    font-size: clamp(16px, 4vw, 28px);
    font-weight: 600;
    line-height: 1.5em;
    color: #344054;
    padding: 0;
    margin: 0;
}

p {
    font-family: Inter;
    font-size: clamp(14px, 3vw, 16px);
    font-weight: 400;
    line-height: 16px;
    color: #475467;
    line-height: 1.5em;
}

#login_error {
    color: red;
}

@media (max-width: 1024px) {
    body {
        justify-content: center;
    }
    body > h1 {
        display: none;
    }
    .wp-login-logo a {
        width: calc(100% - 2 * 24px);
    }
    #login {
        margin-right: 0;
    }
}

.button.wp-generate-pw {
    display: none !important;
}

#pass-strength-result {
    display: none !important
}