/* Scoped styles for Orders Page based on Figma */
.order-card {
  border-bottom: 1px solid #e7eef1;
  padding-bottom: 30px;
  margin-bottom: 30px;
  position: relative;
}

.order-card:last-child {
  border-bottom: none;
}

.order-id-label {
  font-weight: 500;
  font-size: 12px;
  color: #303030;
  display: block;
}

.order-id-value {
  font-weight: 700;
  font-size: 14px;
  color: #303030;
  margin-bottom: 10px;
}

.order-meta-label {
  font-weight: 700;
  font-size: 14px;
  color: #303030;
  display: block;
}

.order-date {
  font-weight: 500;
  font-size: 12px;
  color: #303030;
  /* margin-bottom: 5px; */
}

.order-delivery-date {
  font-weight: 500;
  font-size: 12px;
  color: #303030;
  margin-bottom: 5px;
}

.order-service-summary {
  font-weight: 500;
  font-size: 13px;
  color: #303030;
  margin-bottom: 2px;
}

.order-type-label,
.order-valid-label {
  font-weight: 500;
  font-size: 12px;
  color: #303030;
  margin-bottom: 2px;
  display: block;
}

.btn-booking-details {
  background: #ffffff;
  border: 1px solid #00a5f1;
  border-radius: 35px;
  font-weight: 500;
  font-size: 12px;
  color: #00a5f1;
  padding: 4px 15px;
  position: absolute;
  top: 0;
  right: 0;
  text-decoration: none;
}

.btn-booking-details:hover {
  background: #e6f8ff;
  color: #00a5f1;
}

/* Product Grid */
.order-products-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.order-product-card {
  width: 158px;
  height: 100px;
  background: #ffffff;
  border: 1px solid #e7eef1;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Store Specific Product Card (60x60) */
.order-product-card.store-product-card {
  width: 60px;
  height: 60px;
  border-radius: 8px;
}

.order-return-msg-box {
  background: #e6f8ff;
  border-radius: 10px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

.order-return-msg-icon {
  width: 18px;
  height: 18px;
  background: #00a5f1;
  border-radius: 50%;
  opacity: 0.3;
}

.order-return-msg-text {
  font-weight: 500;
  font-size: 14px;
  color: #303030;
}

.order-product-overlay-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 10px;
  font-weight: 500;
  padding: 4px 10px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-status-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 8px;
  border-radius: 35px;
  font-size: 11px;
  font-weight: 500;
}

.status-ongoing {
  background: #e7f9ed;
  color: #00b04f;
}
.status-completed {
  background: #e7f9ed;
  color: #00b04f;
}
.status-delivered {
  background: #e7f9ed;
  color: #00b04f;
}
.status-wip {
  background: #fff8e1;
  color: #fbc02d;
}
.status-picked-up {
  background: #e0f2f1;
  color: #00796b;
}
.status-early-return {
  background: #ffe0e0;
  color: #f60004;
}
.status-cancelled {
  background: #ffe0e0;
  color: #f60004;
}

/* Tabs UI */
/* .orders-page-container {
  max-width: 1320px;
}

.orders-sidebar-col {
  flex: 0 0 300px;
  max-width: 300px;
}

.orders-main-col {
  flex: 1 1 0%;
  max-width: calc(100% - 300px);
}

.orders-tabs-container {
  margin-bottom: 25px;
  width: 100%;
} */

@media (min-width: 768px) {
  .orders-tabs-container {
    width: 35%;
    min-width: 340px;
    margin-bottom: 0;
  }
}

.orders-tabs {
  display: flex;
  background: #e6f8ff;
  border-radius: 50px;
  padding: 5px;
  width: 100%;
  flex-wrap: nowrap;
}

.orders-tab {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 50px;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 500;
  color: #303030;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.orders-tab.active {
  background: #303030;
  color: #ffffff;
}

/* Page Title with Arrow */
.profile-main-title {
  font-weight: 500;
  font-size: 20px;
  color: #303030;
}

@media (min-width: 768px) {
  .orders-sidebar-col.profile-left-col {
    padding: 18px 24px 18px 18px;
  }

  .orders-main-col.pl-custom {
    padding-left: 28px;
    padding-top: 15px;
  }
}

@media (max-width: 991.98px) {
  .orders-sidebar-col {
    flex: 0 0 auto;
    max-width: none;
  }

  .orders-main-col {
    flex: 0 0 auto;
    max-width: none;
  }
}
