:root {
  --color-white: #fff;
  --color-black: #333;
  --color-gray: #75787b;
  --color-gray-light: #bbb;
  --color-gray-disabled: #e8e8e8;
  --color-green: #53a318;
  --color-green-dark: #383;
  --font-size-small: .75rem;
  --font-size-default: .875rem;
}

body{
font-family: 'Nunito Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    background: #F1F0F0;
    min-height: 90vh; 
}


.order-content {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 1rem;
  }

  .order-pr-details {
    width: 50%;
  }

  .order-pr-price {
    width: 10%;
  }

  .order-img-wrapper {
    max-width: 80px;
    max-height: 90px;
    overflow: hidden;
    width: 100%;
    height: 100%;
  }

  .order-pr-img {
    object-fit: cover;
    width: 80px;
    
    
  }

  .order-pr-name {
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    max-width: 300px;
    text-overflow: ellipsis;
    line-height: 1.7;
    margin-bottom: 6px;
  }

  .order-pr-att {
    font-size: 13px;
    color: #7c7c7c;
  }

  .order-pr-status {
    font-weight: 700;
    line-height: 1.7;
    margin-bottom: 5px;
  }

  .order-message {
    font-size: 12px;
    font-weight: 600;
  }

  .order-rate-and-review {
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
  }


  .rating {
    width: 110px;
    direction: rtl;
    justify-content: flex-start;
  }
  .rating-icon {
    unicode-bidi: bidi-override;
    text-align: center;
  }

  .star {
    display: inline-block;
    margin: 0;
    font-size: 30px;
    color: #FFD700; /* Gold color */
  }

 
  .rating label {
    float: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
  }
  .rating label:not(:first-of-type) {
    padding-right: 2px;
  }
  .rating label:before {
    content: "\2605";
    font-size: 25px;
    gap: 5px;
    color: gray;
    line-height: 1;
  }
  .rating input {
    display: none;
  }
  .rating input:checked ~ label:before, .rating:not(:checked) > label:hover:before, .rating:not(:checked) > label:hover ~ label:before {
    color: #FFD700;
  }

  .accordion-button::after {
    background-image: none !important;
  }

 .order-pr-id {
  width: 50%;
  padding: 20px;
    background-color: #f9f7f7;
    transition: 0.4s ease-in-out;
 }

 .or-pr-price {
  display: none;
      position: absolute;
      background-color: white;
      border: 1px solid #ccc;
      padding: 10px;
      z-index: 10;
      
 }

 .or-pr-title {
  font-weight: 700;
  line-height: 1.7;
 }

 .or-id-no {
  font-weight: 500;
  line-height: 1.7;
 }

 .order-track-pr {
  width: 25%;
 }

 .order-pr-return-div {
  width: 25%;
 }

 .final-pr-toggle {
  cursor: pointer;
 }

 .order-pr-return-btn {
  font-weight: 700;
  color: rgb(65, 0, 65);
  margin-bottom: 8px;
 }

 .share-invoice-div {
  width: 50%;
 }

 .or-pr-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-gray);
  line-height: 1.7;
 }

 .or-id-number {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
 }

 .invoice-icon-div {
  padding: 5px;
  background-color: #fe3939;
  margin: 0 5px;
  border-radius: 0.4rem;
 }

 .invoice-text {
  font-weight: 700;
  font-size: 13px;
  color: #75787b;
 }

 .invoice-div-heading {
  font-weight: 700;

 }

 .invoice-btn {
  background-color: transparent;
  border-radius: 0.5rem;
  padding: 5px 10px;
  font-size: 13px;
  transition: 0.s ease-in-out;
 }

 .invoice-btn:hover {
  background-color: #000000;
  color: #fff;
 }

 .order-other-items {
  padding: 15px;
  border: 1px solid rgba(128, 128, 128, 0.4);
 }

 .other-item-title {
  font-weight: 600;

 }

.order-track-container {
  padding: 20px;
  margin-bottom: 20px;
}

 .other-item-div {
  border-top: 1px solid rgba(128, 128, 128, 0.4);
  padding-top: 10px;
  cursor: pointer;
 }

 .other-item-div:first-child {
  border-top: none;
 }
 
 .accordion-button:not(.collapsed) {
  background-color: #fff;
 }

 .accordion-item {
  margin-bottom: 25px;
 }

 .accordion-item.collapsed:hover {
  box-shadow: none;
 }

 .accordion-item:hover {
  border: 1px solid rgba(128, 128, 128, 0.4);
  box-shadow: 0px 1px 5px #bdbdbd;
 }


