/* You can add global styles to this file, and also import other style files */
body {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif !important;
}

.btn.active,
.btn:active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.group {
  position: relative;
  margin-bottom: 25px;
  height: 45px;
  /* LABEL ======================================= */
  /* active state */
  /* active state */
  /* BOTTOM BARS ================================= */
  /* HIGHLIGHTER ================================== */
}

.group svg {
  position: absolute;
  top: 12px;
  right: 5px;
  background: #fff;
}

.group input,
.group select,
.group textarea {
  font-size: 18px !important;
  padding: 10px 10px 10px 5px !important;
  display: block;
  /* width: 100% !important; */
  border: none;
  border: 1px solid #cecece !important;
  background-color: transparent !important;
  -webkit-box-sizing: border-box !important;
          box-sizing: border-box !important;
  height: 45px !important;
  padding: 0px 15px !important;
  border-radius: 5px !important;
  width: 100%;
}

.group input:focus,
.group select:focus,
.group textarea:focus {
  outline: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  border: 0;
}

.group label {
  color: #999;
  font-size: 15px;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  top: 12px;
  left: 10px !important;
  padding: 0px 6px;
  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
}

.group textarea:focus ~ label,
.group textarea:valid ~ label {
  top: -7px;
  font-size: 12px;
  color: #8505f9;
  padding: 0px 5px;
  font-weight: bold;
  left: 12px;
  margin-left: -3px !important;
  background: #fff;
}

.group input:focus ~ label,
.group input:valid ~ label {
  top: -7px;
  font-size: 12px;
  color: #8505f9;
  padding: 0px 5px;
  font-weight: bold;
  left: 12px;
  margin-left: -3px !important;
  background: #fff;
}

.group select:focus ~ label,
.group select:valid ~ label {
  top: -7px;
  font-size: 12px;
  color: #8505f9;
  padding: 0px 5px;
  font-weight: bold;
  left: 12px;
  margin-left: -3px !important;
  background: #fff;
}

.group .bar {
  position: relative;
  display: block;
  width: 100%;
}

.group .highlight {
  position: absolute;
  height: 60%;
  width: 100px;
  top: 25%;
  left: 0;
  pointer-events: none;
  opacity: 0.5;
}

.accpt {
  padding: 10px;
  margin-top: 0px;
  margin-bottom: 85px;
}

@media only screen and (min-width: 1125px) {
  .accpt {
    margin-bottom: 0px !important;
  }
}

.accpt p {
  font-size: 12px;
  margin: 0;
  margin-left: 10px;
}

.accpt .ter .text-toogle {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 20px 0;
}

.accpt .ter .text-toogle input[type="checkbox"] {
  position: relative;
  width: 50px;
  height: 25px;
  -webkit-appearance: none;
  background: #c6c6c6;
  outline: none;
  border-radius: 50px;
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
          box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  -webkit-transition: .5s;
  transition: .5s;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  opacity: 1;
  pointer-events: revert;
}

.accpt .ter .text-toogle input:checked[type="checkbox"] {
  background: #8505f9;
}

.accpt .ter .text-toogle input[type="checkbox"]:before {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  border-radius: 20px;
  top: 0;
  left: 0;
  background: #fff;
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  -webkit-transition: .5s;
  transition: .5s;
}

.accpt .ter .text-toogle input:checked[type="checkbox"]:before {
  left: 24px;
}

@media only screen and (min-width: 1125px) {
  .pad-mg {
    margin: 0 10px;
  }
}

