/* WordPress login/register screens for the Memoriez app. */
body.login {
    min-height: 100%;
    padding-bottom: 200px;
    background: #fff url("https://app.memoriez.co.il/wp-content/plugins/my_custom_profiles/assets/img/memoriez-bg-anim.gif") center top / cover repeat-x fixed;
}

body.login *,
body.login *::before,
body.login *::after {
    box-sizing: border-box;
}

body.login-action-login #login {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(320px, calc(100% - 32px));
    padding: 0;
    transform: translate(-50%, -50%);
}

body.login #registerform,
body.login #loginform {
    background: transparent;
    border: 0;
    border-radius: 25px;
    box-shadow: none;
    backdrop-filter: blur(3px);
}

body.login #loginform {
    background: #fff;
}

body.login #loginform label,
body.login #loginform #wp-submit {
    font-size: 18px;
}

body.login .gender-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}

body.login .gender-toggle input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

body.login .gender-toggle label {
    width: 50%;
    padding: 10px 20px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    background: rgba(211, 211, 211, .5);
    border-radius: 20px;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .3s, color .3s;
}

body.login .gender-toggle input[type="radio"]:focus-visible + label {
    outline: 3px solid rgba(37, 48, 59, .35);
    outline-offset: 2px;
}

body.login .gender-toggle input[type="radio"]:checked + label {
    color: #fff;
    background: #000;
}

body.login form input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]) {
    background: #f6f5fa;
    border-color: transparent;
    box-shadow: 0 0 4px lightgrey;
}

body.login input[type="submit"] {
    padding-inline: 30px;
    color: #fff;
    background: #25303b;
    border-color: transparent;
    box-shadow: 0 0 4px lightgrey;
}

body.login #nav,
body.login #backtoblog,
body.login .language-switcher {
    display: none;
}

body.login #login h1 a {
    width: 100%;
    height: 130px;
    margin: 0 0 -15px;
    padding: 0;
    background-image: url("https://app.memoriez.co.il/wp-content/uploads/2024/08/memoriez-new-logo.png");
    background-size: cover;
    border: 0;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}

body.login-action-register #login h1 a {
    margin-bottom: 10px;
}

body.login-action-register .notice.notice-info.message.register {
    margin-top: 20px;
    margin-bottom: -20px;
}

body.login .input {
    width: 100%;
}

body.login #date_of_birth,
body.login #date_of_pass {
    width: 270px;
    max-width: 100%;
}

body.login .notice.notice-info.message.register {
    max-width: 50%;
    margin-inline: auto;
    text-align: center;
    border-right: 4px solid #25303b;
    border-left: 4px solid #25303b;
    border-radius: 8px;
}

body.login-action-register #login_error {
    margin-top: 50px;
    margin-bottom: 25px;
    text-align: center;
}
