/* FixPay / FixPayAct, 06.11.2026. Scoped to payment lists and sheets. */
.payments-page { max-width: 1080px; }
.payments-page .payment-waiting-amount { color: #DDB0E6; }
.payments-page .payment-debt-amount { color: #EE8A80; }
.payment-filters { display: flex; gap: 6px; overflow-x: auto; margin: 14px 0; padding: 3px 0 5px; scrollbar-width: thin; scrollbar-color: #3A463F transparent; }
.payment-filter { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #2A342E; border-radius: 22px; color: #C9D1CB; font-size: 14px; font-weight: 700; white-space: nowrap; }
.payment-filter.is-empty { color: #8E9A91; }
.payment-filter[aria-current] { background: #EDEFE6; color: #0B100D; border-color: #EDEFE6; }
.payment-filter:hover { text-decoration: none; border-color: #8E9A91; }
.payment-section { margin-bottom: 16px; }
.payment-section-heading { display: flex; align-items: baseline; gap: 8px; margin: 0 2px 6px; }
.payment-section-heading h2 { margin: 0; font-size: 15px; }
.payment-section-heading > span { color: #8E9A91; font-size: 13px; }
.payment-row { display: flex; align-items: center; gap: 12px; padding: 8px 12px 12px 14px; border: 1px solid #1E2621; border-radius: 16px; background: #121915; margin-bottom: 6px; }
.payment-row-content { flex: 1; min-width: 0; }
.payment-player-name { display: inline-flex; align-items: center; min-height: 44px; color: #EDEFE6; font-size: 15px; font-weight: 700; text-decoration: underline; text-decoration-color: #3A463F; text-underline-offset: 3px; overflow-wrap: anywhere; }
.payment-row-amount { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.payment-row-detail { margin: 3px 0 0; font-size: 13px; line-height: 1.45; color: #8E9A91; overflow-wrap: anywhere; }
.payment-row-action { flex: 0 0 auto; min-height: 44px; padding: 8px 14px; font-size: 14px; }
.payment-hidden-link { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 48px; border-top: 1px solid #1E2621; color: #8E9A91; font-size: 14px; font-weight: 700; padding: 8px 4px; }
.payment-sheet .dialog-top { align-items: flex-start; gap: 10px; }
.payment-dialog-heading { flex: 1; min-width: 0; }
.payment-sheet h2 { font-size: 17px; }
.payment-sheet h2 .payment-player-name { font-size: inherit; }
.payment-sheet .close { flex: 0 0 44px; width: 44px; min-height: 44px; border-radius: 14px; background: #1B231E; color: #8E9A91; }
.payment-dialog-subtitle { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; font-size: 15px; }
.payment-status { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 14px; font-size: 13px; font-weight: 700; color: #A9B4AC; background: #1E2621; }
.payment-status-waiting { color: #DDB0E6; background: #2A1F2E; }
.payment-status-debt { color: #EE8A80; background: #2A1515; }
.payment-status-last, .payment-status-expiring { color: #F0A73A; background: #2E2312; }
.payment-sheet .payment-dialog-actions { display: grid; gap: 8px; }
.payment-sheet form { margin: 0; }
.payment-sheet .stack { gap: 14px; }
.payment-sheet button:not(.close), .payment-sheet .button-link { width: 100%; min-height: 52px; margin: 0; font-size: 15px; }
.payment-sheet button.primary { min-height: 56px; }
.payment-sheet .payment-option { min-height: 56px; justify-content: space-between; text-align: left; padding: 8px 14px; }
.payment-option > span:first-child { min-width: 0; }
.payment-option small { font-size: 12px; font-weight: 400; line-height: 1.4; margin-top: 2px; }
.payment-option.primary small { color: #3A3A10; }
.payment-option strong { flex: 0 0 auto; font-variant-numeric: tabular-nums; }
.payment-status-heading { margin: 8px 2px 0; font-size: 13px; font-weight: 700; color: #8E9A91; }
.payment-sheet .payment-card-link { margin-top: 4px; background: transparent; }
.payment-sheet > .stack + button { margin-top: 8px; }
@media (max-width: 760px) {
  .payments-page .page-header { margin-bottom: 12px; }
  .payments-page h1 { font-size: 22px; }
  .payments-page .payment-totals { margin-bottom: 12px; }
  .payment-totals .panel { padding: 10px 12px; }
  .payment-totals .big-number { font-size: 17px; }
  .payment-filters { margin: 0 -15px 14px; padding: 3px 15px 5px; }
  .payment-sheet { padding: 16px 16px max(28px, env(safe-area-inset-bottom)); background: #141B17; }
  .payment-sheet::before { content: ""; display: block; width: 40px; height: 4px; margin: -6px auto 8px; background: #2E3A33; border-radius: 4px; }
}
