/* Read / Listen buttons */
a.hdp-stream-btn {
  display: inline-block;
  margin-right: 8px;
  padding: 5px 11px;
  border: 1px solid #1f4e79;
  border-radius: 4px;
  background: #1f4e79 !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none !important;
  white-space: nowrap;
  vertical-align: middle;
}
a.hdp-stream-btn:hover,
a.hdp-stream-btn:focus-visible { background: #2c6aa3 !important; }
.hdp-stream-cell { white-space: nowrap; }

/* Receipt page: FluentCart's downloads table clips the second link without this. */
.fct-thank-you-page .fct-thank-you-page-body td.fct-thank-you-page-order-items-downloads-button.hdp-stream-cell {
  width: 180px !important;
  min-width: 180px !important;
  text-align: right !important;
}
@media (max-width: 600px) {
  .fct-thank-you-page .fct-thank-you-page-body td.fct-thank-you-page-order-items-downloads-button.hdp-stream-cell {
    width: 90px !important;
    min-width: 90px !important;
    white-space: normal !important;
  }
  .fct-thank-you-page .fct-thank-you-page-body a.hdp-stream-btn { margin: 0 0 6px; }
}

/* The account Downloads table needs room for two buttons side by side. */
.hdp-stream-table col:last-child { width: 220px !important; min-width: 220px !important; }
@media (max-width: 600px) {
  .hdp-stream-table col:last-child { width: 108px !important; min-width: 108px !important; }
  .hdp-stream-table .hdp-stream-cell { white-space: normal; }
  .hdp-stream-table a.hdp-stream-btn { margin: 0 0 6px; }
}

/* Receipt page: dark text on the white order card. */
.fct-thank-you-page .fct-thank-you-page-body,
.fct-thank-you-page .fct-thank-you-page-body *:not(.hdp-stream-btn) {
  color: #1d2430 !important;
  -webkit-text-fill-color: #1d2430;
  opacity: 1 !important;
}
.fct-thank-you-page .fct-thank-you-page-body a:not(.hdp-stream-btn),
.fct-thank-you-page .fct-thank-you-page-body a:not(.hdp-stream-btn) * {
  color: #174a7c !important;
  -webkit-text-fill-color: #174a7c;
  text-decoration: underline;
}
.fct-thank-you-page .fct-thank-you-page-body a.hdp-stream-btn { -webkit-text-fill-color: #fff; }
.fct-thank-you-page .fct-thank-you-page-body .fct-thank-you-page-order-items-list-price-original,
.fct-thank-you-page .fct-thank-you-page-body .fct-thank-you-page-order-items-list-price-original * {
  color: #565865 !important;
  -webkit-text-fill-color: #565865;
}
/* "Download Receipt" sits below the card on the dark page, so it stays light. */

/* Customer account: items that were light text on a light background. */
.fct-customer-nav-item.active_customer_menu .fct-customer-nav-link,
.fct-customer-nav-item.active_customer_menu .fct-customer-nav-link *,
.fct-customer-navs .fct-customer-nav-link:hover,
.fct-customer-navs .fct-customer-nav-link:hover * {
  color: #17324d !important;
  -webkit-text-fill-color: #17324d !important;
}
.fct-customer-nav-item.active_customer_menu .fct-customer-nav-link svg,
.fct-customer-nav-item.active_customer_menu .fct-customer-nav-link svg path,
.fct-customer-navs .fct-customer-nav-link:hover svg,
.fct-customer-navs .fct-customer-nav-link:hover svg path,
.fct-customer-dashboard-navs-wrap button svg,
.fct-customer-dashboard-navs-wrap button svg path {
  fill: #17324d !important;
}
/* Status labels such as "Completed" keep FluentCart's own dark text colour. */
span.fct-badge { -webkit-text-fill-color: currentColor !important; }
