@font-face {
    font-family: 'IranSans';
    src: url('../fonts/iran-sans-400.ttf');
    src: url('../fonts/iran-sans-400.eot');   
     src: url('../fonts/iran-sans-400.woff');
    src: url('../fonts/iran-sans-400.woff2');
    font-weight: normal;
    font-style: normal;
    }
    body {
        direction: rtl;
        text-align: right;
        font-family: 'IranSans'!important;
        font-weight: 400;
        font-style: normal;
        font-size: 17px;
        background: white!important;
        overflow-x: hidden;
        max-width: 100%;
    }
    h1 , h2, h3, h4, h5, h6{
        font-family: 'IranSans'!important;
    }


.login-box {
    padding: 35px 20px;
    background: #ffffff00; 
    box-shadow:  0px 0px 9px rgb(0,0,0);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.779);
}

.login-box h2 {
    padding: 0 0 30px;
    color: #000;
    text-align: center;
}

.login-box .user-box {
  position: relative;
}

.login-box .user-box input {
    padding: 10px 12px;
    font-size: 16px;
    color: #000;
    border: none;
    border: 1px solid #000;
    border-radius: 10px;
    outline: none;
    background: #ffffff14;
    text-align: center;
}
.login-box .user-box input::placeholder {
    color: black;
    transition: 0.5s ease-in;
}
.login-box .user-box input:focus::placeholder {
    color: transparent;
}

.login-box .user-box input::-webkit-inner-spin-button,
.login-box .user-box input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.login-box .user-box label {
  position: absolute;
  top:0;
  right: 0;
  padding: 10px 12px;
  font-size: 16px;
  color: #000;
  pointer-events: none;
  transition: 0.3s ease-in;
  opacity: 0;
}


.login-box .user-box input:focus ~ label,
.login-box .user-box input:valid ~ label {
  top: -36px;
  left: 0;
  color: black;
  font-size: 13px;
  opacity: 1;
  transition: 0.3s ease-in;
}

.login-box form a {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  color: red!important;
  font-size: 16px;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  transition: .5s;
  margin-top: 40px;
  letter-spacing: 4px
}


.loginBtn{
    background: #000000db;
    padding: 9px 18px;
    border-radius: 6px;
    color: white;
    display: block;
    text-align: center;
}
.loginBtn:hover {
    color: white !important;
}
.loginImage {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}
.loginContainer {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -65%);
}
#togglePassword {
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: black;
}