*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    background-color: #f4f7fc;
    color: black;
    font-family: vazir;
    direction: rtl;
}
.body_center{
    text-align: center;
}
header {
    background-color: #0056b3;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 24px;
}

.btn_img {
    border: 1px solid #ccc;
    width: 35px;
    height: 35px;
    border-radius: 10px;
    cursor: pointer;
}


.div_header{
    background-color: #0056b3;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 24px;
    height: 90px;
}

.trth{
    position: sticky;
    top: -1px;
    z-index: 50;
}

.services {
    width: 80%;
    margin: 0 auto;
    max-height: 90vh;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.div_table{
    max-height: 70vh;
    overflow-x: auto;
    margin-top: 20px;
}

.div_table_sorat_hesab{
    max-height: 83vh;
    overflow-x: auto;
    margin-top: 5px;
}

.div_label{
    width: 70%;
    text-align: right;
    margin: 0 auto;
    padding: 5px;
}

.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;
}
.password_box{
    position: relative;
    width: 70%;
    margin: 0 auto;
    /* background-color: red; */
}

.btn_bale{
    background-color: rgb(16, 167, 119) !important;
}

.btn_bale:hover{
    background-color: rgb(17, 156, 112) !important;
}

.btn_bale:disabled{
    background-color: rgba(16, 167, 119, 0.57) !important;
}

table {
    border-collapse: collapse;
    text-align: center;
    width: 100%;
    
}

table th, table td {
    padding: 12px;
    border: 1px solid #ddd;
}

table th {
    background-color: #f0f0f0;
}

.btn_grn {
    background-color: #28a745;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-family: vazir;
    width: 25%;
    text-align: center;
    font-family: vazir;
    cursor: pointer;
}

.div_label_sanad{
    text-align: right;
    width: 58%;
}

.btn_grn:hover {
    background-color: #218838;
}

.btn_orange{
    background-color: rgb(219, 111, 9) !important;
}

.btn_orange:hover{
    background-color: rgb(185, 94, 8) !important;
}

.btn_grn:disabled {
    background-color: #28a746b8;
}
.btn-edit, .btn-delete {
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 5px;
    border: none;
}
.message{
    width: 43%;
    background-color: rgb(248, 100, 100);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 2px 2px 3px gray;
    text-align: center;
    margin: 100px auto;
    position: fixed;
    right: 28.5%;
    display: none;
    opacity: 0;
    z-index: 1000000;
}
.btn-edit {
    background-color: #ebb411 !important;
}

.btn_cancel{
    font-family: vazir;
    font-size: 25px;
    border-radius: 40px;
    width: 45px;
    height: 45px;
    cursor: pointer;
    background-color: white;
}
.btn_cancel:hover{
    background-color: #c82333;
}

.btn_edit {
    background-color: #ebb411 !important;
}


.btn-delete {
    background-color: #dc3545 !important;
}

.btn_delete {
    background-color: #dc3545 !important;
}

.btn-edit:hover {
    background-color: #d19d00;
}

.btn_edit:hover {
    background-color: #d19d00 !important;
}

.btn-delete:hover {
    background-color: #c82333 !important;
}

.btn_delete:hover {
    background-color: #c82333 !important;
}

.form-services {
    margin-top: 30px;
    font-family: vazir;
}


.a{
    text-decoration: none;
    font-size: 20px;
    color: white;
}
.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_links{
    position: relative;
    padding: 18px 30px;
    color: white;
    cursor: pointer;
    font-family: vazir;
    transition: 0.3s;
    min-width: 140px;
    text-align: center;
}
.btn_links:hover:not(:has(.menu_links:hover)){
    background-color: #3984d4;
}
.btn_links:focus{
    border: 3px solid white;
}

.menu_links{
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: white;
    color: black;
    border-radius: 0 0 10px 10px;
    overflow: auto;

    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: 0.25s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
      /* Firefox */
    scrollbar-width: none;

    /* IE و Edge قدیمی */
    -ms-overflow-style: none;
}

.menu_links::-webkit-scrollbar {
  display: none;
}

/* .btn_links:hover .menu_links{
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
} */

.div_menu_links{
    padding: 12px;
    cursor: pointer;
    transition: 0.2s;
    border-bottom: 1px solid #eee;
}

.div_menu_links:hover{
    background: #0a5fbb;
    color: white;
}