.pad-mg .head_part {
  padding: 12px 10px;
  background: #F3F4F6;
  cursor: pointer;
  outline: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

@media only screen and (min-width: 1125px) {
  .pad-mg .head_part {
    display: none;
  }
}

.pad-mg .head_part .back {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.pad-mg .head_part .back .bak {
  margin-right: 5px;
}

.pad-mg .head_part .back .bak img {
  width: 30px;
}

.pad-mg .head_part .back .title h3 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  line-height: 24px;
}

.pad-mg .head_part .back .title h3 span {
  display: block;
  font-size: 15px;
  color: #93959F;
  font-weight: normal;
}

.pad-mg .tabs_desserts .tab {
  margin: 12px 0;
}

.pad-mg .tabs_desserts .tab ul {
  margin: 0 auto;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  width: 300px;
}

@media only screen and (min-width: 1125px) {
  .pad-mg .tabs_desserts .tab ul {
    width: 100%;
    margin-bottom: 25px;
  }
}

.pad-mg .tabs_desserts .tab ul .active-coll {
  display: none;
}

.pad-mg .tabs_desserts .tab ul .active-del {
  display: none;
}

.pad-mg .tabs_desserts .tab ul li {
  list-style: none;
  color: #93959F;
  font-size: 14px;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.pad-mg .tabs_desserts .tab ul li span {
  width: 6px;
  height: 6px;
  background-color: #93959F;
  display: inline-block;
  border-radius: 50px;
  margin: 0px 5px;
}

.pad-mg .tabs_desserts .tab ul li svg {
  fill: #93959F;
}

.pad-mg .tabs_desserts .tab ul .active {
  color: #ff2222fa;
  font-weight: 900;
}

.pad-mg .tabs_desserts .tab ul .active svg {
  fill: #ff2222fa;
}

.pad-mg .tabs_desserts .tab ul .active span {
  background-color: #ff2222fa;
}

.pad-mg .order-placed {
  height: 70vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media only screen and (min-width: 1125px) {
  .pad-mg .order-placed {
    height: auto;
  }
}

.pad-mg .order-placed .div_order {
  text-align: center;
  width: 100%;
}

.pad-mg .order-placed .div_order .animation {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.pad-mg .order-placed .div_order .animation lottie-player {
  width: 240px;
  height: 240px;
}

.pad-mg .order-placed .div_order .animation svg {
  position: absolute;
}

.pad-mg .order-placed .div_order .title {
  font-size: 16px;
}

.pad-mg .order-placed .div_order .stutas {
  padding: 20px;
}

.pad-mg .order-placed .div_order .stutas h3 {
  font-size: 25px;
  font-weight: bold;
  color: #8505f9;
}

.pad-mg .order-placed .div_order .stutas p {
  color: #4A4A4A;
  font-size: 14px;
}

.pad-mg .fixed_btn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  z-index: 99;
  background: #fff;
  -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
          box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
}

@media only screen and (min-width: 1125px) {
  .pad-mg .fixed_btn {
    position: relative;
    -webkit-box-shadow: none;
            box-shadow: none;
    background-color: transparent;
  }
}

.pad-mg .fixed_btn .contune .process_btn {
  position: relative;
}

.pad-mg .fixed_btn .contune .process_btn .process svg {
  width: 100%;
  stroke: #ff2222fa;
  stroke-width: 2px;
  width: 100%;
}

.pad-mg .fixed_btn .contune .process_btn .process button {
  width: 100%;
  border: 0;
  font-size: 20px;
  background: transparent;
  color: #ff2222fa;
  font-weight: normal;
  outline: 0;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: -5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 0px 20px;
}

.pad-mg .fixed_btn .contune .process_btn .process button p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.pad-mg .fixed_btn .contune .process_btn .process button p span {
  width: 28px;
  display: inline-block;
}

.pad-mg .fixed_btn .contune .process_btn .process button p span img {
  width: 100%;
  margin-bottom: -3px;
}

.container {
  padding: 0;
}

@media only screen and (max-width: 1124px) {
  .web-view-btn {
    display: none;
  }
  .mob-view-btn {
    display: block;
  }
  .container .cart-page {
    display: none;
  }
}

@media only screen and (min-width: 1125px) {
  .web-view-btn {
    display: block;
  }
  .mob-view-btn {
    display: none;
  }
  .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0px auto;
  }
  .container .checkout-page {
    width: 65%;
    padding: 12px 0;
  }
  .container .cart-page {
    border-left: 1px dashed #93959F;
    width: 35%;
    height: 100vh;
  }
}
/*# sourceMappingURL=orderstatus.css.map */

/* Template 5*/
.updatedOrderHistory {
  width: 85% !important;
  max-width: 85% !important;
}
.orderHistorySection{
  margin-top: 120px !important;
}
.heading_div {
  background: var(--primary-color);
  border-radius: 20px;
  padding: 20px;
  margin-top: 20px;
  position: fixed;
  top: 0;
  z-index: 999;
  width: 98% !important;
}
.head {
  display: flex;
  align-items: center;
}
.head a, .head h3, .head p{
color: #fff;
margin: 0;
}

.sm-back a, .sm-back p{
margin: 0;
}
.sm-back p svg path {
  stroke: white;
}


.myorders-web .lefthistory .heading_history .history:hover {
  background-color: var(--primiary-color-shadow) !important;
  border-bottom: 2px solid var(--primary-color) !important;
}

.orderHistoryBanner {
  /* background: #ddd; */
  height: 300px;
  border-radius: 20px;
  margin-top: 0;
  padding-top: 0;
  width: 100%;
  margin-left: 0;
}
.orderStatus{
  display: flex;
  align-items: center;
  gap: 4px;
  text-wrap: nowrap;
}
.mobileBackIcon{
  display: none;
}

@media (min-width:1440px){
  .updatedOrderHistory {
    width: 80% !important;
  }
}


/* mobile view added by sairam  */
.total_price_amount .total .detail{
  color: #777 !important;
  font-size: 14px;
  font-weight: 600 !important;
}
.history .time_date{
  display: flex;
  align-items: center;
  gap: 14px;
}
.history .time_date p{
 margin-bottom: 0px;
 color: #777;
 font-size: 14px;
 font-weight: 600;
}
.total_price_amount .total .detailValue{
  color: #1a1a1a !important;
  font-size: 14px;
  font-weight: 600 !important;
}
.payments .head{
  border-bottom: 1px dashed #ddd;
  margin-bottom: 12px;
  padding-bottom: 12px;
}
.pad-mg .order-placed .div_order .stutas h3{
  background: #9800FE30;
  font-size: 14px !important;
  padding: 8px 10px;
  border-radius: 30px;
  color: #9800FE !important;
  font-weight: 500;
  text-wrap: nowrap;
  width: fit-content;
  margin: auto;
}
.pad-mg .order-placed .div_order .stutas p{
    margin-bottom: 0px !important;
    margin-top: 10px;
}
.iteams_name .orderDescriptionTitle{
  font-size: 16px !important;
  color: #1a1a1a !important;
  font-weight: 600 !important;
}
.myorders-web .lefthistory .heading_history .history .details .iteams_name .orderDescriptionTitle span{
  font-size: 16px !important;
  color: #1a1a1a !important;
  font-weight: 600 !important;
}
.myorders-web .lefthistory .heading_history .history .details .iteams_name .price p{
  font-size: 16px !important;
  color: #1a1a1a !important;
  font-weight: 600 !important;
}
.myorders-web .lefthistory .heading_history .stutas{
  margin-top: 20px !important;
}
.myorders-web .lefthistory .heading_history .history .details .iteams_name .price p{
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.myorders-web .lefthistory .heading_history .history .details .iteams_name .price p span{
  display: flex;
  align-items: center;
}
.history .time_date h4{
  color: #777 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}
.order .cart_item{
  padding: 0px 10px 10px !important;
}
.sm-back{
  display: flex;
  align-items: center;
}

/*  */
/* Order Status Card Styles */
.order-status-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #f0f0f0;
}

.order-header-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.customer-details h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: #1a1a1a;
  line-height: 1.2;
}

.customer-details .order-time {
  font-size: 12px;
  color: #1a1a1a;
  margin: 2px 0 6px 0;
  line-height: 1.3;
}
.customer-details .orderPlacedTime {
  font-size: 12px;
  color: #1a1a1a;
  margin: 2px 0 6px 0;
  line-height: 1.3;
font-weight: 600;
}


.customer-details .order-id-display {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.3;
}

.delivery-details {
  text-align: right;
  flex-shrink: 0;
}

.delivery-details .delivery-by {
  font-size: 14px;
  color: #666666;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.delivery-details .delivery-by strong {
  color: #1a1a1a;
  font-weight: 600;
}

.current-status .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff3cd;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
  color: #856404;
  border: 1px solid #ffeaa7;
  white-space: nowrap;
}

.delivery-address-info {
  background: #f8f9fa;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.delivery-address-info p {
  font-size: 14px;
  color: #495057;
  margin: 0;
  line-height: 1.4;
}

.accordion-control {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0 0px;
  border-top: 1px dashed  #e9ecef;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}


.accordion-control span {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
}

.chevron-icon {
  transition: transform 0.3s ease;
  color: #666666;
}

.order-status-card.expanded .chevron-icon {
  transform: rotate(180deg);
}

.expanded-content {
  margin-top: 0px;
  padding-top: 2px;
  animation: fadeIn 0.3s ease-in-out;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.expanded-content.show {
  max-height: 1000px;
  opacity: 1;
  padding-top: 0px;
}

@keyframes fadeIn {
  from { 
      opacity: 0; 
      transform: translateY(-10px); 
  }
  to { 
      opacity: 1; 
      transform: translateY(0); 
  }
}

@keyframes slideInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
      opacity: 0;
      transform: scale(0.8);
  }
  to {
      opacity: 1;
      transform: scale(1);
  }
}

@keyframes progressFill {
  from {
      width: 0;
  }
  to {
      width: 100%;
  }
}

/* Horizontal Progress Steps */
.order-progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px 0;
  padding: 0 20px;
}

