/* Club payments bolt-on (Lee-directed 2026-11-08). Panels injected by
   payments.js into the Settings view (Stripe Connect) and the Events view
   (my event payments + officer door list). Plain card styling in the
   console's own idiom; no layout shifts to bundle content. */

.pay-panel {
  border: 1px solid #ddd5c7;
  border-radius: 12px;
  background: #fffdf8;
  padding: 16px 18px;
  margin: 16px 0;
  max-width: 880px;
}

.pay-panel h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.pay-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #f5c542;
  color: #4a3800;
  border-radius: 999px;
  padding: 2px 8px;
  vertical-align: middle;
}

.pay-badge-live {
  background: #1d7a3a;
  color: #fff;
}

.pay-note {
  color: #6b6257;
  font-size: 0.88rem;
  margin: 6px 0;
}

.pay-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin: 10px 0;
}

.pay-btn {
  border: 1px solid #8c1d18;
  background: #b3231b;
  color: #fff;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 600;
  cursor: pointer;
}

.pay-btn-quiet {
  background: #fff;
  color: #8c1d18;
}

.pay-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #eee5d5;
  flex-wrap: wrap;
}

.pay-item-main {
  display: flex;
  flex-direction: column;
  min-width: 220px;
  flex: 1;
}

.pay-item-sub {
  color: #6b6257;
  font-size: 0.85rem;
}

.pay-item-actions {
  display: flex;
  gap: 8px;
}

.pay-chip {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 10px;
  background: #e8e2d6;
  color: #5c554b;
}

.pay-chip-paid { background: #dcefe0; color: #1d7a3a; }
.pay-chip-pay_at_door { background: #fdf0d3; color: #8a6d00; }
.pay-chip-unpaid { background: #e8e2d6; color: #5c554b; }
.pay-chip-refunded { background: #f6dcd8; color: #8c1d18; }
.pay-chip-pending { background: #fdf0d3; color: #8a6d00; }
.pay-chip-partially_refunded { background: #fbe3d3; color: #8c4a18; }

.pay-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.pay-table th,
.pay-table td {
  text-align: left;
  padding: 6px 8px;
  border-top: 1px solid #eee5d5;
}

.pay-panel select {
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #cbbfa9;
  max-width: 100%;
}

/* In-person door (Breaks #17): how a fee was paid, the mark-paid
   controls, and the cancelled-after-paying section of the door list. */
.pay-how {
  display: block;
  font-size: 0.82rem;
  opacity: 0.78;
  margin-bottom: 4px;
}

.pay-mark {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.pay-cancelled {
  margin-top: 14px;
}