.btn_links_anbar{
    width: 50%;
    min-width: 120px;
    background-color: #0a5fbb;
    min-height: 150px;
    border-radius: 15px;
    box-shadow: 2px 2px 3px #0056b3;
    margin: 0 auto;
    margin-top: 10px;
    text-align: center;
    padding: 5px;
    padding-top: 60px;
    color: white;
}
.btn_links_anbar:hover{
    background-color: #3984d4;
}
.btn_links_anbar:focus{
    border: 3px solid white;
}
.box_btn_links_anbar{
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto auto;
    gap: 20px;
}
/* .inputs:invalid{
    border: 1px solid red;
    }
    .qeimat:invalid{
    border: 1px solid red;
} */
.btn_blu{
    background-color: #007bff;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-family: vazir;
    width: 25%;
    text-align: center;
    font-family: vazir;
}

.btn_yellow{
    color: white;
    padding: 10px 16px;
    border: none;
    font-family: vazir;
    text-align: center;
    font-family: vazir;
    width: 13%; 
    height: 13vh; 
    font-size: 15px; 
    box-shadow: 2px 2px 3px #d19d00; 
    margin: 0 10px; 
    border-radius: 15px; 
    cursor: pointer;
}

.btn_blu:hover {
    background-color: #0056b3;
}
#date{
    width: 20%; margin-right: 100px;
}
.qeimat{
    width: 20%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: vazir;
}
.table-services{
    text-align: center;
}
label{
    position: relative;
}
#sanad{
    right: 2px;
}
h3{
    text-align: center;
    /* margin-bottom: 40px; */
}
#name_shaks{
    width: 78%;
}
#inp_name_buyer{
    /* font-family: titr; */
    
}
#name_service{
    width: 78%;
}
.result_item {
  padding: 8px;
  cursor: pointer;
  border-radius: 10px;
}
.result_item:hover{
    background-color: #007bff;
    color: white;
}
.btn_a_exit{
    position: absolute;
    right: 5px;
    top: 5px;
    padding: 10px;
    background-color: #dc3e2d;
    border-radius: 5px;
    text-decoration: none;
    color: white;
}
#div_search_sorat_hesab{
    border-radius: 5px;
    max-height: 30vh;
    width: 58%;
    background-color: white;
    border: 1px solid #000;
    margin: auto;
    overflow-y: auto;
    margin-top: -10px;
    display: none;
}
#div_search_shaks{
    margin-right: 254px;
    margin-top: -10px;
    position: absolute;
    border-radius: 10px;
    max-height: 30vh;
    background-color: white;
    border: 1px solid #000;
    display: none;
    overflow-y: auto;
}
.div_search_kala{
    margin-right: 48.15px;
    margin-top: -10px;
    position: absolute;
    border-radius: 10px;
    max-height: 30vh;
    background-color: white;
    border: 1px solid #000;
    display: none;
    overflow-y: auto;
}
#div_search_anbar{
    margin-right: calc((20% - 33px) + 48.15px);
    margin-top: -10px;
    position: absolute;
    border-radius: 10px;
    max-height: 20vh;
    background-color: white;
    border: 1px solid #000;
    display: none;
    overflow-y: auto;
}
.div_error{
    text-align: center;
    width: calc(20% - 30px);
    margin-right: 48.15;
    display: none;
}
#div_error_name_anbar{
    text-align: center;
    width: calc(12%);
    margin-right: calc((20% - 30px) + 48.15px);
    display: none;
}
#div_error_name_shaks{
    text-align: center;
    width: calc(58% - 275px);
    margin-right: 254px;
    padding-left: 3px;
    position: absolute;
    display: none;
}
#div_mande_name_shaks{
    text-align: center;
    width: calc(58% - 275px); /* 275 */
    margin-right: 254px;
    padding-left: 3px;
    position: absolute;
    display: none;
}
#div_error_name_shaks_pardakht{
    text-align: center;
    width: calc(58% - 107px);
    margin-right: 160px;
    display: none;
}
#div_error_rahgiry{
    width: 22%; 
    margin-right: 68.8%;
    text-align: center;
    display: none;
}
.box_btn_links{
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    background: linear-gradient(90deg,#0a5fbb,#0c7ae6);
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    z-index: 9999;
    font-size: 18px;
}
.box_btn_links_factor{
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 20px;
}
#div_error_name_buyer_sorat_hesab{
    text-align: center;
    width: 58%;
    display: none;
}

