/* Styles for contact-fox-billing.js (fox mode only). Scoped to ids and classes that exist only in markup the script adds,
 * plus the two link-buttons on the landing page dialogs. Colours and sizes come from the page's own variables. */
#fox-checkout-card{margin:24px 0 0}
#fox-checkout-card[hidden]{display:none!important}
#fox-checkout-card[data-tone="ok"]{border-color:var(--primary)}
#fox-checkout-card[data-tone="warn"]{border-color:#e0a458}
.fox-checkout-text{margin:0;font-size:16px;line-height:1.6;overflow-wrap:anywhere}
#fox-checkout-card .button{margin-top:14px}

.settings-card.fox-wide{grid-column:1/-1}
.fox-payments{margin-top:14px;overflow-x:auto}
.fox-payment-table{width:100%;border-collapse:collapse}
.fox-payment-table th,.fox-payment-table td{text-align:left;padding:11px 10px;border-bottom:1px solid var(--line,#31445f);font-size:14px;vertical-align:top}
.fox-payment-table th{font-size:12px;font-weight:500;color:var(--muted)}
.fox-payment-table td:nth-child(3),.fox-payment-table td:nth-child(4){white-space:nowrap}
.fox-pay-status[data-status="paid"]{color:var(--primary)}
.fox-pay-status[data-status="unknown"],.fox-pay-status[data-status="refused"]{color:#e0a458}
.fox-more{margin-top:14px}
#fox-card-note{margin-top:16px}

.fox-details-form .fox-field{margin-top:14px}
.fox-details-form .fox-field label{display:block;margin-bottom:6px}
.fox-details-form textarea{min-height:84px;resize:vertical}
.fox-details-form input[readonly],.fox-details-form textarea[readonly]{opacity:.85}

#billing-pack-status,#custom-credits-status{min-height:1.4em}
#billing-pack-continue,#custom-credits-continue{width:100%}
#fox-buy-link,#fox-custom-buy-link{display:flex;justify-content:center;align-items:center;width:100%;box-sizing:border-box;text-decoration:none}
#fox-buy-link[aria-disabled="true"],#fox-custom-buy-link[aria-disabled="true"]{opacity:.5;cursor:not-allowed}

@media(max-width:700px){
  .fox-payment-table thead{display:none}
  .fox-payment-table,.fox-payment-table tbody,.fox-payment-table tr,.fox-payment-table td{display:block;width:100%;box-sizing:border-box}
  .fox-payment-table tr{padding:10px 0;border-bottom:1px solid var(--line,#31445f)}
  .fox-payment-table td{border:0;padding:3px 0;display:flex;justify-content:space-between;gap:14px;text-align:right}
  .fox-payment-table td::before{content:attr(data-label);color:var(--muted);text-align:left;flex:none}
}

html[data-contact-mode="fox"] :is(#billing-pack-note,#custom-credits-note){margin:14px 0 16px}
.fox-details-form textarea{height:96px;min-height:84px}
