@font-face {
  font-family: "MyCustomFont";
  src: url("../fonts/shabnam-font-v5.0.1/Farsi-Digits/Shabnam-FD.woff")
    format("woff");
}

body {
  direction: rtl;
  background-image: url("../img/texture.jpg");
  background-repeat: repeat;
  background-color: rgba(220, 43, 111, 0.6);
  background-blend-mode: lighten;
  font-family: "MyCustomFont", sans-serif;
}

.cus_actions {
  display: flex;
  width: 282px;
  padding: 5px;
  margin: auto;
  background-color: rgb(66, 66, 66);
  border-radius: 10px;
  border: 0px solid white;
  position: absolute;
  right: 5px;
  top: 5px;
  z-index: 1000;
}
.actions {
  flex: 1;
  margin: 2px 15px;
  transition: 200ms;
  cursor: pointer;
  z-index: 1001;
}
.actions:hover {
  transform: scale(1.2);
}
.actions:active {
  transform: scale(1.2);
}

.modal_flex_parent {
  display: flex;
}

.modal-header {
  background-image: linear-gradient(to left, rgb(65, 1, 70), rgb(136, 0, 160));
  color: white;
}

.modal_num {
  font-size: 22px;
}

.modal-footer {
  background-image: linear-gradient(to right, rgb(37, 37, 37), rgb(96, 96, 96));
}

.modal_childs {
  flex: 1;
  padding: 10px;
  text-align: center;
  border-radius: 10px;
  border: 2px solid rgb(255, 255, 255);
  box-shadow: 2px 1px 5px gray;
  background-color: white;
  margin: 10px;
  cursor: pointer;
  color: black;
}

.modal-body {
  background-color: rgb(241, 241, 241);
  color: black;
}

.modal_childs2 {
  flex: 3;
  padding: 10px;
  text-align: center;
  border-radius: 10px;
  border: 2px solid rgb(255, 255, 255);
  box-shadow: 2px 1px 5px gray;
  background-color: white;
  margin: 10px;
  cursor: pointer;
  color: black;
}

.modal_childs:hover {
  transform: scale(1.07);
  background-color: rgb(16, 73, 187);
  transition: 150ms;
  color: white;
}

.modal_childs2:hover {
  background-color: rgb(16, 73, 187);
  transform: scale(1.07);
  transition: 150ms;
  color: white;
}

.main-index-div {
  position: absolute;
  right: 0;
  top: 0;
  width: 45%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
}

main {
  min-height: 400px;
}

.Dinp {
  margin: auto;
  text-align: center;
  width: 75%;
}

#mainD-inp {
  padding-top: 30px;
}

#title {
  color: white;
  margin-right: 47.5%;
  margin-top: 180px;
}

#UsernameInp,
#sing-inp2 {
  width: 80%;
  height: 40px;
  border-radius: 50px;
  border: none;
  background-color: rgb(232, 232, 232);
  outline: none;
  text-align: center;
  font-family: "MyCustomFont", sans-serif;
}

.info {
  font-size: 15px;
  padding: 2px;
  margin: 5px;
}

.title_holder {
  position: absolute;
  top: 10px;
  right: 40%;
  color: white;
}

#UsernameInp:focus,
#sing-inp:focus {
  background-color: white;
}

#singDiv {
  padding-top: 50px;
  margin: auto;
  text-align: center;
}

#singBtn {
  width: 60%;
  height: 40px;
  border-radius: 50px;
  border: none;
  background-color: rgb(174, 174, 174);
  font-family: "MyCustomFont", sans-serif;
  cursor: pointer;
}

button.disabled {
  cursor: not-allowed;
  background-color: rgb(168, 168, 168);
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  visibility: hidden;
}
.inp_items {
  margin: 30px;
}

/* استایل لودر */
#loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #5e5f5f;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

header {
  background-color: #0077cc;
  color: white;
}

.inputs-list {
  min-height: 250px;
  display: grid;
  grid-template-columns: auto auto auto auto;
  margin-top: 0px;
  backdrop-filter: blur(10px) brightness(40%);
  padding: 50px;
  border: 3px solid white;
  border-radius: 20px;
}

.inputs-list2 {
  height: 200px;
  margin: 10px;
  display: grid;
  grid-template-columns: auto auto auto auto;
  margin-top: 0px;
  backdrop-filter: blur(10px) brightness(40%);
  padding: 50px;
  border: 3px solid white;
  border-radius: 20px;
}

.search_input {
  width: 100%;
  font-size: 15px;
  padding: 10px;
  outline: none;
  border: none;
  margin-bottom: 5px;
  border-radius: 20px;
  text-align: right;
}

.search_customers {
  backdrop-filter: blur(10px) brightness(40%);
  padding: 35px;
  border: 3px solid white;
  border-radius: 20px;
  color: white;
}

.documentHistoryText{
  padding: 10px;
  margin: 10px;
  text-align: center;
  background-color: #650133;
  color: white;
  font-size: 18px;
  border-radius: 10px;
  border: 2px solid white;
  box-shadow: 2px 2px 4px gray;
}

