:root{
overflow-x: hidden;
overflow-y: hidden;
}
html{
overflow-x: hidden;
overflow-y: hidden;
}
*{
box-sizing: border-box;
margin: 0;
padding: 0;

}
@font-face{
font-family: "Poppins";
src: url("../fonts/Poppins-Regular.ttf") format("truetype");
font-family: "Dana";
src: url("../fonts/dana-medium.ttf") format("truetype");
}
body{
font-family: Poppins, "Dana";
background-color: #E0E0E0;
overflow: hidden;
display: flex;
justify-content: center; /* Centers horizontally */
align-items: center; /* Centers vertically */
height: 100vh;
position: relative;
}
.user-input{
    font-family: "Dana";
}
button,input,
input:placeholder{
    
    font-family:"Dana" !important;
}
.form {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 50px 35px 35px 35px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
    position: relative;
  overflow: visible;
 background: #3A6047;
box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
backdrop-filter: blur(10px);



}

.login-button{
    border: none;
    outline: none;
}
.log-in{
width: 59px;
height: 43px;
border-radius: 20px;
font-family: "Dana";
border: none;
outline: none;
    background-color: rgba(255,255,255,0.15);
    color: #fff;
    transition: all 70ms 90ms;
    position: relative;
    z-index: 45454;


}
.a-button{

    position: relative;
    z-index: -1;
}
.log-button{
    width: 100% !important;
height: 43px;
border-radius: 4px;
font-family: "Dana";
border: none;
outline: none;
    background-color: rgba(255,255,255,0.15);
    color: #fff;
    transition: all 270ms ;



}
.log-bottom-wrapper{
    width:100%;
    display:grid;
     justify-content: center;

}
.captcha-input{
    font-family:"Dana" !important;
    border-radius:4px !important;
}
.log-button:hover{
    background-color:#004D40;
        cursor: pointer;

}
.log-in:hover{
    background-color: #3A6047;
        cursor: pointer;

}

.container{

        color: #fff;
      z-index: 30;
      margin-bottom: 24PX;
      position: relative;

}
.form-title{
    text-align: center;
   margin-bottom: 25px;
   color:#fff;
}

.user-input{
    width: 100%;
    height: 50px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: rgba(255,255,255,0.12);
   color: #fff;
    border-radius: 4px;
    margin-bottom: 10px !important;
    
    
}
input[class="user-input"]::placeholder{
color: #e9e0e0;
 font-weight:normal;
  font-family: Poppins;
}
.user-title{
    padding-bottom: 4px;
    color:#fff !important;
}
input[class="user-input"]{
    border: none;
}
input[class="user-input"]:focus{
    border: none;
    outline: 2px solid rgba(255,255,255,0.25);
    
}

.pass-input{
    width: 100%;
    height: 50px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: rgba(255,255,255,0.12);
   color: #fff;
    border-radius: 4px;
    margin-bottom: 5px !important;
    
}
input[class="pass-input"]::placeholder{
color: #e9e0e0;
 font-weight: 500;
 font-family: Poppins;
 
}
input[class="pass-input"]:focus{
    border: none;
    outline: 2px solid rgba(255,255,255,0.25);
}
.user-title{
    padding-bottom: 4px;
}
input[class="pass-input"]{
    border: none;
}