.progress-step {
  position: relative;
  z-index: 2;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e9ecef;
  border: 2px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.progress-step.completed .step-circle {
  background: #28a745;
  border-color: #28a745;
}

.progress-step.active .step-circle {
  background: #ff8c00;
  border-color: #ff8c00;
}

.step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #6c757d;
}

.progress-line {
  width: 60px;
  height: 2px;
  background: #e9ecef;
  margin: 0 8px;
  transition: all 0.3s ease;
}

.progress-line.completed {
  background: #28a745;
}

/* Vertical Status List */
.order-status-list {
  margin: 24px 0 10px;
  padding: 0 0px;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  margin-top: 10px;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.3s ease;
}
.orderHstoryHead .orderHistoryPara{
  text-transform: unset !important;
}
.status-item.animate {
  animation: slideInUp 0.5s ease forwards;
}

.status-item:nth-child(1) { animation-delay: 0.1s; }
.status-item:nth-child(3) { animation-delay: 0.2s; }
.status-item:nth-child(5) { animation-delay: 0.3s; }
.status-item:nth-child(7) { animation-delay: 0.4s; }
.status-item:nth-child(9) { animation-delay: 0.5s; }

.status-item:last-child {
  margin-bottom: 0;
}

.status-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.status-item.animate .status-icon {
  animation: scaleIn 0.4s ease forwards;
}

