/* Fees — modern student list (card-style rows) */
#feeSection .table-wrap{background:transparent!important;border:0!important;box-shadow:none!important;padding:0}
#feeSection > .table-wrap > table.students-table,#feeSection .table-wrap:has(#feesTableBody) table{border-collapse:separate!important;border-spacing:0 10px!important;background:transparent!important;width:100%}
#feeSection #feesTableBody{background:transparent}
#feeSection .table-wrap:has(#feesTableBody) thead th{background:transparent!important;color:#6b7a99!important;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;border:0!important;padding:4px 10px;white-space:nowrap}
#feeSection tr.fee-student-row{background:#fff!important;border:0!important;box-shadow:0 4px 14px rgba(20,40,90,.08);transition:transform .15s,box-shadow .15s}
#feeSection tr.fee-student-row:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(20,40,90,.14);filter:none}
#feeSection tr.fee-student-row td{background:#fff!important;border:0!important;padding:12px 10px;color:#1f2d4d!important;font-weight:600;vertical-align:middle;text-align:center}
#feeSection tr.fee-student-row td:first-child{border-radius:16px 0 0 16px;border-inline-start:5px solid #176b49!important}
#feeSection tr.fee-student-row td:last-child{border-radius:0 16px 16px 0}
[dir=rtl] #feeSection tr.fee-student-row td:first-child{border-radius:0 16px 16px 0}
[dir=rtl] #feeSection tr.fee-student-row td:last-child{border-radius:16px 0 0 16px}
#feeSection tr.fee-has-debt td:first-child{border-inline-start-color:#e5484d!important}
#feeSection tr.fee-has-missing td:first-child{border-inline-start-color:#f59e0b!important}
#feeSection tr.fee-free td:first-child{border-inline-start-color:#3b82f6!important}
#feeSection tr.fee-has-debt td strong{color:#e5484d}
.fee-stu{display:flex;align-items:center;gap:12px;text-align:start;min-width:190px}
.fee-ava{position:relative;flex:none;width:46px;height:46px;border-radius:50%;overflow:hidden;background:linear-gradient(135deg,#176b49,#3b82f6);display:grid;place-items:center;box-shadow:0 0 0 3px #fff,0 3px 10px rgba(20,40,90,.25)}
.fee-ava i{font-style:normal;color:#fff;font-weight:800;font-size:18px}
.fee-ava img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.fee-stu-txt{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.fee-stu-txt b{font-size:14.5px;color:#14213d}
.fee-stu-txt small{font-size:12px;color:#6b7a99;font-weight:500}
.fee-chev{flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#eef2fb;color:#4b5b85;font-size:14px;transition:transform .2s}
.fee-chev.open{transform:rotate(180deg);background:#176b49;color:#fff}
#feeSection .fee-badge{display:inline-block;padding:4px 11px;border-radius:999px;font-size:11.5px;font-weight:700;border:0}
#feeSection .fee-badge-ok{background:#dcfce7;color:#116b3a}
#feeSection .fee-badge-debt{background:#fee2e2;color:#b42318}
#feeSection .fee-badge-free{background:#dbeafe;color:#1d4ed8}
#feeSection .fee-badge-missing{background:#ffedd5;color:#b45309}
#feeSection tr.fee-student-row .action-btn{border-radius:10px;padding:7px 12px;border:0;font-weight:700;box-shadow:0 3px 8px rgba(0,0,0,.12)}
#feeSection tr.fee-detail-row>td{background:#f4f7fc!important;border-radius:16px;padding:14px!important;border:1px solid #e3eaf6!important}
#feeSection .fee-month-table th{background:#e8eefb!important;color:#33436b!important}
body:not(.bec-english) .fee-stu{direction:rtl}
@media(max-width:700px){.fee-stu{min-width:150px}.fee-ava{width:38px;height:38px}}
