@import url("https://v1.fontapi.ir/css/Estedad");

/* reset css */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  outline: none;
  scroll-behavior: smooth;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  list-style: none;
}
body {
  width: 100;
  overflow-y: scroll;
}
.container{
    background-color: #f0f0f0;
    margin: auto;
    padding: 12px;
}
@media (min-width: 550px) {
  .container {
    width: 100%;
  }
}
@media (min-width: 768px) {
  .container {
    width: 95vw;
  }
}
@media (min-width: 992px) {
  .container {
    width: 850px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1000px;
  }
}
@media (min-width: 1400px) {
  .container {
    width: 1150px;
  }
}



header{
    height: calc(100vh - 30px);
}


.title{
    text-align: center;
    font-family: Estedad;
    font-weight: 600;
    text-shadow: 1px 2px 15px #0000008a;
    border-bottom: 1px solid #7c7c7c;
    padding: 8px 0 20px;
    box-shadow: 0px 6px 10px 0px #0000001c;
    user-select: none;
}


.text_container{
    height: calc(100% - 50px);
    padding: 10px;
    display: flex;
    flex-direction: column;
    position: relative;
}
#text_box{
    width: 100%;
    flex: auto;
    padding: 40px 8px 8px;
    direction: rtl;
    font-family: Estedad;
    resize: none;
    font-size: 12px;
}
.submit{
    width: 100%;
    height: 40px;
    margin-top: 8px;
    background-color: #0d6efd;
    border-radius: 4px;
    border: 2px solid #0052c9;
    cursor: pointer;
    font-family: 'Estedad';
    color: #fff;
    font-weight: 600;
    transition: .15s all ease-in-out;
    font-size: 12px;
}
.submit:hover{
    background-color: #0052c9;
}
.submit:active{
    transition: none;
    background-color: #003c96;
}
.tool_bar{
    position: absolute;
    top: 10px;
    left: 0;
    width: calc(100% - 20px);
    padding: 5px;
    margin: 0 10px;
    background-color: #0d6efd;
    border-bottom: 2px solid #0052c9;
    display: flex;
}

.tool_bar button{
    background-color: transparent;
    border: none;
    color: white;
    cursor: pointer;
    margin-right: 7px;
    display: flex;
    user-select: none;
    transition: .15s all ease-in-out;
}
.tool_bar button:hover{
    color: rgb(212, 212, 212);
}
.tool_bar button i{
    font-size: 22px;
}

.result_container{
    min-height: 100vh;
}

.scroll_top{
    position: fixed;
    bottom: 10px;
    left: 10px;
    border: none;
    border-radius: 50%;
    padding: 5px;
    background-color: #0d6efd;
    width: 40px;
    height: 40px;
    color: #fff;
    cursor: pointer;
    transition: .6s all ease-in-out;
    opacity: 1;
}
.scroll_top_hide{
    bottom: -50px;
    opacity: 0;
}


.result_container{
    margin-top: 35px;
    padding-top: 20px;
}
.result{
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    position: relative;
    padding: 5px 10px;
    margin-bottom: 50px;
}
.result_title{
    position: absolute;
    background-color: #0d6efd;
    font-family: 'Estedad';
    color: #fff;
    font-size: 14px;
    width: 120px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-radius: 20px 2px 0 0;
    top: -26px;
    right: 0;
    user-select: none;
    padding-right: 8px;
}
.result li{
    width: 100%;
    display: flex;
    padding: 5px 0 3px;
    border-bottom: 1px solid #888888;
    direction: rtl;
    flex-wrap: wrap;
}
.result li:last-child{
    border: none;
}
.result li > div{
    display: flex;
    align-items: center;
    min-width: 200px;
}
.result li > div:nth-child(2){
    display: flex;
    align-items: center;
    min-width: auto;
}
.result li > div > span{
    font-family: 'Estedad';
    font-weight: 800;
    font-size: 13px;
    color: #0d6efd;
    margin-right: 3px;
}
.result li > div > i{
    font-size: 22px;
    user-select: none;
}
.result li > div > b{
    font-family: 'Estedad';
    font-size: 13px;
    color: #000;
}



.option{
    margin-top: 6px;
    padding: 2px;
    display: flex;
    flex-wrap: wrap;
}
.option > div{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-family: 'Estedad';
    font-size: 12px;
    font-weight: 600;
    padding: 2px 0px;
    cursor: pointer;
}
.option div input{
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    cursor: pointer;
}
.option div label{
    direction: rtl;
    padding-right: 8px;
    cursor: pointer;
    user-select: none;
}
.check_box{
    width: 35px;
    height: 16px;
    background-color: #9b9b9b;
    border-radius: 13px;
    position: relative;
    overflow: hidden;
}
.check_box span{
    width: 14px;
    height: 14px;
    background-color: #fff;
    position: absolute;
    top: 1px;
    left: 1px;
    border-radius: 50%;
    transition: .15s all ease-in-out;
}

.check_box span::before{
    content: ' ';
}

.option div input:checked ~ span{
    left: 20px;
}



























