*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    font-family: vazir;
    text-align: center;
    direction: rtl;
}
table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.trth{
    position: sticky;
    top: -1px;
}

table th, table td {
    padding: 12px;
    border: 1px solid #ddd;
}

header {
    background-color: #ffd91d;
    color: black;
    text-align: center;
    padding: 20px;
    font-size: 24px;
}

.services{
    margin-top: 10px;
}

table th {
    background-color: #f0f0f0;
}

.btn_img {
    border: 1px solid #ccc;
    width: 35px;
    height: 35px;
    border-radius: 10px;
    cursor: pointer;
}

.exit{
    background-color: #ca2132 !important;
}
.exit:hover{
    background-color: #ac1221 !important;
}
.exit:disabled{
    background-color: #ca213280 !important;
}

.inputs{
    width: 70%;
    padding: 10px;
    border: 1px solid #ccc;
    font-family: vazir;
    border-radius: 10px;
    text-align: right;
}

.btn_send_code{
    background-color: #FFC107 !important;
    color: #212121 !important;
}

.btn_send_code:hover{
    background-color: #ebb30a !important;
}

.btn_send_code:disabled{
    background-color: #ebb30a88 !important;
}

.div_label{
    width: 70%;
    text-align: right;
    margin: 0 auto;
    padding: 5px;
}
.btn_grn{
    width: 150px;
    padding: 12px;
    margin: 10px 5px;
    border-radius: 10px;
    border: none;
    background-color: rgb(26, 149, 26);
    font-family: vazir;
    color: white;
    cursor: pointer;
    box-shadow: 2px 2px 5px gray;
}
.btn_grn:hover{
    background-color: rgb(22, 123, 22);
}
.btn_exit{
    padding: 12px 15px;
    margin: 10px 5px;
    border-radius: 10px;
    border: none;
    background-color: rgb(181, 43, 43);
    font-family: vazir;
    font-size: 15px;
    color: white;
    cursor: pointer;
    box-shadow: 2px 2px 5px gray;
}
.btn_exit:hover{
    background-color: rgb(160, 37, 37);
}
.div_table{
    overflow-x: auto;
    margin-bottom: 20px;
}
.taid{
    padding: 12px 20px;
    border-radius: 10px;
    border: none;
    background-color: rgb(26, 149, 26);
    font-family: vazir;
    color: white;
    cursor: pointer;
    box-shadow: 2px 2px 5px gray;
}

.btn_blue{
    background-color: rgb(15, 98, 171) !important;
}

.btn_blue:hover{
    background-color: rgb(13, 80, 138) !important;
}

.taid:hover{
    background-color: rgb(22, 123, 22);
}

.btn_edit:hover {
    background-color: #d19d00 !important;
}

.btn_edit {
    background-color: #ebb411 !important;
}

.message{
    width: 30%;
    padding: 10px; 
    padding-top: 13px;
    min-height: 50px;
    background-color: rgb(186, 63, 63);
    position: fixed;
    right: 34.5%;
    top: 40px;
    border-radius: 10px;
    box-shadow: 2px 2px 5px gray;
    text-align: center;
    opacity: 0;
    display: none;
    z-index: 100000;
}
.txt_message{
    cursor: context-menu;
}

.btn_back{
    background-color: #ca2132;
    margin-top: 10px;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-family: vazir;
    width: 100px;
    text-align: center;
    font-family: vazir;
    cursor: pointer;
}
.btn_back:hover{
    background-color: #ac1221;
}

.btn_enseraf{
    background-color: rgb(187, 186, 186);
    margin-top: 10px;
    color: black;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-family: vazir;
    width: 100px;
    text-align: center;
    font-family: vazir;
    cursor: pointer;
}
.btn_enseraf:hover{
    background-color: rgb(159, 159, 159);
}

.btn_enseraf_hover:hover{
    background-color: rgb(117, 117, 117) !important;
}

.btn_gray:hover{
    background-color: rgb(134, 134, 134);
}

.div_menu_panel{
    background-color: #ffd91d;
    width: 90%;
    margin: 10px;
    height: 135px;
    margin: 10px auto;
    border-radius: 10px;
    box-shadow: 2px 2px 2px #6d5c06;
    padding-top: 52px;
    cursor: pointer;
}
.box_div_menu_panel{
    display: grid;
    grid-template-columns: calc(25% - 10px) calc(25% - 10px) calc(25% - 10px) calc(25% - 10px);
    gap: 20px;
    padding: 10px;
    /* margin-top: 60px; */
}
.div_menu_panel:hover{
    background-color: #f0cd22;
}
.eye_icon{
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    cursor: pointer;
}
.password{
    width: 100% !important;
    padding-left: 50px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}
#div_search_sorat_hesab{
    border-radius: 10px;
    max-height: 30vh;
    width: 70%;
    background-color: white;
    border: 1px solid #000;
    margin: auto;
    overflow-y: auto;
    /* margin-top: -10px; */
    display: none;
}
.result_item {
  padding: 8px;
  cursor: pointer;
  border-radius: 10px;
}
.result_item:hover{
    background-color: #007bff;
    color: white;
}
.password-box{
    position: relative;
    width: 70%;
    margin: 0 auto;
    /* background-color: red; */
}
.box_btn_links{
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px;
}
.btn_links{
    background-color: rgb(39, 95, 193);
    padding: 10px;
    /* width: 100%; */
    border-radius: 10px;
    height: 80px;
    box-shadow: 1px 1px 4px rgb(39, 95, 193);
    margin: 5px;
    padding-top: 25px;
    color: white;
}

.dialog{
    z-index: 10001;
    width: 80%;
    background-color: white;
    border-radius: 20px;
    margin: 0 auto;
    margin-top: 16%;
    text-align: center;
    padding: 10px;
    overflow: auto;
}
.box_dialog{
    width: 100%;
    z-index: 10000;
    height: 100vh;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.519);
    top: 0;
    display: none
}

.cancel_icon{
    width: 40px;
    margin-bottom: 5px;
    cursor: pointer;
    border-radius: 22px;
}
.cancel_icon:hover{
    background-color: rgb(161, 161, 161);
}

@media only screen and (max-width: 900px) {
    .box_div_menu_panel{
        grid-template-columns: calc(33% - 10px) calc(33% - 10px) calc(33% - 10px);
    }
}

@media only screen and (max-width: 670px) {
    .div_label{
        width: 90%;
    }
    .inputs{
        width: 90%;
    }
    .btn_grn{
        width: 40%;
    }
    .message{
        width: 90%;
        right: 4.9%;
    }
    .password-box{
        width: 90%;
    }
    .box_btn_links{
        display: block;
    }
    .box_div_menu_panel{
        grid-template-columns: calc(50% - 10px) calc(50% - 10px);
    }
    .sp_key{
        display: none !important;
    }
    .dialog{
        width: 100%;
    }
}
@font-face {
    font-family: vazir;
    src: url("font/vazir.ttf");
}