@import "https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap";:root{--bg:#f6f8fb;--card:#fff;--sidebar:#0f172a;--sidebar-2:#111827;--primary:#10b981;--primary-dark:#059669;--primary-soft:#e8f8ef;--text:#111827;--muted:#64748b;--subtle:#94a3b8;--border:#e5e7eb;--orange:#f59e0b;--blue:#3b82f6;--red:#ef4444;--purple:#8b5cf6;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Tajawal,Segoe UI,Tahoma,sans-serif}*{box-sizing:border-box}html,body{height:100%;overflow:hidden}body{direction:rtl;min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}a{color:inherit;text-decoration:none}#root{height:100vh;overflow:hidden}img{max-width:100%}.settings-windows-layout{flex-direction:column;gap:12px;max-width:850px;margin:0 auto;padding:30px 20px;display:flex}.settings-row-btn{background:var(--card,#fff);border:1px solid var(--border,#e5e7eb);text-align:right;border-radius:16px;align-items:center;gap:20px;width:100%;padding:20px 24px;transition:all .2s cubic-bezier(.4,0,.2,1);display:flex;box-shadow:0 4px 12px #0f172a05}.settings-row-btn:hover{background:#fdfdfd;border-color:#cbd5e1;transform:translateY(-2px);box-shadow:0 8px 20px #0f172a0f}.settings-row-btn:active{transform:translateY(0)scale(.995);box-shadow:0 2px 6px #0f172a0a}.settings-row-icon{color:#db2777;background:#ec489914;border-radius:12px;flex-shrink:0;place-items:center;width:52px;height:52px;display:grid}.settings-row-image{object-fit:cover;border:1px solid #0f172a0a;border-radius:12px;flex-shrink:0;width:52px;height:52px;box-shadow:0 4px 10px #0f172a0f}.settings-row-text{flex:1}.settings-row-text h3{color:var(--text,#111827);margin:0;font-size:18px;font-weight:800}.settings-row-text p{color:var(--muted,#64748b);margin:6px 0 0;font-size:14px;line-height:1.5}.settings-row-arrow{color:var(--subtle,#94a3b8);place-items:center;transition:all .2s;display:grid}.settings-row-btn:hover .settings-row-arrow{color:#db2777;transform:translate(-6px)}.profile-modal-avatar{justify-content:center;margin-bottom:24px;display:flex}.profile-modal-avatar img,.profile-modal-avatar-placeholder{object-fit:cover;border:2px solid #fff;border-radius:20px;width:90px;height:90px;box-shadow:0 8px 24px #0f172a1f}.profile-modal-avatar-placeholder{color:#db2777;background:#ec489914;place-items:center;display:grid}.admin-edit-modal{max-width:480px!important}.admin-edit-modal .modal-title-row{margin-bottom:24px}.admin-edit-modal .edit-form-grid.profile-grid{grid-template-columns:1fr;gap:16px}.profile-grid .profile-modal-avatar{grid-column:1/-1;justify-content:center;margin-bottom:8px;display:flex}.profile-grid label{grid-column:1/-1}.profile-grid .image-upload-field{margin-top:10px}.profile-grid .image-upload-field span{color:#db2777;cursor:pointer;background:#ec489908;border:1px dashed #db277766;border-radius:12px;justify-content:center;align-items:center;gap:10px;width:100%;padding:14px;font-size:14px;font-weight:700;transition:all .2s;display:flex}.profile-grid .image-upload-field:hover span{background:#ec489914;border-color:#db2777}.profile-grid .image-upload-field input{display:none}.nested-settings-field{gap:8px;margin-top:16px;display:grid}.dashboard-shell{background:var(--bg);height:100vh;padding-right:282px;overflow:hidden}.dashboard-shell.sidebar-collapsed{padding-right:92px}.sidebar{color:#cbd5e1;z-index:20;background:radial-gradient(circle at 20% 5%,#ec489924,#0000 30%),linear-gradient(#0b1727 0%,#101827 100%);flex-direction:column;width:282px;padding:26px 18px;transition:width .22s,padding .22s,transform .22s;display:flex;position:fixed;top:0;bottom:0;right:0}.sidebar.collapsed{width:92px;padding:22px 12px}.sidebar-toggle{color:#f472b6;background:#0f172af0;border:1px solid #ec489942;border-radius:12px;place-items:center;width:36px;height:36px;display:grid;position:absolute;top:18px;left:-18px;box-shadow:0 14px 30px #0f172a38}.brand{color:#fff;align-items:center;gap:12px;margin-bottom:42px;display:flex}.sidebar.collapsed .brand{justify-content:center;margin-bottom:36px}.sidebar.collapsed .brand>span:last-child,.sidebar.collapsed .side-nav a span,.sidebar.collapsed .manager-card-main>div,.sidebar.collapsed .manager-card-main>svg{display:none}.brand-mark{color:#fff;background:linear-gradient(135deg,#ec4899,#db2777 45%,#8b5cf6);border-radius:13px;place-items:center;width:42px;height:42px;display:grid;box-shadow:0 14px 28px #ec48993d}.brand strong{font-size:31px;font-weight:800;line-height:1;display:block}.brand small{color:#94a3b8;margin-top:7px;font-size:13px;display:block}.side-nav{gap:14px;display:grid}.side-nav a{color:#cbd5e1;border-radius:12px;align-items:center;gap:15px;height:56px;padding:0 18px;transition:all .2s;display:flex}.sidebar.collapsed .side-nav a{justify-content:center;padding:0}.side-nav a:hover{background:#ffffff0f}.side-nav a.active{color:#f472b6;background:#ec489924;box-shadow:inset 0 0 0 1px #ec48992e}.manager-card{margin-top:auto;position:relative}.manager-card-main{text-align:right;width:100%;min-height:92px;color:inherit;background:#0f172ab8;border:1px solid #ffffff17;border-radius:14px;grid-template-columns:48px 1fr 16px;align-items:center;gap:12px;padding:14px;display:grid}.manager-card.open .manager-card-main{background:#0f172ae0;border-color:#ec489947}.sidebar.collapsed .manager-card-main{grid-template-columns:1fr;justify-items:center;min-height:68px;padding:10px}.manager-card img,.manager-avatar-fallback,.avatar,.assigned-driver img,.driver-list-item img,.driver-popup img,.profile-header img,.late-card img,.driver-card img{object-fit:cover;background:#f1f5f9;border-radius:50%;width:44px;height:44px}.manager-avatar-fallback{color:#db2777;background:#fdf2f8;place-items:center;display:grid}.manager-card strong{color:#fff;font-size:14px;display:block}.manager-card-main div span{color:#94a3b8;align-items:center;gap:6px;margin-top:6px;font-size:12px;display:flex}.manager-card i,.live-dot:before{background:var(--primary);content:"";border-radius:99px;width:7px;height:7px;display:inline-block}.manager-card i{background:#ec4899}.manager-menu{inset-inline:0;z-index:8;background:#0f172af5;border:1px solid #ec489933;border-radius:12px;padding:8px;position:absolute;bottom:calc(100% + 8px);box-shadow:0 18px 38px #0000003d}.manager-menu button{color:#f9a8d4;background:#ec48991f;border-radius:9px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:38px;font-weight:800;display:inline-flex}.main-area{height:100vh;padding:12px 16px 24px;overflow:hidden}.section-header{border:1px solid var(--border);z-index:10;direction:ltr;background:#ffffffeb;border-radius:16px;grid-template-columns:minmax(450px,auto) 1fr;align-items:center;gap:24px;min-height:86px;padding:16px 22px;display:grid;position:relative;box-shadow:0 12px 30px #0f172a0a}.section-title{text-align:right;direction:rtl;grid-column:2;justify-self:end}.section-title h1{letter-spacing:0;margin:0;font-size:30px}.section-title p{color:var(--muted);margin:4px 0 0;font-size:15px}.section-tools{direction:ltr;grid-column:1;justify-self:start;align-items:center;gap:12px;display:flex}.section-tools .toolbar-actions{flex-shrink:0;grid-area:auto}.section-tools .search-input{direction:rtl;width:min(360px,34vw)}.header-search-wrap{direction:rtl;align-items:center;gap:8px;display:flex}.clear-search-button{color:#dc2626;white-space:nowrap;background:#ef444412;border:1px solid #ef444447;border-radius:10px;align-items:center;gap:6px;height:42px;padding:0 12px;font-weight:800;display:inline-flex}.topbar{border:1px solid var(--border);z-index:10;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffe0;border-radius:16px;grid-template-columns:auto minmax(260px,330px) 1fr;align-items:center;gap:32px;min-height:86px;padding:16px 22px;display:grid;position:sticky;top:10px;box-shadow:0 12px 30px #0f172a0a}.toolbar-actions{direction:ltr;gap:10px;display:flex}.icon-button{border:1px solid var(--border);color:#475569;background:#fff;border-radius:10px;place-items:center;width:43px;height:43px;display:grid;position:relative;box-shadow:0 7px 16px #0f172a0a}.icon-button.has-dot:after{content:"";background:var(--primary);border-radius:99px;width:8px;height:8px;position:absolute;top:8px;right:8px}.icon-button.active{color:var(--primary-dark);background:#f0fdf4;border-color:#10b98159}.mobile-menu{display:none}.search-input{border:1px solid var(--border);height:46px;color:var(--subtle);background:#f8fafc;border-radius:9px;align-items:center;gap:10px;padding:0 14px;display:flex}.search-input input{width:100%;color:var(--text);text-align:right;background:0 0;border:0;outline:0}.topbar-title{text-align:right;grid-area:1/1}.topbar>.search-input{grid-area:1/2}.toolbar-actions{grid-area:1/3}.header-primary-action{color:#fff;white-space:nowrap;direction:rtl;background:#db2777;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 14px;font-weight:800;display:inline-flex;box-shadow:0 10px 20px #db27772e}.header-primary-action:hover{background:#be185d}.topbar-title h1,.page-header h1{letter-spacing:0;margin:0;font-size:30px}.topbar-title p,.page-header p{color:var(--muted);margin:4px 0 0;font-size:15px}.page-stack{gap:14px;margin-top:12px;display:grid}.accounting-page{--primary:#ec4899;--primary-dark:#db2777;--primary-soft:#fdf2f8;grid-template-rows:auto auto minmax(0,1fr);height:calc(100vh - 134px);min-height:0;overflow:hidden}.orders-page,.drivers-page{--primary:#ec4899;--primary-dark:#db2777;--primary-soft:#fdf2f8;grid-template-rows:auto minmax(0,1fr);height:calc(100vh - 134px);min-height:0;overflow:hidden}.driver-account-page{--primary:#ec4899;--primary-dark:#db2777;--primary-soft:#fdf2f8;height:calc(100vh - 134px);overflow:auto}.driver-account-form{direction:rtl;grid-template-columns:280px minmax(0,1fr);gap:22px;width:min(100%,860px);margin-inline:auto;padding:20px;display:grid}.driver-image-panel{background:#fbfdff;border:1px solid #eef2f7;border-radius:12px;align-content:start;justify-items:center;gap:14px;padding:18px;display:grid}.driver-image-preview{color:#db2777;background:#fdf2f8;border:1px solid #ec489938;border-radius:18px;place-items:center;width:178px;height:178px;display:grid;overflow:hidden}.driver-image-preview img{object-fit:cover;width:100%;height:100%}.image-picker-button,.driver-save-button,.generated-field button{border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:42px;font-weight:800;display:inline-flex}.image-picker-button{color:#db2777;cursor:pointer;background:#fdf2f8;border:1px solid #ec489947;width:100%}.image-picker-button input{display:none}.driver-account-fields{align-content:start;gap:16px;display:grid}.driver-account-fields label{color:#334155;gap:8px;font-weight:800;display:grid}.driver-account-fields input{border:1px solid var(--border);min-height:46px;color:var(--text);background:#fff;border-radius:10px;outline:0;padding:0 13px}.generated-field{grid-template-columns:minmax(0,1fr) 112px;gap:8px;display:grid}.generated-field button{color:#db2777;background:#fdf2f8;border:1px solid #ec489947}.driver-app-lock{color:#047857;background:#f0fdf4;border:1px solid #10b9813d;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;min-height:56px;padding:0 14px;display:flex}.driver-app-lock span{direction:ltr;font-weight:900}.driver-save-button{color:#fff;background:#db2777;border:0;box-shadow:0 12px 24px #db27772e}.driver-save-button:disabled{opacity:.62;cursor:not-allowed}.real-drivers-table{min-width:920px}.customers-table{min-width:1060px}.driver-avatar-fallback{color:#db2777;background:#fdf2f8;border:1px solid #ec489933;border-radius:50%;place-items:center;width:44px;height:44px;display:grid}.customer-avatar-fallback{width:38px;height:38px}.customer-address-cell{color:#475569;align-items:center;gap:7px;max-width:360px;line-height:1.5;display:inline-flex}.latin-cell{text-align:right;direction:ltr;unicode-bidi:embed}.created-at-cell{align-items:center;gap:7px;display:inline-flex}.card,.tabs-card{background:var(--card);border:1px solid var(--border);border-radius:14px;box-shadow:0 10px 24px #0f172a0a}.tabs-card{grid-template-columns:repeat(7,minmax(100px,1fr));gap:10px;padding:12px;display:grid}.tabs-card button,.filter-row button,.filter-row select{min-height:42px;color:var(--muted);border:1px solid var(--border);background:#f8fafc;border-radius:10px;justify-content:center;align-items:center;gap:10px;display:inline-flex}.tabs-card button b,.segmented b{color:#475569;background:#eef2f7;border-radius:8px;place-items:center;min-width:26px;height:24px;font-size:12px;display:inline-grid}.tabs-card button.active,.filter-row button.active{background:var(--primary-soft);color:var(--primary-dark);border-color:#10b98159}.orders-layout{direction:ltr;grid-template-columns:410px minmax(0,1fr);align-items:stretch;gap:14px;min-height:0;display:grid}.orders-table-card{direction:rtl;flex-direction:column;grid-area:1/2;min-height:0;display:flex;overflow:hidden}.order-details{direction:rtl;grid-area:1/1;min-height:0}.table-scroll{overflow-x:auto}.orders-page .table-scroll{scrollbar-width:thin;scrollbar-color:#10b9817a #f1f5f9e6;flex:1;min-height:0;overflow:auto}.orders-page thead th{z-index:3;box-shadow:0 1px 0 var(--border);position:sticky;top:0}.orders-page .table-scroll::-webkit-scrollbar{width:10px;height:10px}.order-details::-webkit-scrollbar{width:10px;height:10px}.orders-page .table-scroll::-webkit-scrollbar-track{background:linear-gradient(#f8fafc,#eef2f7);border-radius:999px;margin:8px}.order-details::-webkit-scrollbar-track{background:linear-gradient(#f8fafc,#eef2f7);border-radius:999px;margin:8px}.orders-page .table-scroll::-webkit-scrollbar-thumb{background:linear-gradient(#10b981b8,#059669d1);border:2px solid #f8fafc;border-radius:999px}.order-details::-webkit-scrollbar-thumb{background:linear-gradient(#10b981b8,#059669d1);border:2px solid #f8fafc;border-radius:999px}.orders-page .table-scroll::-webkit-scrollbar-thumb:hover{background:linear-gradient(#10b981e6,#059669f2)}.order-details::-webkit-scrollbar-thumb:hover{background:linear-gradient(#10b981e6,#059669f2)}table{border-collapse:collapse;width:100%}.orders-table{min-width:980px}.data-table{min-width:1080px}th{text-align:right;color:#334155;border-bottom:1px solid var(--border);background:#fbfdff;height:50px;font-size:13px;font-weight:700}th small{color:var(--muted);margin-top:3px;font-size:11px;font-weight:500;display:block}td,th{vertical-align:middle;padding:11px 13px}td{color:#334155;border-bottom:1px solid #eef2f7;font-size:13px}tbody tr{transition:all .15s}tbody tr:hover,tbody tr.selected{background:#f7fffb}tbody tr.selected{box-shadow:inset 0 0 0 1px #10b98159}td strong{color:#111827;font-weight:800;display:block}td small,.assigned-driver small{color:var(--subtle);margin-top:3px;display:block}.danger-note{color:#dc2626;margin-top:5px;font-style:normal;display:block}.location-pin{width:32px;height:32px;color:var(--primary-dark);background:#effcf5;border-radius:9px;place-items:center;display:grid}.restaurant-cell,.customer-cell,.row-actions,.driver-assignment,.profile-title-row,.details-list p,.settings-grid label span,.rating{align-items:center;gap:8px;display:flex}.customer-cell>span,.customer-detail-card>i{width:30px;height:30px;color:var(--primary-dark);background:#10b9811a;border:1px solid #10b9812e;border-radius:50%;place-items:center;font-style:normal;display:inline-grid}.customer-detail-card{position:relative;padding-inline-start:48px!important}.customer-detail-card>i{top:12px;position:absolute;inset-inline-start:12px}.restaurant-icon{background:#fff7ed;border:1px solid #fed7aa;border-radius:50%;place-items:center;width:30px;height:30px;display:grid}.badge{border-radius:999px;justify-content:center;align-items:center;min-height:27px;padding:0 10px;font-size:12px;font-weight:700;display:inline-flex}.order-pending_restaurant{color:#9333ea;background:#f3e8ff}.order-distribution,.driver-active,.accounting-open{color:#059669;background:#e8f8ef}.order-waiting{color:#2563eb;background:#eff6ff}.order-in_delivery{color:#b45309;background:#fff7ed}.order-delivered,.accounting-settled{color:#047857;background:#dcfce7}.order-cancelled,.driver-stopped,.accounting-over_limit{color:#dc2626;background:#fef2f2}.driver-inactive,.accounting-late{color:#64748b;background:#f1f5f9}.soft-button,.details-button,.primary-outline,.panel-actions button,.driver-assignment button,.row-actions button,.row-actions a,.late-card button{height:34px;color:var(--primary-dark);white-space:nowrap;background:#f8fffb;border:1px solid #10b98159;border-radius:9px;justify-content:center;align-items:center;gap:7px;padding:0 11px;font-weight:700;display:inline-flex}.assigned-driver{grid-template-columns:34px 1fr;align-items:center;gap:8px;display:grid}.assigned-driver img{width:34px;height:34px}.assigned-driver.full small{color:var(--orange)}.pagination-row{color:var(--muted);justify-content:space-between;align-items:center;padding:14px 16px;font-size:13px;display:flex}.pagination{direction:ltr;gap:8px;display:flex}.pagination button{border:1px solid var(--border);color:#475569;background:#fff;border-radius:9px;width:34px;height:34px}.pagination button.active{background:var(--primary-dark);color:#fff;border-color:var(--primary-dark)}.order-details{scrollbar-width:thin;scrollbar-color:#10b9817a #f1f5f9e6;padding:16px;overflow:auto}.details-heading,.card-title-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.details-heading-actions{align-items:center;gap:8px;display:inline-flex}.details-heading-actions button{color:#db2777;background:#fdf2f8;border:1px solid #ec489947;border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.details-heading-actions button.danger{color:#dc2626;background:#fef2f2;border-color:#ef444452}.details-heading h2,.card-title-row h2,.panel-section h3,.panel-split h3,.tracking-card h3,.profile-header h2,.wallet-card h2,.details-card h2,.notes-card h2,.system-rules h2{margin:0;font-size:18px;font-weight:800}.order-code-block{border-bottom:1px solid var(--border);margin:12px 0;padding-bottom:12px}.order-code-block span,.details-grid span,.panel-split span,.tracking-info span,.tracking-info small,.wallet-lines span,.card-title-row span{color:var(--muted);font-size:12px}.order-code-block strong{margin-top:4px;font-size:20px;display:block}.details-grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.details-grid div,.panel-split>div,.tracking-card{background:#fff;border:1px solid #eef2f7;border-radius:12px;padding:12px}.details-grid strong{margin-top:4px;font-size:12px;display:block}.phone-text,.phone-line{text-align:right;direction:ltr;unicode-bidi:embed}.muted-cell,.no-driver-box{color:var(--muted);font-size:13px}.no-driver-box{background:#fbfdff;border:1px solid #eef2f7;border-radius:12px;padding:12px}.customer-note{background:#f59e0b14;border:1px solid #f59e0b47;border-radius:12px;margin-top:14px;padding:12px}.customer-note span{color:#b45309;margin-bottom:5px;font-size:12px;display:block}.customer-note strong{color:#92400e}.panel-section,.panel-split,.panel-actions{margin-top:14px}.driver-assignment{border:1px solid #eef2f7;border-radius:12px;grid-template-columns:42px 1fr auto;padding:10px;display:grid}.driver-assignment img{width:42px;height:42px}.driver-assignment span{color:var(--muted);font-size:12px;display:block}.locked-driver{white-space:nowrap;background:#f8fafc;border:1px solid #94a3b847;border-radius:9px;justify-content:center;align-items:center;min-height:34px;padding:0 10px;font-weight:800;color:#64748b!important;display:inline-flex!important}.driver-assignment button:disabled{opacity:.5;cursor:not-allowed}.panel-split{grid-template-columns:1fr 1fr;gap:10px;display:grid}.panel-split p{color:#334155;margin:8px 0;font-size:13px}.panel-split strong{color:var(--primary-dark);margin-top:10px;display:block}.panel-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.status-stepper{grid-template-columns:repeat(4,1fr);gap:4px;display:grid;position:relative}.step-lines{z-index:0;pointer-events:none;grid-template-columns:repeat(3,1fr);display:grid;position:absolute;top:15px;left:12.5%;right:12.5%}.step-lines span{background:#e2e8f0;height:2px}.step-lines span.done{background:var(--primary)}.step-lines span.error{background:var(--red)}.status-stepper>div:not(.step-lines){text-align:center;color:var(--subtle);z-index:1;font-size:12px;position:relative}.status-stepper i{border:1px solid var(--border);background:#fff;border-radius:50%;place-items:center;width:30px;height:30px;margin:0 auto 6px;font-style:normal;display:grid}.status-stepper .done{color:var(--primary-dark)}.status-stepper .done i{background:var(--primary);border-color:var(--primary);color:#fff}.status-stepper .error{color:#b91c1c}.status-stepper .error i{background:var(--red);border-color:var(--red);color:#fff}.status-stepper small{margin-top:3px;display:block}.tracking-content{grid-template-columns:110px 1fr;gap:10px;display:grid}.tracking-info{background:#fbfdff;border:1px solid #eef2f7;border-radius:10px;padding:10px}.tracking-info strong{color:var(--primary-dark);margin:5px 0 10px;font-size:20px;display:block}.tracking-info b{margin-top:4px;display:block}.track-map-button{color:#2563eb;background:#2563eb14;border:1px solid #2563eb47;border-radius:9px;justify-content:center;align-items:center;gap:7px;width:100%;min-height:40px;margin-top:10px;padding:0 12px;font-weight:800;display:inline-flex}.mock-map{background:radial-gradient(circle at 20% 16%,#10b98114,#0000 28%),radial-gradient(circle at 84% 74%,#3b82f614,#0000 30%),repeating-linear-gradient(0deg,#94a3b814 0 1px,#0000 1px 24px),repeating-linear-gradient(90deg,#94a3b812 0 1px,#0000 1px 28px),#f8fafc;border:1px solid #e2e8f0;border-radius:12px;position:relative;overflow:hidden}.large-map{min-height:520px}.mini-map{min-height:150px}.route-svg{pointer-events:none;z-index:2;width:100%;height:100%;position:absolute;inset:0}.map-base-svg{pointer-events:none;z-index:1;width:100%;height:100%;position:absolute;inset:0}.map-water{fill:#60a5fa38;stroke:#60a5fa33;stroke-width:.8px}.map-park{fill:#bbf7d0b8;stroke:#22c55e1f;stroke-width:.5px}.map-road{fill:none;stroke-linecap:round;stroke-linejoin:round}.map-road.major{stroke:#fffffffa;stroke-width:5.4px;filter:drop-shadow(0 1px #94a3b847)}.map-road.major.vertical{stroke-width:4.6px}.map-road.minor{stroke:#ffffffe0;stroke-width:3.1px;filter:drop-shadow(0 1px #94a3b82e)}.map-road.alley{stroke:#e2e8f0d1;stroke-width:1.2px}.map-districts span{z-index:2;color:#475569a3;pointer-events:none;white-space:nowrap;font-size:12px;font-weight:800;position:absolute;transform:translate(-50%,-50%)}.route-svg path{fill:none;stroke:#059669;stroke-width:1.8px;stroke-dasharray:5 4;filter:drop-shadow(0 3px 4px #05966933)}.driver-marker,.mini-marker{background:var(--primary-dark);color:#fff;z-index:4;border:3px solid #fff;border-radius:50%;place-items:center;width:44px;height:44px;display:grid;position:absolute;translate:-50% -50%;box-shadow:0 8px 18px #05966947}.driver-marker img{object-fit:cover;background:#f1f5f9;border-radius:50%;width:100%;height:100%}.driver-marker.selected{border-color:#10b981;transform:scale(1.12);box-shadow:0 0 0 5px #10b98124,0 12px 26px #05966947}.mini-marker.restaurant{inset-inline-start:18%;background:#ef4444;top:69%}.mini-marker.bike{inset-inline-start:52%;top:43%}.mini-marker.customer{inset-inline-start:76%;top:26%}.map-label{border:1px solid var(--border);color:#334155;background:#fff;border-radius:999px;padding:4px 9px;font-size:11px;position:absolute}.restaurant-label{inset-inline-start:7%;top:72%}.driver-label{inset-inline-start:43%;top:31%}.customer-label{inset-inline-start:68%;top:38%}.driver-popup{border:1px solid var(--border);z-index:6;background:#fff;border-radius:16px;grid-template-columns:46px 1fr;gap:12px;width:286px;padding:14px;display:grid;position:absolute;box-shadow:0 18px 42px #0f172a29}.driver-popup.popup-right{transform:translate(28px,-50%)}.driver-popup.popup-left{transform:translate(calc(-100% - 28px),-50%)}.driver-popup.popup-bottom{transform:translate(-50%,28px)}.driver-popup.popup-top{transform:translate(-50%,calc(-100% - 28px))}.popup-close{z-index:8;border:1px solid var(--border);color:#64748b;background:#fffffff0;border-radius:10px;place-items:center;width:30px;height:30px;display:grid;position:absolute;top:10px;left:10px;box-shadow:0 8px 20px #0f172a1a}.popup-body strong,.popup-body em,.popup-body a{display:block}.popup-body p{color:var(--muted);margin:7px 0 0;font-size:12px}.popup-phone{color:var(--muted);text-align:right;direction:ltr;unicode-bidi:embed;margin-top:4px;font-size:12px;display:block}.popup-body em{color:#b45309;text-align:center;background:#fff7ed;border-radius:8px;margin:11px 0;padding:8px;font-style:normal}.popup-body a{background:var(--primary-dark);color:#fff;border-radius:9px;place-items:center;height:39px;font-weight:700;display:grid}.live-dot{color:var(--primary-dark);align-items:center;gap:5px;font-size:12px;display:flex}.stats-grid{gap:14px;display:grid}.stats-grid.four{grid-template-columns:repeat(4,1fr)}.stats-grid.five{grid-template-columns:repeat(5,1fr)}.stats-grid.six{grid-template-columns:repeat(6,1fr)}.stat-card{border:1px solid var(--border);background:#fff;border-radius:14px;grid-template-columns:56px 1fr;align-items:center;gap:15px;min-height:118px;padding:20px;display:grid;box-shadow:0 10px 24px #0f172a0a}.stat-icon{border-radius:15px;place-items:center;width:54px;height:54px;display:grid}.stat-icon.green{color:#059669;background:#dcfce7}.stat-icon.orange{color:#d97706;background:#ffedd5}.stat-icon.purple{color:#7c3aed;background:#ede9fe}.stat-icon.red{color:#dc2626;background:#fee2e2}.stat-icon.blue{color:#2563eb;background:#dbeafe}.stat-card span,.stat-card small{color:var(--muted);font-size:13px}.stat-card strong{margin:8px 0 4px;font-size:28px;line-height:1.1;display:block}.operations-layout{grid-template-columns:minmax(0,1fr) 330px;gap:14px;min-height:0;display:grid}.operations-page{scroll-behavior:smooth;--primary:#ec4899;--primary-dark:#db2777;--primary-soft:#fdf2f8;grid-template-rows:auto minmax(0,1fr);height:calc(100vh - 134px);min-height:0;padding-bottom:46px;overflow:hidden auto}.operations-page::-webkit-scrollbar{width:10px}.operations-page::-webkit-scrollbar-track{background:#f8fafc;border-radius:999px}.operations-page::-webkit-scrollbar-thumb{background:linear-gradient(#ec4899a6,#db2777d9);border:2px solid #f8fafc;border-radius:999px}.operations-scroll-actions{z-index:20;align-self:flex-start;gap:8px;width:max-content;margin-bottom:-2px;display:inline-flex;position:sticky;top:12px}.operations-scroll-actions button{width:42px;height:42px;color:var(--primary-dark);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff0;border:1px solid #ec48993d;border-radius:14px;place-items:center;display:grid;box-shadow:0 10px 24px #0f172a1a}.operations-scroll-actions button:hover{border-color:var(--primary);background:#fff0f8}.drivers-panel{flex-direction:column;grid-area:1/2;min-height:0;padding:14px;display:flex;overflow:hidden}.map-card{grid-area:1/1}.segmented{grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0;display:grid}.segmented button{border:1px solid var(--border);min-height:42px;color:var(--muted);background:#f8fafc;border-radius:9px;justify-content:center;align-items:center;gap:6px;font-size:13px;display:flex}.segmented button.active{background:var(--primary-dark);color:#fff;border-color:var(--primary-dark)}.drivers-list{scrollbar-width:thin;scrollbar-color:#10b9817a #f1f5f9e6;flex:1;gap:8px;min-height:0;max-height:none;padding-inline-end:3px;display:grid;overflow:auto}.drivers-list::-webkit-scrollbar{width:10px}.drivers-list::-webkit-scrollbar-track{background:linear-gradient(#f8fafc,#eef2f7);border-radius:999px;margin:8px}.drivers-list::-webkit-scrollbar-thumb{background:linear-gradient(#10b981b8,#059669d1);border:2px solid #f8fafc;border-radius:999px}.drivers-list::-webkit-scrollbar-thumb:hover{background:linear-gradient(#10b981e6,#059669f2)}.driver-list-item{text-align:right;background:#fff;border:1px solid #0000;border-radius:12px;grid-template-columns:46px 1fr 8px;align-items:center;gap:10px;width:100%;padding:9px;display:grid}.driver-list-item:hover{background:#fbfffd;border-color:#10b98147}.driver-list-item.selected{background:#10b9811a;border-color:#10b9816b;box-shadow:inset 0 0 0 1px #10b9811f}.driver-list-item span,.driver-list-item small,.driver-list-item em{color:var(--muted);margin-top:3px;font-size:12px;display:block}.driver-list-item em{text-align:right;color:#475569;direction:ltr;unicode-bidi:embed;font-style:normal;font-weight:700}.status-dot{background:#94a3b8;border-radius:99px;width:8px;height:8px}.status-dot.active{background:var(--primary)}.status-dot.stopped{background:var(--red)}.map-card{padding:14px}.filter-row{border:1px solid var(--border);background:#fff;border-radius:14px;flex-wrap:wrap;gap:10px;padding:12px;display:flex}.filter-row button,.filter-row select{padding:0 18px}.filter-row button b{color:#475569;background:#94a3b81f;border-radius:8px;place-items:center;min-width:24px;height:22px;font-size:12px;font-weight:800;display:inline-grid}.filter-row button.active b{color:var(--primary-dark);background:#10b98124}.filter-period-note{min-height:42px;color:var(--primary-dark);background:#10b9810f;border:1px solid #10b98138;border-radius:10px;align-items:center;padding:0 14px;font-size:13px;font-weight:800;display:inline-flex}.filter-row .classification-button{color:#2563eb;background:linear-gradient(#2563eb1a,#2563eb0d);border-color:#2563eb57}.filter-row .classification-button:hover{background:#2563eb1f;border-color:#2563eb7a}.table-card{overflow:hidden}.accounting-page .table-card,.drivers-page .table-card{flex-direction:column;min-height:0;display:flex}.accounting-page .table-scroll,.drivers-page .table-scroll{scrollbar-width:thin;scrollbar-color:#10b9817a #f1f5f9e6;flex:1;min-height:0;overflow:auto}.accounting-page thead th,.drivers-page thead th{z-index:3;box-shadow:0 1px 0 var(--border);position:sticky;top:0}.accounting-page .table-scroll::-webkit-scrollbar{width:10px;height:10px}.drivers-page .table-scroll::-webkit-scrollbar{width:10px;height:10px}.accounting-page .table-scroll::-webkit-scrollbar-track{background:linear-gradient(#f8fafc,#eef2f7);border-radius:999px;margin:8px}.drivers-page .table-scroll::-webkit-scrollbar-track{background:linear-gradient(#f8fafc,#eef2f7);border-radius:999px;margin:8px}.accounting-page .table-scroll::-webkit-scrollbar-thumb{background:linear-gradient(#10b981b8,#059669d1);border:2px solid #f8fafc;border-radius:999px}.drivers-page .table-scroll::-webkit-scrollbar-thumb{background:linear-gradient(#10b981b8,#059669d1);border:2px solid #f8fafc;border-radius:999px}.accounting-page .table-scroll::-webkit-scrollbar-thumb:hover{background:linear-gradient(#10b981e6,#059669f2)}.drivers-page .table-scroll::-webkit-scrollbar-thumb:hover{background:linear-gradient(#10b981e6,#059669f2)}.accounting-page .table-scroll::-webkit-scrollbar-corner{background:0 0}.drivers-page .table-scroll::-webkit-scrollbar-corner{background:0 0}.row-actions{flex-wrap:wrap}.row-actions button.action-green,.row-actions a.action-green{color:#059669;background:#10b98114;border-color:#10b98161}.row-actions button.action-red,.row-actions a.action-red{color:#dc2626;background:#ef444414;border-color:#ef444457}.row-actions button.action-yellow{color:#b45309;background:#f59e0b1a;border-color:#f59e0b61}.driver-cards-grid{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.driver-card{grid-template-columns:56px 1fr auto;align-items:center;gap:12px;padding:16px;display:grid}.driver-card img{width:56px;height:56px}.driver-card h3{margin:0 0 8px}.driver-card p{color:var(--muted);margin:8px 0 0;font-size:13px}.driver-card strong,.driver-card a{color:var(--primary-dark);align-items:center;gap:6px;display:flex}.profile-header{grid-template-columns:84px 1fr auto;align-items:center;gap:18px;padding:58px 18px 18px;display:grid;position:relative}.profile-back-button{width:36px;height:36px;color:var(--primary-dark);z-index:2;background:#10b9811a;border:1px solid #10b9814d;border-radius:11px;place-items:center;display:grid;position:absolute;top:12px;right:12px}.profile-back-button:hover{background:#10b98129}.profile-header>img{width:84px;height:84px}.profile-image-fallback{background:var(--primary-soft);width:84px;height:84px;color:var(--primary-dark);border-radius:26px;justify-content:center;align-items:center;display:inline-flex}.profile-meta-lines,.notes-card p,.settings-hero p{color:var(--muted);margin:8px 0 0}.profile-meta-lines{gap:4px;display:grid}.profile-meta-lines p{color:var(--muted);align-items:center;gap:5px;margin:0;display:flex}.profile-actions{gap:8px;display:grid}.profile-actions button,.profile-actions a,.primary-button{background:var(--primary-dark);color:#fff;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 15px;font-weight:800;display:inline-flex}.profile-actions button{color:#dc2626;background:#fee2e2}.profile-grid{grid-template-columns:1.1fr 1fr 1fr;gap:14px;display:grid}.wallet-card,.details-card,.notes-card,.system-rules,.late-section{padding:18px}.wallet-lines{gap:12px;margin-top:16px;display:grid}.wallet-lines p{border-bottom:1px solid #eef2f7;justify-content:space-between;align-items:center;margin:0;padding-bottom:12px;display:flex}.details-list{gap:14px;margin-top:16px;display:grid}.details-list p{color:#334155;margin:0}.receipt-row{color:#334155;grid-template-columns:1fr auto;align-items:center;gap:10px;margin:0;display:grid}.receipt-row span{align-items:center;gap:8px;display:flex}.receipt-row strong{color:var(--text)}.receipt-row button,.notes-title-row button,.notes-editor button{min-height:34px;color:var(--primary-dark);background:#f8fffb;border:1px solid #10b98159;border-radius:9px;justify-content:center;align-items:center;gap:7px;padding:0 11px;font-weight:800;display:inline-flex}.receipt-row button:disabled{cursor:default;color:#64748b;border-color:var(--border);background:#f8fafc}.notes-title-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.notes-editor{gap:10px;margin-top:12px;display:grid}.notes-editor textarea{resize:vertical;border:1px solid var(--border);width:100%;color:var(--text);font:inherit;background:#fff;border-radius:10px;outline:0;padding:12px}.notes-editor textarea:focus{border-color:#10b98173;box-shadow:0 0 0 3px #10b98114}.notes-editor>div{gap:8px;display:flex}.notes-editor button.secondary{color:#475569;border-color:var(--border);background:#f8fafc}.late-grid{grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px;display:grid}.late-card{background:snow;border:1px solid #fee2e2;border-radius:12px;grid-template-columns:42px 1fr;gap:10px;padding:12px;display:grid}.late-card span,.late-card small{color:var(--muted);margin-top:5px;display:block}.late-card span{color:#dc2626;font-weight:800}.late-card button{grid-column:1/-1;margin-top:8px}.danger-row{background:snow}.accounting-driver-cell{align-items:center;gap:10px;display:flex}.accounting-driver-cell img{object-fit:cover;background:#f1f5f9;border-radius:50%;width:38px;height:38px}.accounting-driver-cell span{gap:3px;display:grid}.accounting-driver-cell small{color:var(--muted);text-align:right;direction:ltr;unicode-bidi:embed;font-size:12px}.phone-cell{direction:ltr;unicode-bidi:embed;display:inline-block}.table-empty-state{min-height:180px;color:var(--muted);place-items:center;font-weight:800;display:grid}.settings-hero{border-bottom:1px solid var(--border);align-items:center;gap:14px;padding-bottom:18px;display:flex}.settings-hero>span{width:58px;height:58px;color:var(--primary-dark);background:var(--primary-soft);border-radius:16px;place-items:center;display:grid}.settings-grid{grid-template-columns:repeat(2,1fr);gap:16px;margin:18px 0;display:grid}.settings-grid label{border:1px solid #eef2f7;border-radius:12px;gap:10px;padding:15px;display:grid}.settings-grid input{border:1px solid var(--border);height:44px;color:var(--text);border-radius:9px;padding:0 12px}.settings-grid small{color:var(--muted)}.setting-preview{color:var(--primary-dark)}.empty-state{min-height:220px;color:var(--muted);place-items:center;display:grid}.skeleton-list{gap:8px;display:grid}.skeleton-list span{background:linear-gradient(90deg,#f1f5f9,#fff,#f1f5f9);border-radius:8px;height:38px}.quick-panel{border:1px solid var(--border);z-index:15;background:#fff;border-radius:14px;width:280px;padding:14px;position:absolute;top:calc(100% + 8px);left:22px;box-shadow:0 20px 50px #0f172a24}.quick-panel strong{margin-bottom:8px;display:block}.quick-panel p{color:var(--muted);margin:8px 0;font-size:13px}.quick-panel button{color:#334155;background:#f8fafc;border-radius:9px;width:100%;min-height:34px;margin-top:8px}.dialog-backdrop{z-index:60;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a61;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.confirm-dialog,.assign-modal{border:1px solid var(--border);background:#fff;border-radius:16px;width:min(100%,460px);padding:20px;box-shadow:0 28px 70px #0f172a38}.confirm-dialog h2,.assign-modal h2{margin:0;font-size:22px}.confirm-dialog p,.assign-modal p{color:var(--muted);margin:10px 0 18px}.confirm-dialog>div{justify-content:flex-end;gap:10px;display:flex}.dialog-cancel,.dialog-confirm{border-radius:10px;min-height:40px;padding:0 16px;font-weight:800}.dialog-cancel{color:#475569;border:1px solid var(--border);background:#f8fafc}.dialog-confirm.danger{color:#fff;background:#dc2626}.dialog-confirm:disabled{cursor:not-allowed;opacity:.45}.cancel-order-dialog textarea{resize:vertical;border:1px solid var(--border);width:100%;min-height:110px;color:var(--text);background:var(--bg);font:inherit;text-align:right;border-radius:14px;margin:12px 0 18px;padding:12px 14px;line-height:1.8}.cancel-order-dialog textarea:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px #ec48991f}.dialog-confirm.success{background:var(--primary-dark);color:#fff}.modal-title-row{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.modal-title-row button{color:#475569;background:#f8fafc;border-radius:10px;place-items:center;width:36px;height:36px;display:grid}.assign-driver-list{scrollbar-width:thin;scrollbar-color:#10b9817a #f1f5f9e6;gap:9px;max-height:420px;padding-inline-end:3px;display:grid;overflow:auto}.assign-driver-list::-webkit-scrollbar{width:10px}.assign-driver-list::-webkit-scrollbar-track{background:linear-gradient(#f8fafc,#eef2f7);border-radius:999px;margin:8px}.assign-driver-list::-webkit-scrollbar-thumb{background:linear-gradient(#10b981b8,#059669d1);border:2px solid #f8fafc;border-radius:999px}.assign-driver-card{border:1px solid var(--border);text-align:right;background:#fff;border-radius:12px;grid-template-columns:44px 1fr auto;align-items:center;gap:10px;min-height:64px;padding:9px;display:grid}.assign-driver-card>div{gap:7px;display:grid}.assign-driver-card button,.assign-driver-card a{min-height:32px;color:var(--primary-dark);white-space:nowrap;background:#f8fffb;border:1px solid #10b98159;border-radius:9px;justify-content:center;align-items:center;padding:0 10px;font-size:12px;font-weight:800;display:inline-flex}.assign-driver-card.disabled{opacity:.64}.assign-driver-card button:disabled{cursor:not-allowed;color:#64748b;border-color:var(--border);background:#f8fafc}.classifications-modal{background:radial-gradient(circle at 100% 0,#ec48991c,#0000 34%),linear-gradient(#fff 0%,#fff7fb 100%);border:1px solid #e2e8f0f2;border-radius:18px;flex-direction:column;gap:14px;width:min(100%,1040px);max-height:min(90vh,820px);padding:18px;display:flex;overflow:hidden;box-shadow:0 30px 80px #0f172a3d}.classification-header{border-bottom:1px solid #e2e8f0e6;justify-content:space-between;align-items:flex-start;gap:16px;padding:4px 2px 10px;display:flex}.classification-header span{color:#047857;align-items:center;gap:8px;font-size:13px;font-weight:800;display:inline-flex}.classification-header h2{color:var(--text);margin:8px 0 0;font-size:24px}.classification-header button{border:1px solid var(--border);color:#475569;background:#fff;border-radius:12px;flex:none;place-items:center;width:38px;height:38px;display:grid}.classification-switch,.classification-periods{flex-wrap:wrap;gap:10px;display:flex}.classification-switch button,.classification-periods button{border:1px solid var(--border);color:#475569;background:#ffffffe6;border-radius:11px;flex:1;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 16px;font-weight:800;display:inline-flex}.classification-switch button.active,.classification-periods button.active{color:#047857;background:#10b9811a;border-color:#10b98161}.classification-table-wrap{border:1px solid var(--border);scrollbar-width:thin;scrollbar-color:#10b9817a #f1f5f9e6;background:#fff;border-radius:14px;min-height:0;overflow:auto}.classification-table-wrap::-webkit-scrollbar{width:10px;height:10px}.classification-table-wrap::-webkit-scrollbar-track{background:linear-gradient(#f8fafc,#eef2f7);border-radius:999px;margin:8px}.classification-table-wrap::-webkit-scrollbar-thumb{background:linear-gradient(#10b981b8,#059669d1);border:2px solid #f8fafc;border-radius:999px}.classification-table{border-collapse:collapse;width:100%;min-width:760px}.classification-table th,.classification-table td{border-bottom:1px solid var(--border);text-align:right;vertical-align:middle;white-space:nowrap;padding:13px 14px}.classification-table th{z-index:2;color:#334155;background:#f8fafc;font-size:13px;font-weight:900;position:sticky;top:0}.classification-table tr:last-child td{border-bottom:0}.classification-driver{grid-template-columns:30px 44px minmax(120px,1fr);align-items:center;gap:10px;display:grid}.classification-driver>b{color:#047857;background:#10b9811a;border-radius:10px;place-items:center;width:28px;height:28px;font-size:13px;display:grid}.classification-driver img{border-radius:50%;width:44px;height:44px}.classification-driver span{gap:3px;display:grid}.classification-driver small{color:var(--muted);text-align:right;direction:ltr;font-size:12px}.classification-open{color:#059669;background:#10b98114;border:1px solid #10b98161;border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:34px;padding:0 12px;font-weight:800;display:inline-flex}.edit-order-modal{border:1px solid var(--border);background:#fff;border-radius:16px;width:min(100%,680px);max-height:88vh;padding:20px;overflow:auto;box-shadow:0 28px 70px #0f172a38}.edit-order-modal.small{width:min(100%,480px)}.edit-form-grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.edit-form-grid label{color:var(--muted);gap:7px;font-size:13px;display:grid}.edit-form-grid .wide{grid-column:1/-1}.edit-form-grid input{border:1px solid var(--border);height:42px;color:var(--text);border-radius:10px;outline:0;padding:0 12px}.unit-input{position:relative}.unit-input input{width:100%;padding-inline-start:58px}.unit-input span{top:50%;color:var(--subtle);pointer-events:none;font-size:12px;font-weight:900;position:absolute;inset-inline-start:12px;transform:translateY(-50%)}.edit-items-list{gap:10px;margin-top:16px;display:grid}.edit-item-row{border:1px solid #eef2f7;border-radius:12px;grid-template-columns:1fr auto auto;align-items:center;gap:10px;min-height:48px;padding:8px 10px;display:grid}.edit-item-row>div{align-items:center;gap:8px;display:inline-flex}.edit-item-row button,.modal-actions button{border-radius:9px;min-height:34px;padding:0 12px}.edit-item-row>div button{width:32px;color:var(--primary-dark);background:#10b98114;border:1px solid #10b98147}.remove-item{color:#dc2626;background:#ef444414;border:1px solid #ef44444d}.cost-preview{min-height:44px;color:var(--primary-dark);background:#10b98114;border-radius:10px;place-items:center;font-weight:800;display:grid}.modal-actions{justify-content:flex-end;gap:10px;margin-top:16px;display:flex}.assign-driver-card:hover{background:#f7fffb;border-color:#10b98173}.assign-driver-list img{border-radius:50%;width:44px;height:44px}.assign-driver-list small{color:var(--muted);margin-top:4px;display:block}.assign-driver-list b{color:var(--primary-dark);font-size:12px}.toast{z-index:99999;width:max-content;max-width:min(520px,100vw - 32px);min-height:52px;color:var(--text);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;border:1px solid #10b9813d;border-radius:14px;grid-template-columns:34px minmax(0,1fr) 30px;align-items:center;gap:10px;padding:9px 12px;animation:.22s both toastIn;display:grid;position:fixed;top:24px;left:50%;transform:translate(-50%);box-shadow:0 22px 54px #0f172a2e}.toast>span{width:34px;height:34px;color:var(--primary-dark);background:#10b9811f;border-radius:11px;place-items:center;display:grid}.orders-page .tabs-card button.active,.orders-page .filter-row button.active{background:var(--primary-soft);color:var(--primary-dark);border-color:#ec489959}.orders-page .table-scroll,.orders-page .order-details,.orders-page .assign-driver-list{scrollbar-color:#ec48997a #f1f5f9e6}.orders-page .table-scroll::-webkit-scrollbar-thumb{background:linear-gradient(#ec4899b8,#db2777d1)}.orders-page .order-details::-webkit-scrollbar-thumb{background:linear-gradient(#ec4899b8,#db2777d1)}.orders-page .assign-driver-list::-webkit-scrollbar-thumb{background:linear-gradient(#ec4899b8,#db2777d1)}.orders-page .table-scroll::-webkit-scrollbar-thumb:hover{background:linear-gradient(#ec4899e6,#db2777f2)}.orders-page .order-details::-webkit-scrollbar-thumb:hover{background:linear-gradient(#ec4899e6,#db2777f2)}.orders-page tbody tr:hover,.orders-page tbody tr.selected,.orders-page .assign-driver-card:hover{background:#fdf2f8}.orders-page tbody tr.selected{box-shadow:inset 0 0 0 1px #ec489959}.orders-page .location-pin{color:var(--primary-dark);background:#fdf2f8}.orders-page .customer-cell>span,.orders-page .customer-detail-card>i{color:var(--primary-dark);background:#ec48991a;border-color:#ec48992e}.orders-page .order-distribution{color:var(--primary-dark);background:#fce7f3}.orders-page .order-delivered{color:#047857;background:#dcfce7}.orders-page .status-stepper .done{color:#059669}.orders-page .status-stepper .done i,.orders-page .step-lines span.done{background:#10b981;border-color:#10b981}.orders-page .soft-button,.orders-page .details-button,.orders-page .primary-outline,.orders-page .panel-actions button,.orders-page .driver-assignment button,.orders-page .row-actions button,.orders-page .row-actions a{color:var(--primary-dark);background:#fdf2f8;border-color:#ec489959}.orders-page .mock-map{background:radial-gradient(circle at 20% 16%,#ec489914,#0000 28%),radial-gradient(circle at 84% 74%,#3b82f614,#0000 30%),repeating-linear-gradient(0deg,#94a3b814 0 1px,#0000 1px 24px),repeating-linear-gradient(90deg,#94a3b812 0 1px,#0000 1px 28px),#f8fafc}.orders-page .map-park{fill:#fbcfe8b8;stroke:#ec48991f}.orders-page .route-svg path{stroke:var(--primary-dark);filter:drop-shadow(0 3px 4px #db277733)}.orders-page .driver-marker,.orders-page .mini-marker{background:var(--primary-dark);box-shadow:0 8px 18px #db277747}.orders-page .driver-marker.selected{border-color:var(--primary);box-shadow:0 0 0 5px #ec489924,0 12px 26px #db277747}.orders-page .assign-driver-card button,.orders-page .assign-driver-card a{color:var(--primary-dark);background:#fdf2f8;border-color:#ec489959}.orders-page .edit-item-row>div button,.orders-page .cost-preview,.orders-page .toast>span{color:var(--primary-dark);background:#ec489914}.orders-page .edit-item-row>div button{border-color:#ec489947}.orders-page .assign-driver-card:hover{border-color:#ec489973}.orders-page .assign-driver-list b{color:var(--primary-dark)}.orders-page .toast{border-color:#ec48993d}.orders-page .edit-order-modal{scrollbar-width:thin;scrollbar-color:#ec48997a #f1f5f9e6}.orders-page .edit-order-modal::-webkit-scrollbar{width:10px}.orders-page .edit-order-modal::-webkit-scrollbar-track{background:linear-gradient(#f8fafc,#eef2f7);border-radius:999px;margin:8px}.orders-page .edit-order-modal::-webkit-scrollbar-thumb{background:linear-gradient(#ec4899b8,#db2777d1);border:2px solid #f8fafc;border-radius:999px}.orders-page .edit-order-modal::-webkit-scrollbar-thumb:hover{background:linear-gradient(#ec4899e6,#db2777f2)}.operations-page .segmented button.active{background:var(--primary-dark);border-color:var(--primary-dark);color:#fff}.operations-page .drivers-list{scrollbar-color:#ec48997a #f1f5f9e6}.operations-page .drivers-list::-webkit-scrollbar-thumb{background:linear-gradient(#ec4899b8,#db2777d1)}.operations-page .drivers-list::-webkit-scrollbar-thumb:hover{background:linear-gradient(#ec4899e6,#db2777f2)}.operations-page .driver-list-item:hover{background:#fdf2f8;border-color:#ec489947}.operations-page .driver-list-item.selected{background:#ec48991a;border-color:#ec48996b;box-shadow:inset 0 0 0 1px #ec48991f}.operations-page .status-dot.active{background:var(--primary)}.operations-page .filter-row button.active b{color:var(--primary-dark);background:#ec489924}.operations-page .classifications-button{color:var(--primary-dark);background:#ec48990f;border-color:#ec489938}.operations-page .mock-map{background:radial-gradient(circle at 20% 16%,#ec489914,#0000 28%),radial-gradient(circle at 84% 74%,#3b82f614,#0000 30%),repeating-linear-gradient(0deg,#94a3b814 0 1px,#0000 1px 24px),repeating-linear-gradient(90deg,#94a3b812 0 1px,#0000 1px 28px),#f8fafc}.google-operations-map{background:linear-gradient(135deg,#ec489914,#3b82f60a),#f8fafc;border:1px solid #ec48992e;border-radius:26px;min-height:720px;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffffb8,0 18px 40px #0f172a14}.google-operations-map:fullscreen{background:#f8fafc;border:0;border-radius:0;width:100vw;height:100vh;min-height:100vh}.google-operations-map:fullscreen .operations-map-tools{z-index:10;bottom:22px;left:22px}:is(.google-operations-map:fullscreen .operations-map-overlay,.google-operations-map:fullscreen .operations-map-close,.google-operations-map:fullscreen .operations-map-empty,.google-operations-map:fullscreen .operations-map-error){z-index:10}.google-operations-map-canvas{position:absolute;inset:0}.google-operations-map-canvas>div{background:#f7f8fb!important}.google-operations-map .gm-style{font-family:inherit}.google-operations-map .gm-style-mtc button,.google-operations-map .gm-control-active,.google-operations-map .gm-fullscreen-control{overflow:hidden;border:1px solid #0f172a1f!important;border-radius:12px!important;box-shadow:0 10px 24px #0f172a1f!important}.google-operations-map .gm-style-iw-c{border-radius:18px!important;box-shadow:0 18px 42px #0f172a33!important}.google-operations-map .gm-style-iw-d{overflow:auto!important}.operations-map-overlay{z-index:2;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffeb;border:1px solid #ec48992e;border-radius:18px;gap:8px;padding:8px;display:inline-flex;position:absolute;top:16px;right:16px;box-shadow:0 12px 28px #0f172a1f}.operations-map-overlay>div{background:#fff8fc;border-radius:13px;place-items:center;gap:1px;min-width:92px;padding:8px 10px;display:grid}.operations-map-overlay strong{color:var(--primary-dark);font-size:18px;line-height:1}.operations-map-overlay span{color:#475569;font-size:11px;font-weight:800}.operations-map-tools{z-index:2;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff0;border:1px solid #0f172a1f;border-radius:18px;flex-wrap:wrap;gap:8px;max-width:calc(100% - 32px);padding:8px;display:flex;position:absolute;bottom:16px;left:16px;box-shadow:0 14px 32px #0f172a24}.operations-map-tools button{color:#fff;cursor:pointer;background:#0f172a;border:0;border-radius:12px;align-items:center;gap:7px;min-height:38px;padding:0 12px;font-size:12px;font-weight:900;transition:transform .18s,background .18s,box-shadow .18s;display:inline-flex}.operations-map-tools button:hover{background:var(--primary-dark);transform:translateY(-1px);box-shadow:0 10px 20px #ec489938}.operations-map-tools button.is-restaurant{background:#ec4899}.operations-map-tools button.is-restaurant:hover{background:#be185d}.operations-map-tools button.is-muted{color:#334155;background:#f8fafc;box-shadow:inset 0 0 0 1px #0f172a1f}.operations-map-tools button.is-muted:hover{color:var(--primary-dark);background:#fff1f7}.operations-map-empty{z-index:2;color:#475569;background:#ffffffeb;border:1px solid #ec48992e;border-radius:16px;place-items:center;min-height:58px;font-weight:800;display:grid;position:absolute;top:16px;left:16px;right:16px;box-shadow:0 10px 24px #0f172a14}.operations-map-error{z-index:2;color:#991b1b;text-align:center;background:#fef2f2;border:1px solid #fecaca;border-radius:16px;padding:14px 16px;font-weight:800;position:absolute;bottom:16px;left:16px;right:16px;box-shadow:0 10px 24px #0f172a14}.operations-map-close{z-index:3;border:1px solid var(--border);width:38px;height:38px;color:var(--text);background:#fff;border-radius:12px;place-items:center;display:grid;position:absolute;top:14px;left:14px;box-shadow:0 8px 20px #0f172a1f}.operations-map-popup{text-align:right;direction:rtl;min-width:220px;max-width:260px;font-family:inherit}.operations-map-popup strong,.operations-map-popup small,.operations-map-popup span,.operations-map-popup p,.operations-map-popup em,.operations-map-popup a{display:block}.operations-map-popup strong{color:#111827;margin-bottom:4px;font-size:15px}.operations-map-popup small,.operations-map-popup p{color:#64748b;margin:4px 0;font-size:12px}.operations-map-popup span{color:#047857;background:#ecfdf5;border-radius:999px;width:max-content;margin:8px 0;padding:4px 9px;font-size:11px;font-weight:800}.operations-map-popup em{color:var(--primary-dark);margin-top:8px;font-size:12px;font-style:normal;font-weight:800}.operations-map-popup a{color:var(--primary-dark);margin-top:8px;font-size:12px;font-weight:800}.driver-list-avatar-fallback{width:48px;height:48px;color:var(--primary-dark);background:var(--primary-soft);border-radius:16px;place-items:center;font-weight:900;display:grid}.operations-page .map-park{fill:#fbcfe8b8;stroke:#ec48991f}.operations-page .route-svg path{stroke:var(--primary-dark);filter:drop-shadow(0 3px 4px #db277733)}.operations-page .driver-marker,.operations-page .mini-marker{background:var(--primary-dark);box-shadow:0 8px 18px #db277747}.operations-page .driver-marker.selected{border-color:var(--primary);box-shadow:0 0 0 5px #ec489924,0 12px 26px #db277747}.operations-page .live-dot{color:var(--primary-dark)}.drivers-page .filter-row button.active{background:var(--primary-soft);color:var(--primary-dark);border-color:#ec489959}.drivers-page .filter-row button.active b{color:var(--primary-dark);background:#ec489924}.drivers-page .filter-period-note{color:var(--primary-dark);background:#ec48990f;border-color:#ec489938}.drivers-page .table-scroll,.drivers-page .classification-table-wrap{scrollbar-color:#ec48997a #f1f5f9e6}.drivers-page .table-scroll::-webkit-scrollbar-thumb{background:linear-gradient(#ec4899b8,#db2777d1)}.drivers-page .classification-table-wrap::-webkit-scrollbar-thumb{background:linear-gradient(#ec4899b8,#db2777d1)}.drivers-page .table-scroll::-webkit-scrollbar-thumb:hover{background:linear-gradient(#ec4899e6,#db2777f2)}.drivers-page tbody tr:hover,.drivers-page tbody tr.selected{background:#fdf2f8}.drivers-page tbody tr.selected{box-shadow:inset 0 0 0 1px #ec489959}.drivers-page .row-actions button.action-green,.drivers-page .row-actions a.action-green{color:#059669;background:#10b98114;border-color:#10b98161}.drivers-page .classification-header{border-bottom-color:#ec48992e}.drivers-page .classification-header span{color:var(--primary-dark)}.drivers-page .classification-switch button.active,.drivers-page .classification-periods button.active{color:var(--primary-dark);background:#ec48991a;border-color:#ec489961}.drivers-page .classification-driver>b{color:var(--primary-dark);background:#ec48991a}.drivers-page .classification-open{color:#059669;background:#10b98114;border-color:#10b98161}.drivers-page .toast{border-color:#ec48993d}.drivers-page .toast>span{color:var(--primary-dark);background:#ec48991f}.drivers-control-row{align-items:center}.drivers-inline-search{border:1px solid var(--border);min-width:240px;height:42px;color:var(--muted);background:#fff;border-radius:12px;align-items:center;gap:8px;padding:0 12px;display:inline-flex}.drivers-inline-search input{width:100%;color:var(--text);font:inherit;background:0 0;border:0;outline:0}.driver-period-button{color:var(--primary-dark);background:#ec489912;border-color:#ec48993d}.drivers-action-message{color:var(--primary-dark);background:#ec489912;border:1px solid #ec489938;border-radius:14px;padding:11px 14px;font-weight:800}.dashboard-swal-toast{direction:rtl;border:1px solid #ec489929;border-radius:16px;font-family:inherit;box-shadow:0 18px 44px #0f172a24}.dashboard-swal-title{color:var(--text);text-align:right;font-family:inherit;font-size:14px;font-weight:900}.drivers-rich-table-card{min-height:560px}.drivers-rich-table{min-width:1320px}.drivers-rich-table th,.drivers-rich-table td{white-space:nowrap;text-align:center}.drivers-rich-table th:first-child,.drivers-rich-table td:first-child{z-index:2;text-align:right;background:#fff;position:sticky;right:0}.drivers-rich-table thead th:first-child{z-index:4}.drivers-page tbody tr:hover td:first-child{background:#fdf2f8}.drivers-main-cell{min-width:190px}.drivers-main-cell small{direction:ltr}.driver-rating-cell,.driver-bike-cell{justify-content:center;align-items:center;gap:6px;display:inline-flex}.driver-rating-cell svg{color:#64748b}.drivers-row-actions{justify-content:center;min-width:230px}.drivers-row-actions button,.drivers-row-actions a{border-radius:10px;min-height:34px;font-size:12px;font-weight:900}.drivers-row-actions button:disabled{cursor:not-allowed;opacity:.52}.accounting-page .filter-row button.active{background:var(--primary-soft);color:var(--primary-dark);border-color:#ec489959}.accounting-page .filter-row button.active b{color:var(--primary-dark);background:#ec489924}.accounting-page .filter-row select{accent-color:#64748b;border-color:var(--border);color:#475569;background:#f8fafc;outline-color:#94a3b8}.accounting-page .filter-row select:focus{border-color:#94a3b8;box-shadow:0 0 0 3px #64748b1f}.accounting-page .filter-row select option:checked,.accounting-page .filter-row select option:hover{color:#111827;background:#e5e7eb}.accounting-sort-menu{min-width:206px;position:relative}.accounting-sort-trigger{border-color:var(--border);color:#475569;background:#f8fafc;justify-content:space-between;width:100%}.accounting-sort-options{top:calc(100% + 4px);z-index:20;background:#fff;border:1px solid #cbd5e1;border-radius:10px;position:absolute;inset-inline:0;overflow:hidden;box-shadow:0 14px 32px #0f172a1f}.accounting-sort-options button{color:#475569;background:#fff;border:0;border-radius:0;justify-content:flex-start;width:100%;min-height:36px}.accounting-sort-options button:hover,.accounting-sort-options button.selected{color:#111827;background:#e5e7eb}.accounting-page .table-scroll{scrollbar-color:#ec48997a #f1f5f9e6}.accounting-page .table-scroll::-webkit-scrollbar-thumb{background:linear-gradient(#ec4899b8,#db2777d1)}.accounting-page .table-scroll::-webkit-scrollbar-thumb:hover{background:linear-gradient(#ec4899e6,#db2777f2)}.accounting-page .toast{border-color:#ec48993d}.accounting-page .toast>span{color:var(--primary-dark);background:#ec48991f}.accounting-page tbody tr:hover{background:#fdf2f8}.settings-page{--primary:#ec4899;--primary-dark:#db2777;--primary-soft:#fdf2f8}.settings-page .settings-grid input:focus{border-color:#ec489973;outline:0;box-shadow:0 0 0 3px #ec489914}.settings-page .toast{border-color:#ec48993d}.settings-page .toast>span{color:var(--primary-dark);background:#ec48991f}.admin-details-card{padding:18px}.admin-details-head{border-bottom:1px solid var(--border);grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:14px;padding-bottom:16px;display:grid}.admin-details-head>img,.admin-details-head>span{object-fit:cover;width:72px;height:72px;color:var(--primary-dark);background:#fdf2f8;border-radius:18px}.admin-details-head>span{border:1px solid #ec48992e;place-items:center;display:grid}.admin-details-head h2{margin:0;font-size:22px}.admin-details-head p{color:var(--muted);margin:6px 0 0}.admin-details-head button{min-height:38px;color:var(--primary-dark);background:#fdf2f8;border:1px solid #ec489947;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:0 13px;font-weight:800;display:inline-flex}.admin-details-grid{grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px;display:grid}.admin-details-grid p{color:var(--muted);background:#fbfdff;border:1px solid #eef2f7;border-radius:12px;grid-template-columns:20px auto;align-items:center;gap:8px;margin:0;padding:12px;font-size:13px;display:grid}.admin-details-grid strong{color:var(--text);grid-column:1/-1;font-size:14px}.admin-edit-modal{scrollbar-width:thin;scrollbar-color:#ec48997a #f1f5f9e6}.restaurants-page{--primary:#ec4899;--primary-dark:#db2777;--primary-soft:#fdf2f8;grid-template-rows:minmax(0,1fr);height:calc(100vh - 134px);min-height:0;overflow:hidden}.restaurants-topbar{border:1px solid var(--border);background:#fff;border-radius:14px;justify-content:space-between;align-items:center;gap:16px;min-height:82px;padding:18px;display:flex;box-shadow:0 10px 24px #0f172a0a}.restaurants-topbar h2,.restaurant-profile-view h2{margin:0;font-size:22px}.restaurants-topbar p,.restaurant-store-details p,.restaurant-profile-view>h2+.stats-grid{margin:6px 0 0}.restaurants-topbar p{color:var(--muted)}.restaurants-topbar button,.restaurant-manager-toolbar button,.restaurant-profile-actions button{background:var(--primary-dark);color:#fff;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 14px;font-weight:800;display:inline-flex}.restaurant-cards-grid{scrollbar-width:thin;scrollbar-color:#ec48997a #f1f5f9e6;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));align-content:start;gap:14px;min-height:0;padding-inline-end:3px;display:grid;overflow:auto}.restaurant-cards-grid::-webkit-scrollbar{width:10px}.restaurant-products-grid::-webkit-scrollbar{width:10px}.restaurant-cards-grid::-webkit-scrollbar-track{background:linear-gradient(#f8fafc,#eef2f7);border-radius:999px;margin:8px}.restaurant-products-grid::-webkit-scrollbar-track{background:linear-gradient(#f8fafc,#eef2f7);border-radius:999px;margin:8px}.restaurant-cards-grid::-webkit-scrollbar-thumb{background:linear-gradient(#ec4899b8,#db2777d1);border:2px solid #f8fafc;border-radius:999px}.restaurant-products-grid::-webkit-scrollbar-thumb{background:linear-gradient(#ec4899b8,#db2777d1);border:2px solid #f8fafc;border-radius:999px}.restaurant-card{border:1px solid var(--border);text-align:center;background:#fff;border-radius:14px;grid-template-rows:auto auto auto;align-self:start;gap:8px;padding:12px;transition:all .18s;display:grid;box-shadow:0 10px 24px #0f172a0a}.restaurant-card:hover{background:#fdf2f8;border-color:#ec489961;transform:translateY(-2px)}.restaurant-card img,.restaurant-product-card img{aspect-ratio:1;object-fit:cover;background:#f1f5f9;border-radius:12px;width:100%}.restaurant-card strong{font-size:16px}.restaurant-card span,.restaurant-product-card span{color:var(--muted);font-size:12px}.restaurants-manager-modal{--primary:#ec4899;--primary-dark:#db2777;--primary-soft:#fdf2f8;width:min(100%,1120px);overflow:hidden}.restaurants-manager-modal .classification-header span{color:var(--primary-dark)}.restaurants-manager-modal .classification-switch button.active,.restaurant-category-filters button.active{color:var(--primary-dark);background:#ec48991a;border-color:#ec489961}.restaurant-manager-toolbar{grid-template-columns:minmax(220px,1fr) auto auto;gap:10px;display:grid}.restaurant-search,.restaurant-inline-input{border:1px solid var(--border);min-height:42px;color:var(--muted);background:#fff;border-radius:10px;align-items:center;gap:8px;padding:0 12px;display:flex}.restaurant-search input,.restaurant-inline-input input{width:100%;min-width:0;color:var(--text);font:inherit;background:0 0;border:0;outline:0}.restaurant-form-modal select{border:1px solid var(--border);background:#fff;border-radius:10px;width:100%;min-width:0;height:42px;padding:0 12px}.restaurant-location-panel{background:#fff7fb;border:1px solid #ec48993d;border-radius:14px;gap:12px;padding:14px;display:grid}.restaurant-location-header,.restaurant-location-tools,.restaurant-coordinate-grid{gap:10px;display:grid}.restaurant-location-header{grid-template-columns:minmax(0,1fr) auto;align-items:center}.restaurant-location-header span{color:#be185d;align-items:center;gap:7px;font-weight:800;display:inline-flex}.restaurant-location-header button,.restaurant-location-tools button{color:#fff;background:#ec4899;border:0;border-radius:10px;min-height:40px;padding:0 12px;font-weight:800}.restaurant-location-header button{justify-content:center;align-items:center;gap:6px;display:inline-flex}.restaurant-location-tools{grid-template-columns:minmax(0,1fr) auto}.restaurant-location-tools input,.restaurant-coordinate-grid input{min-width:0}.restaurant-coordinate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.restaurant-location-preview{color:#be185d;font-size:12px;font-weight:800;text-decoration:none}.restaurant-map-picker-backdrop{z-index:1300}.restaurant-map-picker-modal{background:#fff;border-radius:18px;gap:14px;width:min(94vw,860px);max-height:90vh;padding:18px;display:grid;box-shadow:0 24px 70px #0f172a3d}.restaurant-google-map{border:1px solid var(--border);background:#f8fafc;border-radius:14px;min-height:460px;overflow:hidden}.restaurant-map-picker-footer{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:46px;display:grid}.restaurant-map-picker-footer span{color:#475569;direction:ltr;justify-self:start;font-weight:800}.restaurant-map-picker-footer button{color:#fff;background:#16a34a;border:0;border-radius:10px;min-height:42px;padding:0 14px;font-weight:900}.product-category-menu{width:100%;position:relative}.product-category-trigger{border:1px solid var(--border);color:#475569;background:#f8fafc;border-radius:10px;justify-content:space-between;width:100%;min-height:42px;padding:0 12px}.product-category-options{top:calc(100% + 4px);z-index:35;background:#fff;border:1px solid #cbd5e1;border-radius:10px;position:absolute;inset-inline:0;overflow:hidden;box-shadow:0 14px 32px #0f172a1f}.product-category-options button{color:#475569;background:#fff;border:0;border-radius:0;justify-content:flex-start;width:100%;min-height:36px;padding:0 12px}.product-category-options button:hover,.product-category-options button.selected{color:#111827;background:#e5e7eb}.product-status-toggle{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.product-status-toggle button{border:1px solid var(--border);color:#475569;background:#f8fafc;border-radius:10px;justify-content:center;align-items:center;gap:7px;min-height:40px;font-weight:800;display:inline-flex}.product-status-toggle button.active{color:#047857;background:#ecfdf5;border-color:#10b98157}.product-status-toggle button.active.stopped{color:#dc2626;background:#fef2f2;border-color:#ef444457}.dashboard-price-stack{justify-items:start;gap:2px;display:grid}.dashboard-price-stack .old-price{color:var(--subtle);font-size:13px;text-decoration:line-through}.product-card-price{justify-items:center}.product-details-price strong{color:var(--primary-dark);font-size:24px}.dialog-confirm.discount{color:#db2777;background:#fdf2f8;border:1px solid #ec489947}.dialog-cancel.danger-soft{color:#dc2626;background:#fef2f2;border-color:#ef444447}.product-discount-modal{width:min(100%,460px)}.discount-preview{background:#fbfdff;border:1px solid #eef2f7;border-radius:14px;gap:8px;margin-bottom:14px;padding:14px;display:grid}.discount-preview span,.discount-value-field span{color:var(--muted);font-size:13px;font-weight:800}.discount-preview>strong,.discount-preview .dashboard-price-stack strong{color:var(--primary-dark);font-size:24px}.discount-type-switch{grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:14px;display:grid}.discount-type-switch button{border:1px solid var(--border);color:#475569;background:#f8fafc;border-radius:10px;justify-content:center;align-items:center;gap:7px;min-height:42px;font-weight:900;display:inline-flex}.discount-type-switch button.active{color:#db2777;background:#fdf2f8;border-color:#ec489957}.discount-value-field{gap:8px;margin-bottom:16px;display:grid}.discount-value-field input{border:1px solid var(--border);border-radius:10px;outline:0;height:44px;padding:0 12px}.discount-value-field small{color:var(--subtle);font-weight:800}.product-list-field{color:var(--muted);gap:8px;font-size:13px;display:grid}.product-list-rows{gap:8px;display:grid}.product-list-row{align-items:center;gap:8px;display:grid}.product-list-row.ingredient-row{grid-template-columns:minmax(0,1fr) 42px 42px}.product-list-row.addon-row{grid-template-columns:minmax(0,1.1fr) minmax(120px,.75fr) 42px 42px}.product-list-row input{min-width:0}.product-row-add,.product-row-delete,.product-row-spacer{width:42px;height:42px}.product-row-add,.product-row-delete{border-radius:10px;place-items:center;display:grid}.product-row-add{color:#047857;background:#ecfdf5;border:1px solid #10b98152}.product-row-delete{color:#dc2626;background:#fef2f2;border:1px solid #ef444440}.image-upload-field{color:#db2777;cursor:pointer;background:#fdf2f8;border:1px dashed #ec489961;border-radius:10px;justify-content:center;align-items:center;min-height:42px;padding:0 12px;font-weight:800;display:flex}.image-upload-field span{justify-content:center;align-items:center;gap:8px;display:inline-flex}.image-upload-field input{display:none}.image-picker-field{color:#db2777;cursor:pointer;justify-items:center;gap:10px;padding:4px 0 2px;font-weight:800;display:grid}.modal-top-image{width:min(100%,170px);margin:12px auto 14px}.image-picker-preview{aspect-ratio:1;border:1px solid var(--border);color:#64748b;background:#f8fafc;border-radius:12px;place-items:center;width:100%;display:grid;overflow:hidden;box-shadow:0 14px 28px #0f172a14}.image-picker-preview img{object-fit:cover;width:100%;height:100%}.image-picker-text{border:1px solid var(--border);white-space:nowrap;background:#fff;border-radius:10px;justify-content:center;align-items:center;gap:8px;width:max-content;max-width:100%;min-height:36px;padding:0 13px;font-size:12px;line-height:1;display:inline-flex;box-shadow:0 8px 18px #0f172a0f}.image-picker-field:hover .image-picker-preview,.image-picker-field:hover .image-picker-text{background:#f8fafc;border-color:#cbd5e1}.image-picker-field input{display:none}.time-picker-field input[type=time]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;cursor:pointer;color:#0f172a;border:1px solid var(--border);background:#fff;font-weight:800;box-shadow:0 10px 20px #0f172a0f}.time-picker-field input[type=time]::-webkit-calendar-picker-indicator{cursor:pointer;background-color:#f8fafc;border-radius:50%;width:24px;height:24px;padding:4px}.restaurant-category-filters{flex-wrap:wrap;gap:9px;display:flex}.restaurant-category-filters button{border:1px solid var(--border);color:#475569;background:#fff;border-radius:10px;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:0 12px;font-weight:800;display:inline-flex}.restaurant-category-filters b{color:#475569;background:#94a3b81f;border-radius:8px;place-items:center;min-width:24px;height:22px;font-size:12px;display:grid}.restaurant-category-filters button.active b{color:var(--primary-dark);background:#ec489924}.restaurant-products-grid{scrollbar-width:thin;scrollbar-color:#ec48997a #f1f5f9e6;flex:1;grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;gap:12px;min-height:0;padding:2px 2px 6px;display:grid;overflow:auto}.restaurant-product-card{border:1px solid var(--border);text-align:right;background:#fff;border-radius:13px;gap:7px;padding:10px;transition:all .18s;display:grid;position:relative}.restaurant-product-card:hover{background:#fdf2f8;border-color:#ec489961}.restaurant-product-card.stopped{background:#fff7f7;border-color:#ef444452}.restaurant-product-card.stopped:hover{background:#fef2f2;border-color:#ef444475}.restaurant-product-card strong{font-size:15px}.restaurant-product-card b{color:var(--primary-dark)}.restaurant-product-card em{color:#fff;background:#dc2626;border-radius:999px;justify-content:center;align-items:center;min-height:24px;padding:0 9px;font-size:11px;font-style:normal;font-weight:900;display:inline-flex;position:absolute;top:8px;left:8px;box-shadow:0 8px 18px #dc262638}.restaurant-products-pagination{border:1px solid var(--border);background:#ffffffe0;border-radius:12px;padding:10px 12px}.restaurant-form-modal,.product-details-modal,.restaurant-profile-view{scrollbar-width:thin;scrollbar-color:#ec48997a #f1f5f9e6}.restaurant-form-modal::-webkit-scrollbar{width:10px;height:10px}.product-details-modal::-webkit-scrollbar{width:10px;height:10px}.restaurant-profile-view::-webkit-scrollbar{width:10px;height:10px}.restaurant-form-modal::-webkit-scrollbar-track{background:linear-gradient(#f8fafc,#eef2f7);border-radius:999px;margin:8px}.product-details-modal::-webkit-scrollbar-track{background:linear-gradient(#f8fafc,#eef2f7);border-radius:999px;margin:8px}.restaurant-profile-view::-webkit-scrollbar-track{background:linear-gradient(#f8fafc,#eef2f7);border-radius:999px;margin:8px}.restaurant-form-modal::-webkit-scrollbar-thumb{background:linear-gradient(#ec4899b8,#db2777d1);border:2px solid #f8fafc;border-radius:999px}.product-details-modal::-webkit-scrollbar-thumb{background:linear-gradient(#ec4899b8,#db2777d1);border:2px solid #f8fafc;border-radius:999px}.restaurant-profile-view::-webkit-scrollbar-thumb{background:linear-gradient(#ec4899b8,#db2777d1);border:2px solid #f8fafc;border-radius:999px}.restaurant-form-modal::-webkit-scrollbar-thumb:hover{background:linear-gradient(#ec4899e6,#db2777f2)}.product-details-modal::-webkit-scrollbar-thumb:hover{background:linear-gradient(#ec4899e6,#db2777f2)}.restaurant-profile-view::-webkit-scrollbar-thumb:hover{background:linear-gradient(#ec4899e6,#db2777f2)}.product-details-modal{border:1px solid var(--border);background:#fff;border-radius:18px;grid-template-columns:minmax(260px,.9fr) 1.1fr;gap:20px;width:min(100%,880px);max-height:min(90vh,820px);padding:18px;display:grid;position:relative;overflow:auto;box-shadow:0 30px 80px #0f172a3d}.product-details-modal>img{object-fit:cover;border-radius:14px;width:100%;height:100%;min-height:360px}.modal-close-button{color:#475569;z-index:2;background:#ffffffeb;border-radius:12px;place-items:center;width:38px;height:38px;display:grid;position:absolute;top:18px;left:18px}.product-details-content{align-content:center;gap:12px;display:grid}.product-details-content h2{margin:0;font-size:28px}.product-details-content>strong{color:var(--primary-dark);font-size:24px}.product-details-content p{color:var(--muted);line-height:1.7}.product-details-list{background:#fbfdff;border:1px solid #eef2f7;border-radius:14px;gap:8px;padding:12px;display:grid}.product-details-list h3{color:var(--text);margin:0;font-size:15px}.product-details-list>div{flex-wrap:wrap;gap:8px;display:flex}.product-details-list span{color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:999px;align-items:center;gap:8px;min-height:32px;padding:0 12px;font-size:13px;font-weight:800;display:inline-flex}.product-details-list span b{color:var(--primary-dark);font-size:13px}.restaurant-pill{color:#db2777;background:#fdf2f8;border-radius:999px;align-items:center;width:max-content;min-height:30px;padding:0 12px;font-size:12px;font-weight:800;display:inline-flex}.product-detail-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.product-detail-grid span,.restaurant-store-details p{color:var(--muted);background:#fbfdff;border:1px solid #eef2f7;border-radius:12px;gap:6px;padding:12px;font-size:12px;display:grid}.product-detail-grid b,.restaurant-store-details strong{color:var(--text);font-size:14px}.restaurant-profile-view{text-align:center;flex:1;gap:16px;min-height:0;display:grid;overflow:auto}.restaurant-profile-view>img{object-fit:cover;border-radius:24px;justify-self:center;width:132px;height:132px;box-shadow:0 18px 42px #0f172a24}.restaurant-store-details{text-align:right;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;display:grid}.restaurant-store-details p{align-items:center;gap:10px;margin:0;display:flex}.restaurant-profile-actions{justify-content:center;gap:10px;display:flex}.restaurant-profile-actions button.danger{background:#dc2626}.product-details-backdrop{z-index:72}.restaurant-product-form-backdrop{z-index:84}.dialog-backdrop.nested{z-index:86;background:#0f172a3d;position:absolute;inset:0}.profile-page .profile-back-button{color:#db2777;background:#ec48991a;border-color:#ec48994d}.profile-page .profile-back-button:hover{background:#ec489929}.profile-page .profile-header{grid-template-columns:112px 1fr auto}.profile-page .profile-header>img{border-radius:18px;width:112px;height:112px}.profile-page .notes-title-row button{color:#db2777;background:#fdf2f8;border-color:#ec489959}.reports-page{--primary:#ec4899;--primary-dark:#db2777;--primary-soft:#fdf2f8;grid-template-rows:auto minmax(0,1fr);height:calc(100vh - 134px);min-height:0;overflow:hidden}.reports-filters{align-items:center}.reports-filters select{min-width:170px;color:var(--muted);border-color:var(--border);background:#f8fafc;outline:0}.reports-page .filter-row button.active{background:var(--primary-soft);color:var(--primary-dark);border-color:#ec489959}.reports-page .filter-row button.active b{color:var(--primary-dark);background:#ec489924}.reports-page .details-button{color:var(--primary-dark);background:#fdf2f8;border-color:#ec489959}.reports-layout{direction:ltr;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:14px;min-height:0;display:grid}.reports-layout.has-details{grid-template-columns:390px minmax(0,1fr)}.reports-table-card{direction:rtl;flex-direction:column;min-height:0;display:flex;overflow:hidden}.reports-layout.has-details .reports-table-card{grid-column:2}.reports-table-card .table-scroll{scrollbar-width:thin;scrollbar-color:#ec48997a #f1f5f9e6;flex:1;min-height:0;overflow:auto}.reports-table-card .table-scroll::-webkit-scrollbar{width:10px;height:10px}.report-details::-webkit-scrollbar{width:10px;height:10px}.reports-table-card .table-scroll::-webkit-scrollbar-track{background:linear-gradient(#f8fafc,#eef2f7);border-radius:999px;margin:8px}.report-details::-webkit-scrollbar-track{background:linear-gradient(#f8fafc,#eef2f7);border-radius:999px;margin:8px}.reports-table-card .table-scroll::-webkit-scrollbar-thumb{background:linear-gradient(#ec4899b8,#db2777d1);border:2px solid #f8fafc;border-radius:999px}.report-details::-webkit-scrollbar-thumb{background:linear-gradient(#ec4899b8,#db2777d1);border:2px solid #f8fafc;border-radius:999px}.reports-table{min-width:980px}.reports-page thead th{z-index:3;box-shadow:0 1px 0 var(--border);position:sticky;top:0}.reports-page tbody tr:hover,.reports-page tbody tr.selected{background:#fdf2f8}.reports-page tbody tr.selected{box-shadow:inset 0 0 0 1px #ec489959}.report-sender{grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;display:grid}.report-sender>span,.report-sender-card>span{width:38px;height:38px;color:var(--primary-dark);background:#ec48991a;border:1px solid #ec48992e;border-radius:12px;place-items:center;display:grid;overflow:hidden}.report-sender.report-restaurants>span,.report-sender-card>span{border-radius:10px}.report-sender img,.report-sender-card img{object-fit:cover;width:100%;height:100%}.report-status{border-radius:999px;justify-content:center;align-items:center;gap:6px;min-height:28px;padding:0 10px;font-size:12px;font-weight:800;display:inline-flex}.report-unresolved{color:#db2777;background:#fce7f3}.report-resolved{color:#047857;background:#dcfce7}.report-ignored{color:#64748b;background:#f1f5f9}.report-details{scrollbar-width:thin;scrollbar-color:#ec48997a #f1f5f9e6;direction:rtl;grid-column:1;min-height:0;padding:16px;overflow:auto}.report-side-label{min-height:28px;color:var(--primary-dark);background:#fdf2f8;border-radius:999px;align-items:center;margin-bottom:8px;padding:0 10px;font-size:12px;font-weight:800;display:inline-flex}.report-code-block{border-bottom:1px solid var(--border);gap:8px;margin:14px 0;padding-bottom:14px;display:grid}.report-code-block span:first-child{color:var(--muted);font-size:12px}.report-code-block strong{font-size:20px}.report-status-actions{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px;display:grid}.report-status-actions button{border:1px solid var(--border);color:#475569;background:#fff;border-radius:10px;min-height:38px;font-weight:800}.report-status-actions button.active{color:#fff;background:var(--primary-dark);border-color:var(--primary-dark)}.report-details .panel-section{background:#fff;border:1px solid #eef2f7;border-radius:12px;gap:10px;margin-top:12px;padding:12px;display:grid}.report-details .panel-section p{color:#475569;margin:0;line-height:1.7}.report-sender-card{grid-template-columns:44px minmax(0,1fr);align-items:center;gap:10px;display:grid}.report-sender-card>span{width:44px;height:44px}.report-sender-card div{gap:4px;display:grid}.report-sender-card small,.report-sender-card b{color:var(--muted);font-size:12px}.report-meta-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.report-meta-grid span{color:var(--muted);background:#fbfdff;border:1px solid #eef2f7;border-radius:10px;gap:6px;padding:10px;font-size:12px;display:grid}.report-meta-grid strong{color:var(--text);font-size:13px}.toast strong{color:#0f172a;min-width:0;font-size:14px;line-height:1.45}.toast button{color:#64748b;background:#f8fafc;border-radius:9px;place-items:center;width:30px;height:30px;display:grid}@keyframes toastIn{0%{opacity:0;transform:translate(-50%,-10px)}to{opacity:1;transform:translate(-50%)}}.sidebar-overlay{display:none}.floating-menu{z-index:55;background:var(--primary-dark);color:#fff;border-radius:12px;width:42px;height:42px;display:none;position:fixed;top:14px;right:14px;box-shadow:0 14px 34px #0f172a38}.map-popup-reopen{background:var(--primary-dark);color:#fff;border-radius:10px;justify-self:end;min-height:38px;padding:0 14px;font-weight:800}.charts-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.chart-card{grid-template-rows:auto 1fr;gap:16px;min-height:270px;padding:18px;display:grid;overflow:hidden}.chart-card-head{align-items:center;gap:12px;display:flex}.chart-card-head>span{width:42px;height:42px;color:var(--primary-dark);background:#10b9811a;border-radius:13px;place-items:center;display:grid}.chart-card:nth-child(2) .chart-card-head>span{color:#2563eb;background:#3b82f61a}.chart-card:nth-child(3) .chart-card-head>span{color:#7c3aed;background:#7c3aed1a}.chart-card:nth-child(4) .chart-card-head>span{color:#dc2626;background:#ef44441a}.chart-card h3{margin:0;font-size:18px}.chart-card p{color:var(--muted);margin:3px 0 0;font-size:13px}.chart-wrap{grid-template-columns:170px minmax(0,1fr);align-items:center;gap:18px;display:grid}.pie-chart{border-radius:50%;place-items:center;width:158px;height:158px;display:grid;position:relative;box-shadow:inset 0 0 0 1px #0f172a0a,0 20px 40px #0f172a14}.pie-chart:before{content:"";background:#fff;border-radius:50%;position:absolute;inset:27px;box-shadow:inset 0 0 0 1px #e2e8f0e6}.pie-chart span,.pie-chart small{z-index:1;position:relative}.pie-chart span{color:var(--text);font-size:28px;font-weight:900;line-height:1}.pie-chart small{color:var(--muted);margin-top:34px;font-size:11px;position:absolute}.chart-legend{gap:9px;display:grid}.chart-legend>div{background:#f8fafc;border-radius:10px;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:34px;padding:7px 9px;display:grid}.chart-legend i{border-radius:50%;width:10px;height:10px}.chart-legend span{color:#475569;font-size:13px}.chart-legend strong{align-items:center;gap:5px;font-size:13px;display:inline-flex}.chart-legend small{color:var(--muted);font-size:11px}.login-page{color:#fff;background:radial-gradient(circle at 20% 5%,#ec489924,#0000 30%),linear-gradient(#0b1727 0%,#101827 100%);grid-template-columns:1.05fr .95fr;gap:28px;min-height:100vh;padding:34px;display:grid}.login-card{border:1px solid #ffffff14;border-radius:22px}.login-brand-panel{flex-direction:column;justify-content:center;padding:46px;display:flex}.brand.large .brand-mark{width:54px;height:54px}.brand.large strong{font-size:38px}.login-brand-panel h1{max-width:620px;margin:60px 0 18px;font-size:48px;line-height:1.16}.login-brand-panel p{color:#cbd5e1;max-width:560px;font-size:18px}.login-benefits{flex-wrap:wrap;gap:12px;margin-top:35px;display:flex}.login-benefits span{background:#ffffff14;border-radius:999px;align-items:center;gap:8px;min-height:42px;padding:0 14px;display:inline-flex}.login-card{width:min(100%,460px);color:var(--text);background:#fff;place-self:center;padding:34px;box-shadow:0 30px 80px #0000003d}.login-logo{color:#ec4899;background:#fdf2f8;border-radius:16px;place-items:center;width:58px;height:58px;margin:0 auto;display:grid}.login-card h2{text-align:center;margin:18px 0 4px;font-size:30px}.login-card p,.login-card small{color:var(--muted);text-align:center;display:block}.login-card label{gap:8px;margin-top:18px;font-weight:700;display:grid}.login-card label span{border:1px solid var(--border);height:48px;color:var(--muted);border-radius:10px;grid-template-columns:20px 1fr auto;align-items:center;gap:8px;padding:0 12px;display:grid}.login-card input{border:0;outline:0;min-width:0}.login-card label span button{width:30px;height:30px;color:var(--muted);background:0 0;place-items:center;display:grid}.login-options{color:var(--muted);justify-content:space-between;align-items:center;margin:16px 0;font-size:14px;display:flex}.login-options label{gap:8px;margin:0;display:flex}.login-options a{color:var(--primary-dark);font-weight:700}.form-error{color:#dc2626;background:#fef2f2;border-radius:9px;margin-bottom:12px;padding:10px}.login-card .primary-button{background-color:#ec4899;border:0;width:100%;margin-top:32px;margin-bottom:14px}.login-card .primary-button:hover{background-color:#db2777}@media (width<=1320px){.dashboard-shell{padding-right:248px}.dashboard-shell.sidebar-collapsed{padding-right:92px}.sidebar{width:248px}.orders-layout{grid-template-columns:360px minmax(0,1fr)}.stats-grid.six{grid-template-columns:repeat(3,1fr)}}@media (width<=1180px){.topbar,.section-header{grid-template-columns:1fr;gap:12px}.section-title,.section-tools{grid-column:1}.section-tools{flex-wrap:wrap;justify-content:flex-start;justify-self:stretch}.section-tools .search-input{width:min(100%,360px)}.header-search-wrap{flex-wrap:wrap}.topbar-title,.topbar>.search-input,.toolbar-actions{grid-area:auto/1}.toolbar-actions{justify-content:flex-start}.orders-layout,.reports-layout.has-details,.operations-layout,.profile-grid,.driver-account-form{direction:rtl;grid-template-columns:1fr}.orders-table-card,.order-details,.reports-table-card,.report-details,.drivers-panel,.map-card{grid-area:auto}.order-details{position:static}.stats-grid.four,.stats-grid.five,.late-grid,.driver-cards-grid{grid-template-columns:repeat(2,1fr)}.chart-wrap{grid-template-columns:145px minmax(0,1fr);gap:14px}.pie-chart{width:138px;height:138px}}@media (width<=900px){.dashboard-shell,.dashboard-shell.sidebar-collapsed{padding-right:0}.sidebar{transform:translate(100%)}.sidebar.collapsed{width:282px;padding:26px 18px}.sidebar.collapsed .brand{justify-content:flex-start;margin-bottom:42px}.sidebar.collapsed .brand>span:last-child,.sidebar.collapsed .side-nav a span,.sidebar.collapsed .manager-card-main>div,.sidebar.collapsed .manager-card-main>svg{display:block}.sidebar.collapsed .side-nav a{justify-content:flex-start;padding:0 18px}.sidebar.collapsed .manager-card-main{grid-template-columns:48px 1fr 16px;justify-items:stretch;min-height:92px;padding:14px}.sidebar-toggle{display:none}.sidebar.open{transform:translate(0)}.sidebar-overlay{z-index:19;background:#0f172a57;display:block;position:fixed;inset:0}.mobile-menu,.floating-menu{display:grid}.main-area{padding:10px}.tabs-card,.settings-grid,.admin-details-grid,.login-page{grid-template-columns:1fr}.login-page{padding:18px}.login-brand-panel{padding:30px}.login-brand-panel h1{margin-top:32px;font-size:32px}.profile-header{grid-template-columns:70px 1fr}.profile-actions{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}.stats-grid.four,.stats-grid.five,.stats-grid.six,.charts-grid,.late-grid,.driver-cards-grid{grid-template-columns:1fr}.classifications-modal{max-height:92vh;padding:14px}.restaurant-products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=620px){.toolbar-actions{overflow-x:auto}.topbar-title h1{font-size:24px}.panel-split,.details-grid,.tracking-content,.chart-wrap,.profile-actions,.generated-field{grid-template-columns:1fr}.pie-chart{justify-self:center}.pagination-row{flex-direction:column;align-items:flex-start;gap:10px}.edit-form-grid,.edit-item-row{grid-template-columns:1fr}.product-list-row.addon-row{grid-template-columns:minmax(0,1fr) minmax(92px,.7fr) 42px 42px}.dialog-backdrop{padding:10px}.classification-header{align-items:stretch}.classification-header h2{font-size:20px}.classification-switch button,.classification-periods button,.classification-button{flex:140px}.admin-details-head{text-align:center;grid-template-columns:1fr;justify-items:center}.restaurant-manager-toolbar,.restaurant-products-grid{grid-template-columns:1fr}}.edit-modal-grid{grid-template-columns:repeat(4,1fr);gap:20px;margin-top:20px;display:grid}@media (width<=1024px){.edit-modal-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=768px){.edit-modal-grid{grid-template-columns:1fr}.edit-modal-grid>div{border-bottom:2px solid var(--border);border-radius:0}.edit-modal-grid>div:last-child{border-bottom:none}}.header-create-order-button{justify-content:center;align-items:center;gap:8px;width:auto;min-height:42px;margin:0;padding:0 16px;display:inline-flex}.header-order-actions{flex-wrap:wrap;align-items:center;gap:10px;display:inline-flex}.create-order-page{scroll-behavior:smooth;padding-bottom:40px;height:calc(100vh - 134px)!important;overflow:hidden auto!important}.create-order-nav{z-index:10;-webkit-backdrop-filter:blur(12px);border:1px solid var(--border);background:#ffffffeb;border-radius:16px;align-items:center;gap:8px;margin-bottom:6px;padding:10px 16px;display:flex;position:sticky;top:0;box-shadow:0 4px 20px #0000000f}.create-order-nav>button{background:var(--bg);border:1px solid var(--border);color:var(--text);cursor:pointer;white-space:nowrap;border-radius:12px;align-items:center;gap:7px;padding:8px 16px;font-size:14px;font-weight:600;transition:all .25s;display:inline-flex}.create-order-nav>button:hover{background:var(--primary-soft);border-color:var(--primary);color:var(--primary-dark)}.create-order-nav>button.done{background:var(--primary-soft);color:var(--primary-dark);border-color:#10b9814d}.create-order-nav .nav-check{color:var(--primary)}.create-order-nav em{background:var(--primary);color:#fff;border-radius:999px;justify-content:center;align-items:center;min-width:22px;height:22px;padding:0 6px;font-size:12px;font-style:normal;font-weight:700;display:inline-flex}.create-order-nav-scroll{gap:4px;margin-right:auto;display:flex}.create-order-nav-scroll button{background:var(--bg);border:1px solid var(--border);width:36px;height:36px;color:var(--muted);cursor:pointer;border-radius:10px;place-items:center;transition:all .2s;display:inline-grid}.create-order-nav-scroll button:hover{background:var(--primary-soft);color:var(--primary-dark);border-color:var(--primary)}.phone-hint{border-radius:10px;align-items:center;gap:6px;margin-top:2px;padding:6px 10px;font-size:13px;font-weight:500;animation:.25s phoneHintSlide;display:flex}.phone-hint.valid{color:var(--primary-dark);background:var(--primary-soft)}.phone-hint.invalid{color:#dc2626;background:#fef2f2}@keyframes phoneHintSlide{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.create-order-summary .edit-form-grid label.field-error input{background:#fefefe;border-color:#fca5a5}.create-order-summary .edit-form-grid label.field-error input:focus{border-color:#ef4444;box-shadow:0 0 0 4px #ef44441a}.create-order-summary .edit-form-grid label.field-success input{border-color:#10b98166}.create-order-summary .edit-form-grid label.field-success input:focus{border-color:var(--primary);box-shadow:0 0 0 4px #10b9811f}.create-order-layout{grid-template-columns:280px minmax(0,1fr) 340px;align-items:start;gap:24px;scroll-margin-top:80px;display:grid}.normal-order-layout{grid-template-columns:minmax(0,1fr) 360px;align-items:start;gap:24px;display:grid}.normal-order-main{gap:18px;display:grid}.normal-order-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.create-order-panel,.create-order-summary{background:var(--card);border:1px solid var(--border);border-radius:20px;padding:24px;scroll-margin-top:80px;transition:transform .3s,box-shadow .3s;box-shadow:0 10px 40px #0000000a}.create-order-panel:hover,.create-order-summary:hover{box-shadow:0 15px 50px #00000014}.create-order-panel h2,.create-order-summary h2,.create-order-summary h3{color:var(--text);align-items:center;gap:10px;margin:0 0 20px;font-size:20px;font-weight:700;display:flex}.create-order-step-badge{background:var(--primary-soft);width:30px;height:30px;color:var(--primary-dark);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;font-size:14px;font-weight:800;display:inline-flex}.create-order-summary h3{border-top:1px solid var(--border);color:var(--text);align-items:center;gap:8px;margin-top:28px;padding-top:20px;font-size:16px;display:flex}.create-order-summary h3 svg{color:var(--primary);flex-shrink:0}.create-order-search{background:var(--bg);border:2px solid #0000;border-radius:14px;align-items:center;gap:12px;min-height:48px;margin-bottom:16px;padding:0 16px;transition:all .3s;display:flex;box-shadow:inset 0 2px 4px #00000005}.create-order-search:focus-within{border-color:var(--primary);background:var(--card);box-shadow:0 0 0 4px #10b9811f}.create-order-search input{width:100%;min-width:0;color:var(--text);background:0 0;border:0;outline:0;font-family:inherit;font-size:15px}.create-order-restaurant-list,.create-order-driver-list,.create-order-products-grid{gap:12px;max-height:calc(100vh - 280px);padding-inline-end:8px;display:grid;overflow:auto}.create-order-restaurant-list::-webkit-scrollbar{width:6px}.create-order-driver-list::-webkit-scrollbar{width:6px}.create-order-products-grid::-webkit-scrollbar{width:6px}.create-order-restaurant-list::-webkit-scrollbar-track{background:0 0}.create-order-driver-list::-webkit-scrollbar-track{background:0 0}.create-order-products-grid::-webkit-scrollbar-track{background:0 0}.create-order-restaurant-list::-webkit-scrollbar-thumb{background:#9ca3af4d;border-radius:10px}.create-order-driver-list::-webkit-scrollbar-thumb{background:#9ca3af4d;border-radius:10px}.create-order-products-grid::-webkit-scrollbar-thumb{background:#9ca3af4d;border-radius:10px}.create-order-restaurant-list button{text-align:right;border:1px solid var(--border);background:var(--bg);min-height:76px;color:var(--text);border-radius:16px;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:14px;padding:10px 12px;transition:all .25s cubic-bezier(.4,0,.2,1);display:grid;position:relative;overflow:hidden}.create-order-restaurant-list button:hover{border-color:#10b98159;transform:translateY(-2px);box-shadow:0 8px 20px #0000000d}.create-order-restaurant-list button.active,.create-order-driver-list button.active{border-color:var(--primary);background:linear-gradient(135deg,#10b98114 0%,#10b98105 100%);box-shadow:0 4px 15px #10b98126}.create-order-restaurant-list button.active:before,.create-order-driver-list button.active:before{content:"";background:var(--primary);border-radius:0 16px 16px 0;width:4px;position:absolute;top:0;bottom:0;right:0}.create-order-restaurant-list img,.create-order-restaurant-list button>span,.create-order-driver-list img{object-fit:cover;border-radius:14px;width:52px;height:52px;transition:transform .3s;box-shadow:0 4px 10px #00000014}.create-order-restaurant-list button:hover img{transform:scale(1.05)}.create-order-restaurant-list button>span{background:var(--primary-soft);color:var(--primary-dark);box-shadow:none;place-items:center;display:inline-grid}.create-order-restaurant-list b,.create-order-restaurant-list small{display:block}.create-order-restaurant-list b{margin-bottom:4px;font-size:15px;font-weight:600}.create-order-restaurant-list small{color:var(--muted);align-items:center;gap:6px;font-size:13px;display:flex}.create-order-restaurant-list small:before{content:"";background:#10b981;border-radius:50%;width:6px;height:6px;display:inline-block}.create-order-products{min-height:720px}.create-order-products-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px;max-height:calc(100vh - 340px)}.create-order-product-card{border:1px solid var(--border);background:var(--bg);border-radius:18px;grid-template-rows:120px minmax(0,1fr) auto;gap:12px;min-height:220px;padding:10px;transition:all .3s cubic-bezier(.4,0,.2,1);display:grid}.create-order-product-card:hover{border-color:#10b98140;transform:translateY(-4px);box-shadow:0 12px 30px #00000014}.create-order-product-card img{object-fit:cover;border-radius:14px;width:100%;height:120px;transition:transform .5s}.create-order-product-card:hover img{transform:scale(1.05)}.create-order-product-card strong,.create-order-product-card span{display:block}.create-order-product-card strong{color:var(--text);font-size:15px;font-weight:700;line-height:1.4}.create-order-product-card span{color:var(--primary-dark);background:var(--primary-soft);letter-spacing:.02em;border-radius:8px;margin-top:6px;padding:4px 10px;font-size:14px;font-weight:700;display:inline-block}.create-order-stepper{background:var(--card);border:1px solid var(--border);border-radius:12px;grid-template-columns:42px 1fr 42px;align-items:center;min-height:42px;display:grid;overflow:hidden;box-shadow:inset 0 2px 4px #00000005}.create-order-stepper button{width:42px;height:42px;color:var(--primary);cursor:pointer;background:0 0;border:0;place-items:center;transition:all .2s;display:inline-grid}.create-order-stepper button:hover:not(:disabled){background:#10b9811f}.create-order-stepper button:disabled{color:var(--muted);opacity:.45;cursor:not-allowed}.create-order-stepper b{text-align:center;font-size:16px;font-weight:700}.create-order-summary{flex-direction:column;display:flex;position:sticky;top:24px}.create-order-summary .edit-form-grid{gap:18px}.create-order-summary .edit-form-grid label{color:var(--text);flex-direction:column;gap:8px;font-size:14px;font-weight:700;display:flex}.create-order-summary .edit-form-grid label>span{color:#111827;letter-spacing:.01em;align-items:center;gap:6px;font-size:14px;font-weight:700;display:flex}.create-order-summary .edit-form-grid input{background:var(--bg);color:#0f172a;border:2px solid #cbd5e1;border-radius:14px;outline:none;height:48px;padding:0 16px;font-size:15px;font-weight:700;transition:all .25s}.create-order-summary .edit-form-grid input::placeholder{color:#64748b;font-weight:600}.create-order-summary .edit-form-grid input:focus{border-color:var(--primary);background:var(--card);box-shadow:0 0 0 4px #10b9811f}.create-order-summary .edit-form-grid input:hover:not(:focus){border-color:#94a3b8}.customer-select{position:relative}.customer-select>button{background:var(--bg);color:#0f172a;text-align:right;border:2px solid #cbd5e1;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:58px;padding:10px 14px;display:flex}.customer-select>button.selected{background:#10b9810f;border-color:#10b98194}.customer-select>button span,.customer-select-list button span{gap:3px;min-width:0;display:grid}.customer-select b,.customer-select small,.customer-select em{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.customer-select b{font-size:14px}.customer-select small,.customer-select em{color:var(--muted);font-size:12px;font-style:normal;font-weight:600}.customer-select-menu{z-index:80;border:1px solid var(--border);background:var(--card);border-radius:14px;position:absolute;top:calc(100% + 8px);left:0;right:0;overflow:hidden;box-shadow:0 18px 50px #0f172a2e}.customer-select-search{border-bottom:1px solid var(--border);align-items:center;padding:10px 12px;flex-direction:row!important;gap:8px!important;display:flex!important}.customer-select-search input{flex:1;height:36px!important;box-shadow:none!important;background:0 0!important;border:0!important;padding:0!important}.customer-select-list{max-height:240px;padding:8px;overflow-y:auto}.customer-select-list button{text-align:right;background:0 0;border:0;border-radius:10px;grid-template-columns:minmax(0,1fr) minmax(90px,.75fr);align-items:center;gap:10px;width:100%;padding:10px;display:grid}.customer-select-list button:hover,.customer-select-list button.active{background:#10b98117}.customer-select-list p{color:var(--muted);text-align:center;margin:0;padding:18px 10px}.create-order-summary textarea{resize:vertical;background:var(--bg);color:#0f172a;border:2px solid #cbd5e1;border-radius:14px;outline:none;min-height:88px;padding:14px 16px;font-family:inherit;font-size:15px;font-weight:700;line-height:1.6;transition:all .25s}.create-order-summary textarea::placeholder{color:#64748b;font-weight:600}.create-order-summary textarea:focus{border-color:var(--primary);background:var(--card);box-shadow:0 0 0 4px #10b9811f}.create-order-summary textarea:hover:not(:focus){border-color:#94a3b8}.normal-order-page .edit-form-grid label,.normal-order-page .edit-form-grid label>span{color:#111827;font-weight:800}.normal-order-page .edit-form-grid input,.normal-order-page .edit-form-grid textarea,.normal-order-page .create-order-costs input{color:#0f172a;background:#fff;border:2px solid #cbd5e1;font-weight:700}.normal-order-page .edit-form-grid input::placeholder,.normal-order-page .edit-form-grid textarea::placeholder{color:#64748b;font-weight:600}.normal-order-page .edit-form-grid input:hover:not(:focus),.normal-order-page .edit-form-grid textarea:hover:not(:focus),.normal-order-page .create-order-costs input:hover:not(:focus){border-color:#94a3b8}.normal-order-page .create-order-panel h2,.normal-order-page .create-order-summary h2{color:#0f172a;font-weight:900}.create-order-driver-list{max-height:280px}.create-order-driver-list button{border:1px solid var(--border);background:var(--bg);min-height:68px;color:var(--text);text-align:right;cursor:pointer;border-radius:16px;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:14px;padding:10px;transition:all .25s;display:grid;position:relative;overflow:hidden}.create-order-driver-list button:hover:not(:disabled){border-color:#10b98159;transform:translateY(-2px);box-shadow:0 6px 16px #0000000f}.create-order-driver-list button:disabled{opacity:.5;cursor:not-allowed;filter:grayscale(.8)}.create-order-driver-list b,.create-order-driver-list small{display:block}.create-order-driver-list b{font-size:15px;font-weight:600}.create-order-driver-list small{color:var(--muted);margin-top:4px;font-size:13px}.create-order-driver-list em{min-width:52px;color:var(--primary-dark);background:var(--primary-soft);text-align:center;border-radius:999px;padding:6px 10px;font-size:12px;font-style:normal;font-weight:600}.create-order-costs{background:var(--bg);border:1px solid var(--border);border-radius:16px;gap:14px;margin-top:16px;padding:20px;display:grid}.create-order-costs label{color:#111827;gap:8px;font-size:14px;font-weight:800;display:grid}.create-order-costs input{background:var(--card);color:#0f172a;border:2px solid #cbd5e1;border-radius:14px;outline:none;min-height:48px;padding:0 16px;font-family:inherit;font-size:15px;font-weight:800;transition:all .25s}.create-order-costs input:focus{border-color:var(--primary);box-shadow:0 0 0 4px #10b9811f}.create-order-costs input:hover:not(:focus){border-color:#94a3b8}.create-order-costs p,.create-order-costs strong{min-height:40px;color:var(--muted);justify-content:space-between;align-items:center;gap:10px;margin:0;padding:4px 0;font-size:15px;display:flex}.create-order-costs p b{color:#0f172a;font-weight:800}.create-order-costs strong{border-top:2px solid var(--primary-soft);min-height:56px;color:var(--primary-dark);margin-top:8px;padding-top:12px;font-size:22px}.create-order-costs strong b{color:var(--primary-dark)}.create-order-submit{background:linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);color:#fff;cursor:pointer;letter-spacing:.02em;border:none;border-radius:16px;justify-content:center;align-items:center;gap:10px;width:100%;min-height:56px;margin-top:24px;font-size:17px;font-weight:700;transition:all .3s;display:flex;box-shadow:0 8px 20px #10b98140}.create-order-submit:hover:not(:disabled){filter:brightness(1.05);transform:translateY(-2px);box-shadow:0 12px 25px #10b98159}.create-order-submit:active:not(:disabled){transform:translateY(1px)}.create-order-submit:disabled{opacity:.65;cursor:not-allowed;filter:grayscale(.3)}@media (width<=1280px){.create-order-layout{grid-template-columns:280px minmax(0,1fr)}.create-order-summary{grid-column:1/-1;position:static}}@media (width<=860px){.create-order-layout,.normal-order-layout,.normal-order-grid,.create-order-products-grid{grid-template-columns:1fr}.create-order-products{min-height:auto}.create-order-restaurant-list,.create-order-driver-list,.create-order-products-grid{max-height:none}.create-order-nav{gap:6px;padding:8px 10px}.create-order-nav>button{padding:8px 12px;font-size:13px}.create-order-nav>button span{display:none}}.messages-page{--primary:#ec4899;--primary-dark:#db2777;--primary-soft:#fdf2f8;gap:20px;overflow:hidden;flex-direction:row!important;height:calc(100vh - 120px)!important;display:flex!important}.chat-sidebar-card{flex-direction:column;flex-shrink:0;width:340px;padding:16px 10px;display:flex;overflow:hidden}.chat-filters{gap:6px;margin-bottom:20px;padding:0 6px;display:flex}.chat-filters button{color:var(--subtle);background:#f8fafc;border:1px solid #0000;border-radius:8px;flex:1;justify-content:center;align-items:center;gap:6px;padding:8px 4px;font-size:13px;font-weight:700;transition:all .2s;display:flex}.chat-filters button:hover{color:var(--text);background:#f1f5f9}.chat-filters button.active{background:var(--primary-soft);color:var(--primary-dark);border-color:#ec489933}.chat-list{flex-direction:column;flex:1;gap:4px;padding:0 6px;display:flex;overflow:hidden auto}.chat-list::-webkit-scrollbar{width:4px}.chat-list::-webkit-scrollbar-thumb{background:linear-gradient(#ec4899b8,#db2777d1);border-radius:10px}.chat-list-item{text-align:right;cursor:pointer;background:0 0;border:none;border-radius:12px;align-items:center;gap:12px;padding:12px;transition:background .2s;display:flex}.chat-list-item:hover{background:#f8fafc}.chat-list-item.active{background:#f1f6ff;border:1px solid #3b82f61a}.chat-avatar{color:#94a3b8;background:#e2e8f0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:46px;height:46px;display:flex;overflow:hidden}.chat-avatar img{object-fit:cover;width:100%;height:100%}.chat-info{flex-direction:column;display:flex;overflow:hidden}.chat-info strong{color:var(--text);white-space:nowrap;text-overflow:ellipsis;font-size:15px;overflow:hidden}.chat-info span{color:var(--muted);text-align:left;direction:ltr;align-self:flex-start;font-size:13px}.no-chats{text-align:center;color:var(--subtle);padding:30px 10px;font-size:14px}.chat-main-card{flex-direction:column;flex:1;display:flex;overflow:hidden;padding:0!important}.chat-header{border-bottom:1px solid var(--border);background:#fdfefe;justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.chat-header-info{align-items:center;gap:14px;display:flex}.chat-messages-area{background:#f6f8fb;flex-direction:column;flex:1;padding:24px;display:flex;overflow-y:auto}.messages-list{flex-direction:column;flex:1;gap:16px;display:flex}.message-bubble-wrapper{flex-direction:column;width:100%;display:flex}.message-bubble-wrapper.mine{align-items:flex-end}.message-bubble-wrapper.other{align-items:flex-start}.message-bubble{cursor:context-menu;border-radius:16px;max-width:70%;padding:12px 16px;font-size:15px;line-height:1.5;position:relative}.message-bubble-wrapper.mine .message-bubble{background:var(--primary);color:#fff;border-bottom-left-radius:4px}.message-bubble-wrapper.other .message-bubble{color:var(--text);border:1px solid var(--border);background:#fff;border-bottom-right-radius:4px}.message-bubble p{word-wrap:break-word;margin:0}.message-bubble small{opacity:.7;margin-top:6px;font-size:11px;display:block}.message-bubble-wrapper.mine .message-bubble small{color:#ffffffd9;text-align:left}.message-bubble-wrapper.other .message-bubble small{color:var(--subtle);text-align:right}.chat-input-area{align-items:center;gap:12px;padding:16px 20px;display:flex}.chat-footer-wrapper{border-top:1px solid var(--border);background:#fff;flex-direction:column;display:flex}.reply-preview{border-bottom:1px solid var(--border);border-right:3px solid var(--primary);background:#f8fafc;justify-content:space-between;align-items:center;padding:10px 20px;display:flex}.reply-content strong{color:var(--primary);margin-bottom:2px;font-size:13px;display:block}.reply-content p{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;max-width:300px;margin:0;font-size:13px;overflow:hidden}.cancel-reply{color:var(--subtle);cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px}.cancel-reply:hover{color:var(--text);background:#e2e8f0}.message-reply-ref{border-right:3px solid var(--primary);background:#0000000a;border-radius:6px;margin-bottom:6px;padding:6px 10px;font-size:13px}.message-bubble-wrapper.mine .message-reply-ref{background:#ffffff26;border-color:#fff}.message-reply-ref strong{margin-bottom:2px;font-size:12px;display:block}.message-reply-ref p{opacity:.9;white-space:nowrap;text-overflow:ellipsis;margin:0;overflow:hidden}.chat-date-separator{justify-content:center;margin:16px 0;display:flex}.chat-date-separator span{color:var(--muted);border:1px solid var(--border);background:#fff;border-radius:12px;padding:4px 12px;font-size:12px}.chat-info-header{justify-content:space-between;align-items:center;margin-bottom:4px;display:flex}.chat-list-time{font-weight:400;color:var(--subtle)!important;font-size:11px!important}.chat-list-last-msg{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.chat-input-area input{border:1px solid var(--border);background:#f8fafc;border-radius:24px;outline:none;flex:1;height:48px;padding:0 20px;font-family:inherit;font-size:14px;transition:all .2s}.chat-input-area input:focus{background:#fff;border-color:#ec489966;box-shadow:0 0 0 3px #ec48990d}.send-btn{background:var(--primary);color:#fff;cursor:pointer;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;transition:all .2s;display:flex}.send-btn:hover:not(:disabled){background:var(--primary-dark)}.send-btn:disabled{cursor:not-allowed;background:#cbd5e1}.rtl-flip{transform:rotate(180deg)}.empty-chat-state{height:100%;color:var(--subtle);flex-direction:column;justify-content:center;align-items:center;display:flex}.placeholder-icon{opacity:.3;margin-bottom:16px}.chat-context-menu{border:1px solid var(--border);z-index:9999;background:#fff;border-radius:12px;flex-direction:column;min-width:150px;padding:6px;display:flex;position:fixed;overflow:hidden;box-shadow:0 10px 25px #0000001a}.chat-context-menu button{text-align:right;width:100%;color:var(--text);cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:10px;padding:10px 14px;font-size:14px;font-weight:500;display:flex}.chat-context-menu button:hover{background:#f1f5f9}.chat-context-menu button.delete-action{color:var(--red)}.chat-context-menu button.delete-action:hover{background:#ef444414}@media (width<=768px){.messages-page{flex-direction:column!important}.chat-sidebar-card{width:100%;height:350px}}
