/* =========================
   RIWAYAT PEMBELIAN
========================= */

/* Hero */

.purchase-history-hero {
    background:
      linear-gradient(90deg, #1e362b 0%, #1c3429 45%, rgba(28,42,41,0.35) 100%),
      url("../images/hero-catalog-image.png");
    background-size: cover;
    background-position: center right;
    padding: 30px 0 30px 10px;
    margin-bottom: 30px;
  }
  
  .purchase-hero-content {
    max-width: 1200px;
  }
  
  .purchase-hero-content h1 {
    font-family: 'Bitter', serif;
    font-size: 50px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 10px;
  }
  
  .purchase-hero-content span {
    display: block;
    width: 235px;
    height: 6px;
    background-color: #e7a22b;
    margin-bottom: 10px;
  }
  
  .purchase-hero-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 10px;
  }
  
  
  /* Wrapper List */
  
  .purchase-history-list {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  
  /* Card Item */
  
  .purchase-history-item {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    border-left: 5px solid #70998A;
    box-shadow:
      0 4px 10px rgba(0,0,0,0.06),
      0 12px 28px rgba(0,0,0,0.08);
  }
  
  
  /* Status Badge */
  
  /* Status Pembelian */

.purchase-status.status-pending {
    background: #70998A;
    color: #fff;
  }
  
  .purchase-status.status-approved {
    background: #70998A;
    color: #fff;
  }
  
  .purchase-status.status-completed {
    background: #70998A;
    color: #fff;
  }
  
  .purchase-status.status-cancelled {
    background: #70998A;
    color: #fff;
  }

  .purchase-status {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #70998A;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
  }
  
  
  /* Judul Arsip */
  
  .purchase-history-main h3 {
    font-family: 'Bitter', serif;
    font-size: 22px;
    font-weight: 800;
    color: #1e362b;
    margin-bottom: 8px;
  }
  
  
  /* Tanggal Pembelian */
  
  .purchase-history-date {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
  
    font-family: 'Bitter', serif;
    font-size: 12px;
    font-weight: 500;
    color: #1e362b;
  }
  
  .purchase-history-date i {
    font-size: 12px;
    color: #1e362b;
  }
  
  .purchase-history-date span {
    font-family: 'Bitter', serif;
    font-size: 12px;
    font-weight: 500;
    color: #1e362b;
  }
  
  
  /* Detail Pembeli */
  
  .purchase-history-detail {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgb(30, 54, 43, 0.3);
  }
  
  .purchase-history-detail p {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: #1e362b;
    margin-bottom: 5px;
  }
  
  .purchase-history-detail strong {
    font-weight: 700;
  }

  /* Download Area */

.purchase-download-area {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgb(30, 54, 43, 0.3);
  }
  
  .purchase-download-area a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  
    padding: 8px 14px;
    border-radius: 8px;
  
    background: #c03a3a;
    color: #fff;
  
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
  
    transition: 0.3s ease;
  }
  
  .purchase-download-area a:hover {
    background: #741717;
    color: #fff;
  }
  
  
  /* Pesan Kosong / Gagal / Belum Login */
  
  .purchase-history-message {
    max-width: 600px;
    margin: 40px auto;
    padding: 24px;
    text-align: center;
    background: #fff;
    border-radius: 14px;
    color: #1e362b;
  }
  
  .purchase-history-message h3 {
    font-family: 'Bitter', serif;
    font-size: 22px;
    font-weight: 800;
    color: #1e362b;
    margin-bottom: 8px;
  }
  
  .purchase-history-message p {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #1e362b;
    margin: 0;
  }