:root{
    --primary-color: #52A35E;
}
body.login { 
    background: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: var(--LoginoFont);
}
.language-switcher{
    position: relative;
    bottom: 0px;
    margin-top: 153px;
}

#login{
    width: 505px;
    height: auto;
    position: relative;
    padding: unset;
    box-sizing: border-box; 
    background: #fff;
    border-radius: 0px;
    box-shadow: 20px -39px 60px 0px rgba(223, 223, 223, 60%);
    outline: none;
    position: relative;
    margin-top:8%;
}
.login form{
    background: none;
    border: none;
    box-shadow: none;
}
.shape-container4 {
    position: fixed;
    bottom: -14%;
    z-index: -9999;
    width: 100vw;
    left: 0;
}

.shape-container4 svg {
    width: 100%;
    height: auto;
}
.login form .input, .login input[type=text] {
    background: #F8F8F8;
    border: none;
    outline: none;
    padding: 10px;
    height: 55px;
    border-radius: 0px;
}
input[type=text]:focus , input[type=password]:focus , input[type=email]:focus{
    box-shadow: unset;
}
.login .button.wp-hide-pw .dashicons{
    width: 1.3rem;
    height: 1.3rem;
    top: 3px;
    right: 14px;
    padding: 10px;
    background: transparent;
    border-radius: 14px;
    color: #CACAD0;
}
html[lang="fa-IR"] .login .button.wp-hide-pw .dashicons{
    left: 16px;
    right: unset;
}
.dashicons-visibility:before{
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" fill="none" viewBox="0 0 26 26"><path stroke="%23CACAD0" stroke-width="1.587" d="M3.766 16.488c-.9-1.169-1.35-1.753-1.35-3.488s.45-2.32 1.35-3.488C5.562 7.178 8.574 4.533 13 4.533s7.438 2.645 9.234 4.979c.9 1.168 1.35 1.753 1.35 3.488s-.45 2.319-1.35 3.488c-1.796 2.333-4.808 4.978-9.234 4.978s-7.438-2.645-9.234-4.978Z"/><path stroke="%23CACAD0" stroke-width="1.587" d="M16.175 13a3.175 3.175 0 1 1-6.35 0 3.175 3.175 0 0 1 6.35 0Z"/></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    top: 0px;
    right: 0px;
    border: none;
    outline: none;
}
.login .button.wp-hide-pw:focus{
    border-color: transparent;
    outline: none;
    box-shadow: unset;
}


.login form input[type=checkbox]{
    background: #f0f0f0;
    border-radius: 0px;
    border: none;
    outline: none;
    box-shadow: none;
    width: 21px;
    height: 21px;
    transition: all .2s;
}

html[lang="fa-IR"] input[type="checkbox"]:checked::before{
    top: 6px;
    right: 4px;
    position: relative;
}
input[type="checkbox"]:checked::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 18 18'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.6' d='m14.833 4.625-8.02 8.02L3.167 9'/%3E%3C/svg%3E");   
    top: 5.7px;
    left: 4px;
    position: relative;
}

input[type="checkbox"]:checked{
    background-color: var(--primary-color) !important;
}

.login form .forgetmenot {
    margin-top: 30px;
    width: 100%;
}
.login form .forgetmenot label{
    font-size: 14px;
    color: #A6A6A6;
    position: relative;
    top: -2px;
    right: 2px;
    font-weight: 500;
}
html[lang="en-US"] .login form .forgetmenot label{
    top: 0px;
}

.login form .forgetmenot {
    position: relative;
    left: 9px;
}
html[lang="fa-IR"] .login form .forgetmenot {
    left: unset;
}

.cap #login{
    margin-top: 4% !important;
}
#wp-submit{
    border: none;
    outline: none;
    background:var(--primary-color) ;
    box-shadow: 0px 33px 35px -25px rgba(82, 163, 94, 0.281);
    padding: 18px 29px;
    font-size: 16px;
    margin-top: 30px;
    width: 100%;
    border-radius: 0px;
    font-weight: 600;
}
#backtoblog a{
    font-weight: 500;
}
#login h1 a {
    position: relative;
    top: 25px;
}

