body{
    direction: rtl;
}
@font-face {
  font-family: 'B Roya'; /* نام دلخواه برای فونت */
  src: url('font/BRoyaBd_0.ttf') format('truetype'); /* فرمت مدرن */
   
  font-weight: normal;
  font-style: normal;
}
#empty{
    width: 10%;
}
#spanUp{
    margin-top: 30px;
    font-size: .8rem;
    color: rgb(94, 92, 92);
}

:root{
  --main-font-size:1rem;
  --main-focus-color:blue;
  --main-click-color:blue;
  --main-font-family: 'B Roya';
}
#mobileError ,#codeError{
    font-size:.8rem ;
    color: red !important;
    display: block;

}

#container{
    width: 800px;
    margin: 200px auto;
    /* height: 300px; */
    background-color: black;
    display: flex;
    flex-direction: row;
}
#enter{
    gap: 7px;
    width: 40%;
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-items: center;
    /* justify-content: center; */
    align-items: center;
    margin-top: 50px;
    font-family: var(--main-font-family);
}

#enter img{
    width: 43px;
    height: 50px;
}
#enter button ,.submit-container button{
    display: flex;
    padding-left: 20px;
    padding-right: 20px;
    align-content: center;
    align-items: center;
    gap: 10px;
    background-color: red;
    color: rgb(255, 255, 255);
    font-size: 1.3rem;
    font-family: var(--main-font-family);
    justify-content: center;
    cursor: pointer;
border-radius: 5px;
}
.submit-container button{
    font-size: 1.2rem !important;
    font-weight: bold !important;
 
}
#enter button img {
    height: 20px;
    width: 20px;
}
.submit-container button img{
    height: 18px;
    width: 18px;
}

#enter a{
    text-decoration: none;
    color:rgb(255, 253, 253) ;
}
.line1{
    font-size: 1.2rem !important;
    margin-top: 5px;
    margin-bottom: 5px;
    font-weight: bold;
    
}
.line2{
    font-size: 1rem !important;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
}
.otpForm{
display: flex;
flex-direction: column;
background-color: rgb(255, 255, 255);
width: 45%;
box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
font-family: var(--main-font-family);
margin-top: -40px;
margin-bottom: -40px;
padding: 10px;
/* overflow: auto; یا overflow: hidden; */

}
.submit-container {
    display: flex;
    justify-content: center;
}



#virayesh{
    color: blue !important;
    cursor: pointer;
    font-size: 1.1rem;
    margin-right: 5px;
}
#mobileSpan{
    font-size: 1rem;
    margin-top: 5px;
    color:rgb(94, 92, 92)
}
#mobileDiv{
    margin-top: 1px;
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    padding-bottom: 1px;
    margin-bottom: 15px;
}
#otpInput{
    font-size: var(--main-font-size);
    height: 1.2rem;
    font-family: var(--main-font-family);
    border: none;
    border-bottom: 1px solid rgb(20, 19, 19);
    outline: none !important;
    width: 90%; 
    box-sizing: border-box; 
    direction: ltr;
    padding: 0 5px 0 5px;
    margin: 0px 15px 0px 10px;
}
#submit-code ,#change-password{
padding:3px 5px 3px 5px  ;
margin-top: 30px;
align-content: center;
align-items: center;
background-color: red;
color: rgb(255, 255, 255);
font-size: 1.1rem;
/* font-weight: bold; */
font-family: var(--main-font-family);
justify-content: center;
cursor: pointer;
border-radius: 5px;
border: 0ex;

}
.spanDown{
    color: red !important;
}
#reSend {

    padding:3px 5px 3px 5px  ;
margin-top: 20px;
align-content: center;
align-items: center;
background-color: black;
color: rgb(255, 255, 255);
font-size: 1.1rem;
/* font-weight: bold; */
font-family: var(--main-font-family);
justify-content: center;
cursor: pointer;
border-radius: 5px;
border: 0ex;
}
#otp-code{
    padding:1px 15px 1px 15px ;

}
.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(56, 52, 52, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }

  .dialog {
    font-family: var(--main-font-family);
    font-size: 1.5rem;
    background: white;
    padding:0px 10px 20px 10px ;
    border-radius: 12px;
    min-width: 500px;
    max-width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }
  .dialog span{
    display: block;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    margin-top: 25px;
  }

  #sabteName{
    font-size: 1.2rem;
    margin-right: 350px;
    margin-bottom: 10px;
    background-color: red;
    color: white;
    padding: 10px;
    border: 0;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
  }
#otpInput:hover {
    border-bottom: 2px solid rgb(20, 19, 19); /* یا رنگ دلخواه */
    outline: none !important;
}
#otpInput:focus{
    border-bottom: 2px solid rgb(10, 33, 233); /* یا رنگ دلخواه */
    outline: none !important;
}