.receipt-layout-wrapper{justify-content:space-between;gap:1%;display:flex}.fee-receipt-container{color:#000;border:1px solid #000;width:49%;font-family:Arial,sans-serif;font-size:10px;position:relative}.receipt-layout-wrapper.single-copy{justify-content:center}.receipt-layout-wrapper.single-copy .fee-receipt-container{width:100%;max-width:800px}.receipt-layout-wrapper.single-copy .payment-history{display:none}.cancelled-watermark{color:rgba(255,0,0,.15);z-index:1000;pointer-events:none;text-transform:uppercase;white-space:nowrap;border:4px solid rgba(255,0,0,.15);padding:10px 20px;font-size:48px;font-weight:700;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)rotate(-45deg)}.fee-receipt-header{border-bottom:1px solid #000;align-items:center;padding:5px;display:flex}.school-logo{object-fit:contain;width:50px;height:50px;margin-right:10px}.school-info{text-align:center;flex-direction:column;flex-grow:1;justify-content:center;align-items:center;display:flex}.school-name{color:navy;text-transform:uppercase;margin-bottom:0;font-size:16px;font-weight:700;line-height:1.1}.school-address{white-space:nowrap;text-overflow:clip;text-align:center;width:100%;margin-bottom:0;font-size:10px;font-weight:700;line-height:1.1;overflow:hidden}.school-contact{font-size:10px;font-weight:700;line-height:1.1}.receipt-title{text-align:center;background-color:#f0f0f0;border-bottom:1px solid #000;padding:2px 0;font-weight:700}.student-details{border-bottom:1px solid #000;grid-template-columns:1fr 1fr;gap:5px;padding:5px;display:grid}.detail-row{display:flex}.detail-label{width:75px;font-weight:700}.detail-value{flex-grow:1}.fee-table{border-collapse:collapse;width:100%}.fee-table th,.fee-table td{text-align:right;border-bottom:1px solid #ccc;padding:2px 4px}.fee-table th:first-child,.fee-table td:first-child{text-align:left}.fee-table th,.fee-table tr.total-row td{border-top:1px solid #000;border-bottom:1px solid #000;font-weight:700}.payment-section{border-bottom:1px solid #000;display:flex}.payment-mode-info{border-right:1px solid #000;flex:1;padding:5px}.payment-calc-info{flex:1;padding:5px}.mode-table{border-collapse:collapse;width:100%;font-size:9px}.mode-table th{text-align:left;border-bottom:1px solid #000;padding:2px}.mode-table td{border-bottom:1px solid #eee;padding:2px}.mode-table th.text-right,.mode-table td.text-right,.history-table th.text-right,.history-table td.text-right{text-align:right}.calc-row{justify-content:space-between;margin-bottom:2px;display:flex}.calc-row.final-total{border-top:1px solid #000;margin-top:5px;padding-top:2px;font-weight:700}.calc-label{font-weight:700}.system-generated-note{text-align:center;color:#4b5563;border-top:1px dashed #ccc;margin-top:2px;padding:3px 6px;font-size:8.5px;font-style:italic}.signatures{border-bottom:1px solid #000;justify-content:space-between;padding:35px 10px 5px;display:flex}.signature-line{text-align:center;border-top:1px solid #000;width:100px;padding-top:5px;font-weight:700}.payment-history{padding:5px}.history-header{text-align:center;margin-bottom:2px;font-size:11px;font-weight:700}.history-table{border-collapse:collapse;width:100%;font-size:10px}.history-table th{text-align:left;border-bottom:1px solid #000;padding:2px}.history-table td{border-bottom:1px solid #eee;padding:2px}.history-remarks{width:30%;min-width:100px;text-align:left!important}.text-right{text-align:right}.exporting-pdf,.exporting-pdf *{box-sizing:border-box!important}.exporting-pdf .fee-receipt-container{width:100%!important;max-width:800px!important;font-size:10px!important}.exporting-pdf .fee-receipt-header{padding:5px!important}.exporting-pdf .school-logo{width:50px!important;height:50px!important;margin-right:10px!important}.exporting-pdf .school-name{font-size:16px!important;line-height:1.1!important}.exporting-pdf .school-address,.exporting-pdf .school-contact{font-size:10px!important;line-height:1.1!important}.exporting-pdf .receipt-title{padding:2px 0!important;font-size:10px!important}.exporting-pdf .student-details{grid-template-columns:1fr 1fr!important;gap:5px!important;padding:5px!important;font-size:10px!important}.exporting-pdf .detail-label{width:75px!important;font-size:10px!important}.exporting-pdf .detail-value{font-size:10px!important}.exporting-pdf .fee-table th,.exporting-pdf .fee-table td{padding:2px 4px!important;font-size:10px!important}.exporting-pdf .payment-section{flex-direction:row!important;font-size:10px!important;display:flex!important}.exporting-pdf .payment-mode-info{border-right:1px solid #000!important;flex:1!important;padding:5px!important}.exporting-pdf .payment-calc-info{flex:1!important;padding:5px!important}.exporting-pdf .mode-table th,.exporting-pdf .mode-table td{padding:2px!important;font-size:9px!important}.exporting-pdf .calc-row{margin-bottom:2px!important;font-size:10px!important}.exporting-pdf .signatures{padding:35px 10px 5px!important}.exporting-pdf .signature-line{width:100px!important;padding-top:5px!important;font-size:10px!important}.exporting-pdf .payment-history{padding:5px!important}.exporting-pdf .history-header{font-size:11px!important}.exporting-pdf .history-table{font-size:10px!important}.exporting-pdf .history-table th,.exporting-pdf .history-table td{padding:2px!important}.exporting-pdf .history-remarks{width:30%!important;min-width:100px!important}.exporting-pdf .system-generated-note{padding:4px 6px!important;font-size:9px!important}@media screen and (max-width:640px){.receipt-layout-wrapper{box-sizing:border-box!important;width:100%!important;max-width:100%!important}.fee-receipt-container{box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin:0 auto!important;font-size:8px!important}.fee-receipt-header{box-sizing:border-box!important;padding:3px 2px!important}.school-logo{width:32px!important;height:32px!important;margin-right:5px!important}.school-name{word-break:break-word!important;font-size:11.5px!important;line-height:1.2!important}.school-address,.school-contact{white-space:normal!important;word-break:break-word!important;font-size:7.5px!important;line-height:1.2!important}.receipt-title{padding:2px 0!important;font-size:8.5px!important}.student-details{box-sizing:border-box!important;grid-template-columns:1fr 1fr!important;gap:2px 4px!important;width:100%!important;padding:3px 4px!important;font-size:7.5px!important;display:grid!important}.detail-row{min-width:0!important;display:flex!important;overflow:hidden!important}.detail-label{white-space:nowrap!important;flex-shrink:0!important;width:52px!important;font-size:7.5px!important}.detail-value{word-break:break-word!important;text-overflow:ellipsis!important;flex:1!important;min-width:0!important;font-size:7.5px!important;overflow:hidden!important}.fee-table{box-sizing:border-box!important;width:100%!important}.fee-table th,.fee-table td{padding:1.5px 3px!important;font-size:7.5px!important}.payment-section{box-sizing:border-box!important;flex-direction:row!important;width:100%!important;font-size:7.5px!important;display:flex!important}.payment-mode-info{box-sizing:border-box!important;border-right:1px solid #000!important;flex:1.1!important;min-width:0!important;padding:3px 2px!important;overflow:hidden!important}.payment-calc-info{box-sizing:border-box!important;flex:.9!important;min-width:0!important;padding:3px 2px!important;overflow:hidden!important}.mode-table{table-layout:fixed!important;width:100%!important;font-size:7px!important}.mode-table th,.mode-table td{white-space:nowrap!important;text-overflow:ellipsis!important;padding:1.5px 1px!important;font-size:7px!important;overflow:hidden!important}.calc-row{justify-content:space-between!important;gap:2px!important;margin-bottom:1px!important;font-size:7.5px!important;display:flex!important}.calc-label{white-space:nowrap!important;text-overflow:ellipsis!important;font-size:7.5px!important;overflow:hidden!important}.signatures{padding:14px 6px 3px!important}.signature-line{width:65px!important;padding-top:2px!important;font-size:7.5px!important}.payment-history{padding:3px!important}.history-header{font-size:8.5px!important}.history-table{width:100%!important;font-size:7px!important}.history-table th,.history-table td{padding:1px 2px!important;font-size:7px!important}.history-remarks{width:auto!important;min-width:0!important}.system-generated-note{padding:2.5px 3px!important;font-size:7.5px!important}}@media print{@page{size:A4 landscape;margin:0}body{-webkit-print-color-adjust:exact;print-color-adjust:exact;margin:0;padding:0}.receipt-layout-wrapper{justify-content:center;align-items:flex-start;gap:1cm;width:100%;padding:1cm 0;display:flex}.fee-receipt-container{page-break-inside:avoid;border:1px solid #000;width:45%;height:auto;margin:0}}
