.x-scroll::-webkit-scrollbar{
  height:5px;
}
.x-scroll::-webkit-scrollbar-thumb{
  background-color: var(--gray-5);
  cursor: pointer;
}
.x-scroll::-webkit-scrollbar-track{
  background-color: #f2f2f2;
}
.orders-div {
  flex-direction: column;
  gap: 20px;
  width: 100%;
  display: none;
}

.orders-div.open {
  display: flex;
}

.orders-div > div:first-of-type {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.orders-div > div:first-of-type > div:first-of-type {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0.5px solid rgba(45, 44, 44, 0.1);
  padding: 19px 16px;
  border-radius: 20px;
  min-width: 40%;
}

.orders-div > div:first-of-type > div:first-of-type > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2%;
  white-space: nowrap;
  padding-inline-start: 10px;
  flex: 1;
}
.orders-div > div:first-of-type > div:first-of-type > div:first-of-type {
  padding-inline-start: 0px;
}
.orders-div > div:first-of-type > div:first-of-type > div > svg {
  flex-shrink: 0;
}
.orders-div > div:first-of-type > div:first-of-type > div > span:first-of-type {
  font-size: 13px;
}
.orders-div
  > div:first-of-type
  > div:first-of-type
  > div
  > span:nth-of-type(2) {
  font-size: 18px;
  color: var(--gray-text);
  font-weight: 500;
  font-family: "Manrope", sans-serif;
  line-height: 1;
  display: flex;
  align-items: center;
}
.orders-div
  > div:first-of-type
  > div:first-of-type
  > div:not(:last-of-type)
  > span:nth-of-type(2)::after {
  height: 16px;
  width: 1px;
  background-color: rgba(45, 44, 44, 0.6);
  margin-inline-start: 5px;
  content: "";
  display: inline-block;
}