.forgetmenot {
    z-index: 999999999 !important;
    width: auto !important;
    display: inline-block;
}
label[for=user_login],label[for=user_pass] , label[for="user_email"]{
    color: #A6A6A6;
    margin: 20px 0px;
    position: relative;
    left: 6px;
    font-weight: 500;
}
html[lang="fa-IR"] label[for=user_login],html[lang="fa-IR"] label[for=user_pass] ,  html[lang="fa-IR"] label[for="user_email"]{
    right: 1px;
    left: unset;
}

.login form .input, .login input[type=password]{
    margin: 0 0 2px 6px;
}


.login #backtoblog{
    position: fixed;
    right: 20px;
    top: 16px;
    margin: 0px;
    padding: 12px 25px;
    background-color: var(--primary-color);
    border-radius: 0px;
}
.login #backtoblog a{
    color: #fff;
    position: relative;
    top: 2px;
}

.login #backtoblog a:hover{
    color: #fff;
}
.login #nav a:focus , .login #nav a:hover{
    color: var(--primary-color) !important;
}
#nav , #nav a {
    color: #A6A6A6 !important;
}
#reg_passmail{
    top: 24px;
    left: 7px;
    color: #A6A6A6;
    position: relative;
    font-size: 14px;

}
html[lang="fa-IR"] #reg_passmail{
    right: 5px;
    top: 23px;
    left: unset;
}
.login #nav{
    position: relative;
    bottom: 0px;
    padding-bottom: 36px;
    padding-top: 140px;
}
.login form {
    overflow: unset !important;
}
#login form p.submit{
    position: relative;
    z-index: 999999;
}
#language-switcher {
    padding: 20px;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    background-color: rgba(255, 255, 255, 0.1); /* پس‌زمینه شیشه‌ای */
    border: 1px solid rgba(255, 255, 255, 0.2); /* حاشیه ملایم */
    width: 300px;
    height: auto;
    margin: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* سایه برای عمق */
    top: 5px;
}

.dashicons-translation::before{
    color: #fff;
}

.login .message, .login .notice, .login .success{
    margin-right: 0;
    margin-bottom: 14px;
    box-shadow: unset;
    word-wrap: break-word;
    border-radius: 0px;
    width: 88%;
    margin: auto;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    margin: auto;
    background: #F8F8F8; 
    color: #000000a4;
    border-color: var(--primary-color);
    position: relative;
    top: 30px;
}

html[lang="fa-IR"] .wp-login-lost-password{
    left: 33px;
    right: unset;
}
.wp-login-lost-password{
    right: 33px;
}
.wp-login-lost-password{
    position: absolute;
    bottom: 195px;
    font-size: 14px;
    font-weight: 500;
}
.login-action-register .wp-login-lost-password{
    bottom: 240px;
}
html[lang="fa-IR"] .login-action-lostpassword .wp-login-register{
    left: 27px;
    right: unset;
}
.login-action-lostpassword .wp-login-register{
    position: absolute;
    right: 27px;
}
#login #nav .wp-login-register,#login #nav .wp-login-log-in{
    font-size: 14px;
    color: var(--primary-color) !important;
    font-weight: 500;
}
.wp-login-register::before {
    content: "حساب کاربری ندارید ؟ ";
    margin-left: 4px;
    color: #A6A6A6;
    position: relative;
    top: 1px;
}
.wp-login-log-in::before{
    content: "حساب کاربری دارید؟ ";
    margin-left: 4px;
    color: #A6A6A6;
    position: relative;
    top: 1px;
}
#wp-submit {
    transition: all .3s;
}
#wp-submit:hover{
    filter: brightness(1.2);
}
.wp-login-lost-password ,  .wp-login-register , .wp-login-log-in , #backtoblog , .login .button.wp-hide-pw .dashicons{
    transition: all .3s;
}
.wp-login-lost-password:hover,  .wp-login-register:hover , .wp-login-log-in:hover , #backtoblog:hover,.login .button.wp-hide-pw .dashicons:hover{
    filter: brightness(1.2);
}
a:focus{
    border: none;
    order: none;
    box-shadow: none;
}

@media screen and (max-width:1368px) {
    #login{
        margin-top: 310px;
    }
    
    }

@media screen and (max-width:768px) {
    #login{
        width: 88%;
        margin-top: 360px;
    }
    html[lang="fa-IR"] input[type="checkbox"]:checked::before{
        right: 1px;
    }
    }

    @media screen and (max-width:420px) {
        #login{
            margin-top: 435px !important;
        }

        }

        @media (max-height: 933px) {
            #login{
                margin-top: auto !important;
            }
        }