.password-box{
    position: relative;
    width: 58%;
}
.inp_password{
    width: 100% !important;
    padding-left: 50px !important;
    box-sizing: border-box !important;
}
.eye_icon{
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    cursor: pointer;
}
.div_menu_panel{
    background-color: #135ab6;
    width: 90%;
    margin: 10px;
    height: 135px;
    margin: 10px auto;
    border-radius: 10px;
    box-shadow: 2px 2px 2px #0c3c7a;
    padding-top: 52px;
    cursor: pointer;
}
.box_div_menu_panel{
    display: grid;
    grid-template-columns: calc(25% - 15px) calc(25% - 15px) calc(25% - 15px) calc(25% - 15px);
    gap: 20px;
    padding: 10px;
    /* margin-top: 60px; */
}
.div_menu_panel:hover{
    background-color: #0f4791;
}
.inputs{
    width: 58%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: vazir;
    text-align: center;
    font-size: 15px;
    direction: ltr;
    
}
.btn_blue:hover{
    background-color: #0c55a3 !important;
}
.btn_blue:disabled{
    background-color: #0a5fbbb6 !important;
}
.btn_afzodan{
    background-color: #28a745;
    padding: 10px 10px;
    border: none;
    border-radius: 6px;
    color: white;
    font-family: vazir;
    width: 100px;
    text-align: center;
    margin-left: 7px;
    cursor: pointer;
}
.btn_afzodan:hover {
    background-color: #218838;
}
.btn_afzodan:disabled{
    background-color: #28a746ae;
}
#khat{
    border: 1px solid #b3b3b3;
    margin-top: 10px;
    margin-bottom: 10px;
}
#afzodan{
    display: none;
    position: fixed; 
    left: 28%;
    top: 30%; 
    width: 40%; 
    height: 260px; 
    background: #fff; 
    border: 1px solid #ccc; 
    padding: 10px;
    box-shadow: 0 0 4px #000;
    text-align: center;
}
#afzodan{
    display: none;
    position: fixed; 
    left: 28%;
    top: 30%; 
    width: 40%; 
    height: 320px; 
    background: #fff; 
    border: 1px solid #ccc; 
    padding: 10px;
    box-shadow: 0 0 4px #000;
    text-align: center;
}
.taid{
    background-color: #28a745;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    color: white;
    font-family: vazir;
    margin: 10px auto;
    font-size: 15px;
    cursor: pointer;
}
.taid:hover {
    background-color: #218838;
}
.taid:disabled{
    background-color: #28a746b9;
}
.dialog{
    z-index: 10001;
    width: 80%;
    background-color: white;
    border-radius: 20px;
    margin: 0 auto;
    margin-top: 16%;
    text-align: center;
    padding: 10px;
}
.cancel_icon{
    width: 40px;
    margin-bottom: 5px;
    cursor: pointer;
    border-radius: 22px;
}
.cancel_icon:hover{
    background-color: rgb(161, 161, 161);
}
.box_dialog{
    width: 100%;
    z-index: 10000;
    height: 100vh;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.519);
    top: 0;
    display: none
}
.exit{
    background-color: #ca2132 !important;
}
.exit:hover{
    background-color: #ac1221 !important;
}
.exit:disabled{
    background-color: #ca213280 !important;
}
.bedehkar:disabled , .bestankar:disabled{
    border-color:  white;
}
.container {
  --uib-size: 20px;
  --uib-color: black;
  --uib-speed: 2s;
  --uib-bg-opacity: 0;
  height: var(--uib-size);
  width: var(--uib-size);
  transform-origin: center;
  animation: rotate var(--uib-speed) linear infinite;
  will-change: transform;
  overflow: visible;
}
.car {
  fill: none;
  stroke: var(--uib-color);
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: stretch calc(var(--uib-speed) * 0.75) ease-in-out infinite;
  will-change: stroke-dasharray, stroke-dashoffset;
  transition: stroke 0.5s ease;
}
.track {
  fill: none;
  stroke: var(--uib-color);
  opacity: var(--uib-bg-opacity);
  transition: stroke 0.5s ease;
}
@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes stretch {
  0% {
    stroke-dasharray: 0, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 75, 150;
    stroke-dashoffset: -25;
  }
  100% {
    stroke-dashoffset: -100;
  }
}
@font-face {
    font-family: vazir;
    src: url("font/vazir.ttf");
}
@font-face {
    font-family: titr;
    src: url("font/titr.ttf");
}

@media only screen and (max-width: 900px) {
    .box_div_menu_panel{
        grid-template-columns: calc(33% - 12px) calc(33% - 12px) calc(33% - 12px);
    }
}

@media only screen and (max-width: 670px) {
    .box_div_menu_panel{
        grid-template-columns: calc(50% - 10px) calc(50% - 10px);
    }
    .sp_key{
        display: none;
    }
}