:root{
    --primary-color: #948979;
}
body.login { 
    font-family: var(--LoginoFont);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: column;
    background-attachment: fixed;
}
body.login::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: rgba(34, 40, 49, 75%);
    z-index: -1;
}

.login-container,#language-switcher{
    width: 100%;
}
.login-h1-text {
    position: relative;
    top: -45px;
    font-family: var(--LoginoFont) !important;
    font-weight: 900 !important;
    background: linear-gradient(to right, #AB997F, #DFC196);
    -webkit-background-clip: text;
    background-clip: text; 
    color: transparent; 
    font-size: 30px;
}

#login{
    width: 100%;
    min-width: 300px;
    max-width: 530px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 40px;
    background-color: #222831;
    position: relative;
    padding: 0px;
    padding-bottom: 50px;
}
.wp-login-logo{
    display: none;
}
.login form{
    width: 90%;
    padding: 0px;
    background-color: transparent;
    background: none;
    border: none;
    box-shadow: none;
    overflow: visible !important;
}

.login form .input, .login input[type=text] {
    background: #393E46;
    color: #fff;
    border: none;
    outline: none;
    border-radius: 20px;
    padding: 14px;
    height: 65px;
    caret-color: #5F6570;
}
#wp-submit{
    font-weight: 600 !important;
    border: none;
    outline: none;
    background: linear-gradient(to right,#948979,#B9AB98);
    background: -webkit-linear-gradient(to right, #948979, #B9AB98); 
    display: flex;   
    box-shadow: 0px 33px 60px -28px rgba(148, 137, 121, 45%) !important;
    margin-bottom: 4px;
    border-radius: 20px;
    width: 100%;
    padding: 10px;
    height: 65px;
    margin-top: 37px;
    font-size: 16px;
    transition: all .3s;
    justify-content: center;
}
#wp-submit:hover {
    filter: brightness(1.2);
  }


.login label{
    color: #5F6570;
}
.login form .input , .login input[type=text]{
    margin: unset;
}
input:focus{
    box-shadow: none !important;
}
.login #nav a:focus{
    color: unset;
}
.login .button.wp-hide-pw:focus{
    border-color: transparent;
    outline: none;
    box-shadow: unset;
}
a:focus{
    box-shadow: unset;
    outline: none;
}
input[type=checkbox]:focus{
    box-shadow: none;
}
.login form .input, .login input[type=text]{
    z-index: 1;
    position: relative;
}
label[for=user_login],label[for=user_pass], label[for="user_email"] {
    position: relative;
    top: 47px;
    z-index: 2;
    left: 20px !important;
    color: #5F6570;
    font-weight: 500;
}
html[lang="fa-IR"] label[for=user_login],html[lang="fa-IR"] label[for=user_pass], label[for="user_email"]{
    right: 16px;
    left: unset ;
}
#backtoblog{
    display: none;
}



#nav{
    display: flex;  
}
.forgetmenot{
    width: 100%;
    margin-right: 3px;
}
.login form .forgetmenot{
    margin-top: 45px;
}
.login form input[type=checkbox]{
    background: rgb(57, 62, 70);
    border-radius: 6px;
    border: none;
    outline: none;
    width: 22px;
    height: 22px;
    transition: all .3s;
    
}
input[type="checkbox"]:checked{
    background: var(--primary-color) !important;
}
input[type="checkbox"]:checked::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' viewBox='0 0 18 18'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.4' d='m14.833 4.625-8.02 8.02L3.167 9'/%3E%3C/svg%3E");
}
input[type=checkbox]:checked::before{
    margin: 1px;
    width: 21px;
    margin-top: 3px;
    position: relative;
    left: 0.5px;
    top: -1px;
}
.login .forgetmenot label{
    position: relative;
    font-size: 15px;
    font-weight: 500;
}
html[lang="fa-IR"] .login .forgetmenot label{
    bottom: 2px;
}
.wp-login-lost-password{
    position: relative;
    right: 35px;
    bottom: 180px; 
    color: #5F6570 !important;
    font-size: 15px;
    font-weight: 500;
}
html[lang="fa-IR"] .wp-login-lost-password{
    left: 35px;
    right: unset;
}
.login-action-login .wp-login-register {
    right: unset;
    left: 35px;
}
.wp-login-register{
    position: relative;
    right: 35px;
    font-weight: 500;
}
.wp-login-log-in{
    font-weight: 500;
}
html[lang="fa-IR"] .wp-login-register{
    position: relative;
    left: 35px;
    right: unset;
}
html[lang="fa-IR"] .wp-login-register{
    right: 35px ;
    left: unset ;
}
.wp-login-log-in,.wp-login-register{
    color: #948979 !important;
    font-size: 15px;
}
#nav{
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.wp-login-register::before {
    content: "حساب کاربری ندارید ؟ ";
    margin-left: 4px;
    color: #5F6570;
    position: relative;
    top: 1px;
}
.wp-login-log-in::before{
    content: "حساب کاربری دارید؟ ";
    margin-left: 4px;
    position: relative;
    top: 1px;
    color: #5F6570;
}
.login-action-register #login #reg_passmail, .login-action-register #login form .indicator-hint{
    margin-bottom: unset;
}
.login-action-register .wp-login-lost-password {
    bottom: 176px !important;
}
#reg_passmail{
    margin-top: 45px;
    margin-right: 6px;
    color: #5F6570;
}
.wp-login-log-in{
    margin-left: 34px;
} 
html[lang="fa-IR"] .wp-login-log-in{
    margin-right: 34px;
    margin-left: unset;
}
 html[lang="fa-IR"] .login-action-lostpassword .wp-login-register{
    left: 35px !important;
    right: unset !important;
}
.language-switcher{
    position: relative;
    top:60px;
}
#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;
    border-radius: 14px;
}
.notice{
    display: none;
}
.language-switcher{
    padding: unset !important;
}

.login #backtoblog, .login #nav {
    padding: unset;
}
.login .button.wp-hide-pw{
    z-index: 9999;
}

.forgetmenot {
    z-index: 999999999 !important;
    width: auto !important;
    display: inline-block;
}
.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);
}
.login .button.wp-hide-pw .dashicons{
    width: 1.3rem;
    height: 1.3rem;
    top: 7.5px;
    right: 18px;
    padding: 10px;
    background: transparent;
    border-radius: 14px;
    color: #5F6570;
    position: relative;
    z-index: 99999;
}
html[lang="fa-IR"] .login .button.wp-hide-pw .dashicons{
    left: 19px;
    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="%235F6570" 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="%235F6570" 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;
}
  
@media screen and (max-width:576px) {
    #login{
        min-width: unset;
        max-width: unset;
        width: 90%;
    }

  }

  @media screen and (max-width:420px) {
    .login-h1-text{
        position: relative;
        top: 150px;
    }
    #login{
        margin-top: 190px !important;
    }

  }