.status-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e9ecef;
  border: 2px solid #dee2e6;
  transition: all 0.3s ease;
}

.status-text {
  font-size: 16px;
  font-weight: 500;
  color: #6c757d;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.status-item.completed .status-text {
  color: #17A040;
}

.status-item.active .status-text {
  color: #EC7600;
  font-weight: 600;
}

.status-connector {
  width: 2px;
  height: 12px;
  background: #e9ecef;
  margin-left: 9px;
  margin-bottom: 4px;
  position: relative;
  overflow: hidden;
}

.status-connector::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: #28a745;
  transition: height 0.6s ease;
}

.status-connector.active::after {
  height: 100%;
  animation: progressFill 0.8s ease forwards;
}

/* Hover Effects */
.status-item:hover .status-icon {
  transform: scale(1.1);
}

.status-item:hover .status-text {
  color: #495057;
}

.status-item.completed:hover .status-text {
  color: #1e7e34;
}

.status-item.active:hover .status-text {
  color: #e17500;
}
.current-status{
  display: flex;
  align-items: center;
  gap: 4px;
}
.current-status span{
 color: #1a1a1a;
 font-weight: 600;
 font-size: 12px;
}
/* Current Status Message */
.current-status-message {
  text-align: center;
  margin: 24px 0;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
}

