._container_buh2s_1 {
  width: 100%;
}
._tableContainer_buh2s_7 {
  max-height: calc(100vh - 185px);
  overflow-y: scroll;
}

/* ── Status badges ── */
._statusBadge_buh2s_19 {
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}
._statusActive_buh2s_31  { background-color: #e6f7e6; color: #2d7d2d; }
._statusSettled_buh2s_33 { background-color: #e6e6f7; color: #2d2d7d; }
._statusCancelled_buh2s_35 { background-color: #ffe6e6; color: #cc0000; }
._statusPendingCancellation_buh2s_37 { background-color: #fff3e0; color: #e65100; }

._filterBtn_buh2s_41 {
  cursor: pointer;
  padding: 6px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 400;
  background: #fff;
}
._filterBtnActive_buh2s_59 {
  border: none;
  font-weight: 600;
}

/* ── Refund Management tabs ── */
._refundTab_buh2s_71 {
  cursor: pointer;
  padding: 8px 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  background: #fff;
  color: #555;
  transition: all 0.2s ease;
}
._refundTab_buh2s_71:hover {
  background: #f5f5f5;
  border-color: #bbb;
}
._refundTabActive_buh2s_101 {
  font-weight: 600;
  border: none;
}
._refundTabActive_buh2s_101[data-status="pending_cancellation"] {
  background-color: #fff3e0;
  color: #e65100;
}
._refundTabActive_buh2s_101[data-status="cancelled"] {
  background-color: #ffe6e6;
  color: #cc0000;
}
._refundTabActive_buh2s_101[data-status="all"] {
  background-color: #e3f2fd;
  color: #1565c0;
}

/* ── Collect page layout ── */
._collectPage_buh2s_137 {
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
}
._pageHeader_buh2s_147 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

/* ── Student search ── */
._searchWrapper_buh2s_163 {
  position: relative;
  margin-bottom: 20px;
}
._searchInput_buh2s_171 {
  width: 100%;
  padding: 10px 16px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  box-sizing: border-box;
}
._searchInput_buh2s_171:focus { border-color: #3d53cd; }
._searchDropdown_buh2s_191 {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 100;
  max-height: 300px;
  overflow-y: auto;
}
._searchItem_buh2s_217 {
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
}
._searchItem_buh2s_217:hover { background-color: #f0f4ff; }
._searchItem_buh2s_217:last-child { border-bottom: none; }
._searchItemName_buh2s_231 { font-weight: 600; font-size: 14px; }
._searchItemMeta_buh2s_233 { font-size: 12px; color: #666; margin-top: 2px; }
._noResults_buh2s_235 { padding: 16px; text-align: center; color: #999; font-size: 14px; }

/* ── Summary card ── */
._summaryCard_buh2s_241 {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  background: #fff;
}
._summaryCard_buh2s_241 h3 {
  margin: 0 0 12px 0;
  font-size: 15px;
  color: #333;
}
._summaryGrid_buh2s_265 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
._summaryItem_buh2s_275 label {
  font-size: 12px;
  color: #666;
  display: block;
}
._summaryItem_buh2s_275 span {
  font-size: 15px;
  font-weight: 600;
}

/* ── Totals row ── */
._totalsRow_buh2s_297 {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
._totalCard_buh2s_307 {
  flex: 1;
  padding: 14px 16px;
  border-radius: 8px;
  text-align: center;
}
._totalCard_buh2s_307 label { font-size: 12px; color: #555; display: block; margin-bottom: 4px; }
._totalCard_buh2s_307 span { font-size: 20px; font-weight: 700; }
._totalBlue_buh2s_323  { background: #e3f2fd; }
._totalGreen_buh2s_325 { background: #e8f5e9; }
._totalOrange_buh2s_327 { background: #fff3e0; }
._totalRed_buh2s_329   { background: #ffebee; }
._totalGrey_buh2s_331  { background: #f5f5f5; }

/* ── Fee heads payment table ── */
._feeHeadsTable_buh2s_337 {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
._feeHeadsTable_buh2s_337 th {
  background: #f5f5f5;
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
  color: #444;
  border-bottom: 2px solid #ddd;
}
._feeHeadsTable_buh2s_337 td {
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}
._feeHeadsTable_buh2s_337 tr:hover td { background: #fafafa; }
._paymentInput_buh2s_375 {
  width: 120px;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  text-align: right;
}
._paymentInput_buh2s_375:focus { border-color: #3d53cd; outline: none; }
._paymentInput_buh2s_375:disabled { background: #f5f5f5; color: #999; cursor: not-allowed; }
._maxBtn_buh2s_395 {
  margin-left: 6px;
  padding: 4px 8px;
  font-size: 11px;
  background: #e3f2fd;
  color: #1565c0;
  border: 1px solid #90caf9;
  border-radius: 4px;
  cursor: pointer;
}
._maxBtn_buh2s_395:hover { background: #bbdefb; }

/* ── Action buttons on row ── */
._rowActions_buh2s_421 {
  display: flex;
  gap: 6px;
}
._actionBtn_buh2s_429 {
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 4px;
  cursor: pointer;
  border: none;
}
._discountBtn_buh2s_443 { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
._discountBtn_buh2s_443:hover { background: #c8e6c9; }
._fineBtn_buh2s_447 { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }
._fineBtn_buh2s_447:hover { background: #ffcdd2; }

/* ── Payment form ── */
._paymentForm_buh2s_455 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
._fieldGroup_buh2s_467 { display: flex; flex-direction: column; gap: 4px; }
._fieldLabel_buh2s_469 { font-size: 13px; font-weight: 500; color: #444; }
._textArea_buh2s_471 {
  width: 100%;
  min-height: 96px;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font: inherit;
  resize: vertical;
  box-sizing: border-box;
}

._textArea_buh2s_471:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
._selectInput_buh2s_503 {
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}
._textInput_buh2s_515 {
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}
._textInput_buh2s_515:focus, ._selectInput_buh2s_503:focus { border-color: #3d53cd; outline: none; }

/* ── Modal overlay ── */
._modalOverlay_buh2s_533 {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
._modalBox_buh2s_551 {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  width: 400px;
  max-width: 95vw;
}
._modalBox_buh2s_551 h3 { margin: 0 0 16px 0; font-size: 16px; }
._modalActions_buh2s_567 {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

/* ── Transaction history ── */
._txType_buh2s_583 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 10px;
}
._txCredit_buh2s_597   { background: #e8f5e9; color: #2e7d32; }
._txDiscount_buh2s_599 { background: #e3f2fd; color: #1565c0; }
._txFine_buh2s_601     { background: #ffebee; color: #c62828; }
._txRefund_buh2s_603   { background: #fff3e0; color: #e65100; }

/* ── List page ── */
._collectBtn_buh2s_609 {
  padding: 4px 12px;
  font-size: 12px;
  background: #3d53cd;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
._collectBtn_buh2s_609:hover { background: #2c3da0; }

/* ── Utilities ── */
._mt16_buh2s_633 { margin-top: 16px; }
._mt20_buh2s_635 { margin-top: 20px; }
._mb12_buh2s_637 { margin-bottom: 12px; }
._emptyState_buh2s_639 { text-align: center; padding: 40px; color: #999; }
._emptyNote_buh2s_641 { font-size: 13px; color: #aaa; }
._balanceRed_buh2s_643   { color: #c62828; font-weight: 700; }
._balanceGreen_buh2s_645 { color: #2e7d32; font-weight: 700; }
._fullWidth_buh2s_647 { width: 100%; box-sizing: border-box; }
._headingNoMargin_buh2s_649 { margin: 0; }

/* ── Text utilities ── */
._textRight_buh2s_655 { text-align: right; }
._textGreen_buh2s_657 { color: #2e7d32; }
._textSmall_buh2s_659 { font-size: 12px; }
._textSmallGrey_buh2s_661 { font-size: 12px; color: #666; }
._textCapitalize_buh2s_663 { text-transform: capitalize; }

/* ── Assignment status tags ── */
._tagActive_buh2s_669   { color: #2e7d32; margin-left: 8px; }
._tagInactive_buh2s_671 { color: #c62828; margin-left: 8px; }

/* ── Loading / info text ── */
._loadingText_buh2s_677  { padding: 20px; color: #666; }
._modalInfoText_buh2s_679 { font-size: 13px; color: #555; margin: 0 0 12px 0; }

/* ── Fee heads section header ── */
._feeHeadsHeader_buh2s_685 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

/* ── Pay-all button (larger maxBtn variant) ── */
._maxBtnLg_buh2s_701 {
  padding: 6px 14px;
  font-size: 13px;
}

/* ── Collect actions row ── */
._collectActions_buh2s_713 {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}
._paymentHint_buh2s_725 { font-size: 13px; color: #666; }

/* ── Settled banner ── */
._settledBanner_buh2s_731 {
  padding: 20px;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: 8px;
  margin-bottom: 16px;
  text-align: center;
  color: #2e7d32;
  font-weight: 600;
  font-size: 16px;
}

/* ── Cancellation banners ── */
._pendingCancelBanner_buh2s_757 {
  border: 2px solid #e65100;
  background: #fff3e0;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 16px;
}
._pendingCancelBanner_buh2s_757 h3 {
  margin: 0 0 8px 0;
  color: #e65100;
  font-size: 16px;
}
._pendingCancelBanner_buh2s_757 p {
  margin: 4px 0;
  font-size: 13px;
  color: #555;
}
._cancelledBanner_buh2s_791 {
  border: 2px solid #b0bec5;
  background: #eceff1;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 16px;
}
._cancelledBanner_buh2s_791 h3 {
  margin: 0 0 8px 0;
  color: #546e7a;
  font-size: 16px;
}
._cancelledBanner_buh2s_791 p {
  margin: 4px 0;
  font-size: 13px;
  color: #666;
}
._refundSummaryGrid_buh2s_825 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin: 12px 0;
}
._refundSummaryCard_buh2s_837 {
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  background: #fafafa;
}
._refundSummaryCard_buh2s_837 label {
  font-size: 11px;
  color: #888;
  display: block;
  margin-bottom: 2px;
}
._refundSummaryCard_buh2s_837 span {
  font-size: 16px;
  font-weight: 700;
}
._cancelBtnDanger_buh2s_869 {
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
  background: #c62828;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}
._cancelBtnDanger_buh2s_869:hover { background: #b71c1c; }
._cancelBtnDanger_buh2s_869:disabled { opacity: 0.5; cursor: not-allowed; }
._approveBtnGreen_buh2s_895 {
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
  background: #2e7d32;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}
._approveBtnGreen_buh2s_895:hover { background: #1b5e20; }
._approveBtnGreen_buh2s_895:disabled { opacity: 0.5; cursor: not-allowed; }
._cancelActionsRow_buh2s_921 {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}
._textOrangeStrong_buh2s_933 { color: #e65100; font-weight: 700; }
._textRedStrong_buh2s_935 { color: #c62828; font-weight: 700; }

/* ── Fine submit button (danger variant used in modal) ── */
._fineModalBtn_buh2s_941 {
  height: 40px;
  padding: 0 20px;
  font-size: 16px;
  background: #c62828;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}
._fineModalBtn_buh2s_941:hover    { background: #b71c1c; }
._fineModalBtn_buh2s_941:disabled { background: #ef9a9a; cursor: not-allowed; }

/* ── Page header actions group ── */
._headerActions_buh2s_969 {
  display: flex;
  gap: 10px;
}

/* ── Progress bar ── */
._tdProgress_buh2s_981 { width: 160px; }
._progressBarTrack_buh2s_983 {
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
  height: 8px;
}
._progressBarFill_buh2s_995 {
  height: 100%;
  transition: width 0.4s;
  background: #3d53cd;
}
._progressBarFillComplete_buh2s_1005 { background: #2e7d32; }
._progressPct_buh2s_1007 { font-size: 11px; color: #666; }

/* ── Add Charge button ── */
._addChargeBtn_buh2s_1013 {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  background: #fff3e0;
  color: #e65100;
  border: 1px solid #ffb74d;
  border-radius: 4px;
  cursor: pointer;
}
._addChargeBtn_buh2s_1013:hover { background: #ffe0b2; }

/* ── Add Charge inline panel ── */
._addChargePanel_buh2s_1039 {
  margin-top: 16px;
  padding: 16px;
  background: #fff8f0;
  border: 1px dashed #ffb74d;
  border-radius: 6px;
}
._addChargePanelTitle_buh2s_1053 {
  margin: 0 0 12px 0;
  font-size: 14px;
  font-weight: 600;
  color: #e65100;
}

/* ── Wallet info bar (shown when wallet payment mode is selected) ── */
._walletInfoBar_buh2s_1069 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 16px;
  background: #e3f2fd;
  border: 1px solid #90caf9;
  border-radius: 6px;
  font-size: 14px;
}
._walletInfoLabel_buh2s_1091 { font-weight: 500; color: #444; }
._walletInfoAmount_buh2s_1093 { font-weight: 700; color: #1565c0; font-size: 16px; }
._walletInfoWarn_buh2s_1095 { color: #c62828; font-weight: 600; font-size: 13px; }
._walletInfoOk_buh2s_1097 { color: #2e7d32; font-weight: 500; font-size: 13px; }

/* ── Wallet Integration Panel ── */
._walletPanel_buh2s_1103 {
  border: 1px solid #b39ddb;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 16px;
  background: #f3e5f5;
}
._walletPanelHeader_buh2s_1117 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
._walletCheckboxLabel_buh2s_1127 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #4a148c;
  cursor: pointer;
}
._walletCheckboxLabel_buh2s_1127 input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #7b1fa2;
  cursor: pointer;
}
._walletPanelBalance_buh2s_1157 {
  font-size: 14px;
  font-weight: 700;
  color: #7b1fa2;
}
._walletApplyRow_buh2s_1167 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #ce93d8;
}
._walletApplySummary_buh2s_1183 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  font-size: 13px;
  color: #4a148c;
}
._walletApplySummary_buh2s_1183 strong {
  font-weight: 700;
}
._textPurple_buh2s_1205 { color: #7b1fa2; }
._textOrange_buh2s_933 { color: #e65100; }
._walletHint_buh2s_1209 {
  font-size: 12px;
  color: #6a1b9a;
  margin-top: 4px;
  font-style: italic;
}
._walletHintSuccess_buh2s_1221 {
  font-size: 12px;
  color: #2e7d32;
  margin-top: 4px;
  font-weight: 600;
}

/* ── Total card purple variant (wallet) ── */
._totalPurple_buh2s_1237 { background: #f3e5f5; }

/* ── Installment status badges ── */
._installmentStatus_buh2s_1243 {
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}
._installmentPaid_buh2s_1257 { background-color: #e8f5e9; color: #2e7d32; }
._installmentPending_buh2s_1259 { background-color: #fff3e0; color: #e65100; }
._installmentOverdue_buh2s_1261 { background-color: #ffebee; color: #c62828; }

/* ── Right-aligned table headers ── */
._thRight_buh2s_1267 { text-align: right; }
._tdRight_buh2s_1269 { text-align: right; }

/* ── Year tab bar ── */
._yearTabBar_buh2s_1275 {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
._yearTab_buh2s_1275 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  background: #fafafa;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  transition: border-color 0.15s, background 0.15s;
  min-width: 120px;
}
._yearTab_buh2s_1275:hover {
  border-color: #90caf9;
  background: #f0f8ff;
}
._yearTabActive_buh2s_1327 {
  border-color: #1976d2;
  background: #e3f2fd;
  color: #1565c0;
}
._yearTabLabel_buh2s_1337 {
  font-size: 14px;
  font-weight: 700;
}
._yearTabSub_buh2s_1345 {
  font-size: 11px;
  font-weight: 400;
  color: #888;
}
._yearTabBalance_buh2s_1355 {
  font-size: 11px;
  font-weight: 600;
  margin-top: 2px;
}
._yearTabBalanceDue_buh2s_1365 { color: #c62828; }
._yearTabBalanceSettled_buh2s_1367 { color: #2e7d32; }