.log-button:hover{
    background-color:;
}
input[class="log-button"]{
    font-weight: bold;
     font-family: Poppins;
     border: none;
}
input[class="log-button"]:required{
    color: red;
}
.wrapper::after {
  content: none;
  position: absolute;
  width: 200px;
  height: 200px;
    background-image: linear-gradient(to bottom , #015e4e, #134940);
  border-radius: 50%;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  z-index: -1;
    animation: move-1  3s infinite ease;


}
@keyframes move-1{
    0%{
         top: 0;
  left: 0;
  transform: translate(-50%, -50%);
    }
    25%{
filter: blur(8px);
opacity: 0.7;
    }
    50%{
         top: 100%;
  left: 100%;
  transform: translate(-50%, -50%);
  filter: none;
opacity: 1;

    }
   
    100%{
        top: 0;
  left: 0;
  transform: translate(-50%, -50%) ;
  z-index: -2;
  
    }
}
.wrapper::before {
  content: none;
  position: absolute;
  width: 200px;
  height: 200px;
  background-color: #fafafa9d;
  border-radius: 50%;
  bottom: 0;
  right: 0;
  transform: translate(50%, 50%);
  z-index: -1;
  animation: move  3s infinite ease;
  /* transition: animation 0.5s; */

}
@keyframes move{
    0%{
        bottom: 0;
  right: 0;
  position: absolute;
  transform: translate(50%, 50%);
    }
     25%{
filter: blur(8px);
opacity: 0.7;
    }
    50%{
        position: absolute;
        bottom: 100%;
  right: 100%;
  transform: translate(50%, 50%);
   filter: none;
opacity: 1;
    }
    100%{
        position: absolute;
        bottom: 0;
  right: 0;
  transform: translate(50%, 50%);
    }
}
.wrapper {
    position: relative;
    z-index: 0;
    height: 660px !important;
    width: 400px;
}

.test{
    width: 400px;
    background-color: #2196F3;
    height: 100px;
}
.log-dfin {
    width: 40px;
    height: 40px;
    background-color: #006400;
    position: fixed; /* تغییر از absolute به fixed */
    top: 10px;
    right: 10px;
    border: none;
    outline: none;
    font-family: "Dana";
    border-radius: 20px;
    color: #fff;
    z-index: 900000;
    transition: all 150ms;
    box-shadow: 0 0 12px rgba(0,0,0,0.5);
}
.log-dfin svg{
    
    width:26px !important;
    height:26px !important;
}
.log-dfin:hover{
        background-color: rgba(49, 126, 94, 0.607);
cursor: pointer;

}
.log-dfgin {
    width: 100px;
    height: 40px;
    background-color: #006400;
    position: fixed; /* تغییر از absolute به fixed */
    top: 10px;
    right: 120px;
    border: none;
    outline: none;
    font-family: "Dana";
    border-radius: 20px;
    color: #fff;
    z-index: 900000;
    transition: all 150ms;
    box-shadow: 0 0 12px rgba(0,0,0,0.5);
}

.log-dfgin:hover{
        background-color: rgba(49, 126, 94, 0.607);
cursor: pointer;

}
/* همیشه ته مدلت بنویس */
@media screen and (max-width: 600px){

        .log-button{
            position:relative !important;
    top:450px;
}
.inputs-wrapper{
    position:relative;
    top:70px;
}
 .wrapper{
    width: 90vw;
    height:90vh;
 }
 .wrapper::before,
 .wrapper::after
 {
    width: 120px;
    height: 120px;
 }
 .user-input{
    margin-bottom: 10px;
 }
 .pass-input{
    margin-bottom: 25px;
 }
 .form-title{
    margin-bottom: 15px;
 }
 .log-button{
    position: relative;
    top: 10px;
 }
 .wrapper{
    position: relative;
    z-index: 0;
  
}
}
#email-error{
    width: 120px;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.19);
     background: rgba(255, 255, 255, 0.19);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(6.4px);
font-size: 12px;
position: relative;
bottom: 12px;
color: rgba(255, 255, 255, 0.75);

}

input[id="log-in"]{
    font-family: "Dana";
}
.loader-wrapper {
  position: fixed;
  inset: 0;
  background: rgb(236, 236, 236);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999999999999999999999999999;
  transition: all 50ms;
}

.loader {
  position: relative;
  display: inline-block;
  width: 150px;
  height: 120px;
  transition: all 500ms;
}


.loader::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  border-radius: 50%;
  background: none;
  z-index: 10000;
  animation: loadercircle 600ms 200ms  forwards ;
}

@keyframes  loadercircle{
    from{
   width: 0px;
  height:0px;
    border: none;
    visibility: hidden;
    opacity: 0;

      }
  to{
  width: 230px;
  height: 230px;
      visibility: visible;
        border: 3px solid #3A6047;

  }
}
.loader img {
  width: 150px;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  transform: scale(0);
  transition: all 300ms;
}

.loader::after {
  content: "";
  display: block;
  width: 120%;
  height: 3px;
  border-radius: 1px;
  background-color: #3A6047;
  position: absolute;
  left: 50%;
  bottom: 24px;
  animation: loaderafter 500ms;
  transform: translateX(-50%);
  z-index: 5;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

@keyframes loaderafter {
  0% {
     left: 0%;
    transform: translateX(-50%);
  }
  50% {
    transform: translateX(10%);
  }
  100% {
    transform: translateX(-50%);
  }
}