.orders-div > div:first-of-type > div:nth-of-type(2) {
  min-width: 230px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 0.5px solid rgba(45, 44, 44, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
}

.orders-div > div:first-of-type > div:nth-of-type(2) > div {
  display: flex;
  align-items: center;
  height: 16px;
  gap: 8px;
}
.orders-div
  > div:first-of-type
  > div:nth-of-type(2)
  > div
  > span:first-of-type {
  font-size: 13px;
  line-height: 19.12px;
}
.orders-div
  > div:first-of-type
  > div:nth-of-type(2)
  > div
  > span:nth-of-type(2) {
  font-size: 18px;
  line-height: 32.78px;
  margin-left: auto;
  display: inline-block;
  color: var(--gray-text);
}

.orders-div > div:first-of-type > div:nth-of-type(3) {
  min-width: 230px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 0.5px solid rgba(45, 44, 44, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
}

.orders-div > div:first-of-type > div:nth-of-type(3) > div {
  display: flex;
  align-items: center;
  height: 16px;
  gap: 8px;
}
.orders-div
  > div:first-of-type
  > div:nth-of-type(3)
  > div
  > span:first-of-type {
  font-size: 13px;
  line-height: 19.12px;
}
.orders-div
  > div:first-of-type
  > div:nth-of-type(3)
  > div
  > span:nth-of-type(2) {
  font-size: 18px;
  line-height: 32.78px;
  margin-left: auto;
  display: inline-block;
  color: var(--gray-text);
}
.orders-div > div:first-of-type > div:nth-of-type(4) {
  display: inline-block;
  margin: 0 !important;
}

.orders-div > div:first-of-type > div:nth-of-type(4) > button {
  display: flex;
  background-color: transparent;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: var(--gray-text);
}

.order-table {
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow:auto clip;
}

.order-table-head {
  background-color: var(--red-1);
  padding: 16px;
  border-radius: 20px;
  min-width: 1036px;
}
.order-table-head > div{
  color:var(--black);
  font-size: 12px;
}
.order-table-head > div:nth-of-type(2) > div > button{
  display: flex;
  white-space: nowrap;
  align-items: center;
  color:var(--black);
  font-size: 12px;
}
.order-table-head > div:nth-of-type(2) > div > button > span {
  font-size: 12px;
}
.order-table-row {
  display: grid;
  grid-template-columns: 5px .14fr .25fr .24fr .15fr .24fr .1fr .22fr 35px ;
  align-content: center;
}
.order-table-row > div {
  display: flex;
  align-items: center;
}
.order-table-row > div:first-of-type > label {
  display: flex;
  position: relative;
  cursor: pointer;
}

.order-table-row > div:first-of-type > label > input {
  opacity: 0;
  position: absolute;
}
.order-table-row > div:first-of-type > label > svg {
  scale: 0.7;
  position: relative;
  z-index: 1;
}
.order-table-row > div:first-of-type > label > input + svg path{
  fill:var(--gray-5)
}
.order-table-row > div:first-of-type > label > input:checked + svg path{
  fill:var(--blue-2)
}

.order-table-row > div:nth-of-type(2) {
  min-width: 60px;
}
.order-table-row > div:nth-of-type(3) {
  min-width: 140px;
}
.order-table-row > div:nth-of-type(4) {
  min-width: 120px;
}
.order-table-row > div:nth-of-type(5) {
  min-width: 100px;
}
.order-table-row > div:nth-of-type(6) {
  min-width: 70px;
}
.order-table-row > div:nth-of-type(7) {
  min-width: 80px;
}
.order-table-row > div:nth-of-type(7) {
  min-width: 90px;
}
.order-table-row > div:nth-of-type(9) {
  display: flex;
  justify-content: center;
  align-items: center;
}

.order-table-body {
  margin-top: 20px;
  min-width: 1036px;
}

.no-order-container{
  display: none;
  height: 350px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap:20px;
}
.no-order-container > p{
  text-align: center;
  color: var(--black);
  font-weight: 500;
  font-size: 28px;
}
.no-order-container > div{
  text-align: center;
  font-size: 18px;
  line-height:34px;
}

.order-table-body-container > div {
  padding: 10px 16px;
  background-color: rgba(45, 44, 44, 0.02);
  transition: all 0.5s;
}
.order-table-body-container > div:first-of-type {
  border-radius: 20px 20px 0 0;
}
.order-table-body-container > div > div:first-of-type > label {
  display: flex;
  justify-content: center;
  align-items: center;
}
.order-table-body-container > div > div:nth-of-type(2) {
  gap: 5px;
}
.order-table-body-container > div > div:nth-of-type(2) > svg {
  flex-shrink: 0;
}
.order-table-body-container > div > div:nth-of-type(3) {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.order-table-body-container > div > div:nth-of-type(4) {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  gap: 10px;
}
.order-table-body-container > div > div:nth-of-type(4) > span {
  flex: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.order-table-body-container > div > div:nth-of-type(5) {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: var(--black);
}
.order-table-body-container > div > div:nth-of-type(7) {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: var(--black);
}
.order-table-body-container > div > div:nth-of-type(8) {
  gap: 5px;
  justify-content: space-between;
  padding: 0 3px;
}
.order-table-body-container > div > div:nth-of-type(8) > button.cancel{
  background-color: rgba(255, 8, 40, 0.05);
  color: var(--red-4);
  border: 1px solid var(--red-2);
  padding: 3px 10px;
  border-radius: 15px;
}
.order-table-body-container > div > div:nth-of-type(8) > button.accept {
  background-color: var(--green-4);
  color: #fff;
  border: 1px solid var(--green-4);
  padding: 3px 10px;
  border-radius: 15px;
}
.order-table-body-container > div > div:nth-of-type(8) > button.preparing {
  background-color: transparent;
  color: rgba(255, 176, 22, 1);
  border: 1px solid rgba(255, 176, 22, 1);
  padding: 3px 10px;
  border-radius: 15px;
}
.order-table-body-container > div > div:nth-of-type(8) > button.to-complete{
  background-color: rgba(255, 176, 22, 1);
  color: #fff;
  border: 1px solid rgba(255, 176, 22, 1);
  padding: 3px 10px;
  border-radius: 15px;
}
.order-table-body-container > div > div:nth-of-type(8) > button.in-transit{
  background-color: rgba(0, 117, 255, 0.05);
  color: rgba(0, 117, 255, 1);
  border:1px solid rgba(0, 117, 255, 0.1);
  padding:3px 10px;
  border-radius: 15px;
}
.order-table-body-container > div > div:nth-of-type(8) > button.decline{
  background-color: transparent;
  color: rgba(255, 8, 40, 0.4);
  border:1px solid rgba(255, 8, 40, 0.4);
  padding:3px 10px;
  border-radius: 15px;
}
.order-table-body-container > div > div:nth-of-type(8) > button.complete{
  background-color: transparent;
  color: rgba(21, 210, 154, 0.6);
  border:1px solid rgba(21, 210, 154, 0.6);
  padding:3px 10px;
  border-radius: 15px;
}
.order-table-body-container > div{
  border-bottom: 0.5px solid rgba(45, 44, 44, 0.1);
}

.actions-div{
  display: flex;
  position: relative;
  align-items: center;
}
.actions-div > ul{
  position: absolute;
  z-index: 2;
  background-color: #fff;
  width: 295px;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.05);
  right:0;
  top:0px;
  display:none;
  flex-direction: column;
  padding-bottom: 10px;
  border-radius: 20px;
}

.actions-div.active > ul{
  display: flex;
}

.actions-div > ul > li:first-of-type{
  padding:16px 24px;
  border-radius: 20px 20px 0 0;
  border-bottom: 0.5px solid rgba(45, 44, 44, 0.1);
}

.actions-div > ul > li:not(:first-of-type){
  padding:8px 24px;
  cursor: pointer;
}