.status-badge-large {
  display: inline-block;
  background: #8b5cf6;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Dynamic Status Badge Colors */
.status-badge-large.not-confirmed {
  background: #dc3545;
}

.status-badge-large.order-placed {
  background: #28a745;
}

.status-badge-large.cooking {
  background: #ff8c00;
}

.status-badge-large.preparing-food {
  background: #ff8c00;
}

.status-badge-large.food-ready {
  background: #17a2b8;
}

.status-badge-large.food-is-on-the-way {
  background: #007bff;
}

.status-badge-large.order-delivered {
  background: #28a745;
}

.status-badge-large.order-completed {
  background: #28a745;
}

.status-badge-large.order-cancelled {
  background: #dc3545;
}

.status-description {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
  line-height: 1.4;
}

/* Animation Container */
.animation {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.animation svg {
  width: 100%;
  max-width: 278px;
  height: auto;
}

.animation lottie-player {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
}

/* Empty Banner Image Styles */
.emptyBannerImg {
  /* background: #ddd; */
  height: 300px;
  border-radius: 20px;
  margin-top: 0;
  padding-top: 0;
  width: 100%;
  margin-left: 0;
  transition: all 0.3s ease;
overflow: hidden;
}

.emptyBannerImg:hover {
  background: #f0f0f0 !important;
}

.emptyBannerImg .emptyImg {
  transition: all 0.3s ease;
  fill: var(--primary-color, #FF621F) !important;
width: 100%;
}

.emptyBannerImg .emptyImg path {
  fill: var(--primary-color, #FF621F) !important;
}

.emptyBannerImg:hover .emptyImg {
  opacity: 0.7 !important;
  transform: scale(1.05);
}
.cancel_order_btn_btn{
background: none;
  border: 2px solid var(--primary-color);
  width: 100%;
  border-radius: 8px;
  color: var(--primary-color);
  padding: 8px 0px;
  font-weight: 600;
  font-size: 16px;
}
.cancel_order_btn{
padding: 0px 10px;
display: none;
}
/* Responsive Design */
@media (max-width: 768px) {
  .order-header-info {
      flex-direction: column;
      gap: 12px;
  }
  
  .delivery-details {
      text-align: left;
      width: 100%;
  }
  
  .current-status .status-badge {
      justify-content: flex-start;
  }
  
  .tabs_desserts .tab ul {
      padding: 0 10px;
  }
  
  .tabs_desserts .tab ul::before {
      left: 32px;
      right: 32px;
  }
  
  .tabs_desserts .tab ul li {
      width: 36px;
      height: 36px;
  }
  
  .tabs_desserts .tab ul li svg {
      width: 16px;
      height: 16px;
  }
  
  .emptyBannerImg {
      border-radius: 0px 0px 12px 12px;
  }
  
  .emptyBannerImg .emptyImg {
      width: 100%;
  }
.container.updatedOrderHistory{
  padding: 0px !important;
}
.order-details-web .pad-mg{
  position: relative;
}
.order .cart_item{
  width: 100% !important;
  padding: 0px 20px 0px !important;
}

#order_history_modal_2 .modal-body{
  border-radius: 0px !important;
}
.myorders-web .lefthistory .heading_div{
    position: fixed !important;
    top: 12px;
    width: 100% !important;
    left: 0;
    height: 60px !important;

}
.myorders-web .lefthistory .heading_div .head p{
  position: relative !important;
}
#order_details_modal_1 .cart_item{
  padding: 0px 20px 0px !important;
}
#order_details_modal_1 .heading_div{
  background: var(--primary-color) !important;

}
.order .heading_div .head h4{
  margin-right: 0px !important;
}
.myorders-web .lefthistory .heading_div .head p{
  left:46px !important;
}
.order .cart_item .total_price_amount .price .total h3{
  font-size: 14px !important;
}

}
/*  */

@media screen and (max-width:767px) {
  .updatedOrderHistory{
    width: 100% !important;
    max-width: 100% !important;
    margin: 0px;
  }
  .myorders-web .lefthistory{
    background: none !important;
    margin-top: 65px;
  }
  .heading_history{
    margin-top: 10px;
  }
  .heading_div{
    position: fixed;
    top:12px;
    margin-top: 0px !important;
    z-index: 99;
    width: 94% !important;
  }
  .myorders-web .lefthistory .heading_history .history{
    margin-bottom: 10px;
    border-radius: 12px !important;
  }
  .myorders-web .lefthistory #hadingHistory .orderStatus{
    border-top: 1px dashed #ddd;
    padding-top: 5px;
    justify-content: left;
    text-align: left;
    align-items: center;
    gap: 10px;
  }
  .myorders-web{
    margin: 0px 15px;
  }
  .heading_div{
    padding: 15px 15px 15px 0px;
    border-radius: 12px;
  }
  .orderHstoryHead{
    background: #f2f2f2 !important;
    padding: 0px !important;
    height: 50px !important;
  }
  .orderHistoryTitle, .orderHistoryPara{
    margin-left: 0px;
  }
  #hadingHistory .modal-content{
    padding: 0px !important;
  }
  #order_history_modal_4 .order .cart_item{
    width: 100% !important;
    padding: 0px 20px 0px !important;
  }
  #order_history_modal_2 .order .cart_item{
    width: 100% !important;
    padding: 0px 20px 0px !important;
  }
  #order_history_modal_3 .order .cart_item{
    width: 100% !important;
    padding: 0px 20px 0px !important;
  }
  #order_history_modal_1 .order .cart_item{
    width: 100% !important;
    padding: 0px 20px 0px !important;
  }
 
  #order_details_modal_1 .heading_div{
    position: fixed !important;
    top: 0;
    width: 94% !important;
    z-index: 99;
    border-radius: 0px !important;
    background: none !important;
    border-bottom: 0px !important;
    height: 60px !important;
  }
  #updatedOrderHistoryPage .orderHistorySection{
    margin-top: 20px !important;
  }
  #order_details_modal_1{
    background: #fff !important;
  }
  #order_details_modal_1 .order-details-web{
    margin-top: 0px !important
  }
  .mobileOrders .orderCard a .img{
    width: 100% !important;
  }
  #order_details_modal_1 .order-details-web .orderHistoryBanner{
    border-radius: 0px 0px 12px 12px;
    width: 100%
  }
  .order_status_display .order-placed{
    height: auto !important;
  }
  .order_status_display .order-placed .div_order .stutas .orderConformText{
    margin-bottom: 0px !important;
    padding-left: 0px !important;
  }
  .order_status_display .order-placed .div_order .stutas h3{
    margin-top: 0px !important;
  }
  .pad-mg .tabs_desserts .tab ul{
    margin: 5px 0 22px !important; 
  }
  .order_status_display .tabs_desserts{
    margin-top: 0px !important;
  }
  .newOrderdetailsInformation{
    margin: 20px 0 0px !important;
  }
  .pad-mg .order-placed .div_order .stutas h3{
    background: #9800FE30;
    font-size: 14px !important;
    padding: 8px 10px;
    border-radius: 30px;
    color: #9800FE !important;
    font-weight: 500;
    text-wrap: nowrap;
  }
  .order .cart_item .total_price_amount .payments{
    box-shadow: 0px 2px 8px 0px #0000000F !important;
    border-radius: 12px !important;
  }
  .payments .head{
    border-bottom: 1px dashed #ddd;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }
  .head h5{
    color: #000;
    font-size: 16px !important;
    font-weight: 600 !important;
  }
  .total_price_amount .total .detail{
    color: #777 !important;
    font-size: 14px;
    font-weight: 600 !important;
  }
  .total_price_amount .total .detailValue{
    color: #1a1a1a !important;
    font-size: 14px;
    font-weight: 600 !important;
  }
  .order .cart_item .order_d{
    border-radius: 12px !important;
  }
  .order .cart_item .total_price_amount .price{
    border-radius: 12px !important;
  }
  .mobileBackIcon{
    display: block;
    position: fixed;
    top: 90px;
    left: 22px;
  }
  .current-status span{
    margin-left:13px;
  }
}

