/* ===================================
   ORDER HISTORY
=================================== */

.orders {
  padding: 60px 0;
}

/* ===================================
   SEARCH BOX
=================================== */

.order-search {
  display: flex;

  align-items: center;

  justify-content: flex-start;

  gap: 15px;

  margin: 30px 0;

  width: 100%;
}

.order-search input {
  width: 700px; /* Lebih panjang */

  max-width: 100%;

  height: 52px;

  padding: 0 20px;

  border: 2px solid #ececec;

  border-radius: 12px;

  font-size: 16px;

  font-family: inherit;

  outline: none;

  transition: var(--transition);

  background: #fff;
}

.order-search input:focus {
  border-color: var(--primary);
}

.order-search .btn {
  height: 52px;

  padding: 0 28px;

  font-size: 15px;

  display: flex;

  align-items: center;

  justify-content: center;
}

/* ===================================
   ORDER CARD
=================================== */

.order-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.order-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.order-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.order-card p {
  margin: 8px 0;
  color: #555;
  line-height: 1.6;
}

.order-card .btn {
  display: inline-block;
  margin-top: 18px;
}

/* ===================================
   RESPONSIVE
=================================== */

@media (max-width: 768px) {
  .order-search {
    flex-direction: column;
    align-items: stretch;
  }

  .order-search input {
    width: 480px;

    max-width: 100%;

    padding: 15px 18px;

    border: 2px solid #ececec;

    border-radius: 12px;

    font-size: 15px;

    font-family: inherit;

    outline: none;

    transition: var(--transition);
  }

  .order-search .btn {
    padding: 15px 22px;

    font-size: 14px;

    min-width: 110px;
  }
}
/* ===================================
   DETAIL BUTTON
=================================== */

.order-card .btn {
  padding: 10px 22px;

  font-size: 14px;
}
/* ===================================
   ORDER STATUS
=================================== */

.status {
  display: inline-block;

  padding: 6px 14px;

  border-radius: 30px;

  font-size: 14px;

  font-weight: 600;

  color: #fff;
}

.status.pending {
  background: #ff9800;
}

.status.diproses {
  background: #2196f3;
}

.status.dikirim {
  background: #9c27b0;
}

.status.selesai {
  background: #4caf50;
}

.status.dibatalkan {
  background: #f44336;
}
/* ===================================
CUSTOMER ORDER PACKAGE
=================================== */

.shipping-detail-title {
  margin-top: 30px;
  margin-bottom: 18px;
}

/* ... seluruh kode yang Anda kirim ... */
/* ===================================
ORDER PACKAGE SUMMARY
=================================== */

.order-package-summary {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 12px 14px;

  margin: 15px 0;

  border: 1px solid #e8e8e8;
  border-radius: 12px;

  background: #fafafa;
}

.order-package-summary > span {
  font-size: 24px;
}

.order-package-summary > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.order-package-summary strong {
  font-size: 14px;
}

.order-package-summary small {
  font-size: 12px;
  opacity: 0.7;
}

.order-package-old {
  opacity: 0.75;
}

.order-payment-status { display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.order-payment-status.is-paid { background: #eaf8ef; color: #167443; }
.order-payment-status.is-unpaid { background: #fff6dc; color: #8b6500; }
.order-pay-btn { background: #6d5dfc; }
.order-search { display: grid; grid-template-columns: minmax(240px,1fr) minmax(150px,220px); gap: 10px; }
.order-search select { padding: 12px; border: 1px solid #ddd; border-radius: 10px; font: inherit; background: #fff; }
@media (max-width: 600px) { .order-search { grid-template-columns: 1fr; } }
