.payment-screen,.payment-screen *{max-width:100%}.app-wrapper{background:#f6f7f9;justify-content:center;align-items:center;width:100vw;height:100vh;display:flex}body{background:#f6f7f9;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto}.pos{background:#fff;grid-template-rows:60px 50px 1fr 70px 240px;width:390px;height:844px;display:grid}.header{border-bottom:1px solid #e6e6e6;justify-content:center;align-items:center;font-size:18px;font-weight:600;display:flex}.order-bar{border-bottom:1px solid #eaeaea;justify-content:space-between;align-items:center;padding:0 14px;display:flex}.menu-btn{background:#f2f4f6;border:none;border-radius:8px;padding:6px 12px;font-size:14px}.back-btn{background:#f2f4f6;border:none;border-radius:8px;width:fit-content;margin-bottom:10px;padding:6px 12px;font-size:14px}.order{overflow-y:auto}table{border-collapse:collapse;width:100%;font-size:14px}th{text-align:left;color:#777;border-bottom:1px solid #eee;padding:8px;font-weight:500}td{align-self:center;padding:10px 8px}tr{border-bottom:1px solid #f0f0f0}.name{font-weight:500}.qty{justify-content:center;align-items:center;gap:6px;min-width:90px;display:flex}.qty-value{text-align:center;width:28px;font-weight:600}.qty-btn{background:#eef1f4;border:none;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;font-size:16px;font-weight:600;display:flex}.price{text-align:right;white-space:nowrap;font-weight:500}.remove{text-align:center}.remove-btn{color:#c33!important;background:#ffe9e9!important;border:none!important;border-radius:6px!important;justify-content:center!important;align-items:center!important;width:28px!important;height:28px!important;font-size:14px!important;display:flex!important}.total-bar{border-top:1px solid #eee;justify-content:space-between;align-items:center;padding:10px 14px;display:flex}.total-bar button{color:#fff;background:#2fbf71;border:none;border-radius:10px;padding:10px 16px;font-size:15px;font-weight:600}.menu{border-top:1px solid #eee;padding:10px;overflow:auto}.menu-grid{grid-template-columns:1fr 1fr 1fr;gap:10px;display:grid}.menu-grid button{text-align:center;background:#f3f5f7;border:none;border-radius:10px;justify-content:center;align-items:center;height:64px;padding:6px;font-size:14px;font-weight:500;display:flex}.modal{z-index:100;background:#00000040;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:fixed;top:0;left:0}.modal-content{box-sizing:border-box;background:#fff;border-radius:12px;flex-direction:column;gap:10px;width:280px;max-height:90%;padding:20px;display:flex;overflow-y:auto}.modal-content button{box-sizing:border-box;background:#f1f3f5;border:none;border-radius:8px;width:100%;padding:10px}.option-column{flex-direction:column;gap:6px;display:flex}.option-btn{text-align:center;box-sizing:border-box;background:#f1f3f5;border:none;border-radius:8px;width:100%;padding:10px}.option-btn.selected{background:#ddd}.payment-modal{box-sizing:border-box;background:#fff;border-radius:12px;flex-direction:column;gap:10px;width:320px;max-width:90%;max-height:85%;padding:20px;display:flex;overflow-y:auto}.payment-screen,.payment-screen *{max-width:100%}.payment-modal h3{text-align:center;margin:0 0 10px;font-size:16px;font-weight:600}.payment-order{max-height:200px;margin-bottom:10px;overflow-y:auto}.payment-modal .option-column,.payment-modal .menu-grid,.payment-modal .payment-type,.payment-modal .payment-row{max-width:100%}.payment-modal .payment-row select{max-width:30%}.payment-modal .payment-row input{max-width:10%}.payment-modal .payment-row button{max-width:30%}.payment-modal button{box-sizing:border-box;width:100%;margin-top:4px}.payment-types{flex-direction:column;gap:6px;margin-bottom:10px;display:flex}.payment-type-row{justify-content:space-between;align-items:center;display:flex}.payment-type-row select,.payment-type-row input{box-sizing:border-box;border:1px solid #ccc;border-radius:6px;flex:1;padding:6px 8px}.payment-type-row .payment-type-row-main{flex-direction:row;justify-content:start;align-items:center;gap:10px;max-width:80%;display:flex}.payment-type-row .payment-type-row-main select{max-width:60%}.payment-type-row .payment-type-row-main input{max-width:30%}.payment-type-row .remove-btn{color:#c33;cursor:pointer;background:#ffe9e9;border:none;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;font-size:14px;display:flex;justify-self:end!important}.add-payment-btn{cursor:pointer;background:#f2f4f6;border:none;border-radius:8px;align-self:flex-start;padding:8px 12px;font-size:14px}.exact-sum-btn{cursor:pointer;box-sizing:border-box;background:#f2f4f6;border:none;border-radius:8px;width:100%;padding:10px;font-size:14px}.pay-btn{color:#fff;cursor:pointer;box-sizing:border-box;border:none;border-radius:10px;width:100%;padding:10px;font-size:15px;font-weight:600;background:#2fbf71!important}.pay-btn:disabled{opacity:.5;cursor:not-allowed}.payment-summary{flex-direction:column;justify-content:start;margin-bottom:8px;font-weight:600;display:flex}.pos{background:#fff;border-radius:12px;grid-template-rows:60px 50px 1fr 70px 240px;width:100%;height:100%;display:grid;box-shadow:0 4px 12px #00000026}.payment-change{color:#2fbf71;margin-bottom:6px;font-weight:600}.header button{z-index:10;position:absolute;top:10px;left:10px;margin:0!important}.discount-bar{align-items:center;gap:10px;margin-bottom:6px;display:flex}.discount-input-group{background:#f4f4f4;border-radius:6px;align-items:center;gap:6px;padding:4px 8px;display:flex}.discount-label{color:#555;font-size:12px}.discount-input{text-align:center;background:0 0;border:none;outline:none;width:50px;font-size:16px;font-weight:600}.discount-percent{color:#555;font-size:14px}.discount-quick{cursor:pointer;background:#e0e0e0;border:none;border-radius:6px;padding:4px 10px;font-weight:600}.discount-quick:hover{background:#d5d5d5}
