:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Arial,sans-serif;background:wheat;color:#000;line-height:1.4}#root{max-width:1000px;margin:20px auto;padding:10px}.app-container{background:#fff;border-radius:8px;box-shadow:0 2px 10px #0000001a;overflow:hidden}.app-header{background:#97dbff;padding:20px;border-bottom:2px solid #dee2e6}.header-content{display:flex;align-items:center;justify-content:center;gap:20px;margin-bottom:20px;position:relative}.logo-section{flex-shrink:0}.company-logo{height:60px;width:auto;max-width:80px}.logout-container{position:absolute;top:0;right:0}.logout-btn{background-color:#dc3545;color:#fff;border:none;padding:8px 16px;border-radius:4px;cursor:pointer;font-weight:700;position:absolute;right:-21px;top:-21px}.logout-btn:hover{background-color:#c82333;object-fit:contain}.company-info{text-align:center}.app-header h1{font-size:24px;font-weight:700;margin-bottom:8px;color:#2c3e50}.app-header .address{font-size:14px;color:#6c757d;margin-bottom:0}.nav-buttons{display:flex;gap:15px;justify-content:center;align-items:center;flex-wrap:wrap}.receipt-type-selector{display:flex;align-items:center;gap:8px;background:#fff;padding:8px 12px;border-radius:6px;border:1px solid #dee2e6}.receipt-type-selector label{font-size:14px;font-weight:600;color:#495057;white-space:nowrap}.receipt-type-dropdown{padding:6px 10px;border:1px solid #ced4da;border-radius:4px;background:#fff;font-size:14px;min-width:140px;cursor:pointer}.receipt-type-dropdown:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.nav-buttons button{padding:10px 20px;border:1px solid #dee2e6;background:#fff;cursor:pointer;border-radius:4px;font-size:14px;transition:all .3s}.nav-buttons button:hover{background:#e9ecef}.nav-buttons button.active{background:#007bff;color:#fff;border-color:#007bff}.nav-buttons .test-btn{background:#28a745;color:#fff;border-color:#28a745}.nav-buttons .test-btn:hover{background:#218838}.receipt-container{background:#fff;border:2px solid black;padding:20px;margin:20px}.print-only-header{display:none;border-bottom:2px solid black;padding-bottom:15px;margin-bottom:20px}.print-header-content{display:flex;align-items:center;justify-content:center;gap:20px}.print-logo-section{flex-shrink:0}.print-logo{height:50px;width:auto;max-width:70px;object-fit:contain}.print-company-info{text-align:center}.print-top-image,.print-bottom-image{display:none;text-align:left;width:100%}.receipt-top-img,.receipt-bottom-img{width:auto;max-width:100%;height:auto;object-fit:contain}.receipt-top-img{max-height:150px;margin-bottom:10px}.receipt-bottom-img{max-height:120px;margin-top:10px}.print-only-header h1:first-child{font-size:18px;font-weight:700;margin-bottom:5px}.print-only-header h1:last-child{font-size:16px;font-weight:700;margin-bottom:0;text-decoration:underline}.expiry-note{font-size:9px!important}.receipts-list{padding:20px}.list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:10px;border-bottom:1px solid #dee2e6}.list-header h2{font-size:20px;color:#2c3e50}.list-actions{display:flex;gap:10px}.list-actions button{padding:8px 16px;border:1px solid #dee2e6;background:#fff;cursor:pointer;border-radius:4px;font-size:12px}.list-actions button:hover{background:#e9ecef}.receipts-table{overflow-x:auto}.receipts-table table{width:100%;border-collapse:collapse;font-size:12px}.receipts-table th,.receipts-table td{padding:8px 12px;text-align:left;border-bottom:1px solid #dee2e6}.receipts-table th{background:#f8f9fa;font-weight:700;color:#495057}.receipts-table tr:hover{background:#f8f9fa}.loading,.no-receipts{text-align:center;padding:40px;color:#6c757d;font-style:italic}.stats-dashboard{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px;margin-bottom:20px;padding:15px;background:#f8f9fa;border-radius:8px}.stat-card{background:#fff;padding:15px;border-radius:6px;text-align:center;box-shadow:0 2px 4px #0000001a}.stat-card h3{font-size:12px;color:#6c757d;margin-bottom:8px;text-transform:uppercase;letter-spacing:.5px}.stat-number{font-size:24px;font-weight:700;color:#2c3e50;margin:0}.stat-date{font-size:14px;color:#495057;margin:0}@media screen{.receipt-info,.customer-info{margin-bottom:20px}.receipt-row,.form-row{margin-bottom:12px;display:flex;gap:20px;align-items:center;flex-wrap:wrap}.receipt-row{justify-content:space-between}}@media screen{label{font-size:12px;font-weight:700;display:flex;flex-direction:column;gap:4px;min-width:150px}input[type=text],input[type=date],input[type=tel]{border:none;border-bottom:1px solid black;padding:4px 6px;background:transparent;font-size:12px;min-width:120px}.receipt-row label{flex:1;min-width:200px}.form-row label{flex:1;min-width:250px}.form-row label:only-child{flex:1;min-width:50%}}.receipt-no-input{display:flex;align-items:center;gap:5px}.receipt-no-input input{flex:1}.refresh-btn{padding:2px 6px!important;font-size:12px!important;border:1px solid #dee2e6!important;background:#f8f9fa!important;cursor:pointer;border-radius:3px;min-width:24px;height:24px;display:flex;align-items:center;justify-content:center}.refresh-btn:hover{background:#e9ecef!important}@media screen{.payment-section{border:1px solid black;padding:15px;margin:15px 0}.payment-section h3{font-size:14px;margin-bottom:15px;text-align:center;font-weight:700}.payment-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px;align-items:start}.payment-left,.payment-middle,.payment-right{display:flex;flex-direction:column;gap:12px}.payment-left label,.payment-middle label,.payment-right label{display:flex;flex-direction:column;font-size:11px;font-weight:700;gap:4px}.payment-left input,.payment-middle input,.payment-right input[type=text]{border:1px solid black;padding:6px;font-size:11px;width:100%}.payment-right label{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:11px}.payment-right input[type=checkbox]{width:auto;margin:0;transform:scale(1.2)}.payment-right input[type=text]{flex:1;margin-left:8px}}@media screen{.footer-section{display:flex;justify-content:space-between;margin-top:20px;border-top:1px solid black;padding-top:15px}.terms{width:60%}#root{max-width:1000px;margin:20px auto;padding:10px;width:100vw}.terms h4{font-size:12px;margin-bottom:5px}.terms ul{list-style:none;font-size:10px}.terms li{margin-bottom:3px}.terms li:before{content:"• "}.signature{width:35%;text-align:center}.signature p{font-size:10px;margin-bottom:5px}.signature-box{height:50px;display:flex;align-items:flex-end;justify-content:center;padding:3px}.signature-box p{font-size:8px}}.form-actions{text-align:center;margin-top:20px;padding-top:15px;border-top:1px solid #ccc;display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.submit-btn,.print-btn,.reset-btn{padding:10px 20px;border:1px solid #dee2e6;cursor:pointer;font-size:12px;border-radius:4px;transition:all .3s}.submit-btn{background:#007bff;color:#fff;border-color:#007bff}.submit-btn:hover:not(:disabled){background:#0056b3}.submit-btn:disabled{background:#6c757d;cursor:not-allowed}.print-btn{background:#28a745;color:#fff;border-color:#28a745}.print-btn:hover{background:#218838}.reset-btn{background:#dc3545;color:#fff;border-color:#dc3545}.reset-btn:hover{background:#c82333}@media print{@page{size:A4;margin:.1in .3in}*{-webkit-print-color-adjust:exact!important;color-adjust:exact!important;print-color-adjust:exact!important}.receipt-container>*:first-child{margin-top:0!important;padding-top:0!important}.receipt-container>*:last-child{margin-bottom:0!important;padding-bottom:0!important}html,body{background:#fff!important;margin:0!important;padding:0!important;font-family:Arial,sans-serif!important;font-size:15px!important;line-height:1.5!important;color:#000!important;height:100%!important}#root{max-width:none!important;margin:0!important;padding:0!important;width:100%!important;height:100%!important;display:flex!important;flex-direction:column!important}.app-header,.nav-buttons,.form-actions,.list-header,.list-actions,.stats-dashboard,.receipts-list,.receipts-table,.refresh-btn{display:none!important}.app-container{background:#fff!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;width:100%!important;max-width:none!important;height:100%!important;margin:0!important;padding:0!important}.receipt-container{background:#fff!important;border:none!important;padding:0 8px!important;margin:0!important;width:100%!important;max-width:100%!important;height:100%!important;page-break-inside:auto;page-break-after:avoid;display:flex!important;flex-direction:column!important;justify-content:flex-start!important}.print-top-image,.print-bottom-image{display:block!important}.print-top-image{margin-bottom:10px!important;margin-top:0!important;padding-top:0!important;page-break-inside:avoid;width:100%!important}.receipt-top-img{width:100%!important;max-width:100%!important;height:auto!important;object-fit:cover!important}.print-bottom-image{margin-top:10px!important;margin-bottom:0!important;padding-bottom:0!important;text-align:left!important;page-break-inside:avoid;page-break-before:avoid;break-inside:avoid;break-before:avoid}.footer-section+.print-bottom-image{page-break-before:avoid!important}.receipt-form{page-break-inside:auto!important}.footer-section{margin-bottom:0!important;margin-top:8px!important}.footer-section,.print-bottom-image{orphans:2;widows:2}.reference-input{min-width:200px!important}.print-only-header{display:block!important;text-align:center!important;margin-bottom:15px!important;margin-top:0!important;padding-top:0!important}.print-only-header h1:first-child{font-size:24px!important;font-weight:700!important;margin-bottom:10px!important;margin-top:0!important;letter-spacing:1.5px!important}.print-only-header h1:last-child{font-size:18px!important;font-weight:700!important;margin-bottom:0!important;margin-top:0!important;text-decoration:underline!important}.receipt-info,.customer-info{margin-bottom:0!important}.receipt-container .receipt-row{display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:baseline!important;margin-bottom:12px!important;gap:20px!important}.receipt-container .receipt-row label{display:inline-flex!important;flex-direction:row!important;align-items:baseline!important;gap:8px!important;flex:0 0 auto!important;min-width:auto!important}.form-row:nth-child(1){display:flex!important;justify-content:space-between!important;align-items:baseline!important;margin-bottom:15px!important}.form-row:nth-child(2){display:block!important;margin-bottom:15px!important}.form-row:nth-child(2) label{display:block!important;width:100%!important}.form-row:nth-child(2) input{width:100%!important;min-width:100%!important}.form-row:nth-child(3){display:flex!important;justify-content:space-between!important;align-items:baseline!important;margin-bottom:15px!important}.form-row:nth-child(4){display:block!important;margin-bottom:15px!important}.form-row:nth-child(4) label{display:block!important;width:100%!important;white-space:nowrap!important}.form-row:nth-child(4) input{width:100%!important;min-width:100%!important;height:auto!important;min-height:40px!important;font-size:18px!important;word-wrap:break-word!important;white-space:normal!important;overflow-wrap:break-word!important}.form-row:nth-child(5){display:flex!important;justify-content:space-between!important;align-items:baseline!important;margin-bottom:20px!important;gap:10px!important}label{font-size:22px!important;font-weight:400!important;color:#000!important;display:inline-flex!important;align-items:baseline!important;gap:8px!important;margin-bottom:8px!important}input[type=text],input[type=date],input[type=tel]{border:none!important;border-bottom:1px solid black!important;background:transparent!important;color:#000!important;font-size:25px!important;padding:3px 0!important;outline:none!important}.receipt-container .receipt-info .receipt-row{display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:baseline!important}.receipt-container .receipt-row input{min-width:180px!important;flex-shrink:0!important}.receipt-container .receipt-row label:first-child{margin-right:30px!important}.receipt-container .receipt-row label:last-child{margin-left:30px!important}.receipt-container .customer-info .form-row{display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:baseline!important;gap:20px!important;margin-bottom:12px!important}.receipt-container .form-row label{display:inline-flex!important;flex-direction:row!important;align-items:baseline!important;gap:8px!important;flex:0 0 auto!important;min-width:auto!important}.form-row input,.form-row select{min-width:200px!important;flex-shrink:0!important}.form-row:nth-child(5) .form-half:last-child select{min-width:220px!important}.receipt-container .form-row label:first-child{margin-right:8px!important}.receipt-container .form-row label:last-child{margin-left:8px!important}.receipt-container .form-row input[name=address],.receipt-container .form-row input[name=receivedAmount]{min-width:400px!important}.receipt-container .form-row input[name=mobile]{margin-left:0!important;padding-left:0!important;text-align:left!important}.receipt-container .customer-info .form-row:first-child{display:flex!important;flex-direction:row!important;gap:0px!important;align-items:baseline!important}.receipt-container .customer-info .form-row:first-child label:first-child{flex:1!important;width:50%!important;margin-right:10px!important}.receipt-container .customer-info .form-row:first-child label:last-child{flex:1!important;width:50%!important;margin-left:10px!important}.receipt-container .customer-info .form-row:nth-child(3){display:flex!important;flex-direction:row!important;justify-content:space-between!important;gap:20px!important}.receipt-container .customer-info .form-row:last-child{display:flex!important;flex-direction:row!important;gap:0px!important;align-items:baseline!important}.receipt-container .customer-info .form-row:last-child label:first-child{flex:1!important;width:50%!important;margin-right:10px!important}.receipt-container .customer-info .form-row:last-child label:last-child{flex:1!important;width:50%!important;margin-left:10px!important}.receipt-container .customer-info .form-row:nth-child(2),.receipt-container .customer-info .form-row:nth-child(4){justify-content:flex-start!important}.receipt-container .customer-info .form-row:nth-child(2) label,.receipt-container .customer-info .form-row:nth-child(4) label{margin-right:0!important;margin-left:0!important;flex:1!important;white-space:nowrap!important}.receipt-container .customer-info .form-row:nth-child(4) input{word-wrap:break-word!important;white-space:normal!important;overflow-wrap:break-word!important;width:100%!important;min-width:100%!important;height:auto!important;min-height:40px!important}.payment-section{border:none!important;padding:0!important;margin:15px 0!important}.payment-section h3{font-size:20px!important;font-weight:700!important;margin-bottom:10px!important;text-align:left!important}.payment-grid{display:block!important}input[type=checkbox],.relation-type-button{display:none!important}.relation-label{display:inline!important}.expiry-note{display:none!important}.site-select{border:none!important;background:transparent!important;-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;font-size:20px!important;padding:3px 0!important;border-bottom:1px solid black!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;min-width:0!important}.payment-grid{display:none!important}.print-payment-display{display:block!important;margin-bottom:15px!important}.print-payment-row{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:10px!important;margin-bottom:10px!important;font-size:20px!important}.print-payment-methods{margin-top:10px!important}.print-payment-methods>span{font-weight:700!important;font-size:20px!important;margin-bottom:5px!important;display:block!important}.payment-methods-list{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:10px!important;width:100%!important}.payment-methods-list span{font-size:18px!important;margin-bottom:5px!important;padding:5px!important}.payment-section{page-break-after:avoid!important}.payment-grid:after{display:none!important}.footer-section{border-top:none!important;padding-top:15px!important;padding-bottom:0!important;margin-top:15px!important;margin-bottom:0!important;display:block!important;page-break-inside:avoid;page-break-after:avoid}.terms{width:100%!important;margin-bottom:12px!important}.terms h4{font-size:20px!important;font-weight:700!important;margin-bottom:10px!important}.terms ul{list-style:none!important;font-size:20px!important;line-height:1.5!important;padding-left:0!important;counter-reset:item!important}.terms li{margin-bottom:6px!important}.terms li:before{content:counter(item) ". "!important;counter-increment:item!important;font-weight:400!important}.signature{display:block!important;text-align:right!important;margin-top:40px!important;width:100%!important}.signature p{font-size:18px!important;font-weight:700!important;margin-bottom:0!important}.signature-box{display:none!important}}.receipts-detailed-view{display:flex;flex-direction:column;gap:20px;padding:20px}.receipt-card{background:#fff;border:1px solid #dee2e6;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden}.receipt-card-header{background:#f8f9fa;padding:15px 20px;border-bottom:1px solid #dee2e6;display:flex;justify-content:space-between;align-items:center}.receipt-header-left{display:flex;align-items:center;gap:12px}.receipt-type-badge{background:#007bff;color:#fff;padding:4px 8px;border-radius:12px;font-size:18px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.receipt-card-header h3{margin:0;color:#2c3e50;font-size:18px}.receipt-date{color:#6c757d;font-size:14px;font-weight:500}.receipt-card-content{padding:20px}.receipt-section{margin-bottom:25px}.receipt-section:last-child{margin-bottom:0}.receipt-section h4{margin:0 0 15px;color:#495057;font-size:20px;font-weight:600;border-bottom:2px solid #007bff;padding-bottom:5px}.receipt-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px}.detail-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #f1f3f4}.detail-row:last-child{border-bottom:none}.detail-row .label{font-weight:600;color:#495057;min-width:140px;flex-shrink:0}.detail-row .value{color:#212529;text-align:right;flex:1;margin-left:10px}.amount-highlight{font-weight:700;color:#28a745;font-size:20px}@media (max-width: 768px){.receipts-detailed-view{padding:10px;gap:15px}.receipt-row,.form-row{display:block!important}.receipt-card-header{padding:12px 15px;flex-direction:column;align-items:flex-start;gap:5px}.receipt-card-content{padding:15px}.receipt-details{grid-template-columns:1fr;gap:8px}.detail-row{flex-direction:column;align-items:flex-start;gap:4px}.detail-row .value{text-align:left;margin-left:0}.detail-row .label{min-width:auto}}.receipt-no-container{display:flex;align-items:center;gap:8px}.receipt-no-container input{flex:1}.refresh-receipt-btn{background:#007bff;color:#fff;border:none;border-radius:4px;padding:4px 8px;cursor:pointer;font-size:14px;min-width:30px;height:30px;display:flex;align-items:center;justify-content:center;transition:background-color .3s}.refresh-receipt-btn:hover{background:#0056b3}.refresh-receipt-btn:active{transform:scale(.95)}.relation-label-container{display:flex;align-items:center;gap:8px;margin-bottom:8px}.relation-type-button{padding:6px 12px;border:1px solid #007bff;border-radius:4px;background:#007bff;color:#fff;font-size:14px;font-weight:600;cursor:pointer;min-width:70px;transition:all .3s}.relation-type-button:hover{background:#0056b3;border-color:#0056b3}.relation-type-button:focus{outline:none;box-shadow:0 0 0 2px #007bff40}.relation-label{font-weight:600;color:#495057;font-size:14px;min-width:40px}.relation-name-input{width:100%;padding:8px 12px;border:1px solid #ccc;border-radius:4px;font-size:20px}.site-select{width:100%;padding:8px 12px;border:1px solid #ccc;border-radius:4px;font-size:14px;background:#fff}.checkbox-label{display:flex!important;align-items:center!important;gap:8px!important;margin-bottom:8px!important}.checkbox-label input[type=checkbox]{width:auto!important;margin:0!important}.receipt-no-readonly{background-color:#f8f9fa!important;cursor:not-allowed!important;font-weight:700!important;color:#495057!important}.expiry-date-container{display:flex;align-items:center;gap:8px}.print-payment-display{display:none}.expiry-date-input{flex:1}.expiry-note{font-size:20px;color:#6c757d;font-style:italic;white-space:nowrap}@media (max-width: 768px){.header-content{flex-direction:column;gap:15px}.company-logo{height:50px;max-width:70px}.print-header-content{flex-direction:column;gap:10px}.print-logo{height:40px;max-width:60px}.payment-grid{grid-template-columns:1fr;gap:15px}.footer-section{flex-direction:column;gap:20px}.receipt-row,.form-row{flex-direction:column;gap:10px}.receipt-row label,.form-row label,input[type=text],input[type=date],input[type=tel]{min-width:100%}.payment-right label{flex-direction:column!important;align-items:start;gap:8px}}.print-bottom-section{display:none;text-align:left;width:100%}.print-bottom-left{flex:1;text-align:left}.print-bottom-right{flex:0 0 auto;text-align:right}.receipt-bottom-img{max-height:150px;margin-top:10px;margin-left:0}.receipt-address-img{max-height:120px;max-width:200px;margin-top:10px;margin-right:0;object-fit:contain}@media print{.print-bottom-section{display:flex!important;justify-content:space-between!important;align-items:flex-end!important;margin-top:10px!important;margin-bottom:0!important;padding-bottom:0!important;page-break-inside:avoid;page-break-before:avoid;break-inside:avoid;break-before:avoid;width:100%!important}.print-bottom-left{flex:1!important;text-align:left!important}.print-bottom-right{flex:0 0 auto!important;text-align:right!important}.footer-section+.print-bottom-section{page-break-before:avoid!important}}@media print{.payment-methods-list span{font-size:20px!important;font-weight:700!important;margin-bottom:8px!important;padding:8px!important;letter-spacing:1px!important;line-height:1.6!important}.payment-methods-list span:before{font-size:20px!important;margin-right:8px!important}}@media screen{.checkbox-label{font-size:16px!important;font-weight:600!important;padding:8px 12px!important;margin-bottom:12px!important;border:1px solid #dee2e6!important;border-radius:6px!important;background:#f8f9fa!important;transition:all .3s ease!important}.checkbox-label:hover{background:#e9ecef!important;border-color:#007bff!important}.checkbox-label input[type=checkbox]{width:18px!important;height:18px!important;margin-right:10px!important;transform:scale(1.3)!important;cursor:pointer!important}.checkbox-label input[type=checkbox]:checked{accent-color:#007bff!important}}@media print{.print-payment-methods>span:first-child{font-weight:700!important;font-size:20px!important;margin-bottom:10px!important;display:block!important}.payment-method-item{font-weight:400!important}.receipt-container .customer-info .form-row:nth-child(6){display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:baseline!important;gap:15px!important;flex-wrap:nowrap!important}.receipt-container .customer-info .form-row:nth-child(6) label{flex:1!important;min-width:0!important;white-space:nowrap!important}.receipt-container .customer-info .form-row:nth-child(6) input{min-width:120px!important;flex-shrink:0!important}.receipt-container .customer-info .form-row:nth-child(5) label:last-child{flex:0 0 50%!important;width:50%!important;margin-left:10px!important;min-width:0!important}.receipt-container .customer-info .form-row:nth-child(5) label:last-child input,.receipt-container .customer-info .form-row:nth-child(5) label:last-child select{width:100%!important;min-width:0!important;max-width:100%!important}.receipt-container .customer-info .form-row:nth-child(5) label:first-child{flex:0 0 50%!important;width:50%!important;margin-right:10px!important;min-width:0!important}.receipt-container .customer-info .form-row:nth-child(6){display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:baseline!important;gap:10px!important;flex-wrap:nowrap!important}.receipt-container .customer-info .form-row:nth-child(6) label{flex:1!important;min-width:0!important}.receipt-container .customer-info .form-row:nth-child(6) label:first-child{margin-left:0!important}.receipt-container .customer-info .form-row:nth-child(6) label:last-child{margin-right:0!important}}@media print{.signature{display:block!important;text-align:right!important;margin-top:30px!important;width:100%!important}.signature p{font-size:20px!important;font-weight:700!important;margin-bottom:10px!important}.signature-box{display:block!important;border:none!important;height:60px!important;width:200px!important;margin-left:auto!important;margin-right:0!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;padding:5px!important;background:#fff!important}.signature-box p{font-size:20px!important;font-weight:400!important;margin:0!important;text-align:center!important}}@media print{.receipt-container .form-row input[name=mobile]{margin-left:0!important;padding-left:0!important;text-align:left!important;text-indent:0!important}.receipt-container .customer-info .form-row:nth-child(3) label:first-child{margin-left:0!important;padding-left:0!important}.payment-method-item{font-weight:400!important;font-size:20px!important}.large-checkbox{font-weight:400!important;font-size:50px!important}.payment-methods-list span,.payment-methods-list .payment-method-item{font-weight:400!important}}@media print{.receipt-container .customer-info .form-row:has(.form-half){display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:baseline!important;gap:15px!important;flex-wrap:nowrap!important}.form-half{flex:0 0 40%!important;width:40%!important;min-width:0!important;margin:0 1%!important}.form-half:first-child{margin-left:0!important}.form-half:last-child{margin-right:0!important}.form-half input,.form-half select{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}.site-select{width:100%!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}}@media print{.receipt-container .customer-info .form-row:nth-last-child(2){display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:baseline!important;gap:10px!important;flex-wrap:nowrap!important;width:100%!important}.receipt-container .customer-info .form-row:nth-last-child(2) label:first-child{flex:0 0 40%!important;width:40%!important;min-width:0!important;margin-right:5px!important;margin-left:0!important}.receipt-container .customer-info .form-row:nth-last-child(2) label:last-child{flex:0 0 40%!important;width:40%!important;min-width:0!important;margin-left:5px!important;margin-right:0!important}.receipt-container .customer-info .form-row:nth-last-child(2) input,.receipt-container .customer-info .form-row:nth-last-child(2) select{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}.receipt-container .form-row label.form-half{display:inline-flex!important;flex-direction:row!important;align-items:baseline!important;gap:8px!important}}@media print{.receipt-container .form-row:has(.form-half),.receipt-container .customer-info .form-row:last-of-type{display:flex!important;flex-direction:row!important;justify-content:flex-start!important;margin-bottom:12px!important}.receipt-container label.form-half{flex:1 1 48%!important;width:48%!important;min-width:0!important;display:inline-flex!important;flex-direction:row!important;align-items:baseline!important;gap:4px!important;margin:0!important}.receipt-container label.form-half:first-child{margin-right:2px!important}.receipt-container label.form-half:last-child{margin-left:2px!important}.receipt-container label.form-half input,.receipt-container label.form-half select{flex:1!important;min-width:0!important;max-width:100%!important;width:auto!important}.receipt-container .customer-info>.form-row:last-child{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;justify-content:space-between!important;align-items:baseline!important}}@media print{.receipt-container .customer-info .form-row:last-child,.receipt-container .customer-info>div:last-child{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;justify-content:space-between!important;align-items:baseline!important;width:100%!important;gap:0px!important}.receipt-container .customer-info .form-row:last-child label{display:inline-flex!important;flex-direction:row!important;align-items:baseline!important;gap:4px!important;flex:0 0 45%!important;width:45%!important;min-width:0!important;white-space:nowrap!important}.receipt-container input[name=referenceName],.receipt-container select[name=siteName]{width:100%!important;min-width:0!important;word-wrap:break-word!important;white-space:normal!important;overflow-wrap:break-word!important}}@media print{.receipt-container .customer-info .form-row:last-child{gap:0px!important;margin:0!important;padding:0!important}.receipt-container .customer-info .form-row:last-child label{margin:0 2px!important;padding:0!important}.receipt-container .customer-info .form-row:last-child label:first-child{margin-right:5px!important;margin-left:0!important}.receipt-container .customer-info .form-row:last-child label:last-child{margin-left:5px!important;margin-right:0!important}}@media print{.print-payment-row{display:flex;justify-content:space-between;margin-bottom:8px}.underline-field{display:inline-block;min-width:120px;border-bottom:1px solid black;padding:0 4px;text-align:left}.payment-methods-list{display:flex;flex-direction:column;gap:6px;margin-top:6px}input[type=date]::-webkit-calendar-picker-indicator{display:none!important;-webkit-appearance:none!important}input[type=date]::-webkit-inner-spin-button,input[type=date]::-webkit-outer-spin-button{display:none!important;-webkit-appearance:none!important}input[type=date]::-moz-calendar-picker-indicator{display:none!important}input[type=date]{-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;background:transparent!important;border:none!important;border-bottom:1px solid black!important;padding:3px 0!important;font-size:20px!important;color:#000!important}input[type=date]:valid{color:#000!important;background:transparent!important}input[type=date]:invalid{color:transparent!important}}@media print{.receipt-container .form-row{margin-bottom:18px!important}.receipt-container .customer-info .form-row{margin-bottom:20px!important}.receipt-container .customer-info .form-row:nth-child(4){margin-bottom:25px!important}.receipt-container .customer-info .form-row:nth-child(5){margin-bottom:25px!important}.receipt-container .customer-info .form-row:nth-child(6){margin-bottom:30px!important;margin-top:5px!important}.payment-section{margin-top:25px!important;margin-bottom:25px!important}.print-payment-row{margin-bottom:20px!important}.print-payment-methods{margin-top:15px!important;margin-bottom:20px!important}.payment-method-item{margin-bottom:12px!important;padding:6px 0!important}.footer-section{margin-top:35px!important;padding-top:20px!important}}@media print{.receipt-container .form-row{margin-bottom:30px!important}.receipt-container .customer-info .form-row{margin-bottom:35px!important}.receipt-container .customer-info .form-row:nth-child(4){margin-bottom:40px!important}.receipt-container .customer-info .form-row:nth-child(5){margin-bottom:40px!important}.receipt-container .customer-info .form-row:nth-child(6){margin-bottom:45px!important;margin-top:15px!important}.payment-section{margin-top:40px!important;margin-bottom:40px!important;padding:15px 0!important}.print-payment-row{margin-bottom:35px!important}.print-payment-methods{margin-top:30px!important;margin-bottom:35px!important}.payment-method-item{margin-bottom:18px!important;padding:10px 0!important}.footer-section{margin-top:50px!important;padding-top:30px!important}.receipt-container .receipt-info{margin-bottom:40px!important}.receipt-container .customer-info{margin-bottom:45px!important}.receipt-container{line-height:1.8!important}.receipt-container label{line-height:1.6!important;margin-bottom:12px!important}}.print-modal{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.print-modal-content{background:#fff;width:90%;max-width:800px;max-height:90%;overflow-y:auto;border-radius:8px;box-shadow:0 4px 20px #0000004d}.print-controls{padding:15px 20px;border-bottom:1px solid #dee2e6;display:flex;gap:10px;justify-content:flex-end;background:#f8f9fa;border-radius:8px 8px 0 0}.print-controls button{padding:8px 16px;border:1px solid #dee2e6;border-radius:4px;cursor:pointer;font-size:14px;transition:all .3s}.print-controls .print-btn{background:#28a745;color:#fff;border-color:#28a745}.print-controls .print-btn:hover{background:#218838}.print-controls .close-btn{background:#6c757d;color:#fff;border-color:#6c757d}.print-controls .close-btn:hover{background:#545b62}@media print{.print-modal{position:static!important;background:#fff!important;width:100%!important;height:100%!important;display:block!important}.print-modal-content{width:100%!important;max-width:none!important;max-height:none!important;overflow:visible!important;border-radius:0!important;box-shadow:none!important;background:#fff!important}.print-controls{display:none!important}}.print-receipt-btn{background:#007bff;color:#fff;border:1px solid #007bff;padding:4px 8px;border-radius:4px;cursor:pointer;font-size:12px;transition:all .3s}.print-receipt-btn:hover{background:#0056b3;border-color:#0056b3}.print-receipt-btn:disabled{background:#6c757d;border-color:#6c757d;cursor:not-allowed}.print-modal .receipt-container input[readonly]{background:transparent!important;border:none!important;border-bottom:1px solid #000!important;color:#000!important;font-size:20px!important}.print-modal .receipt-container{padding:20px!important}.receipt-card-header{display:flex;justify-content:space-between;align-items:center;width:100%}.receipt-header-right{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.receipt-actions{display:flex;gap:8px;align-items:center}.print-receipt-btn{background:#007bff;color:#fff;border:1px solid #007bff;padding:6px 12px;border-radius:4px;cursor:pointer;font-size:12px;transition:all .3s;display:flex;align-items:center;gap:4px}.print-receipt-btn:hover{background:#0056b3;border-color:#0056b3;transform:translateY(-1px)}.print-receipt-btn:active{transform:translateY(0)}@media (max-width: 768px){.receipt-card-header{flex-direction:column;align-items:flex-start;gap:10px}.receipt-header-right{width:100%;flex-direction:row;justify-content:space-between;align-items:center}.print-receipt-btn{font-size:11px;padding:4px 8px}}@media print{.receipt-container .form-row{margin-bottom:15px!important}.receipt-container .customer-info .form-row{margin-bottom:18px!important}.receipt-container .customer-info .form-row:nth-child(4){margin-bottom:20px!important}.receipt-container .customer-info .form-row:nth-child(5){margin-bottom:20px!important}.receipt-container .customer-info .form-row:nth-child(6){margin-bottom:25px!important;margin-top:5px!important}.payment-section{margin-top:20px!important;margin-bottom:20px!important;padding:5px 0!important}.print-payment-row{margin-bottom:15px!important}.print-payment-methods{margin-top:12px!important;margin-bottom:15px!important}.payment-method-item{margin-bottom:8px!important;padding:4px 0!important}.footer-section{margin-top:25px!important;padding-top:15px!important}.receipt-container .receipt-info{margin-bottom:20px!important}.receipt-container .customer-info{margin-bottom:25px!important}.receipt-container{line-height:1.4!important}.receipt-container label{line-height:1.3!important;margin-bottom:6px!important}.print-only-header{margin-bottom:15px!important}.terms ul{line-height:1.3!important}.terms li{margin-bottom:3px!important}}@media print{.print-only-header{page-break-after:avoid!important;break-after:avoid!important}.receipt-container{page-break-inside:avoid!important;break-inside:avoid!important}.receipt-info{page-break-before:avoid!important;break-before:avoid!important;page-break-after:avoid!important;break-after:avoid!important}.customer-info{page-break-before:avoid!important;break-before:avoid!important}.print-top-image{margin-bottom:5px!important;margin-top:0!important;padding-top:0!important}.receipt-top-img{max-height:100px!important}.print-only-header{margin-bottom:10px!important;margin-top:0!important;padding-top:0!important;padding-bottom:10px!important}.print-only-header h1:first-child{margin-top:0!important;margin-bottom:5px!important}.print-only-header h1:last-child{margin-top:0!important;margin-bottom:0!important}.receipt-container *{orphans:1!important;widows:1!important}.receipt-info,.customer-info,.payment-section{page-break-inside:avoid!important;break-inside:avoid!important}}@media print{.print-modal .form-actions,.printable-receipt-wrapper .form-actions{display:none!important}}.print-modal input[readonly]{background:transparent!important;border:none!important;border-bottom:1px solid #000!important;color:#000!important;cursor:default!important}.print-modal select[disabled]{background:transparent!important;border:none!important;border-bottom:1px solid #000!important;color:#000!important;cursor:default!important;-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important}@media print{.plot-input{width:40px}.large-checkbox{font-size:40px!important;font-weight:700!important;margin-right:15px!important;display:inline-block!important;width:50px!important;text-align:center!important;line-height:1!important;font-family:Arial Unicode MS,Arial,sans-serif!important;color:#000!important}.receipt-container input[type=text],.receipt-container input[name=referenceName],.receipt-container input[name=siteName],.receipt-container input[name=fromName],.receipt-container input[name=mobile],.receipt-container input[name=address],.receipt-container input[name=receivedAmount],.receipt-container input[name=plotVillaNo],.receipt-container input[name=plotSize],.receipt-container input[name=basicRate],.receipt-container label,.receipt-container *{font-size:20px!important}.receipt-container h1{font-size:24px!important}.receipt-container h2{font-size:22px!important}.receipt-container h3,.receipt-container h4,.terms h4,.terms ul,.signature-box p{font-size:20px!important}}.print-modal .large-checkbox{font-size:32px!important;font-weight:700!important;margin-right:12px!important;display:inline-block!important;width:40px!important;text-align:center!important;line-height:1!important;font-family:Arial Unicode MS,Arial,sans-serif!important;color:#000!important}@media print{.print-value{font-size:20px!important;font-weight:400!important}.receipt-container input[type=text],.receipt-container input[readonly],.underline-field,.print-payment-display span,.print-payment-row span,.payment-methods-row span,.customer-info input,.customer-info select,.receipt-info input{font-size:20px!important}}.date-print{display:none}@media print{.receipt-row{display:flex!important;gap:10px!important;align-items:flex-end!important;margin-bottom:15px!important}.receipt-no-label{flex:0 0 auto!important;width:auto!important}.receipt-no-container,.expiry-date-container{display:contents!important}.receipt-row input{border:none!important;border-bottom:1px solid #000!important;background:transparent!important;padding:0 2px!important;font-size:20px!important}.receipt-no-label input{width:60px!important}.date-label input,.expiry-label input{width:100%!important}.date-label,.expiry-label{flex:1!important}.expiry-note{font-size:9px!important}}@media print{.payment-methods-row{display:flex;gap:40px;margin-bottom:20px;align-items:center}.printer{margin-bottom:16px}.amount-highlight{font-size:25px;font-weight:700}.print-checkbox{display:flex;align-items:center;gap:5px;font-size:20px}.print-checkbox span{display:inline-block;width:60px;height:35px;border:1px solid #000;text-align:center;line-height:35px}.print-checkbox span.checked:after{content:"✔";font-size:24px;display:block;text-align:center}.underline-field{display:inline-block;min-width:300px;border-bottom:1px solid #000;padding-bottom:2px;margin-left:10px;font-size:20px;vertical-align:middle}.print-payment-display span{font-size:20px!important}.bold-label{font-weight:700!important;font-size:20px!important}.print-payment-display .print-payment-row span,.print-payment-display .payment-methods-row span{font-size:20px!important}.cheque-field{margin-left:100px}.rtgs-field{margin-left:0}}.auth-wrapper{display:flex;justify-content:center;align-items:center;min-height:100vh;padding:1rem;box-sizing:border-box}.auth-container{background-color:#fff;padding:2rem;border-radius:8px;box-shadow:0 4px 6px #0000001a;width:100%;max-width:400px}@media (max-width: 480px){.auth-container{padding:1.5rem;max-width:100%}.auth-container h2{font-size:1.5rem}.form-group input,.auth-container button{padding:.6rem}}.auth-container h2{margin-top:0;margin-bottom:1.5rem;text-align:center;color:#333}.form-group{margin-bottom:1rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500}.form-group input{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.auth-container button{width:100%;padding:.75rem;background-color:#000000bd;color:#fff;border:none;border-radius:4px;font-size:1rem;cursor:pointer;margin-top:1rem}.auth-container button:hover{background-color:#357abd;color:#fff}.auth-container button:disabled{background-color:#ccc;cursor:not-allowed}.error-message{color:#e74c3c;margin-bottom:1rem;text-align:center;font-size:.9rem;background-color:#fadbd8;padding:.75rem;border-radius:4px;word-wrap:break-word;overflow-wrap:break-word}.auth-switch{margin-top:1rem;text-align:center;font-size:.9rem}.switch-btn{background:none;border:none;color:#4a90e2;cursor:pointer;font-size:.9rem;padding:0;text-decoration:underline}.switch-btn:hover{color:#357abd;text-decoration:none}.link-button{background:none;border:none;color:#4a90e2;text-decoration:underline;cursor:pointer;font-size:1rem;padding:0;margin:0;display:inline}.link-button:hover{color:#357abd}.user-info{display:flex;align-items:center;margin-bottom:1rem;gap:1rem}.logout-btn{background-color:#e74c3c;color:#fff;border:none;border-radius:4px;padding:.5rem 1rem;cursor:pointer}.logout-btn:hover{background-color:#c0392b}