/* Order Items Accordion Styles */
#orderSummery{
  background: none !important;
  border: none !important;
  padding: 0px !important;
}

/* Status Badge Dynamic Styling */
.orderStatus {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-bottom: 0px;
}

/* Status-specific styling */
.orderStatus.status-pending {
  color: #9800FE;
  background-color: #9800FE30;
}
.orderStatus.status-default {
  background-color: #F8312F30;
  color: #F8312F;
}

.orderStatus.status-confirmed {
  background-color: #e8f4fd;
  color: #0c5460;
}

.orderStatus.status-cooking {
  color: #006EFF;
  background-color: rgba(0, 110, 255, 0.19);
}

  .status-ready {
    background-color: #17A04030;
    color: #17A040;
  }
  
.status-completed {
    background-color: none;
    color: #EC7600;
  }
  .orderStatus .status-ready {
    background-color: #17A04030;
    color: #17A040;
  }
  
.orderStatus .status-completed {
    background-color: none;
    color: #EC7600;
  }

.orderStatus.status-cancelled {
  background-color: #ffebee;
  color: #c62828;
}

/* Icon colors to match status */
.orderStatus.status-pending svg {
  color: #9800FE;
}

.orderStatus.status-confirmed svg {
  color: #17a2b8;
}

.orderStatus.status-cooking svg {
  color: #ff9800;
}

