#edd_checkout_cart tr, th, td {
    border: inherit !important;
}
/* ===== Table wrapper ===== */
#edd_user_history {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  font-family: Inter, system-ui, sans-serif;
}

/* ===== Table head ===== */
#edd_user_history thead {
  background: #EFF3F6;
}

#edd_user_history thead th {
  padding: 19px 20px;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
}

/* Rounded header corners */
#edd_user_history thead th:first-child {
  border-top-left-radius: 16px;
}

#edd_user_history thead th:last-child {
  border-top-right-radius: 16px;
}

/* ===== Table rows ===== */
#edd_user_history tbody tr {
  transition: background 0.2s ease;
}

#edd_user_history tbody tr:not(:last-child) td {
  border-bottom: 1px solid #e5e7eb;
}

/* ===== Table cells ===== */
#edd_user_history td {
  padding: 8px 20px;
  font-size: 15px;
  color: #374151;
  vertical-align: middle;
  border-bottom: 1px solid rgba(228, 228, 231, 1) !important;
}

/* ===== Order ID ===== */
#edd_user_history .edd_purchase_id {
  font-weight: 500;
  color: #111827;
}

/* ===== Price ===== */
#edd_user_history .edd_purchase_amount {
  font-weight: 500;
  color: #111827;
}

/* ===== Status badge ===== */
#edd_user_history .edd_purchase_status .complete {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: #22c55e;
  background: #f0fdf4;
}

/* (optional: future statuses) */
#edd_user_history .edd_purchase_status .pending {
  color: #f59e0b;
  background: #fffbeb;
}

#edd_user_history .edd_purchase_status .failed {
  color: #ef4444;
  background: #fef2f2;
}

/* ===== Order info links ===== */
#edd_user_history .edd_purchase_details a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 16px;
  color: var(--action);
  text-decoration: none;
  transition: color 0.2s ease;
}

#edd_user_history .edd_purchase_details a:hover {
  color: #2563eb;
}

/* ===== Mobile responsive ===== */
@media (max-width: 768px) {
  #edd_user_history thead {
    display: none;
  }

  #edd_user_history,
  #edd_user_history tbody,
  #edd_user_history tr,
  #edd_user_history td {
    display: block;
    width: 100%;
  }

  #edd_user_history tr {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
  }

  #edd_user_history td {
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
  }

  #edd_user_history td::before {
    content: attr(class);
    font-weight: 500;
    color: #6b7280;
  }
}

.wcs-order-history h2 {
    text-align: start;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.33;
    color: var(--black);
}
.wcs-order-history p {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--black-2);
}
[data-elementor-type="wp-page"] {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.wcs-order-history .e-con-inner{
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
.wcs-order-history-view-details {
    display: flex;
    align-items: center;
    gap: 8px;
}