.progress-bar {
  display: flex;
  width: 50%;
  justify-content: space-between;
  flex-direction: row !important;
  list-style: none;
  padding: 15px;
  margin: 1rem;
}
.progress-bar li {
  flex: 2;
  position: relative;
  padding: 0 0 14px 0;
  font-size: var(--font-size-default);
  line-height: 1.5;
  color: var(--color-green);
  font-weight: 600;
  white-space: nowrap;
  overflow: visible;
  min-width: 0;
  text-align: center;
  border-bottom: 4px solid var(--color-gray-disabled);
}
.progress-bar li:first-child,
.progress-bar li:last-child {
  flex: 1;
}
.progress-bar li:last-child {
  text-align: right;
}
.progress-bar li:first-child {
  text-align: center;
}
.progress-bar li:before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background-color: var(--color-gray-disabled);
  border-radius: 50%;
  border: 2px solid var(--color-white);
  position: absolute;
  left: calc(50% - 6px);
  bottom: -7px;
  z-index: 3;
  transition: all .2s ease-in-out;
}
.progress-bar li:first-child:before {
  left: 0;
}
.progress-bar li:last-child:before {
  right: 0;
  left: auto;
}
.progress-bar span {
  font-size: 11px;
  transition: opacity .3s ease-in-out;
}
/* .progress-bar li:not(.is-active) span {
  opacity: 0;
} */

.progress-bar .is-complete:not(:first-child):after,
.progress-bar .is-active:not(:first-child):after {
  content: "";
  display: block;
  width: 100%;
  position: absolute;
  bottom: -2px;
  left: -50%;
  z-index: 2;
  border-bottom: 4px solid var(--color-green);
}
.progress-bar li:last-child span {
  width: 200%;
  display: inline-block;
  position: absolute;
  left: -100%;
}
/* .progress-bar li:first-child span {
  width: 200%;
  display: inline-block;
  position: absolute;
  left: -50%;
} */

.progress-bar .is-complete:last-child:after,
.progress-bar .is-active:last-child:after {
  width: 200%;
  left: -100%;
}

.progress-bar .is-complete:before {
  background-color: var(--color-green);
}

.progress-bar .is-active:before,
.progress-bar li:hover:before,
.progress-bar .is-hovered:before {
  background-color: var(--color-white);
  border-color: var(--color-green);
}
.progress-bar li:hover:before,
.progress-bar .is-hovered:before {
  transform: scale(1.33);
}

.progress-bar li:hover span,
.progress-bar li.is-hovered span {
  opacity: 1;
}

.progress-bar li.is-complete span {
  opacity: 1;
}

/* .progress-bar:hover li:not(:hover) span {
  opacity: 0;
} */

.x-ray .progress-bar,
.x-ray .progress-bar li {
  border: 1px dashed red;
}

.progress-bar .has-changes {
  opacity: 1 !important;
}
.progress-bar .has-changes:before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  position: absolute;
  left: calc(50% - 4px);
  bottom: -20px;
  background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%208%208%22%3E%3Cpath%20fill%3D%22%23ed1c24%22%20d%3D%22M4%200l4%208H0z%22%2F%3E%3C%2Fsvg%3E');
}


@media (max-width:768px) {
  .order-pr-details {
    width: auto;
  }
.order-pr-name{
max-width:250px;
}
  .order-pr-price {
    display: none;
  }

  .order-img-wrapper {
    max-width: 70px;
    max-height: 80px;
    overflow: hidden;
    width: 100%;
    height: 100%;
  }

  .order-pr-img {
    object-fit: cover;
    width: 70px;
    
  }

  .order-pr-name {
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 6px;
  }

  .order-pr-att {
    font-size: 10px;
    color: #7c7c7c;
  }

  .address-type-text {
    color: #666;
    font-weight: 500;
    margin-bottom: 4px;
    font-size: 12px;
  }

  .address-grid-name {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 12px;
  }

  .address-grid-add {
    font-weight: 500;
    font-size: 12px;
    margin-bottom: 5px;
  }

  .address-grid-mobile {
    font-weight: 600;
    font-size: 12px;

  }
  .order-track-pr {
    width: 100%;
}

.order-track-container {
  padding: 6px;
}

.progress-bar {
  width: 100%;
  padding: 5px 0;
  margin: 2px;
}

.progress-bar span {
  font-size: 8px;
  transition: opacity .3s ease-in-out;
}

.order-pr-return-div {
  width: 100%;
  padding: 5px;
}
}