.orderStatus.status-ready svg {
  color: #17A040;
}

.orderStatus.status-completed svg {
  color: #EC7600;
}

.orderStatus.status-cancelled svg {
  color: #f44336;
}

.orderStatus.status-default svg {
  color: #9e9e9e;
}

.order-items-accordion {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 5px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-header {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.items-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-right: 16px;
}

.items-count h5 {
  color: #333;
  font-weight: 600;
  font-size: 14px;

}

.items-count svg {
  color: #9800FE;
}

.items-count span {
  font-size: 14px;
  font-weight: 500;
}

.items-total {
  display: flex;
  align-items: center;
  gap: 12px;
}

.items-count-text {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.items-total-price {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.accordion-header .chevron-icon {
  width: 12px;
  height: 7px;
  color: #666;
  transform: rotate(0deg);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.order-items-accordion.expanded .accordion-header .chevron-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content.show {
  max-height: 2000px;
  animation: fadeInUp 0.3s ease-out;
  margin: 0px 15px 15px;
  border-top: 1px dashed #ddd;
  padding-top: 15px;
}
.order .cart_item .order_d .items{
  padding: 5px 0px 5px !important;
}
.accordion-content .items {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.accordion-content .items.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation for items */
.accordion-content .items:nth-child(1).animate-in { animation-delay: 0.1s; }
.accordion-content .items:nth-child(2).animate-in { animation-delay: 0.2s; }
.accordion-content .items:nth-child(3).animate-in { animation-delay: 0.3s; }
.accordion-content .items:nth-child(4).animate-in { animation-delay: 0.4s; }
.accordion-content .items:nth-child(5).animate-in { animation-delay: 0.5s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .accordion-header {
    padding: 12px 16px;
  }
  
  .items-summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .items-total {
    width: 100%;
    justify-content: space-between;
  }
  
  .items-count span {
    font-size: 13px;
  }
  
  .items-count-text {
    font-size: 13px;
  }
  
  .items-total-price {
    font-size: 15px;
  }
}