/* Fee collection workspace, styled after the supplied reference. */
body.theme-light,body{--fp-ink:#151a4b;--fp-muted:#576080;--fp-line:#dce0ff;--fp-violet:#713bff;--primary:#5145ed;--text-main:#151a4b;--text-muted:#576080;background:radial-gradient(ellipse at 90% 4%,#e9e4ff 0,transparent 37%),radial-gradient(ellipse at 5% 60%,#edf3ff 0,transparent 46%),#fafbff!important;color:var(--fp-ink)!important;display:block;min-height:100vh;font-family:Inter,Arial,sans-serif;padding:0 0 32px}
body .erp-compact-index,body .erp-topmenu-wrap{display:none!important}
.fee-page-header{position:relative!important;top:auto!important;display:block!important;height:auto!important;max-width:1280px;width:calc(100% - 48px);margin:0 auto;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:var(--fp-ink)!important}
.fee-school-topline{padding:14px 0;border-bottom:1px solid var(--fp-line);display:flex;align-items:center;justify-content:space-between}.fee-school-brand{display:flex;gap:10px;align-items:center}.fee-school-name{color:var(--fp-ink)!important;font-size:17px!important}.fee-school-logo{width:40px;height:40px;background:linear-gradient(135deg,#60a5fa,#853dff);border-radius:12px;color:white}.fee-back-dashboard{background:white!important;color:#4435d8!important;border:1px solid var(--fp-line)!important;font-size:13px!important;box-shadow:0 4px 12px #3841ad0c!important}.fee-breadcrumb{display:flex;align-items:center;gap:12px;padding:20px 0 0;font-size:13px}.fee-breadcrumb a{color:#4944d0;text-decoration:none}.fee-breadcrumb strong{color:var(--fp-ink)}
.fee-purpose-line{display:flex!important;align-items:center;gap:18px;position:relative;min-height:140px;padding:24px 6px!important;overflow:hidden}.fee-purpose-line h1{font-family:Outfit,Inter,sans-serif;font-size:38px!important;line-height:1.15;color:#302591!important;margin:0 0 8px!important}.fee-purpose-line p{color:#343d73!important;font-size:15px!important;margin:0!important}.fee-title-icon{width:78px;height:78px;flex:0 0 78px;display:grid;place-items:center;border-radius:23px;background:linear-gradient(135deg,#acdfff,#9362ff);color:white;box-shadow:0 5px 8px #633cff25;font-size:42px}.fee-hero-art{width:190px;height:130px;object-fit:contain;margin-left:auto}.fee-mobile-flow{display:none!important}
.fee-metrics{max-width:1280px;width:calc(100% - 48px);margin:0 auto 24px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.fee-metrics article{display:flex;gap:14px;align-items:center;padding:20px 16px;border:1px solid #d0ddff;border-radius:18px;background:linear-gradient(120deg,#fff,#ebf1ff);box-shadow:0 7px 20px #7475ba08}.fee-metrics article:nth-child(2){background:linear-gradient(120deg,#f8fff8,#edf9f3);border-color:#d4ecdf}.fee-metrics article:nth-child(3){background:linear-gradient(120deg,#fffaf0,#fff0f9);border-color:#f0dfeb}.fee-metrics article:nth-child(4){background:linear-gradient(120deg,#fcf7ff,#eeeaff);border-color:#ded5ff}.fee-metrics i{font-size:32px;display:grid;place-items:center;width:55px;height:55px;border-radius:50%;background:#e2efff;color:#1584fb;flex-shrink:0}.fee-metrics article:nth-child(2) i{color:#079d35;background:#dcf8df}.fee-metrics article:nth-child(3) i{color:#e99505;background:#fff0d8}.fee-metrics article:nth-child(4) i{color:#7b38ff;background:#eae0ff}.fee-metrics span{font-size:12px;font-weight:650;display:block}.fee-metrics strong{font-size:25px;line-height:1.7;display:block;color:#111846}.fee-metrics small{display:block;color:var(--fp-muted);font-size:10px;line-height:1.4}
body .app-container{max-width:1280px;width:calc(100% - 48px);padding:0;margin:0 auto;grid-template-columns:270px minmax(0,1fr);gap:20px;align-items:start;min-height:0;overflow:visible;position:relative}.glass-panel{background:linear-gradient(125deg,#fff,#f9faff)!important;color:var(--fp-ink)!important;border:1px solid var(--fp-line)!important;border-radius:17px!important;box-shadow:0 5px 16px #6775d00a!important}.sidebar{height:auto!important;padding:16px!important;overflow:visible;align-self:start;gap:0;position:sticky;top:16px}.sidebar h3,.payment-details h3{font-size:18px!important;letter-spacing:0!important;text-transform:none!important;font-family:Outfit,Inter,sans-serif;color:var(--fp-ink)!important;margin:0 0 16px!important;display:flex;gap:10px;align-items:center}.sidebar h3 i,.payment-details h3 i{color:#793cff;font-size:25px}.sidebar .fee-photo-toggle,.sidebar .fee-photo-helper{font-size:11px}.fee-search-options{font-size:12px;color:var(--fp-muted);margin-top:12px}.fee-photo-helper{margin:4px 0!important}.sidebar .helper-text{font-size:11px!important}.filter-group{background:transparent!important;padding:0!important;margin:0 0 14px!important}.filter-group label{color:#171d45!important;font-size:12px!important;font-weight:600}.filter-group input:not([type=checkbox]),.filter-group select,.filter-group textarea{width:100%;color:#20264b!important;background:#fff!important;border:1px solid #ccd2ed!important;border-radius:8px!important;min-height:40px!important;font-size:13px!important;padding:9px 11px!important;box-shadow:0 2px 5px #4b42a004!important}.filter-group input::placeholder,.filter-group textarea::placeholder{color:#687397!important;opacity:1}.filter-group input:focus,.filter-group select:focus,.filter-group textarea:focus{outline:2px solid #b4a1ff;outline-offset:1px}.filter-group input[type=checkbox]{accent-color:#2469ff;width:17px;height:17px}.student-mini-grid{border-radius:10px;border:1px solid var(--fp-line);height:360px!important}.student-mini-grid .ag-header{display:none}.student-mini-grid .ag-row{cursor:pointer}.student-mini-grid .ag-row-selected{background:#dce9ff!important}.student-mini-grid .ag-cell{font-size:12px!important}.sidebar .fee-year-lock{margin:4px 0 16px!important}.fee-year-badge{color:#302865!important;background:#f0eeff!important;font-size:13px;padding:8px;border-radius:8px}.fee-year-lock small{font-size:10px!important}
.main-workspace{display:flex;flex-direction:column;min-width:0;gap:18px!important;height:auto!important;overflow:visible!important}.main-workspace>.mt-4{margin-top:0!important}.student-header{display:flex;align-items:center;gap:20px;padding:22px!important;min-height:112px}.s-info{position:relative;padding-left:65px}.s-info:before{content:'♙';display:grid;place-items:center;position:absolute;left:0;top:0;background:linear-gradient(135deg,#edf6ff,#e6e1ff);color:#3881ff;font-size:38px;width:52px;height:64px;border-radius:50%}.s-info h2{font-family:Outfit,Inter,sans-serif;color:#171c48!important;font-size:24px;margin:0!important}.s-info p{font-size:12px!important;color:#384273!important;margin:2px 0!important}.s-summary{margin-left:auto;border-left:1px solid #c9c4ff;padding-left:22px;text-align:right;flex-shrink:0}.s-summary p{font-size:12px;margin:0}.s-summary strong{display:block;font-size:23px;color:#ee3e4b!important}.s-summary p+p{margin-top:5px}.s-summary p+p strong{font-size:15px;color:#5341df!important}.dues-panel,.history-panel{padding:16px!important;flex:none!important}.panel-header h3{font-family:Outfit,Inter,sans-serif;font-size:20px!important;color:#161b49!important;display:flex;align-items:center;gap:10px}.panel-header h3 i{color:#793dff;font-size:27px}.panel-header{margin-bottom:10px}.pending-pill{font:500 11px Inter,sans-serif;color:#c03932;background:#fff0ed;border:1px solid #ffc8bf;padding:5px 9px;border-radius:20px;margin-left:auto}.panel-header h3{width:100%}.panel-header small{font-size:12px;color:var(--fp-muted)}.fee-grid-wrap{min-height:145px!important}.history-grid-wrap{height:300px!important}.fee-grid-wrap .ag-root-wrapper,.history-grid-wrap .ag-root-wrapper{border-radius:10px!important;border:1px solid #e4e7fa!important}.ag-theme-alpine{--ag-background-color:#fff!important;--ag-foreground-color:#171d49!important;--ag-header-background-color:#f0f0ff!important;--ag-header-foreground-color:#151a48!important;--ag-odd-row-background-color:#f8faff!important;--ag-row-hover-color:#eef2ff!important;--ag-selected-row-background-color:#edf1ff!important;--ag-border-color:#e3e6f8!important;--ag-font-family:Inter,Arial,sans-serif;--ag-font-size:13px;--ag-cell-horizontal-padding:12px}.ag-row-pinned{font-weight:700!important;background:#eeecff!important}.ag-cell.amount-cell{color:#23295c!important}.ag-cell.paying-amount-cell{color:#3730b4!important;font-weight:700}.ag-cell.editable-cell{box-shadow:inset 0 0 0 1px #c8ccff!important;border-radius:7px;margin:5px 0;height:calc(100% - 10px)!important;line-height:36px!important;background:#fff!important}.payment-details{padding:18px!important;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 16px}.payment-details h3{grid-column:1/-1}.payment-details textarea{height:40px;resize:vertical}.payment-details .fee-sms-group{grid-column:1/-1;border-top:1px solid var(--fp-line);padding-top:14px!important;display:flex;flex-flow:row wrap;align-items:center;gap:10px 18px}.fee-sms-group>label:first-child{width:100%;font-size:13px!important}.fee-sms-toggle{display:flex;align-items:center;gap:7px;color:#282753!important}.fee-sms-helper{width:100%;font-size:11px!important;color:#586080!important}.fee-sms-manage{font-size:11px!important;padding:5px 8px!important;min-height:30px!important}.payment-footer{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px;padding-top:10px}.btn-process{background:linear-gradient(135deg,#26bd41,#00892c)!important;border-radius:10px!important;min-height:43px!important;box-shadow:0 4px 9px #1b9a3226!important;font-size:14px!important;color:white!important;padding:10px 20px!important}.btn-process:disabled{opacity:.5;cursor:not-allowed}.btn-process-glow{display:none}.payment-footer .btn-secondary{background:#fff!important;color:#282b5c!important;border:1px solid #d5d9f0!important;border-radius:10px}.helper-text{color:#586080!important}.fee-empty{grid-column:2;padding:65px 32px!important;text-align:center}.fee-empty>i{font-size:52px;color:#7543f4}.fee-empty h2{font:600 23px Outfit,sans-serif;color:#232458}.fee-empty p{color:#596384;max-width:450px;margin:10px auto 25px}.fee-empty span{font-size:12px;color:#6742c6}.app-container:has(.main-workspace:not(.hidden)) .fee-empty{display:none}.app-container:has(.main-workspace:not(.hidden)) .sidebar{grid-row:1}
.fee-quick-links{max-width:1280px;width:calc(100% - 48px);margin:24px auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.fee-quick-links>a,.fee-quick-links>button{display:flex;align-items:center;gap:14px;text-align:left;text-decoration:none;padding:18px!important;background:linear-gradient(120deg,#fff,#f1f3ff);color:#202459;border:1px solid #d5dcff;border-radius:15px;font-family:inherit;cursor:pointer}.fee-quick-links i{color:#783aff;font-size:30px}.fee-quick-links strong{display:block;font-size:13px}.fee-quick-links small{display:block;font-size:11px;color:#596185;margin-top:5px}.fee-quick-links b{margin-left:auto;font-size:22px;color:#5240ed}.fee-quick-links>a:hover,.fee-quick-links>button:hover{border-color:#a596fa;box-shadow:0 4px 16px #6b44dd15}.fee-advanced{max-width:1280px;width:calc(100% - 48px);margin:0 auto 18px;padding:18px}.fee-advanced summary{cursor:pointer;color:#514197;font-weight:600}.fee-advanced[open]{display:block}.fee-advanced h3{margin:15px 0 10px;color:#282455}.fee-advanced .filter-group{max-width:400px}.fee-shortcuts-bar{position:static!important;max-width:1280px;width:calc(100% - 48px);margin:16px auto;background:transparent!important;border:0!important;box-shadow:none!important;color:#606989!important}.drive-documents{max-width:1280px;margin:20px auto}.student-photo-confirm{flex-shrink:0}.fee-page-header~.erp-breadcrumb{display:none}
@media(min-width:1000px){.student-mini-grid .ag-cell[col-id=Father_Name],.student-mini-grid .ag-cell[col-id=Stud_ID]{display:none}.student-mini-grid .ag-cell[col-id=Stud_Name]{left:0!important;width:100%!important;padding-left:14px!important}}
@media(max-width:1050px){.fee-metrics{gap:10px}.fee-metrics article{padding:14px 10px;gap:8px}.fee-metrics i{width:40px;height:40px;font-size:25px}.fee-metrics strong{font-size:21px}.payment-details{grid-template-columns:repeat(2,minmax(0,1fr))}.s-info{padding-left:0}.s-info:before{display:none}}
@media(max-width:720px){.fee-page-header,.fee-metrics,body .app-container,.fee-quick-links,.fee-advanced,.fee-shortcuts-bar{width:calc(100% - 24px)}.fee-purpose-line{gap:12px;padding:22px 0!important;min-height:110px}.fee-purpose-line h1{font-size:29px!important}.fee-purpose-line p{font-size:12px!important;max-width:250px}.fee-title-icon{width:52px;height:58px;flex-basis:52px;font-size:29px;border-radius:15px}.fee-hero-art{display:none}.fee-school-name{font-size:14px!important}.fee-back-dashboard{font-size:10px!important;padding:8px!important}.fee-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:15px}.fee-metrics strong{font-size:20px}.fee-metrics span{font-size:11px}.fee-metrics small{font-size:9px}body .app-container{display:flex;flex-direction:column;gap:16px}.sidebar{width:100%!important;position:static;padding:15px!important}.student-mini-grid{height:240px!important}.main-workspace{width:100%}.fee-empty{padding:30px 18px!important;width:100%}.student-header{padding:16px!important;gap:10px;flex-wrap:wrap}.s-summary{padding-left:12px}.s-summary strong{font-size:20px}.payment-details{padding:15px!important;gap:0 10px}.fee-quick-links{grid-template-columns:1fr;gap:10px}.fee-quick-links>a,.fee-quick-links>button{padding:14px!important}.panel-header h3{font-size:18px!important;flex-wrap:wrap}.payment-footer{flex-wrap:wrap}.fee-metrics article{min-width:0}.fee-metrics strong{overflow-wrap:anywhere}.fee-school-topline{gap:8px}.fee-breadcrumb{padding-top:15px}.fee-advanced{box-sizing:border-box}.payment-details .filter-group{min-width:0}}
@media print{.fee-page-header,.fee-metrics,.app-container,.fee-quick-links,.fee-advanced{display:none!important}}
body.fee-reference .main-workspace>.erp-breadcrumb,body.fee-reference .main-workspace>nav{display:none!important}
body.fee-reference .panel-header h3{font-family:Outfit,Inter,sans-serif!important;text-transform:none!important;letter-spacing:0!important;color:#151a4b!important;font-size:21px!important}
body.fee-reference .panel-header h3 i,body.fee-reference .payment-details h3 i,body.fee-reference .sidebar h3 i{color:#793dff!important}
body.fee-reference .filter-group label{text-transform:none!important;letter-spacing:0!important}
body.fee-reference .pending-pill{text-transform:none!important}
body.fee-reference .fee-student-choice{display:flex;align-items:center;gap:10px;height:100%;line-height:1.4}
body.fee-reference .fee-student-choice strong{display:block;font-size:13px;color:#161d4b!important}
body.fee-reference .fee-student-choice small{display:block;font-size:10px;color:#545f85!important;margin-top:3px}
body.fee-reference .fee-student-avatar{display:grid;place-items:center;border-radius:50%;width:34px;height:34px;flex-shrink:0;background:linear-gradient(135deg,#edf8ff,#e7deff);color:#7c3eff!important;font-weight:700}
body.fee-reference .student-mini-grid .ag-cell[col-id=Stud_Name]{left:auto!important;width:auto!important;position:relative!important;flex:1!important;min-width:0}
body.fee-reference .student-mini-grid .ag-row{display:flex!important}
body.fee-reference .student-mini-grid .ag-cell{padding:0 8px!important}
body.fee-reference .student-mini-grid .ag-cell-wrapper{height:100%}
body.fee-reference .s-info:before{content:'♙';font-family:Arial,sans-serif}
body.fee-reference .fee-history-print{background:#f0f1ff;color:#4c3cdd;border:1px solid #d7dcff;border-radius:6px;padding:4px 9px;cursor:pointer;font-size:12px}
body.fee-reference .payment-details .fee-sms-group{grid-row:auto}
body.fee-reference .payment-details .filter-group:has(#inp-fine){grid-row:4}
body.fee-reference .ag-header-cell-label{text-transform:none!important;letter-spacing:0!important;font-weight:650;color:#171c4b!important}
body.fee-reference .s-info p{font-weight:400!important}
body.fee-reference .ag-cell[col-id=Paid]{color:#17803e!important}
body.fee-reference .ag-cell[col-id=Concession]{color:#16723b!important}
body.fee-reference .paying-amount-cell{color:#4338ca!important;background:#fafaff!important}
body.fee-reference .fee-year-lock{border:0!important;box-shadow:none!important;padding:0!important;background:transparent!important}
@media(max-width:720px){body.fee-reference .student-header{display:flex!important;border-top:1px solid var(--fp-line)!important}.fee-metrics i{width:34px;height:34px;font-size:22px}.fee-metrics article{gap:7px;padding:12px 8px}body.fee-reference .payment-details .filter-group:has(#inp-fine){grid-row:auto}.fee-grid-wrap{overflow:auto!important}.payment-details .fee-sms-group{grid-column:1/-1}}
body.fee-reference .btn-process{position:static!important;inset:auto!important;width:auto!important;z-index:auto!important;display:inline-flex;align-items:center;gap:7px}
body.fee-reference .payment-footer{position:static!important;align-items:center}
body.fee-reference .erp-breadcrumbs{display:none!important}
body.fee-reference .payment-details .fee-sms-toggle{width:auto!important;border:0!important;background:transparent!important;padding:3px 0!important;min-height:30px!important}
body.fee-reference .payment-details .filter-group{border:0!important;box-shadow:none!important;overflow:visible!important}
body.fee-reference .payment-details .fee-sms-group{border-top:1px solid var(--fp-line)!important}
body.fee-reference .panel-header{border-bottom:0!important}
body.fee-reference .ag-row-pinned{background:#eeecff!important}
body.fee-reference .paying-amount-header{background:#f0f0ff!important;color:#171c4b!important}
body.fee-reference .btn-process i{color:#fff!important}
@media(max-width:720px){body.fee-reference .payment-footer .btn-process{flex:1 1 190px}body.fee-reference .payment-footer .btn-secondary{flex:1 1 70px}body.fee-reference .student-mini-grid{height:230px!important}body.fee-reference .sidebar .filter-group{border:0!important;box-shadow:none!important}body.fee-reference .payment-details .fee-sms-group{gap:5px 13px}}