.green_tik {
  display: none;
  position: absolute;
  cursor: pointer;
  top: 3px;
  height: 35px;
  width: 80px;
  color: white;
  border: 2px solid white;
  box-shadow: 2px 2px 4px gray;
  border-radius: 20px;
  padding: 6px;
  text-align: center;
  left: 2px;
}

.btn_red {
  position: absolute;
  cursor: pointer;
  top: 3px;
  height: 35px;
  width: 80px;
  color: white;
  border: 2px solid white;
  box-shadow: 2px 2px 4px gray;
  border-radius: 20px;
  padding: 6px;
  text-align: center;
  left: 2px;
  background-image: linear-gradient(
    to right,
    rgb(203, 12, 127),
    rgb(101, 1, 70)
  );
}
.btn_blue {
  position: absolute;
  cursor: pointer;
  top: 3px;
  height: 35px;
  width: 80px;
  color: white;
  border: 2px solid white;
  box-shadow: 2px 2px 4px gray;
  border-radius: 20px;
  padding: 6px;
  text-align: center;
  left: 2px;
  background-image: linear-gradient(to right, rgb(7, 0, 104), rgb(0, 82, 164));
}

.input-item {
  margin: 0px;
  position: relative;
}

.customer_card {
  min-height: 220px;
  padding: 4px;
  border: 1px solid white;
  border-radius: 10px;
  text-align: center;
}

.btn_edit {
  background-color: #0077cc;
}

.parting {
  border-left: 2px solid white;
}

.btn_back2 {
  position: absolute;
  top: -10px;
  right: 0px;
  padding: 5px;
  background-color: #650133;
}
.btn_back2:hover {
  background-color: #af0058;
}

.smallfont {
  font-size: 15px;
}
.verysmallfont {
  font-size: 14px;
}

.returnBtn {
  width: 55px;
  height: 55px;
  padding: 5px;
  background-color: #af0058;
  color: white;
  position: absolute;
  top: 0px;
  right: 500px;
  z-index: 100;
}

.paymentBtn {
  width: 55px;
  height: 55px;
  padding: 5px;
  background-color: #018073;
  color: white;
  position: fixed;
  top: 0px;
  right: 600px;
  z-index: 100;
}
.paymentBtn2 {
  background-color: #018073;
  padding: 10px;
  float: left;
}

.input {
  outline: none;
  border: none;
  border-radius: 30px;
  text-align: center;
  padding: 12px;
  margin: 0px;
  width: 95%;
}

.btn_holder {
  width: 100%;
  height: 60px;
  background-color: #5e5f5f;
  position: absolute;
  bottom: 0;
  left: 0;
  border-bottom-right-radius: 15px;
  border-bottom-left-radius: 15px;
  display: flex;
  font-size: 12px;
}

.btn_back {
  background-color: rgb(160, 1, 57);
  color: white;
}

.btn_submit {
  background-color: rgb(1, 117, 105);
  color: white;
}

.return_btn{
  position: absolute;
  top:0;
  right: 20px;
}

button {
  border-radius: 30px;
  outline: none;
  cursor: pointer;
  background-color: rgb(0, 0, 99);
  border: 2px solid white;
  color: white;
  padding: 5px;
  min-width: 100px;
  margin: 15px;
}

#history_table {
  position: absolute;
  text-align: center;
  bottom: 5px;
}

/* button:hover{
  background-color: #0077cc;
} */
p {
  text-align: center;
}
.sides {
  margin: 0;
  width: 100%;
  margin-top: -60px;
  display: flex;
}

.des_price_unit {
  color: rgb(255, 255, 255);
  font-size: 16px;
  position: absolute;
  top: -35px;
  right: 30%;
  background-color: rgb(122, 0, 100);
  border-radius: 20px;
  padding: 2px 6px 2px 6px;
}

.input_tik {
  position: relative;
}
.right_side {
  position: relative;
  flex: 1;
  font-size: 12px;
  min-height: 150px;
  backdrop-filter: blur(3px) brightness(25%);
  padding: 20px;
  border: 2px solid white;
  border-radius: 20px;
  color: white;
  margin: 3px;
}
.left_side {
  width: 100%;
  margin: 3px;
  flex: 3;
  min-height: 300px;
  backdrop-filter: blur(3px) brightness(25%);
  padding: 50px;
  border: 2px solid white;
  border-radius: 20px;
  color: white;
}

#secondStep {
  display: grid;
  grid-template-columns: auto auto auto;
  margin: 2px;
}

#notification {
  background-color: #5e5f5f;
  margin-top: 10px;
  color: white;
  display: none;
}

#wh_container {
  position: relative;
  display: grid;
  grid-template-columns: auto auto auto;
}

.margin {
  margin: 10px;
}

/* انیمیشن چرخش */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 480px) {
  .inputs-list {
    grid-template-columns: auto;
    margin-top: 10px;
  }
  .right_side,
  .left_side {
    display: none;
  }
  #notification {
    display: block;
    text-align: center;
  }
}
