@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap";body{margin:0;padding:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background-color:#f8fafc;background-image:radial-gradient(at 40% 20%,hsla(28,100%,74%,.1) 0px,transparent 50%),radial-gradient(at 80% 0%,hsla(220,100%,76%,.2) 0px,transparent 50%),radial-gradient(at 0% 50%,hsla(355,100%,93%,.5) 0px,transparent 50%),radial-gradient(at 80% 50%,hsla(340,100%,76%,.1) 0px,transparent 50%),radial-gradient(at 0% 100%,hsla(22,100%,77%,.1) 0px,transparent 50%),radial-gradient(at 80% 100%,hsla(242,100%,70%,.1) 0px,transparent 50%),radial-gradient(at 0% 0%,hsla(343,100%,76%,.1) 0px,transparent 50%);color:#334155;min-height:100vh}.app-container{max-width:1100px;margin:0 auto;padding:2rem}.glass-header h1{font-size:2.2rem;font-weight:800;margin-top:0;margin-bottom:2rem;color:#1e293b;text-shadow:0 4px 15px rgba(0,0,0,.03)}.glass-card{background:#ffffffb3;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border:1px solid rgba(255,255,255,.8);border-radius:16px;padding:2rem;box-shadow:0 10px 30px #00000008}.dashboard{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1.5rem;margin-bottom:2rem}.stat-card{background:#fff9;border:1px solid rgba(255,255,255,.9);box-shadow:0 4px 15px #00000005;border-radius:16px;padding:1.5rem;display:flex;flex-direction:column;justify-content:center}.stat-card.primary{background:linear-gradient(135deg,#5865f21a,#3238850d);border:1px solid rgba(88,101,242,.2)}.stat-card h3{margin:0 0 .5rem;font-size:.95rem;color:#64748b;font-weight:600}.money{margin:0;font-size:2.2rem;font-weight:800;color:#0f172a}.money-small{margin:0;font-size:1.5rem;font-weight:700;color:#334155}.main-layout{display:grid;grid-template-columns:3fr 2fr;gap:2rem}@media (max-width: 768px){.dashboard,.main-layout{grid-template-columns:1fr}}h2{margin-top:0;font-size:1.3rem;font-weight:700;border-bottom:1px solid rgba(0,0,0,.05);padding-bottom:1rem;margin-bottom:1.5rem;color:#1e293b}.form-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1rem}.form-group{margin-bottom:1.5rem;display:flex;flex-direction:column}.form-group label{font-size:.85rem;color:#64748b;font-weight:600;margin-bottom:.5rem}.form-group input{background:#fffc;border:1px solid rgba(0,0,0,.1);padding:.8rem 1rem;border-radius:8px;color:#1e293b;font-size:1rem;outline:none;font-weight:500;transition:all .2s}.form-group input:focus{border-color:#5865f2;box-shadow:0 0 0 3px #5865f226;background:#fff}.perc-input{display:flex;align-items:center;background:#fffc;border:1px solid rgba(0,0,0,.1);border-radius:8px;padding-right:1rem}.perc-input input{border:none;background:transparent;flex:1}.perc-input input:focus{box-shadow:none}.perc-input span{font-weight:600;color:#64748b}small{margin-top:.4rem;font-size:.75rem;color:#94a3b8}.live-preview{background:#fff9;border-left:4px solid #5865F2;padding:1.5rem;border-radius:4px 12px 12px 4px;box-shadow:0 4px 15px #00000005;margin-bottom:1.5rem}.preview-item{display:flex;justify-content:space-between;margin-bottom:.5rem;font-size:.95rem;font-weight:500}.preview-item.highlight{font-weight:800;color:#5865f2;font-size:1.15rem}.submit-btn{width:100%;background:#5865f2;color:#fff;border:none;padding:1rem;font-size:1.05rem;font-weight:600;border-radius:8px;cursor:pointer;box-shadow:0 4px 15px #5865f24d;transition:all .2s}.submit-btn:hover{background:#4752c4;transform:translateY(-1px);box-shadow:0 6px 20px #5865f266}.submit-btn:disabled{background:#94a3b8;cursor:not-allowed;box-shadow:none}.items-list{display:flex;flex-direction:column;gap:1.5rem;margin-bottom:1.5rem}.product-item-card{background:#fff6;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(88,101,242,.15);border-radius:12px;padding:1.5rem;box-shadow:0 4px 15px #00000004}.item-header{display:flex;justify-content:space-between;margin-bottom:1rem;border-bottom:1px dashed rgba(0,0,0,.08);padding-bottom:.5rem}.item-badge{background:#eef2ff;color:#4f46e5;font-size:.8rem;padding:4px 12px;border-radius:20px;font-weight:700}.remove-btn{background:#fee2e2;color:#ef4444;border:none;font-size:.8rem;font-weight:600;padding:4px 10px;border-radius:6px;cursor:pointer}.remove-btn:hover{background:#fecaca}.add-item-btn{width:100%;background:#ffffff80;border:2px dashed rgba(0,0,0,.1);color:#64748b;font-weight:600;padding:1rem;border-radius:8px;margin-bottom:2rem;cursor:pointer;transition:all .2s}.add-item-btn:hover{background:#fffc;color:#334155;border-color:#0003}.custom-select{background:#fffc;border:1px solid rgba(0,0,0,.1);padding:.8rem 1rem;border-radius:8px;color:#1e293b;width:100%;outline:none;cursor:pointer;font-weight:600}.custom-select:focus{border-color:#5865f2;box-shadow:0 0 0 3px #5865f226;background:#fff}.item-preview-block{margin-bottom:1rem;padding:.8rem;border-left:4px solid rgba(88,101,242,.3);background:#fff6;border-radius:0 8px 8px 0}.item-preview-name{font-weight:700;color:#1e293b;margin-bottom:.5rem}.split-profit{font-size:.85rem}.split-line{margin:.3rem 0;color:#475569;font-weight:500}.highlight-val{color:#059669;font-weight:700}.split-line small{color:#94a3b8;display:inline-block;margin-left:.5rem}.order-list{display:flex;flex-direction:column;gap:1rem;max-height:550px;overflow-y:auto;padding-right:5px}.order-list::-webkit-scrollbar{width:6px}.order-list::-webkit-scrollbar-thumb{background-color:#0000001a;border-radius:10px}.order-item{background:#ffffff80;border-radius:10px;padding:1.2rem;display:flex;justify-content:space-between;align-items:center;border:1px solid rgba(255,255,255,.8);box-shadow:0 4px 15px #00000005;cursor:pointer;transition:all .2s}.order-item:hover{background:#ffffffe6;border-color:#5865f24d;transform:translateY(-2px);box-shadow:0 8px 25px #5865f21a}.order-left h4{margin:0 0 .5rem;font-size:1.05rem;color:#0f172a}.date-tag{background:#e2e8f0;color:#475569;padding:3px 8px;border-radius:4px;font-size:.75rem;font-weight:600;margin-right:8px}.delivery-tag{font-size:.8rem;color:#64748b;font-weight:500}.order-right{text-align:right}.badge.green{background:#d1fae5;color:#059669;padding:.35rem .6rem;border-radius:20px;font-size:.95rem;font-weight:700;display:inline-block;margin-bottom:.4rem}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#ffffff4d;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);display:flex;justify-content:center;align-items:center;z-index:1000;animation:fadeIn .2s ease-out}.modal-content{background:#ffffffe6;border:1px solid rgba(255,255,255,1);border-radius:20px;width:90%;max-width:450px;box-shadow:0 25px 50px #0000001a;animation:slideUp .2s ease-out;overflow:hidden}.modal-header{padding:1.2rem 1.5rem;border-bottom:1px solid rgba(0,0,0,.05);display:flex;justify-content:space-between;align-items:center;background:#ffffff80}.modal-header h3{margin:0;font-size:1.15rem;color:#0f172a}.close-btn{background:transparent;border:none;color:#cbd5e1;font-size:1.5rem;font-weight:700;cursor:pointer}.close-btn:hover{color:#64748b}.modal-body{padding:1.5rem}.modal-info{margin-bottom:1.5rem;display:flex;gap:.5rem}.info-badge{background:#eff6ff;color:#2563eb;padding:6px 10px;border-radius:6px;font-size:.85rem;font-weight:600}.detail-divider{font-size:.8rem;color:#94a3b8;margin:.8rem 0;border-bottom:1px dashed rgba(0,0,0,.1);padding-bottom:.8rem;font-weight:600}.detail-row{display:flex;justify-content:space-between;align-items:center;padding:4px 0}.total-row{margin-top:1rem;padding-top:1.2rem;border-top:2px solid rgba(0,0,0,.05)}.detail-label{color:#64748b;font-size:.95rem;font-weight:500}.detail-value{font-size:1.05rem;font-weight:700;color:#1e293b}.highlight-green{color:#059669}.highlight-blue{color:#0284c7}.actual-paid-row{background:linear-gradient(to right,#f0fdf4cc,#dcfce766);border:1px dashed #86efac;border-radius:8px;padding:.6rem 1rem;margin-bottom:1rem}.actual-paid-row label{font-size:.85rem;color:#166534;font-weight:700}.actual-paid-row input{background:#ffffffe6;border:1px solid #bbf7d0;padding:.6rem .8rem;border-radius:8px;color:#14532d;font-size:.95rem;outline:none;font-weight:600;transition:all .2s}.actual-paid-row input:focus{border-color:#22c55e;box-shadow:0 0 0 3px #22c55e26}.actual-unit-hint{font-size:.9rem;font-weight:700;color:#16a34a;white-space:nowrap;background:#dcfce7;padding:4px 10px;border-radius:20px}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(20px);opacity:0;scale:.98}to{transform:translateY(0);opacity:1;scale:1}}
