#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: 13px 20px;
  font-size: 15px;
  color: #374151;
  vertical-align: middle;
  border-bottom: 1px solid rgba(228, 228, 231, 1);
}

/* ===== 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(--black);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.wcs-order-history h2 {
    text-align: start;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.33;
    color: var(--black);
    margin-bottom: 10px;
}
.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;
}

.wcf-tool-dottted {
    display: inline-block;
    line-height: 0;
    position: relative;
    top: 5px;
}

td.wcs-license-upgrades-info {
    display: flex;
    gap: 15px;
}
table#edd_sl_license_upgrades {
  background-color: transparent;
    padding-bottom: 15px;
    thead{
      background-color: rgba(239, 243, 246, 1);
    }
}
table#edd_sl_license_upgrades tbody {
    background-color: var(--white);
    td{
      padding: 18px 20px;
      border-bottom: 1px solid #e5e7eb !important;
      &::before{
      @media (max-width: 768px) {
        display: none;
      }
      }
      @media (max-width: 768px) {
        border-bottom: 1px solid transparent !important;
        justify-content: flex-start;
        flex-wrap: wrap;
        padding: 10px 0px;
      }
    }
}

/* ===== 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%;
    padding: 10px 0;
  }

  #edd_user_history tr {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
    @media (max-width:767px){
      border: 0;
    }
  }
  #edd_user_history td {
    background-color: var(--white);
    margin-bottom: 10px;
    padding: 14px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    border-radius: 10px;
  }
}
.edd-subscription-manage-tooltip-popup {
    background-color: rgba(239, 243, 246, 1);
    border-radius: 16px;
    padding: 5px;
    a{
        display: flex;
        flex-direction: column;
        background-color: #fff;
        padding: 5px 0;
        margin: 5px;
        border-radius: 16px;
    }
}
.wcs-main-content .container{
  @media (max-width: 768px) {
    padding-left: 0;
    padding-right: 0;
  }
  .edd_download_download_files{
    display: flex;
  }
}