.app-lang-picker{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.app-lang-picker--stack{flex-direction:column;align-items:stretch}.app-lang-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:35px;padding:0 14px;border-radius:10px;border:1.5px solid var(--lang-accent-border, rgba(107, 114, 128, .28));background:rgba(255,255,255,.92);color:#475569;font-family:Cairo,sans-serif;font-size:12px;font-weight:700;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease,transform .12s ease;white-space:nowrap}.app-lang-btn:hover{border-color:var(--lang-accent, #6b7280);color:var(--lang-accent, #6b7280);background:var(--lang-accent-bg, rgba(107, 114, 128, .1))}.app-lang-btn:active{transform:scale(.97)}.app-lang-btn--active{border-color:var(--lang-accent, #6b7280);background:var(--lang-accent-bg, rgba(107, 114, 128, .12));color:var(--lang-accent, #6b7280);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--lang-accent, #6b7280) 18%,transparent)}.app-lang-btn__flag{font-size:14px;line-height:1}.app-lang-picker--sidebar{--lang-accent: #5eead4;--lang-accent-bg: rgba(94, 234, 212, .12);--lang-accent-border: rgba(94, 234, 212, .35)}.app-lang-picker--sidebar .app-lang-btn{background:rgba(255,255,255,.95);min-width:0}.app-lang-picker--sidebar.app-lang-picker--row{flex-direction:row;flex-wrap:nowrap;justify-content:center;width:100%}.sidebar-lang-popup{position:absolute;bottom:calc(100% + 10px);z-index:400;background:rgba(255,255,255,.97);backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);border-radius:14px;padding:8px;box-shadow:0 16px 40px #0000002e;border:1px solid rgba(255,255,255,.4);max-width:min(calc(100vw - 24px),320px)}.sidebar-lang-popup--expanded{left:50%;right:auto;transform:translate(-50%);width:max-content;max-width:calc(100% - 16px)}.sidebar-lang-popup--collapsed{left:calc(100% + 8px);right:auto;transform:none;bottom:0;z-index:401}.app-rtl .sidebar-lang-popup--collapsed,.lang-ar .sidebar-lang-popup--collapsed{left:auto;right:calc(100% + 8px)}.sidebar-lang-popup .app-lang-picker--sidebar .app-lang-btn{width:auto}body.dark-mode-active .sidebar-lang-popup{background:rgba(22,22,35,.96)!important;border-color:#ffffff1a!important}body.dark-mode-active .app-lang-btn{background:#141414!important;border-color:#404040!important;color:#e2e8f0!important}body.dark-mode-active .app-lang-btn:hover,body.dark-mode-active .app-lang-btn--active{background:color-mix(in srgb,var(--lang-accent, #6b7280) 16%,#141414)!important;border-color:color-mix(in srgb,var(--lang-accent, #6b7280) 45%,#404040)!important}.sidebar-util-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;width:100%;justify-items:center;align-items:center}.sidebar-util-popup{position:absolute;z-index:300;overflow:visible;display:grid;grid-template-columns:repeat(3,40px);gap:6px;justify-content:center;align-items:center;width:max-content;padding:8px;border-radius:14px;background:rgba(255,255,255,.97);backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);box-shadow:0 16px 40px #0000002e;border:1px solid rgba(255,255,255,.4);animation:themePopupIn .18s ease-out}.sidebar-util-grid>div,.sidebar-util-popup>div{display:flex;justify-content:center;align-items:center;position:relative;overflow:visible}.sidebar-util-popup--collapsed{left:calc(100% + 8px);right:auto;bottom:0;transform:none}.app-rtl .sidebar-util-popup--collapsed,.lang-ar .sidebar-util-popup--collapsed{left:auto;right:calc(100% + 8px)}body.dark-mode-active .sidebar-util-popup{background:rgba(22,22,35,.96)!important;border-color:#ffffff1a!important}.app-footer{flex-shrink:0;margin-top:12px;--footer-accent: #6b7280;--footer-accent-bg: rgba(107, 114, 128, .12);--footer-accent-border: rgba(107, 114, 128, .28)}.app-footer__bar{display:flex;align-items:center;justify-content:space-between;gap:12px;direction:ltr}.app-footer__scroll-top{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex-shrink:0;border-radius:12px;border:1.5px solid var(--footer-accent-border);background:var(--footer-accent-bg);color:var(--footer-accent);cursor:pointer;opacity:0;pointer-events:none;transform:translateY(6px);transition:opacity .2s ease,transform .2s ease,background .15s ease,border-color .15s ease}.app-footer__scroll-top--visible{opacity:1;pointer-events:auto;transform:translateY(0)}.app-footer__scroll-top:hover{background:color-mix(in srgb,var(--footer-accent) 18%,#ffffff);border-color:var(--footer-accent)}.app-footer__scroll-top:active{transform:scale(.96)}.app-footer__scroll-top svg{font-size:16px}.app-footer__credits{flex:1;min-width:0;padding:10px 16px;text-align:center;background:linear-gradient(135deg,var(--footer-accent-bg),transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1.5px solid var(--footer-accent-border);border-radius:14px;box-shadow:0 4px 16px #0000000d,inset 0 1px #ffffff80;color:#475569e6;font-size:.82rem;font-family:Cairo,sans-serif;font-weight:600;letter-spacing:.02em;line-height:1.4}body.dark-mode-active .app-footer__scroll-top{background:rgba(255,255,255,.06)!important;border-color:#404040!important;color:var(--footer-accent-dark, #9ca3af)!important}body.dark-mode-active .app-footer__scroll-top:hover{background:color-mix(in srgb,var(--footer-accent) 14%,#141414)!important}body.dark-mode-active .app-footer__credits{background:linear-gradient(135deg,rgba(255,255,255,.04),transparent)!important;border-color:#404040!important;color:#94a3b8!important;box-shadow:none!important}@media (max-width: 560px){.app-footer__credits{font-size:.75rem;padding:8px 10px}.app-footer__scroll-top{width:36px;height:36px}}.login-root{--login-accent: #00bf63;--login-accent-2: #059669;--login-accent-light: #c1ff72;--login-accent-glow: rgba(0, 191, 99, .35);--login-bg: #f1f5f9;--login-surface: rgba(255, 255, 255, .72);--login-surface-solid: #ffffff;--login-text: #0f172a;--login-text-muted: #64748b;--login-border: rgba(148, 163, 184, .35);--login-radius: 28px;--login-radius-sm: 14px;min-height:100%;height:100%;width:100%;flex:1;display:flex;flex-direction:column;position:relative;overflow:hidden;overscroll-behavior:contain;font-family:Cairo,Segoe UI,system-ui,sans-serif;background:var(--login-bg);color:var(--login-text)}body.dark-mode-active .login-root,body.blue-theme .login-root,body.midnight-theme .login-root,body.ocean-theme .login-root,body.sunset-theme .login-root{--login-bg: #0b0f1a;--login-surface: rgba(17, 24, 39, .75);--login-surface-solid: #111827;--login-text: #f8fafc;--login-text-muted: #94a3b8;--login-border: rgba(148, 163, 184, .15)}.login-mesh{position:absolute;inset:0;background:radial-gradient(ellipse 80% 60% at 10% 20%,rgba(0,191,99,.16) 0%,transparent 55%),radial-gradient(ellipse 70% 50% at 90% 80%,rgba(5,150,105,.14) 0%,transparent 50%),radial-gradient(ellipse 50% 40% at 50% 50%,rgba(193,255,114,.08) 0%,transparent 60%);pointer-events:none;z-index:0}.login-grid-overlay{position:absolute;inset:0;background-image:linear-gradient(rgba(148,163,184,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(148,163,184,.06) 1px,transparent 1px);background-size:32px 32px;mask-image:radial-gradient(ellipse 80% 70% at 50% 40%,black 20%,transparent 75%);pointer-events:none;z-index:0}.login-topbar{position:relative;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:16px 24px;flex-shrink:0}.login-topbar-brand{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:800;color:var(--login-text);letter-spacing:-.02em}.login-topbar-logo{width:32px;height:32px;object-fit:contain;border-radius:10px;background:#00bf63;padding:4px;box-shadow:0 4px 12px #00bf6340}.login-lang-wrap{position:relative}.login-lang-btn{display:flex;align-items:center;gap:8px;padding:8px 14px;background:var(--login-surface);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border:1px solid var(--login-border);border-radius:999px;cursor:pointer;font-size:13px;font-weight:700;color:var(--login-text);font-family:inherit;transition:border-color .2s,box-shadow .2s,transform .15s}.login-lang-btn:hover{border-color:var(--login-accent);box-shadow:0 4px 16px var(--login-accent-glow)}.login-lang-flag{font-size:16px;line-height:1}.login-lang-code{font-size:11px;letter-spacing:.06em;opacity:.7}.login-lang-chevron{width:14px;height:14px;opacity:.5}.login-lang-menu{position:absolute;top:calc(100% + 8px);inset-inline-end:0;min-width:168px;padding:6px;background:var(--login-surface-solid);border:1px solid var(--login-border);border-radius:16px;box-shadow:0 16px 48px #0f172a24;animation:loginFadeUp .22s ease-out;z-index:30}.login-lang-option{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:none;border-radius:10px;cursor:pointer;font-size:14px;font-weight:600;color:var(--login-text-muted);background:transparent;font-family:inherit;text-align:start;transition:background .15s,color .15s}.login-lang-option:hover,.login-lang-option.active{background:rgba(0,191,99,.1);color:var(--login-accent)}.login-lang-check{width:16px;height:16px;margin-inline-start:auto;color:var(--login-accent)}.login-main{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px 24px 24px;position:relative;z-index:10;min-height:0}.login-shell{display:grid;grid-template-columns:1fr 1fr;width:100%;max-width:860px;min-height:480px;background:var(--login-surface);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border:1px solid var(--login-border);border-radius:var(--login-radius);box-shadow:0 4px 6px #0f172a0a,0 24px 64px #00bf631f,inset 0 1px #fff9;overflow:hidden;animation:loginFadeUp .55s cubic-bezier(.22,1,.36,1)}.login-hero{position:relative;padding:40px 36px;background:linear-gradient(145deg,#00bf63 0%,#059669 55%,#047857 100%);color:#fff;display:flex;flex-direction:column;justify-content:center;overflow:hidden}.login-hero-glow{position:absolute;width:280px;height:280px;border-radius:50%;background:rgba(255,255,255,.12);filter:blur(60px);top:-80px;inset-inline-end:-60px;pointer-events:none}.login-hero-content{position:relative;z-index:1}.login-hero-logo-wrap{width:72px;height:72px;border-radius:20px;background:#00bf63;border:2px solid rgba(193,255,114,.45);display:flex;align-items:center;justify-content:center;margin-bottom:24px;box-shadow:0 8px 32px #0000002e}.login-hero-logo{width:44px;height:44px;object-fit:contain}.login-hero-title{font-size:2rem;font-weight:900;margin:0 0 6px;letter-spacing:-.03em;line-height:1.1}.login-hero-tagline{font-size:15px;font-weight:600;margin:0 0 12px;opacity:.92}.login-hero-desc{font-size:13px;line-height:1.65;margin:0 0 28px;opacity:.78;max-width:280px}.login-features{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.login-feature{display:flex;align-items:center;gap:12px;padding:10px 14px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);border-radius:12px;font-size:13px;font-weight:600;backdrop-filter:blur(4px)}.login-feature-icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:10px;background:rgba(193,255,114,.2);color:#c1ff72;flex-shrink:0;font-size:14px}.login-feature-icon svg{width:14px;height:14px}.login-panel{padding:40px 36px;display:flex;flex-direction:column;justify-content:center;background:var(--login-surface-solid)}.login-panel-header{margin-bottom:28px}.login-panel-title{font-size:1.65rem;font-weight:800;margin:0 0 6px;letter-spacing:-.02em;color:var(--login-text)}.login-panel-sub{font-size:14px;color:var(--login-text-muted);margin:0;font-weight:500}.login-form{display:flex;flex-direction:column;gap:20px}.login-field{display:flex;flex-direction:column;gap:8px}.login-label{font-size:13px;font-weight:700;color:var(--login-text)}.login-input-wrap{position:relative;display:flex;align-items:center}.login-input-icon{position:absolute;inset-inline-start:0;width:44px;height:100%;display:flex;align-items:center;justify-content:center;color:var(--login-text-muted);pointer-events:none}.login-input-icon svg{width:18px;height:18px}.login-input{width:100%;padding-block:14px;padding-inline-start:44px;padding-inline-end:16px;background:var(--login-bg);border:1.5px solid var(--login-border);border-radius:var(--login-radius-sm);font-size:15px;color:var(--login-text);font-family:inherit;transition:border-color .2s,box-shadow .2s,background .2s;outline:none;box-sizing:border-box}.login-input--password{padding-inline-end:48px}.login-input:focus{border-color:var(--login-accent);box-shadow:0 0 0 4px #00bf631f;background:var(--login-surface-solid)}.login-input::placeholder{color:var(--login-text-muted);opacity:.55}.login-input:disabled{opacity:.6;cursor:not-allowed}.login-toggle-pass{position:absolute;inset-inline-end:6px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:none;border:none;cursor:pointer;color:var(--login-text-muted);border-radius:10px;padding:0;transition:background .15s,color .15s}.login-toggle-pass svg{width:18px;height:18px}.login-toggle-pass:hover{background:rgba(0,191,99,.1);color:var(--login-accent)}.login-default-hint{padding:12px 14px;border-radius:var(--login-radius-sm);background:rgba(0,191,99,.08);border:1px solid rgba(0,191,99,.22)}.login-default-hint__title{margin:0 0 8px;font-size:13px;font-weight:700;color:var(--login-text)}.login-default-hint__creds{display:flex;flex-wrap:wrap;gap:10px 16px;margin-bottom:8px;font-size:13px;color:var(--login-text-muted)}.login-default-hint__creds code{padding:2px 8px;border-radius:6px;background:var(--login-surface-solid);border:1px solid var(--login-border);color:var(--login-accent-2);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;font-weight:700}.login-default-hint__note{margin:0;font-size:12px;line-height:1.45;color:var(--login-text-muted)}.login-submit{width:100%;margin-top:4px;padding:15px 20px;background:linear-gradient(135deg,var(--login-accent) 0%,var(--login-accent-2) 100%);border:none;border-radius:var(--login-radius-sm);color:#fff;font-size:15px;font-weight:800;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px;font-family:inherit;transition:transform .2s,box-shadow .2s,opacity .2s;box-shadow:0 8px 24px var(--login-accent-glow);touch-action:manipulation;-webkit-tap-highlight-color:transparent;flex-shrink:0}.login-submit:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 12px 32px #00bf6366}.login-submit:active:not(:disabled){transform:translateY(0)}.login-submit:disabled{opacity:.75;cursor:not-allowed}.login-submit svg{width:18px;height:18px}.login-spinner{width:22px;height:22px;border:2.5px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:loginSpin .65s linear infinite}.login-footer{margin-top:20px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;font-size:12px;color:var(--login-text-muted);font-weight:500}.login-footer strong{color:var(--login-accent);font-weight:700}.login-footer-sep{opacity:.35}.login-footer-phone{color:var(--login-text-muted);text-decoration:none;font-weight:600;transition:color .15s}.login-footer-phone:hover{color:var(--login-accent)}@keyframes loginFadeUp{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}@keyframes loginSpin{to{transform:rotate(360deg)}}@media (max-width: 720px){.login-root{min-height:100dvh;height:100%;max-height:100dvh}.login-main{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;justify-content:flex-start;padding:4px 16px calc(16px + env(safe-area-inset-bottom,0px))}.login-shell{grid-template-columns:1fr;max-width:420px;min-height:auto}.login-hero{padding:28px 24px}.login-hero-desc,.login-features{display:none}.login-hero-logo-wrap{width:56px;height:56px;margin-bottom:16px}.login-hero-logo{width:34px;height:34px}.login-hero-title{font-size:1.5rem}.login-panel{padding:24px 20px 20px}.login-form{gap:16px}.login-default-hint__note{display:none}.login-submit{position:sticky;bottom:calc(8px + env(safe-area-inset-bottom,0px));z-index:10;margin-top:8px}.login-footer{margin-top:12px;padding-bottom:4px}.login-topbar{padding:12px 16px;flex-shrink:0}}@media (max-width: 400px){.login-topbar-brand span{display:none}.login-panel-title{font-size:1.4rem}}.app-toast-container,body.dark-mode-active .toast-container{z-index:999999}body.dark-mode-active .toast-container .toast{background:rgba(12,18,40,.96)!important;backdrop-filter:blur(20px)!important;-webkit-backdrop-filter:blur(20px)!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 12px 40px #00000080!important;color:#ffffffeb!important}body.dark-mode-active .toast-container .toast-message,body.dark-mode-active .toast-container .toast-content{color:#ffffffeb!important}body.dark-mode-active .toast-container .toast-close{color:#ffffffa6!important;background:rgba(255,255,255,.08)!important}body.dark-mode-active .toast-container .toast-close:hover{color:#fffffff2!important;background:rgba(255,255,255,.14)!important}body.dark-mode-active .toast-container .toast-success{border-left-color:#34d399!important}body.dark-mode-active .toast-container .toast-error{border-left-color:#f87171!important}body.dark-mode-active .toast-container .toast-warning{border-left-color:#fbbf24!important}body.dark-mode-active .toast-container .toast-info{border-left-color:#60a5fa!important}body.dark-mode-active .toast-container .toast-progress{background:rgba(255,255,255,.1)!important}.whatsapp-support{display:flex;align-items:center;justify-content:center;gap:16px;padding:12px 16px;border-radius:14px;flex-wrap:wrap}.whatsapp-support--activation{margin-top:8px;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.25);flex-wrap:nowrap;width:100%;align-items:center;gap:12px;padding:12px 14px}.whatsapp-support--activation .whatsapp-support__qr-link{flex-shrink:0}.whatsapp-support--activation .whatsapp-support__qr{width:88px;height:88px}.whatsapp-support--activation .whatsapp-support__text{flex:1;min-width:0;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:6px}.whatsapp-support--activation .whatsapp-support__hint{margin:0;font-size:11px;line-height:1.35}.whatsapp-support--activation .whatsapp-support__actions{display:flex;flex-direction:row;align-items:center;gap:8px;flex-wrap:nowrap}.whatsapp-support--activation .whatsapp-support__btn{flex:1;min-width:0;width:auto;max-width:none;margin:0;padding:9px 10px;font-size:12px;white-space:nowrap}.whatsapp-support--activation .whatsapp-support__phone{flex-shrink:0;margin:0;font-size:13px;padding:9px 10px;border-radius:10px;background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.25)}.whatsapp-support--blocked{margin-top:8px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.18)}.whatsapp-support--blocked .whatsapp-support__text{text-align:center}.whatsapp-support__qr-link{display:block;line-height:0;border-radius:10px;overflow:hidden;box-shadow:0 4px 12px #00000026;transition:transform .2s ease}.whatsapp-support__qr-link:hover{transform:scale(1.04)}.whatsapp-support__qr{display:block;width:120px;height:120px}.whatsapp-support__text{text-align:start;min-width:140px}.whatsapp-support__actions{display:flex;flex-direction:column;align-items:stretch;gap:8px}.whatsapp-support__label{display:inline-block;margin:0 0 4px;font-weight:700;font-size:15px;color:inherit;text-decoration:none}.whatsapp-support__label:hover{text-decoration:underline}.whatsapp-support__hint{margin:0 0 10px;font-size:12px;opacity:.85}.whatsapp-support__btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;max-width:260px;margin:0 0 10px;padding:11px 18px;border-radius:12px;border:none;background:#25d366;color:#fff;font-family:Cairo,sans-serif;font-size:14px;font-weight:700;text-decoration:none;cursor:pointer;box-shadow:0 4px 14px #25d36659;transition:background .15s ease,transform .15s ease,box-shadow .15s ease}.whatsapp-support__btn:hover{background:#1ebe5d;transform:translateY(-1px);box-shadow:0 6px 18px #25d36673;color:#fff;text-decoration:none}.whatsapp-support__btn:active{transform:translateY(0)}.whatsapp-support__btn-icon{width:20px;height:20px;flex-shrink:0}.whatsapp-support__phone{display:inline-block;font-size:16px;font-weight:700;text-decoration:none;direction:ltr;unicode-bidi:embed}.whatsapp-support--activation .whatsapp-support__phone{color:#0f172a}.whatsapp-support--activation .whatsapp-support__phone:hover{color:#1a1a1a;text-decoration:underline}.whatsapp-support--blocked .whatsapp-support__label,.whatsapp-support--blocked .whatsapp-support__phone{color:#93c5fd}.whatsapp-support--blocked .whatsapp-support__phone:hover{color:#bfdbfe;text-decoration:underline}.whatsapp-support--upgrade{margin-top:4px;padding:14px 16px;background:rgba(37,211,102,.08);border:1px solid rgba(37,211,102,.28);border-radius:12px}.whatsapp-support--upgrade .whatsapp-support__label,.whatsapp-support--upgrade .whatsapp-support__phone{color:#4ade80}.whatsapp-support--upgrade .whatsapp-support__phone:hover{color:#86efac;text-decoration:underline}.whatsapp-support--upgrade .whatsapp-support__hint{color:#f8fafccc}.activation-page--dark .whatsapp-support--activation,body.dark-mode-active .activation-page .whatsapp-support--activation{background:rgba(255,255,255,.08);border-color:#ffffff1f}.activation-page--dark .whatsapp-support--activation .whatsapp-support__phone,body.dark-mode-active .activation-page .whatsapp-support--activation .whatsapp-support__phone{color:#fffffff2;background:rgba(255,255,255,.1);border-color:#ffffff26}.activation-page--dark .whatsapp-support--activation .whatsapp-support__phone:hover,body.dark-mode-active .activation-page .whatsapp-support--activation .whatsapp-support__phone:hover{color:#fff}.activation-page{min-height:100vh;background:#1CCAD8;display:flex;flex-direction:column;font-family:Cairo,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;position:relative;overflow-x:hidden}.activation-page.rtl{direction:rtl;text-align:right}.activation-page.ltr{direction:ltr;text-align:left}.language-selector{position:absolute;top:20px;right:20px;display:flex;gap:10px;z-index:1000}.activation-page.rtl .language-selector{right:auto;left:20px}.lang-btn{padding:10px 18px;border:2px solid rgba(255,255,255,.3);background:rgba(255,255,255,.1);color:#fff;border-radius:25px;cursor:pointer;font-size:14px;font-weight:600;backdrop-filter:blur(15px);display:flex;align-items:center;gap:8px;box-shadow:0 4px 20px #0000001a;position:relative;overflow:hidden}.lang-btn:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent)}.lang-btn:hover:before{left:100%}.lang-btn:hover{background:rgba(255,255,255,.25);border-color:#fff9}.lang-btn.active{background:rgba(255,255,255,.95);color:#1ccad8;border-color:#fff;box-shadow:0 6px 25px #0000004d}.lang-btn .flag-emoji{font-size:16px;filter:drop-shadow(0 1px 3px rgba(0,0,0,.3));min-width:20px;text-align:center;display:inline-block;background:rgba(255,255,255,.1);border-radius:4px;padding:2px 4px;font-weight:700;font-family:Courier New,monospace}.lang-btn .lang-text{font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.1)}.lang-btn .flag-emoji:not(:empty){background:transparent;padding:0;font-family:inherit}.activation-container{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:40px 20px;max-width:500px;margin:0 auto;width:100%}.activation-header{text-align:center;margin-bottom:40px;width:100%}.activation-title{font-size:2.5rem;font-weight:700;color:#fff;margin:0 0 10px;text-shadow:0 2px 10px rgba(0,0,0,.3)}.activation-subtitle{font-size:1.1rem;color:#ffffffe6;margin:0;font-weight:400}.activation-form{background:rgba(255,255,255,.95);padding:40px;border-radius:20px;box-shadow:0 20px 60px #0000004d;width:100%;max-width:400px;backdrop-filter:blur(20px)}.input-group{margin-bottom:25px}.input-label{display:block;font-size:1rem;font-weight:600;color:#333;margin-bottom:8px}.activation-input{width:100%;padding:15px 20px;border:2px solid #e1e5e9;border-radius:12px;font-size:1.1rem;font-weight:500;letter-spacing:1px;text-align:center;background:white;color:#333;font-family:Courier New,monospace}.activation-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.activation-input:disabled{background:#f8f9fa;cursor:not-allowed;opacity:.7}.input-hint{font-size:.85rem;color:#666;margin-top:5px;text-align:center}.message{padding:15px 20px;border-radius:10px;margin:20px 0;display:flex;align-items:center;gap:10px;font-weight:500}.message.success{background:linear-gradient(135deg,#d4edda 0%,#c3e6cb 100%);color:#155724;border:2px solid #28a745;box-shadow:0 8px 25px #28a7454d;animation:successPulse 2s ease-in-out;font-size:1.1rem;font-weight:600}@keyframes successPulse{0%{transform:scale(.95);opacity:.8}50%{transform:scale(1.02);opacity:1}to{transform:scale(1);opacity:1}}.message.error{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.message.info{background:#d1ecf1;color:#0c5460;border:1px solid #bee5eb}.message-icon{font-size:1.2rem}.message-text{flex:1}.activation-btn{width:100%;padding:15px 30px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;border-radius:12px;font-size:1.1rem;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:10px;margin-top:20px}.activation-btn:hover:not(:disabled){box-shadow:0 10px 30px #667eea66}.activation-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.activation-btn.loading{pointer-events:none}.spinner{width:20px;height:20px;border:2px solid rgba(255,255,255,.3);border-top:2px solid white;border-radius:50%}.device-info{background:rgba(255,255,255,.15);padding:25px;border-radius:20px;margin-top:30px;backdrop-filter:blur(15px);border:1px solid rgba(255,255,255,.2);box-shadow:0 8px 32px #0003}.device-info:hover{background:rgba(255,255,255,.2)}.device-info h3{color:#fff;font-size:1.2rem;margin:0 0 20px;font-weight:700;text-shadow:0 2px 10px rgba(0,0,0,.3);display:flex;align-items:center;justify-content:center;gap:8px}.device-details{display:flex;flex-direction:column;gap:12px}.device-item{display:flex;justify-content:space-between;align-items:center;font-size:.95rem;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.1)}.device-item:last-child{border-bottom:none}.device-label{color:#ffffffe6;font-weight:600;display:flex;align-items:center;gap:5px}.device-value{color:#fff;font-weight:700;font-family:Courier New,monospace;background:rgba(255,255,255,.15);padding:6px 12px;border-radius:8px;font-size:.9rem;border:1px solid rgba(255,255,255,.2);cursor:pointer;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.device-value:hover{background:rgba(255,255,255,.25)}.activation-footer{text-align:center;margin-top:40px}.footer-text{color:#fffc;font-size:.9rem;margin:0 0 15px}.footer-links{display:flex;justify-content:center;align-items:center;gap:15px;flex-wrap:wrap}.footer-links a{color:#ffffffe6;text-decoration:none;font-size:.9rem}.footer-links a:hover{color:#fff}.separator{color:#ffffff80}.activation-page--dark,body.dark-mode-active .activation-page{background:linear-gradient(135deg,#0f172a 0%,#1e3a8a 50%,#0f172a 100%)}.activation-page--dark .activation-form,body.dark-mode-active .activation-page .activation-form{background:rgba(12,18,40,.92);border:1px solid rgba(255,255,255,.12);box-shadow:0 20px 60px #00000073}.activation-page--dark .activation-input,body.dark-mode-active .activation-page .activation-input{background:rgba(255,255,255,.08);border-color:#fff3;color:#fffffff2}.activation-page--dark .input-label,.activation-page--dark .input-hint,.activation-page--dark .activation-subtitle,body.dark-mode-active .activation-page .input-label,body.dark-mode-active .activation-page .input-hint,body.dark-mode-active .activation-page .activation-subtitle{color:#ffffffbf}.activation-desktop-notice{display:flex;gap:14px;align-items:flex-start;margin-bottom:20px;padding:16px 18px;border-radius:14px;background:rgba(255,248,225,.95);border:1px solid rgba(245,158,11,.45);color:#78350f;box-shadow:0 8px 24px #00000014}.activation-page--dark .activation-desktop-notice,body.dark-mode-active .activation-desktop-notice{background:rgba(120,53,15,.35);border-color:#fbbf2473;color:#fef3c7}.activation-desktop-notice__icon{font-size:1.75rem;line-height:1;flex-shrink:0}.activation-desktop-notice__content{flex:1;min-width:0}.activation-desktop-notice__title{margin:0 0 6px;font-size:1rem;font-weight:700}.activation-desktop-notice__body{margin:0 0 12px;font-size:.92rem;line-height:1.55;opacity:.95}.activation-desktop-notice__hint{margin:10px 0 0;font-size:.82rem;line-height:1.45;opacity:.85}.activation-desktop-notice__link{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border-radius:10px;background:#d97706;color:#fff;font-weight:700;font-size:.9rem;text-decoration:none;box-shadow:0 4px 14px #d9770659}.activation-desktop-notice__link:hover{background:#b45309;color:#fff}.activation-device-info{margin-top:20px;padding:14px 16px;border-radius:12px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2)}.activation-page--dark .activation-device-info,body.dark-mode-active .activation-device-info{background:rgba(255,255,255,.06);border-color:#ffffff1f}.activation-device-info__label{margin:0 0 8px;font-size:13px;opacity:.85}.activation-device-info__row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.activation-device-info__code{flex:1;min-width:180px;padding:8px 10px;border-radius:8px;background:rgba(0,0,0,.2);font-size:13px;word-break:break-all}.activation-device-info__copy{padding:8px 14px;border-radius:8px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.15);color:inherit;cursor:pointer;font-weight:600;font-family:inherit}.activation-subtitle{margin:0 0 16px}@media (max-width: 768px){.activation-container{padding:62px 15px 20px;width:min(100%,400px);margin:0 auto}.activation-form{padding:30px 20px;width:100%;box-sizing:border-box}.activation-title{font-size:2rem;margin-top:0}.language-selector{top:10px;left:50%;right:auto;transform:translate(-50%);gap:4px;padding:3px;border-radius:999px;background:rgba(0,0,0,.12);backdrop-filter:blur(10px);z-index:1001}.activation-page.rtl .language-selector{left:50%;right:auto;transform:translate(-50%)}.lang-btn{padding:7px 9px;min-width:40px;justify-content:center;font-size:12px;border-radius:999px;border-width:1.5px;box-shadow:none;gap:0}.lang-btn:before{display:none}.lang-btn .lang-text{display:none}.lang-btn .flag-emoji{font-size:17px;min-width:auto;padding:0;background:transparent;filter:none}.lang-btn.active{box-shadow:0 2px 8px #00000026}}@media (max-width: 480px){.activation-container{padding-top:56px}.activation-title{font-size:1.8rem}.activation-form{padding:25px 15px}.language-selector{top:8px}.footer-links{flex-direction:column;gap:10px}.separator{display:none}}body.install-banner-visible .activation-container{padding-top:calc(var(--install-banner-height, 48px) + 56px)}.install-app-banner{position:fixed;top:0;left:0;right:0;z-index:110;background:linear-gradient(90deg,#059669 0%,#10b981 50%,#34d399 100%);color:#fff;font-family:Cairo,sans-serif;box-shadow:0 2px 12px #05966959}.install-app-banner__inner{display:flex;align-items:center;gap:10px;padding:8px 12px;max-width:100%}.install-app-banner__icon{width:32px;height:32px;border-radius:8px;flex-shrink:0}.install-app-banner__text{flex:1;min-width:0;font-size:13px;font-weight:600;line-height:1.35}.install-app-banner__actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.install-app-banner__btn{border:none;border-radius:8px;padding:6px 12px;font-size:12px;font-weight:700;cursor:pointer;font-family:inherit;white-space:nowrap}.install-app-banner__btn--primary{background:#fff;color:#047857}.install-app-banner__btn--primary:hover{background:#ecfdf5}.install-app-banner__btn--ghost{background:rgba(255,255,255,.15);color:#fff;border:1px solid rgba(255,255,255,.35)}.install-app-banner__btn--ghost:hover{background:rgba(255,255,255,.25)}.install-app-banner__btn--close{background:transparent;color:#ffffffd9;padding:4px 8px;font-size:18px;line-height:1}.install-app-banner__help{padding:0 12px 10px;font-size:12px;line-height:1.55;background:rgba(0,0,0,.12);border-top:1px solid rgba(255,255,255,.15)}.install-app-banner__help div+div{margin-top:4px}:root{--install-banner-height: 0px}body.install-banner-visible{--install-banner-height: 48px}.app-header-new{top:var(--install-banner-height, 0)!important}body.install-banner-visible .activation-page{padding-top:var(--install-banner-height, 48px)}body.install-banner-visible .activation-page .language-selector{top:calc(var(--install-banner-height, 48px) + 12px)}body.dark-mode-active .install-app-banner{background:linear-gradient(90deg,#065f46 0%,#047857 50%,#059669 100%)}@media (max-width: 480px){.install-app-banner__text{font-size:12px}.install-app-banner__btn{padding:5px 10px;font-size:11px}}.lan-upgrade-panel{display:flex;flex-direction:column;gap:12px}.lan-upgrade-panel--compact{gap:10px}.lan-upgrade-panel__header{display:flex;flex-direction:column;gap:8px}.lan-upgrade-panel__badge{align-self:flex-start;padding:4px 10px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.02em;color:#fbbf24;background:rgba(245,158,11,.15);border:1px solid rgba(245,158,11,.35)}.lan-upgrade-panel__title{margin:0;font-size:1.1rem;font-weight:700;line-height:1.35}.lan-upgrade-panel--compact .lan-upgrade-panel__title{font-size:1rem}.lan-upgrade-panel__desc{margin:0;font-size:14px;line-height:1.65;opacity:.9}.lan-upgrade-panel--compact .lan-upgrade-panel__desc{font-size:13px}.lan-upgrade-panel__features{margin:0;padding:0 0 0 1.1rem;font-size:13px;line-height:1.6;opacity:.88}.lan-upgrade-panel__features li{margin-bottom:6px}.lan-upgrade-panel__features li:last-child{margin-bottom:0}.lan-upgrade-panel__cta{margin:4px 0 0;font-size:13px;font-weight:600;line-height:1.5;color:#38bdf8}.lan-upgrade-panel--light .lan-upgrade-panel__cta{color:#0284c7}.lan-upgrade-panel--light .lan-upgrade-panel__badge{color:#b45309;background:rgba(245,158,11,.12)}.lan-upgrade-panel--light .lan-upgrade-panel__close{border-color:#0f172a26;background:rgba(15,23,42,.06);color:#0f172a}.lan-upgrade-panel--light .lan-upgrade-panel__close:hover{background:rgba(15,23,42,.1)}.lan-upgrade-panel__close{margin-top:4px;align-self:center;padding:10px 20px;border:1px solid rgba(255,255,255,.2);border-radius:10px;background:rgba(255,255,255,.08);color:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:background .2s ease}.lan-upgrade-panel__close:hover{background:rgba(255,255,255,.14)}@media (min-width: 768px) and (max-width: 1023px){.lan-upgrade-panel--compact{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px;align-items:start}.lan-upgrade-panel--compact .lan-upgrade-panel__header,.lan-upgrade-panel--compact .lan-upgrade-panel__desc,.lan-upgrade-panel--compact .lan-upgrade-panel__cta{grid-column:1 / -1}.lan-upgrade-panel--compact .lan-upgrade-panel__features{grid-column:1;margin:0}.lan-upgrade-panel--compact .whatsapp-support{grid-column:2;align-self:start}}@media (max-width: 767px){.ui-zoom-shell{display:flex!important;flex-direction:row!important;width:100%!important;max-width:100vw!important;min-width:0!important}.app-main-shell{flex:1 1 100%!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding-top:12px!important;padding-bottom:12px!important;padding-inline:10px!important;box-sizing:border-box!important}.main-content.app-main-shell{width:100%!important;max-width:100%!important}body.mobile-nav-open{overflow:hidden}.app-sidebar-new,.app-sidebar-modern{display:flex!important;position:fixed!important;top:0;bottom:0;inset-inline-start:0;width:min(288px,88vw)!important;min-width:unset!important;flex-basis:auto!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0 18px 18px 0;z-index:100002;transform:translate(calc(-100% - 16px));transition:transform .28s cubic-bezier(.4,0,.2,1);box-shadow:8px 0 32px #00000059}.app-rtl .app-sidebar-new,.app-rtl .app-sidebar-modern{inset-inline-start:auto;inset-inline-end:0;border-radius:18px 0 0 18px;transform:translate(calc(100% + 16px));box-shadow:-8px 0 32px #00000059}.app-sidebar-new.app-sidebar-new--mobile-open,.app-sidebar-modern.app-sidebar-new--mobile-open{transform:translate(0)!important}.mobile-nav-fab{display:none!important}.mobile-nav-backdrop{position:fixed;inset:0;z-index:100001;background:rgba(255,255,255,.72);backdrop-filter:blur(10px) saturate(120%);-webkit-backdrop-filter:blur(10px) saturate(120%)}body.dark-mode-active .mobile-nav-backdrop{background:rgba(0,0,0,.5);backdrop-filter:blur(10px) saturate(120%);-webkit-backdrop-filter:blur(10px) saturate(120%)}.mobile-nav-close{position:fixed;top:max(10px,env(safe-area-inset-top,0px));inset-inline-end:max(10px,env(safe-area-inset-right,0px));z-index:100003;width:44px;height:44px;border-radius:12px;border:1px solid rgba(148,163,184,.3);background:rgba(255,255,255,.95);color:#0f172a;font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 14px #00000026;touch-action:manipulation}body.dark-mode-active .mobile-nav-close{background:#262626;color:#f5f5f5;border-color:#404040}}@font-face{font-family:Cairo;font-style:normal;font-display:swap;font-weight:400;src:url(/css/cairo-arabic-400-normal-1b36945f.woff2) format("woff2"),url(/css/cairo-arabic-400-normal-4a8bcd7b.woff) format("woff");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}@font-face{font-family:Cairo;font-style:normal;font-display:swap;font-weight:400;src:url(/css/cairo-latin-ext-400-normal-85cb4cd0.woff2) format("woff2"),url(/css/cairo-latin-ext-400-normal-9f3248a3.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Cairo;font-style:normal;font-display:swap;font-weight:400;src:url(/css/cairo-latin-400-normal-1e12ba8a.woff2) format("woff2"),url(/css/cairo-latin-400-normal-9d781cff.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Cairo;font-style:normal;font-display:swap;font-weight:600;src:url(/css/cairo-arabic-600-normal-621909d2.woff2) format("woff2"),url(/css/cairo-arabic-600-normal-49b703bc.woff) format("woff");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}@font-face{font-family:Cairo;font-style:normal;font-display:swap;font-weight:600;src:url(/css/cairo-latin-ext-600-normal-adf6f2aa.woff2) format("woff2"),url(/css/cairo-latin-ext-600-normal-2bd16328.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Cairo;font-style:normal;font-display:swap;font-weight:600;src:url(/css/cairo-latin-600-normal-7212d7c4.woff2) format("woff2"),url(/css/cairo-latin-600-normal-edf2c3eb.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Cairo;font-style:normal;font-display:swap;font-weight:700;src:url(/css/cairo-arabic-700-normal-673212b4.woff2) format("woff2"),url(/css/cairo-arabic-700-normal-6d9f4ec4.woff) format("woff");unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}@font-face{font-family:Cairo;font-style:normal;font-display:swap;font-weight:700;src:url(/css/cairo-latin-ext-700-normal-3ccad777.woff2) format("woff2"),url(/css/cairo-latin-ext-700-normal-c4a8e058.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Cairo;font-style:normal;font-display:swap;font-weight:700;src:url(/css/cairo-latin-700-normal-c174069a.woff2) format("woff2"),url(/css/cairo-latin-700-normal-76649239.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/css/inter-cyrillic-ext-400-normal-ef572f91.woff2) format("woff2"),url(/css/inter-cyrillic-ext-400-normal-5cb2f1cc.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/css/inter-cyrillic-400-normal-f0bb5864.woff2) format("woff2"),url(/css/inter-cyrillic-400-normal-6e441a6c.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/css/inter-greek-ext-400-normal-eadedd9e.woff2) format("woff2"),url(/css/inter-greek-ext-400-normal-4f2b6f92.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/css/inter-greek-400-normal-c15ddd00.woff2) format("woff2"),url(/css/inter-greek-400-normal-bdae9d28.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/css/inter-vietnamese-400-normal-547ad9fd.woff2) format("woff2"),url(/css/inter-vietnamese-400-normal-54aa42d3.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/css/inter-latin-ext-400-normal-6744a7f5.woff2) format("woff2"),url(/css/inter-latin-ext-400-normal-22ae8360.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/css/inter-latin-400-normal-8909904a.woff2) format("woff2"),url(/css/inter-latin-400-normal-e20fa0b4.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/css/inter-cyrillic-ext-600-normal-509fca9c.woff2) format("woff2"),url(/css/inter-cyrillic-ext-600-normal-a5073285.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/css/inter-cyrillic-600-normal-6c2a37f8.woff2) format("woff2"),url(/css/inter-cyrillic-600-normal-cc190ed1.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/css/inter-greek-ext-600-normal-399f94d7.woff2) format("woff2"),url(/css/inter-greek-ext-600-normal-efc7aa9c.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/css/inter-greek-600-normal-9c5a897f.woff2) format("woff2"),url(/css/inter-greek-600-normal-090b24e2.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/css/inter-vietnamese-600-normal-1aeb94ae.woff2) format("woff2"),url(/css/inter-vietnamese-600-normal-24a01e7b.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/css/inter-latin-ext-600-normal-e4bdf67b.woff2) format("woff2"),url(/css/inter-latin-ext-600-normal-22ff20a6.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/css/inter-latin-600-normal-f9a06e79.woff2) format("woff2"),url(/css/inter-latin-600-normal-6a9cb3a5.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bp-phone-max: 767px;--bp-tablet-min: 768px;--bp-tablet-max: 1023px;--bp-desktop-min: 1024px;--modal-phone-padding: 10px;--modal-tablet-padding: 12px;--page-gutter-phone: 10px;--page-gutter-tablet: 14px;--page-gutter-desktop: 16px}@media (max-width: 767px){:root{--app-page-gutter: var(--page-gutter-phone);--app-modal-padding: var(--modal-phone-padding)}.ui-zoom-shell{width:100%!important;max-width:100vw!important}}@media (min-width: 768px) and (max-width: 1023px){:root{--app-page-gutter: var(--page-gutter-tablet);--app-modal-padding: var(--modal-tablet-padding)}}@media (min-width: 1024px){:root{--app-page-gutter: var(--page-gutter-desktop);--app-modal-padding: 20px}}.dashboard-action-buttons{display:flex!important;flex-wrap:nowrap!important;gap:12px!important;overflow-x:auto!important;padding-bottom:8px!important;align-items:stretch!important;background:transparent!important;border:none!important;box-shadow:none!important}.dashboard-button-group{display:flex!important;flex-direction:column!important;gap:8px!important;flex:1 1 auto!important;min-width:180px!important;width:auto!important;align-items:stretch!important}.dashboard-action-button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;padding:16px 12px!important;border-radius:16px!important;cursor:pointer!important;transition:all .35s cubic-bezier(.4,0,.2,1)!important;font-family:Cairo,Segoe UI,Tahoma,Arial Unicode MS,system-ui,sans-serif!important;font-weight:700!important;box-shadow:0 2px 8px #00000014,0 1px 3px #0000000f!important;width:100%!important;min-height:80px!important;height:auto!important;max-height:none!important;flex-shrink:0!important;flex-grow:0!important;overflow:visible!important;box-sizing:border-box!important;position:relative!important}.dashboard-action-button:hover{transform:translateY(-3px) scale(1.02)!important;box-shadow:0 8px 20px #0000001f,0 4px 8px #00000014!important}.dashboard-action-button:active{transform:translateY(-2px)!important}.dashboard-button-icon{font-size:28px!important;display:flex!important;align-items:center!important;justify-content:center!important;width:50px!important;height:50px!important;border-radius:50%!important;margin-bottom:0!important;position:relative!important;flex-shrink:0!important;flex-grow:0!important}.dashboard-button-icon svg{width:28px!important;height:28px!important;position:relative!important;top:auto!important;left:auto!important;transform:none!important;margin:0!important;flex-shrink:0!important}.dashboard-button-title{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;text-align:center!important;width:100%!important;flex-shrink:0!important;flex-grow:0!important;min-height:auto!important;min-width:0!important;overflow:visible!important}.dashboard-button-shortcut{font-size:14px!important;font-weight:600!important;opacity:.9!important;background:rgba(255,255,255,.3)!important;padding:4px 8px!important;border-radius:12px!important;margin-bottom:4px!important}.dashboard-button-label{font-family:Cairo,Segoe UI,Tahoma,Arial Unicode MS,system-ui,sans-serif!important;font-size:13px!important;font-weight:700!important;line-height:1.35!important;text-align:center!important;display:block!important;width:100%!important;box-sizing:border-box!important;padding:0 4px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;word-break:break-word!important;overflow-wrap:anywhere!important;hyphens:auto!important;flex-shrink:0!important;min-height:1.35em!important;max-height:none!important;visibility:visible!important;opacity:1!important;-webkit-font-smoothing:antialiased!important;-webkit-text-fill-color:unset!important}@media (min-width: 768px) and (max-width: 1023px){.dashboard-button-group{min-width:140px!important}.dashboard-action-button{padding:14px 10px!important;min-height:80px!important;box-sizing:border-box!important;gap:6px!important}.dashboard-button-icon{font-size:24px!important;width:44px!important;height:44px!important}.dashboard-button-icon svg{width:24px!important;height:24px!important}.dashboard-button-label{font-size:12px!important;line-height:1.35!important}.dashboard-button-shortcut{font-size:12px!important}}@media (min-width: 1024px){.dashboard-button-group{min-width:180px!important;flex:1 1 auto!important}.dashboard-action-button{padding:20px 16px!important;min-height:132px!important;height:auto!important;max-height:none!important;border-radius:24px!important;box-sizing:border-box!important;gap:10px!important}.dashboard-button-icon{font-size:40px!important;width:72px!important;height:72px!important}.dashboard-button-icon svg{width:36px!important;height:36px!important}.dashboard-button-label{font-size:15px!important;line-height:1.35!important}.dashboard-button-shortcut{font-size:16px!important;padding:6px 12px!important;border-radius:14px!important}}@media (max-width: 767px){.dashboard-action-buttons{flex-wrap:wrap!important}.dashboard-button-group{flex:1 1 100%!important;min-width:100%!important}.dashboard-action-button{min-height:96px!important;height:auto!important;max-height:none!important;padding:16px!important;box-sizing:border-box!important}.dashboard-button-icon{font-size:32px!important;width:56px!important;height:56px!important}.dashboard-button-icon svg{width:28px!important;height:28px!important}.dashboard-button-label{font-size:14px!important}}body.dark-mode-active .dashboard-action-button,body.dark-mode-active .dashboard-action-button:hover{box-shadow:none!important}body.dark-mode-active .dashboard-button-title,body.dark-mode-active .dashboard-button-label{visibility:visible!important;opacity:1!important;-webkit-text-fill-color:unset!important}body:not(.dark-mode-active) .dashboard-button-title,body:not(.dark-mode-active) .dashboard-button-label{visibility:visible!important;opacity:1!important;-webkit-text-fill-color:unset!important}:root{--font-size-xl: 32px;--font-size-lg: 24px;--font-size-md: 18px;--font-size-base: 16px;--font-size-sm: 14px;--font-weight-bold: 700;--font-weight-semibold: 600;--font-weight-medium: 500;--primary-color: #16a085;--secondary-color: #64748b;--success-color: #27ae60;--warning-color: #f39c12;--danger-color: #e74c3c;--info-color: #3498db;--background-color: #ffffff;--card-background: #ffffff;--text-primary: #2c3e50;--text-secondary: #7f8c8d;--border-color: #bdc3c7;--shadow: 0 2px 10px rgba(0, 0, 0, .1);--shadow-lg: 0 4px 20px rgba(0, 0, 0, .15);--sidebar-bg: #16a085;--sidebar-hover: #138d75}*{margin:0;padding:0;box-sizing:border-box;font-family:Cairo,sans-serif!important}html,body{width:100%;height:100%;overflow-x:hidden;margin:0;padding:0}html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}body{font-family:Cairo,Inter,sans-serif;background-color:var(--background-color);color:var(--text-primary);line-height:1.6}html[dir=rtl],html[dir=rtl] body,[dir=rtl]{direction:rtl!important;text-align:right!important}html[dir=ltr],html[dir=ltr] body,[dir=ltr]{direction:ltr!important;text-align:left!important}html.lang-ar,body.lang-ar{font-family:Cairo,Amiri,Noto Sans Arabic,sans-serif}html.lang-fr,html.lang-en,body.lang-fr,body.lang-en{font-family:Cairo,Inter,sans-serif}#root{width:100%;height:100%;overflow-x:hidden}.app{min-height:100vh;width:100vw;max-width:100%;display:flex!important;background:#f5f5f5}.app-rtl{flex-direction:row-reverse!important;direction:rtl!important}.app-rtl .app-sidebar-new,.app-rtl .app-sidebar{border-radius:20px!important}.app-ltr{flex-direction:row!important;direction:ltr!important}.app-ltr .app-sidebar-new,.app-ltr .app-sidebar{border-radius:20px!important}.app-body{display:flex;flex:1;width:100%;min-height:calc(100vh - 60px)}.main-content-wrapper{display:flex;flex-direction:column;flex:1;min-width:0;overflow:hidden;position:relative}.main-content{flex:1;width:100%;min-width:0;padding:24px;background:#f5f5f5;overflow-y:auto;overflow-x:hidden;position:relative}@media (max-width: 767px){.main-content{padding:var(--page-gutter-phone, 10px)}.main-content--login{padding:0!important;height:100%;min-height:0;overflow:hidden!important}}@media (min-width: 768px) and (max-width: 1023px){.main-content{padding:16px}}@media (max-width: 768px){.main-content-wrapper{margin-inline-start:0!important;margin-inline-end:0!important}.app:has(.app-sidebar:not(.collapsed)) .main-content-wrapper,.app:has(.app-sidebar-new:not(.collapsed)) .main-content-wrapper{margin-inline-end:0}.app.lang-ar:has(.app-sidebar:not(.collapsed)) .main-content-wrapper,.app.lang-ar:has(.app-sidebar-new:not(.collapsed)) .main-content-wrapper{margin-inline-start:0}}.app-sidebar-new,.app-sidebar{position:relative;top:0;bottom:0;z-index:1}.app-rtl .app-sidebar-new,.app-rtl .app-sidebar,.lang-ar .app-sidebar-new,.lang-ar .app-sidebar{order:1}.app-ltr .app-sidebar-new,.app-ltr .app-sidebar,.lang-fr .app-sidebar-new,.lang-fr .app-sidebar,.lang-en .app-sidebar-new,.lang-en .app-sidebar{order:0}.app-sidebar.collapsed~.main-content-wrapper,.app-sidebar-new.collapsed~.main-content-wrapper{margin-inline-end:70px}.app.lang-ar .main-content-wrapper{margin-inline-start:0;margin-inline-end:100px}.app.lang-ar .app-sidebar.collapsed~.main-content-wrapper,.app.lang-ar .app-sidebar-new.collapsed~.main-content-wrapper{margin-inline-end:90px;margin-inline-start:0}.app,.app *:not(.modal):not(.modal-content):not(.modal-overlay){box-sizing:border-box}div[style*="position: fixed"][style*=zIndex],div[style*="position:fixed"][style*=z-index],div[style*="position: fixed"][style*=backdrop],div[style*="position:fixed"][style*=backdrop],.modal-overlay{z-index:100000!important}.modal-top-layer{z-index:200001!important}.modal-overlay.modal-top-layer{z-index:200002!important}.app-sidebar-modern{isolation:auto}.app>*,.main-content-wrapper,.main-content-wrapper>*,.main-content>*{min-width:0;max-width:100%}.main-content-wrapper,.main-content{overflow-x:hidden}.language-selection-overlay{position:fixed;inset:0;background:linear-gradient(135deg,var(--primary-color) 0%,var(--info-color) 100%);display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn .3s ease-out}.language-selection-dialog{background:white;border-radius:20px;padding:2.5rem;max-width:500px;width:90%;box-shadow:0 20px 60px #0000004d;animation:slideUp .4s ease-out}.language-header{text-align:center;margin-bottom:2rem}.language-icon{font-size:3rem;margin-bottom:1rem}.language-header h2{font-size:1.5rem;margin-bottom:.5rem;color:var(--text-primary);line-height:1.4}.language-header p{color:var(--text-secondary);font-size:.9rem;line-height:1.5}.language-options{display:flex;flex-direction:column;gap:1rem;margin-bottom:2rem}.language-option{display:flex;align-items:center;gap:1rem;padding:1.25rem;border:2px solid var(--border-color);border-radius:12px;background:white;cursor:pointer;transition:all .3s ease;text-align:left;width:100%}.language-option:hover{border-color:var(--primary-color);box-shadow:0 4px 12px #16a08526;transform:translateY(-2px)}.language-option.selected{border-color:var(--primary-color);background:rgba(22,160,133,.05);box-shadow:0 4px 12px #16a08533}.language-flag{font-size:2rem;min-width:40px}.language-info{flex:1;display:flex;flex-direction:column}.language-name{font-weight:600;font-size:1.1rem;color:var(--text-primary);margin-bottom:.25rem}.language-direction{font-size:.85rem;color:var(--text-secondary)}.language-check{color:var(--primary-color);font-size:1.5rem;font-weight:700}.language-actions{text-align:center;margin-bottom:1.5rem}.confirm-language-btn{background:var(--primary-color);color:#fff;border:none;padding:1rem 2rem;border-radius:10px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s ease;min-width:200px;display:flex;align-items:center;justify-content:center;gap:.5rem;margin:0 auto}.confirm-language-btn:hover:not(:disabled){background:var(--sidebar-hover);transform:translateY(-2px);box-shadow:0 6px 20px #16a0854d}.confirm-language-btn:disabled{opacity:.7;cursor:not-allowed}.loading-spinner{animation:spin 1s linear infinite}.language-footer{text-align:center;padding-top:1rem;border-top:1px solid var(--border-color)}.language-footer small{color:var(--text-secondary);font-size:.75rem;line-height:1.4}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.login-container{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:linear-gradient(135deg,var(--primary-color) 0%,var(--info-color) 100%)}.login-card{background:white;padding:3rem;display:flex;flex-direction:column;justify-content:center;align-items:center;max-width:400px;margin:auto;border-radius:20px;box-shadow:var(--shadow-lg)}.login-header{text-align:center;margin-bottom:2rem}.login-avatar{width:80px;height:80px;background:var(--primary-color);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2rem;color:#fff;margin:0 auto 1rem}.login-form{width:100%}.form-group{margin-bottom:1.5rem}.form-group input{width:100%;padding:1rem;border:2px solid var(--border-color);border-radius:10px;font-size:1rem;font-family:inherit;transition:border-color .3s ease}.form-group input:focus{outline:none;border-color:var(--primary-color)}.checkbox-label{display:flex;align-items:center;gap:.5rem;font-size:.9rem;color:var(--text-secondary)}.login-btn{width:100%;padding:1rem;background:var(--primary-color);color:#fff;border:none;border-radius:10px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:background-color .3s ease}.login-btn:hover{background:var(--sidebar-hover)}.login-footer{margin-top:2rem;text-align:center;font-size:.8rem;color:var(--text-secondary)}.login-info{display:flex;align-items:center;justify-content:center;color:#fff;padding:2rem}.system-info{text-align:center;max-width:500px}.system-icon{font-size:4rem;margin-bottom:1rem}.system-info h1{font-size:2.5rem;margin-bottom:1rem;font-weight:700}.system-info p{font-size:1.2rem;margin-bottom:2rem;opacity:.9}.features-list{text-align:right}.feature{margin-bottom:1rem;font-size:1.1rem;opacity:.95}.accounting-system{display:flex;min-height:100vh;background-color:var(--background-color)}.sidebar{width:280px;background:var(--sidebar-bg);color:#fff;display:flex;flex-direction:column;box-shadow:var(--shadow-lg);position:fixed;top:0;height:100vh;overflow-y:auto;z-index:1000;transition:all .3s ease}.sidebar.collapsed{width:80px;display:flex;flex-direction:column;justify-content:space-between}.sidebar.collapsed .sidebar-header .system-title{display:none}.sidebar.collapsed .system-logo{display:flex;justify-content:center;align-items:center;margin-bottom:.5rem}.sidebar.collapsed .sidebar-header{padding:1rem .5rem .5rem;text-align:center;flex-shrink:0}.sidebar.collapsed .nav-item{justify-content:center;padding:.75rem;width:50px;height:50px;min-width:50px;border-radius:8px;margin:0}.sidebar.collapsed .user-info{display:none}.sidebar.collapsed .system-controls{flex-direction:column;gap:.5rem;align-items:center;padding:.5rem}.sidebar.collapsed .logout-btn{justify-content:center;padding:.75rem;width:40px;height:40px;min-width:40px;margin:0 auto;gap:0}.sidebar.collapsed .nav-item:hover{background:var(--sidebar-hover);transform:scale(1.05)}.sidebar .system-logo:hover{transform:scale(1.1);transition:transform .2s ease}.nav-icon{font-size:1.5rem;display:flex;align-items:center;justify-content:center;min-width:24px}.sidebar.collapsed .nav-item[title]:hover:after{content:attr(title);position:absolute;left:90px;background:rgba(0,0,0,.8);color:#fff;padding:.5rem 1rem;border-radius:4px;white-space:nowrap;z-index:1001;font-size:.9rem}.lang-ar .sidebar.collapsed .nav-item[title]:hover:after{right:90px;left:auto}.sidebar,.lang-ar .sidebar.collapsed,.lang-fr .sidebar.collapsed,.lang-en .sidebar.collapsed{transform:translate(0)}.nav-icon i{transition:all .3s ease}.nav-item:hover .nav-icon i{transform:scale(1.1)}.system-logo:active{transform:scale(.95)}.sidebar.collapsed .control-btn{margin:.25rem 0}.sidebar.collapsed .sidebar-footer{padding:1rem .5rem;align-items:center;display:flex;flex-direction:column;gap:1rem;flex-shrink:0}.sidebar.page-dashboard{background:linear-gradient(135deg,#34495e,#5d6d7e)!important}.sidebar.page-sales{background:linear-gradient(135deg,#2ecc71,#27ae60)!important}.sidebar.page-repairs{background:linear-gradient(135deg,#00b9ae,#037171)!important}.sidebar.page-customers{background:linear-gradient(135deg,#3498db,#2980b9)!important}.sidebar.page-inventory{background:linear-gradient(135deg,#f9e79f,#95a5a6)!important}.sidebar.page-purchases{background:linear-gradient(135deg,#2980b9,#34495e)!important}.sidebar.page-reports{background:linear-gradient(135deg,#8e44ad,#16a085)!important}.sidebar.page-settings{background:linear-gradient(135deg,#ecf0f1,#7f8c8d)!important}.repairs-page{background:white;min-height:100vh}.repairs-page .page-header{background:linear-gradient(135deg,#00b9ae,#037171)!important;color:#fff!important;padding:2rem;border-radius:16px;margin-bottom:2rem;box-shadow:0 8px 32px #00b9ae4d}.repairs-page .page-header h1{color:#fff!important;font-size:2.5rem;font-weight:800;margin:0;text-shadow:2px 2px 4px rgba(0,0,0,.3)}.repairs-page .page-header p{color:#ffffffe6!important;font-size:1.1rem;margin:.5rem 0 0}.repair-action-buttons{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;margin:2rem 0;padding:2rem;background:white;border-radius:16px;box-shadow:0 8px 32px #0000001a;border:2px solid #00b9ae}@media (max-width: 1200px){.repair-action-buttons{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.repair-action-buttons{grid-template-columns:1fr;gap:1rem;padding:1rem}}.repair-action-btn{display:flex;align-items:center;gap:1.5rem;padding:2rem;border:3px solid #00b9ae;border-radius:16px;cursor:pointer;transition:all .3s ease;text-align:left;font-family:inherit;min-height:120px;position:relative;overflow:hidden;background:white}.repair-action-btn:before{content:"";position:absolute;inset:0;background:linear-gradient(45deg,transparent 30%,rgba(0,185,174,.2) 50%,transparent 70%);transform:translate(-100%);transition:transform .6s ease}.repair-action-btn:hover:before{transform:translate(100%)}.repair-action-new,.repair-action-completed,.repair-action-pickup{background:linear-gradient(135deg,#00b9ae,#037171);color:#fff;border-color:#037171}.repair-action-btn:hover{transform:translateY(-6px);box-shadow:0 16px 48px #00b9ae66;border-color:#03312e}.repair-action-new:hover,.repair-action-completed:hover,.repair-action-pickup:hover{background:linear-gradient(135deg,#037171,#03312e)}.action-btn-icon{font-size:3rem;opacity:.9;flex-shrink:0}.action-btn-content h3{margin:0 0 .5rem;font-size:1.4rem;font-weight:700;font-family:Cairo,sans-serif}.action-btn-content p{margin:0;font-size:1rem;opacity:.9;line-height:1.4}.lang-ar .repair-action-btn{text-align:right;flex-direction:row-reverse}.lang-ar .action-btn-content h3,.lang-ar .action-btn-content p{font-family:Cairo,sans-serif;font-weight:700}.repair-table-section{margin-top:2rem;background:white;border-radius:16px;padding:2rem;box-shadow:0 8px 32px #0000001a}.repair-table-section .section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding:1.5rem;background:linear-gradient(135deg,#00b9ae,#037171);border-radius:12px;color:#fff;box-shadow:0 4px 16px #00b9ae4d}.repair-table-section .section-header h2{margin:0;color:#fff!important;font-size:1.8rem;font-weight:800;text-shadow:1px 1px 2px rgba(0,0,0,.3)}.repairs-page .data-table{background:white}.repair-table th,.repair-table td{text-align:center;vertical-align:middle;font-family:Cairo,Tahoma,Arial Unicode MS,sans-serif}.repair-table th:first-child,.repair-table td:first-child{text-align:right;padding-right:1rem}.data-table th,.data-table td{text-align:center;vertical-align:middle;font-family:Cairo,Tahoma,Arial Unicode MS,sans-serif}.data-table th:first-child,.data-table td:first-child{text-align:center;padding-right:1rem;border-radius:12px;overflow:hidden;box-shadow:0 4px 20px #00000014;border:none}.repair-table-section table th,.repair-table-section table td{text-align:center!important;vertical-align:middle!important;font-family:Cairo,Tahoma,Arial Unicode MS,sans-serif!important}.repair-table-section table th:nth-child(2),.repair-table-section table td:nth-child(2),.repair-table-section table th:nth-child(3),.repair-table-section table td:nth-child(3),.repair-table-section table th:nth-child(4),.repair-table-section table td:nth-child(4){text-align:right!important}.repair-table-section table th:nth-child(1),.repair-table-section table td:nth-child(1),.repair-table-section table th:nth-child(7),.repair-table-section table td:nth-child(7),.repair-table-section table th:nth-child(8),.repair-table-section table td:nth-child(8),.repair-table-section table th:nth-child(9),.repair-table-section table td:nth-child(9){text-align:center!important}.repairs-page table{table-layout:fixed!important}.repairs-page table th,.repairs-page table td{overflow:hidden;text-overflow:ellipsis}.repairs-page table th:nth-child(2),.repairs-page table td:nth-child(2),.repairs-page table th:nth-child(3),.repairs-page table td:nth-child(3),.repairs-page table th:nth-child(4),.repairs-page table td:nth-child(4){white-space:normal!important;word-wrap:break-word!important}.repairs-page table th:nth-child(1),.repairs-page table td:nth-child(1),.repairs-page table th:nth-child(5),.repairs-page table td:nth-child(5),.repairs-page table th:nth-child(6),.repairs-page table td:nth-child(6),.repairs-page table th:nth-child(7),.repairs-page table td:nth-child(7),.repairs-page table th:nth-child(8),.repairs-page table td:nth-child(8),.repairs-page table th:nth-child(9),.repairs-page table td:nth-child(9){white-space:nowrap!important}.repairs-page table th:nth-child(1),.repairs-page table td:nth-child(1){width:8%!important;text-align:center!important}.repairs-page table th:nth-child(2),.repairs-page table td:nth-child(2){width:15%!important;text-align:right!important}.repairs-page table th:nth-child(3),.repairs-page table td:nth-child(3){width:15%!important;text-align:right!important}.repairs-page table th:nth-child(4),.repairs-page table td:nth-child(4){width:20%!important;text-align:right!important}.repairs-page table th:nth-child(5),.repairs-page table td:nth-child(5){width:12%!important;text-align:right!important}.repairs-page table th:nth-child(6),.repairs-page table td:nth-child(6){width:11%!important;text-align:right!important}.repairs-page table th:nth-child(7),.repairs-page table td:nth-child(7){width:12%!important;text-align:center!important}.repairs-page table th:nth-child(8),.repairs-page table td:nth-child(8){width:10%!important;text-align:center!important}.repairs-page table th:nth-child(9),.repairs-page table td:nth-child(9){width:8%!important;text-align:center!important}.repairs-page .data-table thead{background:linear-gradient(135deg,#00b9ae,#037171)}.repairs-page .data-table thead th{background:transparent;color:#fff!important;font-weight:700;font-size:1rem;padding:1.2rem 1rem;text-align:center;border:none;text-shadow:1px 1px 2px rgba(0,0,0,.2)}.repairs-page .data-table tbody tr{border-bottom:1px solid #f8f9fa;transition:all .3s ease}.repairs-page .data-table tbody tr:hover{background:white;transform:translateY(-1px);box-shadow:0 4px 12px #00b9ae26}.repairs-page .data-table tbody td{padding:1rem;font-weight:600;font-size:1rem;text-align:center;vertical-align:middle;border:none;max-width:200px;word-wrap:break-word;overflow-wrap:break-word;hyphens:auto}.repairs-page .data-table tbody td.long-text{white-space:normal;line-height:1.4}.repairs-page .data-table tbody td.long-text:after{content:"";display:inline-block;width:0;word-break:break-word}.qr-code-cell{width:100px;text-align:center}.qr-code-image{width:60px;height:60px;border-radius:8px;border:2px solid #00b9ae;box-shadow:0 2px 8px #00b9ae4d;cursor:pointer;transition:all .3s ease}.qr-code-image:hover{transform:scale(1.1);box-shadow:0 4px 16px #00b9ae80}.repairs-page .table-filters{display:flex;gap:1.5rem;margin-bottom:2rem;padding:1.5rem;background:white;border-radius:12px;border:2px solid #00b9ae;box-shadow:0 4px 16px #00b9ae33}.repairs-page .filter-input,.repairs-page .filter-select{padding:.8rem 1.2rem;border:2px solid #00b9ae;border-radius:8px;font-size:1rem;font-weight:600;background:white;color:#333;transition:all .3s ease;min-width:200px}.repairs-page .filter-input:focus,.repairs-page .filter-select:focus{outline:none;border-color:#037171;box-shadow:0 0 0 3px #00b9ae33;transform:translateY(-1px)}.repairs-page .filter-input::placeholder{color:#999;font-weight:500}.repairs-page .action-buttons{display:flex;gap:.5rem;justify-content:center;align-items:center}.repairs-page .action-buttons .btn{padding:.5rem .8rem;border-radius:8px;font-size:1.1rem;font-weight:600;border:none;cursor:pointer;transition:all .3s ease;min-width:40px;height:40px;display:flex;align-items:center;justify-content:center}.repairs-page .action-buttons .btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0003}.repairs-page .action-buttons .btn-info{background:linear-gradient(135deg,#17a2b8,#20c997);color:#fff}.repairs-page .action-buttons .btn-warning{background:linear-gradient(135deg,#ffc107,#fd7e14);color:#fff}.repairs-page .action-buttons .btn-secondary{background:linear-gradient(135deg,#6c757d,#495057);color:#fff}.repairs-page .action-buttons .btn-primary{background:linear-gradient(135deg,#007bff,#6610f2);color:#fff}.qr-display-modal{max-width:600px;width:90%}.qr-display-modal .modal-header,.qr-display-modal .modal-header-ltr{background:#ffffff!important;border:2px solid #04724d!important;border-radius:12px!important;color:#04724d!important;padding:16px 20px!important;box-shadow:0 2px 8px #00000014!important;position:relative;overflow:hidden}.qr-display-modal .modal-header h2,.qr-display-modal .modal-header-ltr h2{color:#04724d!important;font-size:2rem!important;font-weight:700!important;margin:0!important;text-shadow:none!important}.qr-display-container{padding:2rem;text-align:center;background:white;min-height:300px}.qr-code-section{margin-bottom:2rem;padding:2rem;background:linear-gradient(135deg,#e0f7f4,#b3f0e8);border-radius:16px;border:3px solid #00b9ae}.large-qr-code{width:250px;height:250px;border-radius:12px;border:3px solid #00b9ae;box-shadow:0 8px 32px #00b9ae4d}.repair-details-section{margin-bottom:2rem;text-align:left}.repair-details-section h3{color:#00b9ae;font-size:1.5rem;font-weight:700;margin-bottom:1rem;text-align:center}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.detail-item{display:flex;flex-direction:column;gap:.5rem;padding:1rem;background:#f8f9fa;border-radius:8px;border-left:4px solid #00b9ae}.detail-label{font-weight:600;color:#666;font-size:.9rem}.detail-value{font-weight:700;color:#333;font-size:1.1rem}.qr-actions{display:flex;gap:1rem;justify-content:center;margin-top:2rem}.qr-actions .btn{padding:1rem 2rem;font-size:1.1rem;font-weight:600;border-radius:12px;border:none;cursor:pointer;transition:all .3s ease}.qr-actions .btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0003}.qr-loading{width:60px;height:60px;display:flex;align-items:center;justify-content:center;font-size:1.5rem;animation:pulse 1.5s infinite}@keyframes pulse{0%,to{opacity:.5}50%{opacity:1}}.repair-completion-modal{max-width:1000px;width:95%;max-height:90vh;overflow-y:auto}.repair-completion-modal .modal-header{background:#ffffff!important;border:2px solid #c73e1d!important;border-radius:12px!important;color:#3b1f2b!important;padding:10px 16px!important;box-shadow:0 2px 8px #00000014!important}.repair-completion-modal .modal-header h2{color:#3b1f2b!important;font-size:1.1rem!important;font-weight:700!important;margin:0!important;text-shadow:none!important}.repair-completion-modal .modal-header p{color:#3b1f2b!important;font-size:1.1rem;margin:0}.repair-completion-container{padding:2rem;background:linear-gradient(135deg,#fff8e1,#ffeaa7)}.completion-question{text-align:center;margin-bottom:2rem}.completion-question h3{font-size:1.8rem;font-weight:700;color:#00b9ae;margin:0}.client-selection-section{background:white;border-radius:16px;padding:2rem;border:3px solid #00b9ae;box-shadow:0 8px 32px #00b9ae33;margin-bottom:2rem}.client-selection-section h3{color:#00b9ae;font-size:1.5rem;font-weight:700;margin-bottom:1.5rem;text-align:center}.repairs-list{display:grid;gap:1rem;max-height:300px;overflow-y:auto}.repair-item{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;background:#f8f9fa;border:2px solid #00b9ae;border-radius:12px;cursor:pointer;transition:all .3s ease}.repair-item:hover{background:white;transform:translateY(-2px);box-shadow:0 4px 16px #00b9ae4d}.repair-info h4{margin:0 0 .5rem;color:#333;font-weight:700}.repair-info p{margin:0 0 .5rem;color:#666;font-size:.9rem}.repair-price{font-weight:700;color:#00b9ae;font-size:1.1rem}.select-btn{font-size:1.5rem;color:#00b9ae;font-weight:700}.selected-repair-info{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#00b9ae,#037171);color:#fff;padding:1.5rem;border-radius:12px;margin-bottom:2rem}.selected-repair-info h3{color:#fff!important;margin:0}.btn-sm{padding:.5rem 1rem;font-size:.9rem}.completion-options{display:grid;grid-template-columns:1fr 1fr;gap:2rem}.completion-option{background:white;border-radius:16px;padding:2rem;border:3px solid #00b9ae;box-shadow:0 8px 32px #00b9ae33;transition:all .3s ease}.completion-option:hover{transform:translateY(-4px);box-shadow:0 12px 48px #00b9ae4d}.option-header{display:flex;align-items:center;gap:1rem;margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid #00b9ae}.option-icon{font-size:2.5rem;width:60px;height:60px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:linear-gradient(135deg,#00b9ae,#037171);color:#fff;box-shadow:0 4px 16px #00b9ae4d}.option-header h4{font-size:1.5rem;font-weight:700;color:#333;margin:0}.success-option .option-icon{background:linear-gradient(135deg,#28a745,#20c997)}.failure-option .option-icon{background:linear-gradient(135deg,#dc3545,#e83e8c)}.option-form .form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.5rem}.option-form .form-group{margin-bottom:1.5rem}.option-form .form-group.full-width{grid-column:1 / -1}.option-form label{display:block;margin-bottom:.5rem;font-weight:600;color:#333;font-size:1rem}.modern-input,.modern-select,.modern-textarea{width:100%;padding:1rem;border:2px solid #00b9ae;border-radius:8px;font-size:1rem;font-weight:500;background:white;transition:all .3s ease}.modern-input:focus,.modern-select:focus,.modern-textarea:focus{outline:none;border-color:#037171;box-shadow:0 0 0 3px #00b9ae33;transform:translateY(-1px)}.modern-btn{width:100%;padding:1.2rem 2rem;font-size:1.1rem;font-weight:700;border:none;border-radius:12px;cursor:pointer;transition:all .3s ease;margin-top:1rem}.modern-btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0003}.barcode-scanner-section{padding:2rem;background:linear-gradient(135deg,#46ACC2,#3a8fa3);border-radius:16px;color:#fff;box-shadow:0 8px 32px #46acc24d}.search-filter-section{padding:2rem;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:16px;border:2px solid #46ACC2}.scanner-header{display:flex;align-items:center;gap:1.5rem;margin-bottom:1.5rem}.scanner-icon-large{font-size:3rem;color:#fff;opacity:.9}.scanner-info h4{margin:0 0 .5rem;font-size:1.5rem;font-weight:700;color:#fff}.scanner-info p{margin:0;font-size:1rem;color:#fffc}.barcode-input-container{position:relative}.barcode-scanner-input{width:100%;padding:1rem 3rem 1rem 1.5rem;border:3px solid rgba(255,255,255,.3);border-radius:12px;font-size:1.2rem;font-weight:600;background:rgba(255,255,255,.95);color:#2c3e50;transition:all .3s ease}.barcode-scanner-input:focus{outline:none;border-color:#fff;background:white;box-shadow:0 0 0 4px #ffffff4d}.barcode-scanner-input::placeholder{color:#6c757d;font-weight:500}.reset-filter-btn{background:#dc3545!important;color:#fff!important;border:none!important;border-radius:6px!important;padding:6px 10px!important;cursor:pointer!important;font-size:12px!important;font-weight:700!important;transition:all .3s ease!important;z-index:10!important;box-shadow:0 2px 4px #dc35454d!important;white-space:nowrap!important}.reset-filter-btn:hover{background:#c82333!important;transform:translateY(-1px)!important;box-shadow:0 4px 8px #dc354566!important}.reset-filter-btn:active{transform:translateY(0)!important;box-shadow:0 2px 4px #dc35454d!important}.barcode-match-highlight{background-color:#fff3cd!important;border:2px solid #ffc107!important;animation:barcodeMatchPulse 1s ease-in-out}@keyframes barcodeMatchPulse{0%{background-color:#fff3cd}50%{background-color:#ffeaa7}to{background-color:#fff3cd}}.barcode-scanner-icon{position:absolute;right:1rem;top:50%;transform:translateY(-50%);font-size:1.5rem;color:#46acc2}.search-filter-section{margin-bottom:2rem;padding:1.5rem;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:12px;border:2px solid #46ACC2}.filter-header h4{margin:0 0 1rem;color:#2c3e50;font-size:1.2rem;font-weight:600}.search-filters{display:flex;gap:1rem}.filter-input{flex:1;padding:.75rem 1rem;border:2px solid #46ACC2;border-radius:8px;font-size:1rem;transition:all .3s ease}.filter-input:focus{outline:none;border-color:#3a8fa3;box-shadow:0 0 0 3px #46acc233}.repair-search-section{margin-bottom:2rem;padding:1.5rem;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:12px;border:2px solid #46ACC2}.search-controls{display:flex;gap:2rem;align-items:center;justify-content:space-between}.search-input-group{position:relative;flex:1;max-width:400px}.search-input{width:100%;padding:.75rem 2.5rem .75rem 1rem;border:2px solid #46ACC2;border-radius:8px;font-size:1rem;background:white;transition:all .3s ease}.search-input:focus{outline:none;border-color:#3a8fa3;box-shadow:0 0 0 3px #46acc233}.search-icon{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);color:#46acc2;font-size:1.2rem}.barcode-scanner-group{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:linear-gradient(135deg,#46ACC2,#3a8fa3);color:#fff;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s ease}.barcode-scanner-group:hover{background:linear-gradient(135deg,#3a8fa3,#2e7282);transform:translateY(-2px);box-shadow:0 4px 12px #46acc24d}.scanner-icon{font-size:1.2rem}.repairs-table-container{background:white;border-radius:12px;overflow:hidden;box-shadow:0 4px 20px #0000001a;border:2px solid #46ACC2}.repairs-table{width:100%;border-collapse:collapse}.repairs-table thead{background:linear-gradient(135deg,#46ACC2,#3a8fa3);color:#fff}.repairs-table th{padding:1rem;text-align:left;font-weight:600;font-size:.9rem;text-transform:uppercase;letter-spacing:.5px}.repairs-table tbody tr{border-bottom:1px solid #e9ecef;transition:all .3s ease}.repairs-table tbody tr:hover,.clickable-row:hover{background:linear-gradient(135deg,#f8f9fa,#e9ecef);transform:scale(1.01);cursor:pointer}.clickable-row{transition:all .3s ease}.clickable-row:hover{box-shadow:0 4px 16px #46acc233}.pickup-barcode-section{margin-bottom:2rem;padding:2rem;background:linear-gradient(135deg,#42F2F7,#36c7cc);border-radius:16px;color:#fff;box-shadow:0 8px 32px #42f2f74d}.pickup-filter-section{margin-bottom:2rem;padding:1.5rem;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:12px;border:2px solid #42F2F7}.pickup-repairs-table-container{background:white;border-radius:12px;overflow:hidden;box-shadow:0 4px 20px #0000001a;border:2px solid #42F2F7}.pickup-repairs-table{width:100%;border-collapse:collapse}.pickup-repairs-table thead{background:linear-gradient(135deg,#42F2F7,#36c7cc);color:#fff}.pickup-repair-row:hover{background:linear-gradient(135deg,#f8f9fa,#e9ecef);cursor:pointer}.status-cell{text-align:center}.status-badge{padding:.5rem 1rem;border-radius:20px;font-size:.85rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.status-waitingForClient{background:linear-gradient(135deg,#28a745,#20c997);color:#fff}.status-notSuccess,.status-done{background:linear-gradient(135deg,#dc3545,#c82333);color:#fff}.recuperation-table-fixed{background:white;border-radius:12px;overflow:hidden;box-shadow:0 4px 20px #0000001a;border:2px solid #42F2F7;height:400px}.recuperation-fixed-table{width:100%;border-collapse:collapse}.recuperation-fixed-table thead{background:linear-gradient(135deg,#42F2F7,#36c7cc);color:#fff}.reviser-finaliser-section{background:linear-gradient(135deg,#ffffff,#f8f9fa);border-radius:20px;padding:2rem;margin-bottom:2rem;border:3px solid #42F2F7;box-shadow:0 12px 40px #42f2f726}.ltr-layout{direction:ltr;text-align:left}.rtl-layout{direction:rtl;text-align:right}.rtl-layout .first-row-grid{direction:rtl}.rtl-layout .info-item{text-align:right}.rtl-layout .second-row-grid{direction:rtl}.rtl-layout .prix-final-section,.rtl-layout .detail-prix-section{direction:rtl;text-align:right}.rtl-layout .price-item-compact{direction:rtl;flex-direction:row-reverse}.rtl-layout .third-row-actions{direction:rtl}.rtl-layout .btn-terminer-recuperation,.rtl-layout .btn-print-invoice{direction:ltr}.first-row-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:1.5rem;margin-bottom:2rem;padding-bottom:2rem;border-bottom:2px solid #e9ecef}.info-item{display:flex;flex-direction:column;gap:.5rem}.info-label{font-size:.9rem;font-weight:600;color:#6c757d;text-transform:uppercase;letter-spacing:.5px}.info-value{font-size:1.1rem;font-weight:700;color:#2c3e50;word-wrap:break-word}.second-row-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-bottom:2rem}.prix-final-section,.detail-prix-section{background:linear-gradient(135deg,#f8f9fa,#e9ecef);padding:2rem;border-radius:16px;border:2px solid #42F2F7}.detail-prix-section h4{margin:0 0 1.5rem;color:#2c3e50;font-size:1.3rem;font-weight:700}.price-breakdown-compact{display:flex;flex-direction:column;gap:1rem}.price-item-compact{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0;border-bottom:1px solid #dee2e6;font-size:1.1rem}.price-item-compact:last-child{border-bottom:none}.total-compact{background:linear-gradient(135deg,#42F2F7,#36c7cc);color:#fff;padding:1rem;border-radius:8px;font-weight:700;font-size:1.2rem}.payment-status-compact{background:#f8f9fa;border:1px solid #dee2e6;border-radius:6px;padding:.75rem;margin-top:.5rem}.payment-badge{padding:.3rem .8rem;border-radius:20px;font-size:.85rem;font-weight:600;display:inline-block}.payment-badge.payment-paid{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.payment-badge.payment-partiallyPaid{background:#fff3cd;color:#856404;border:1px solid #ffeaa7}.payment-badge.payment-unpaid{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.paid-amount-compact{background:#d4edda;border:1px solid #c3e6cb;border-radius:6px;padding:.75rem;margin-top:.5rem}.remaining-amount-compact{background:#fff3cd;border:1px solid #ffeaa7;border-radius:6px;padding:.75rem;margin-top:.5rem}.paid-amount{color:#155724;font-weight:600}.remaining-amount{color:#856404;font-weight:600}.third-row-actions{display:flex;gap:2rem;justify-content:center}.btn-terminer-recuperation,.btn-print-invoice{display:flex;align-items:center;gap:1rem;padding:1.5rem 2.5rem;border:none;border-radius:16px;font-size:1.2rem;font-weight:700;cursor:pointer;transition:all .3s ease;min-width:250px;justify-content:center}.btn-terminer-recuperation{background:linear-gradient(135deg,#28a745,#20c997);color:#fff;box-shadow:0 6px 20px #28a7454d}.btn-terminer-recuperation:hover{background:linear-gradient(135deg,#20c997,#17a2b8);transform:translateY(-3px);box-shadow:0 8px 25px #28a74566}.btn-print-invoice{background:linear-gradient(135deg,#6f42c1,#5a32a3);color:#fff;box-shadow:0 6px 20px #6f42c14d}.btn-print-invoice:hover{background:linear-gradient(135deg,#5a32a3,#4c2a85);transform:translateY(-3px);box-shadow:0 8px 25px #6f42c166}@media (max-width: 1024px){.first-row-grid{grid-template-columns:repeat(3,1fr)}.second-row-grid{grid-template-columns:1fr}}@media (max-width: 768px){.first-row-grid{grid-template-columns:repeat(2,1fr)}.scanner-search-row{grid-template-columns:1fr;gap:1.5rem}.third-row-actions{flex-direction:column;gap:1.5rem}.btn-terminer-recuperation,.btn-print-invoice{min-width:100%}.repairs-table-container-fixed,.reparation-table-fixed,.recuperation-table-fixed{height:300px}}@media (max-width: 480px){.first-row-grid{grid-template-columns:1fr}.info-item{padding:1rem;background:#f8f9fa;border-radius:8px;border:1px solid #dee2e6}}.modern-repair-summary-card{background:linear-gradient(135deg,#ffffff,#f8f9fa);border-radius:20px;padding:2.5rem;margin-bottom:2rem;border:3px solid #42F2F7;box-shadow:0 12px 40px #42f2f726;transition:all .3s ease}.client-header-section{display:flex;align-items:center;gap:2rem;margin-bottom:2rem;padding-bottom:2rem;border-bottom:3px solid #e9ecef}.client-avatar-large{width:80px;height:80px;background:linear-gradient(135deg,#42F2F7,#36c7cc);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2.5rem;color:#fff;font-weight:700;box-shadow:0 6px 20px #42f2f74d}.client-details-large{flex:1}.client-name-large{margin:0 0 .5rem;font-size:2rem;font-weight:700;color:#2c3e50}.client-phone-large{margin:0 0 .5rem;font-size:1.2rem;color:#6c757d;font-weight:500}.device-info-large{margin:0;font-size:1.1rem;color:#495057;font-weight:600}.repair-status-badge{text-align:center;background:linear-gradient(135deg,#42F2F7,#36c7cc);color:#fff;padding:1rem 1.5rem;border-radius:12px;box-shadow:0 4px 16px #42f2f74d}.status-label{display:block;font-size:.9rem;opacity:.9;margin-bottom:.5rem;font-weight:500}.status-value{display:block;font-size:1.2rem;font-weight:700;text-transform:uppercase}.repair-id-card{display:flex;align-items:center;gap:1.5rem;background:linear-gradient(135deg,#f8f9fa,#e9ecef);padding:1.5rem;border-radius:16px;margin-bottom:2rem;border:2px solid #42F2F7}.id-icon{font-size:2.5rem;color:#42f2f7}.id-details{flex:1}.id-label{display:block;font-size:1rem;color:#6c757d;margin-bottom:.5rem;font-weight:500}.id-value-large{display:block;font-size:1.5rem;color:#2c3e50;font-weight:700;font-family:Courier New,monospace}.details-row{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-bottom:2rem}.detail-card{display:flex;align-items:flex-start;gap:1.5rem;padding:2rem;background:white;border-radius:16px;border:2px solid #e9ecef;transition:all .3s ease;box-shadow:0 4px 16px #0000000d}.detail-card:hover{border-color:#42f2f7;box-shadow:0 8px 24px #42f2f726;transform:translateY(-2px)}.detail-icon-large{font-size:2rem;color:#42f2f7;margin-top:.25rem}.detail-content-large{flex:1}.detail-label-large{display:block;font-size:1rem;color:#6c757d;margin-bottom:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.detail-value-large{display:block;font-size:1.2rem;color:#2c3e50;font-weight:600;line-height:1.4}.pricing-card{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:16px;padding:2rem;border:2px solid #42F2F7;margin-bottom:2rem}.pricing-header h4{margin:0 0 1.5rem;color:#2c3e50;font-size:1.4rem;font-weight:700;text-align:center}.price-items{display:flex;flex-direction:column;gap:1rem}.price-row{display:flex;justify-content:space-between;align-items:center;padding:1rem 0;border-bottom:1px solid #dee2e6}.price-row:last-child{border-bottom:none}.price-label-clean{font-weight:600;color:#495057;font-size:1.1rem}.price-value-clean{font-weight:700;color:#28a745;font-size:1.2rem}.total-row{background:linear-gradient(135deg,#42F2F7,#36c7cc);color:#fff;padding:1.5rem;border-radius:12px;margin-top:1rem;border-bottom:none}.price-label-total,.price-value-total{color:#fff;font-weight:700;font-size:1.3rem}.modern-completion-actions{display:flex;gap:2rem;justify-content:center;margin-top:2rem}.btn-complete-modern,.btn-print-modern{display:flex;align-items:center;gap:1rem;padding:1.5rem 2.5rem;border:none;border-radius:16px;font-size:1.2rem;font-weight:700;cursor:pointer;transition:all .3s ease;min-width:200px;justify-content:center}.btn-complete-modern{background:linear-gradient(135deg,#28a745,#20c997);color:#fff;box-shadow:0 6px 20px #28a7454d}.btn-complete-modern:hover{background:linear-gradient(135deg,#20c997,#17a2b8);transform:translateY(-3px);box-shadow:0 8px 25px #28a74566}.btn-print-modern{background:linear-gradient(135deg,#6f42c1,#5a32a3);color:#fff;box-shadow:0 6px 20px #6f42c14d}.btn-print-modern:hover{background:linear-gradient(135deg,#5a32a3,#4c2a85);transform:translateY(-3px);box-shadow:0 8px 25px #6f42c166}.btn-icon-large{font-size:1.5rem}.btn-text-large{font-weight:700}@media (max-width: 768px){.client-header-section{flex-direction:column;text-align:center;gap:1.5rem}.details-row{grid-template-columns:1fr;gap:1.5rem}.modern-completion-actions{flex-direction:column;gap:1.5rem}.client-avatar-large{width:60px;height:60px;font-size:2rem}.client-name-large{font-size:1.5rem}}.repairs-table td{padding:1rem;vertical-align:top}.client-cell .client-info{display:flex;flex-direction:column;gap:.25rem}.client-name{font-weight:600;color:#2c3e50;font-size:1rem}.client-phone{font-size:.85rem;color:#6c757d}.device-cell{display:flex;flex-direction:column;gap:.25rem}.device-name{font-weight:500;color:#2c3e50}.device-type{font-size:.85rem;color:#6c757d;text-transform:capitalize}.problem-desc{color:#495057;line-height:1.4;max-width:200px}.repair-price{font-weight:600;color:#28a745;font-size:1.1rem}.deposit-date{color:#6c757d;font-size:.9rem}.btn-select-repair{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:linear-gradient(135deg,#28a745,#20c997);color:#fff;border:none;border-radius:6px;font-weight:500;cursor:pointer;transition:all .3s ease}.btn-select-repair:hover{background:linear-gradient(135deg,#20c997,#17a2b8);transform:translateY(-2px);box-shadow:0 4px 12px #28a7454d}.btn-select-repair .btn-icon{font-size:1rem}.repairs-table-container-fixed,.reparation-table-fixed{background:white;border-radius:12px;overflow:hidden;box-shadow:0 4px 20px #0000001a;border:2px solid #46ACC2;height:400px}.table-wrapper-fixed{height:100%;display:flex;flex-direction:column}.table-body-scrollable{flex:1;overflow-y:auto;overflow-x:auto;max-height:calc(100% - 60px);scrollbar-width:thin;scrollbar-color:#498C8A #f8f9fa}.table-body-scrollable::-webkit-scrollbar{width:6px;height:8px}.table-body-scrollable::-webkit-scrollbar-track{background:#f8f9fa;border-radius:3px}.table-body-scrollable::-webkit-scrollbar-thumb{background:#498C8A;border-radius:3px}.table-body-scrollable::-webkit-scrollbar-thumb:hover{background:#3a7270}.table-container{overflow-x:auto;overflow-y:visible}.table-container::-webkit-scrollbar{height:8px}.table-container::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.table-container::-webkit-scrollbar-thumb{background:#498C8A;border-radius:4px}.table-container::-webkit-scrollbar-thumb:hover{background:#3a7270}.reparation-fixed-table{width:100%;border-collapse:collapse}.reparation-fixed-table th,.reparation-fixed-table td{padding:1rem;text-align:left;border-bottom:1px solid #e9ecef}.reparation-fixed-table th{font-weight:600;font-size:.9rem;text-transform:uppercase;letter-spacing:.5px}.table-body-scrollable::-webkit-scrollbar{width:0px;background:transparent}.table-body-scrollable{-ms-overflow-style:none;scrollbar-width:none}.button-center-wrapper{display:flex;justify-content:center;align-items:center;width:100%;margin-top:1.5rem}.centered-action-btn{min-width:200px;max-width:300px;padding:1rem 2rem;font-size:1.1rem;font-weight:600;border-radius:8px;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:.75rem}.centered-action-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #0003}.centered-action-btn .btn-icon{font-size:1.2rem}.centered-action-btn .btn-text{font-weight:600}.search-methods{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin-bottom:2rem}.methods-ltr{direction:ltr;text-align:left}.methods-rtl{direction:rtl;text-align:right}.search-method{background:white;border-radius:12px;padding:1.5rem;border:2px solid #42F2F7;box-shadow:0 4px 20px #42f2f71a;transition:all .3s ease}.search-method:hover{transform:translateY(-4px);box-shadow:0 8px 30px #42f2f733;border-color:#36c7cc}.method-icon{font-size:2rem;color:#42f2f7}.method-info h4{margin:0 0 .5rem;color:#2c3e50;font-size:1.2rem;font-weight:600}.method-info p{margin:0;color:#6c757d;font-size:.9rem}.barcode-search-form,.manual-search-form{position:relative}.barcode-search-form input,.manual-search-form input{width:100%;padding:.75rem 2.5rem .75rem 1rem;border:2px solid #42F2F7;border-radius:8px;font-size:1rem;transition:all .3s ease}.barcode-search-form input:focus,.manual-search-form input:focus{outline:none;border-color:#36c7cc;box-shadow:0 0 0 3px #42f2f733}.barcode-icon,.search-icon{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);color:#42f2f7;font-size:1.2rem;pointer-events:none;z-index:1}.list-select{width:100%;padding:.75rem;border:2px solid #42F2F7;border-radius:8px;font-size:1rem;background:white;transition:all .3s ease}.list-select:focus{outline:none;border-color:#36c7cc;box-shadow:0 0 0 3px #42f2f733}@media (max-width: 1024px){.search-methods{grid-template-columns:1fr;gap:1.5rem}}@media (max-width: 768px){.search-method{padding:1rem}.method-header{flex-direction:column;text-align:center;gap:.5rem}.method-icon{font-size:1.5rem}}.repair-summary-card{background:linear-gradient(135deg,#ffffff,#f8f9fa);border-radius:16px;padding:2rem;margin-bottom:2rem;border:3px solid #42F2F7;box-shadow:0 8px 32px #42f2f726;transition:all .3s ease}.repair-summary-card:hover{transform:translateY(-2px);box-shadow:0 12px 40px #42f2f733}.summary-header{display:flex;align-items:center;gap:1.5rem;margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:2px solid #e9ecef}.client-avatar{width:60px;height:60px;background:linear-gradient(135deg,#42F2F7,#36c7cc);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2rem;color:#fff;box-shadow:0 4px 16px #42f2f74d}.client-details{flex:1}.client-details h4{margin:0 0 .5rem;font-size:1.5rem;font-weight:700;color:#2c3e50}.client-details p{margin:0 0 .75rem;font-size:1.1rem;color:#6c757d;font-weight:500}.repair-id{text-align:right;background:linear-gradient(135deg,#42F2F7,#36c7cc);color:#fff;padding:.75rem 1rem;border-radius:8px;box-shadow:0 2px 8px #42f2f74d}.id-label{display:block;font-size:.8rem;opacity:.9;margin-bottom:.25rem}.id-value{display:block;font-size:1.1rem;font-weight:700}.detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin-bottom:2rem}.detail-item{display:flex;align-items:center;gap:1rem;padding:1rem;background:white;border-radius:12px;border:2px solid #e9ecef;transition:all .3s ease}.detail-item:hover{border-color:#42f2f7;box-shadow:0 4px 16px #42f2f71a}.detail-icon{font-size:1.5rem;color:#42f2f7}.detail-content{flex:1}.detail-label{display:block;font-size:.9rem;color:#6c757d;margin-bottom:.25rem;font-weight:500}.detail-value{display:block;font-size:1rem;color:#2c3e50;font-weight:600}.pricing-summary{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:12px;padding:1.5rem;border:2px solid #42F2F7}.price-value{font-weight:600;color:#28a745;font-size:1.1rem}.total-price-item .price-label,.total-price-item .price-value{color:#fff;font-weight:700}.total-amount{font-size:1.3rem!important}.completion-section{background:white;border-radius:12px;padding:2rem;border:2px solid #42F2F7;box-shadow:0 4px 20px #42f2f71a}.final-price-adjustment .modern-label{font-size:1.1rem;font-weight:600;color:#2c3e50;margin-bottom:.75rem}.field-note{color:#6c757d;font-style:italic;margin-top:.5rem}@media (max-width: 768px){.summary-header{flex-direction:column;text-align:center;gap:1rem}.detail-grid{grid-template-columns:1fr;gap:1rem}.repair-id{text-align:center}.client-avatar{width:50px;height:50px;font-size:1.5rem}}@media (max-width: 768px){.completion-options{grid-template-columns:1fr;gap:1.5rem}.option-form .form-row{grid-template-columns:1fr;gap:1rem}.repair-completion-modal{width:98%;max-height:95vh}.repair-completion-container{padding:1rem}.search-controls{flex-direction:column;gap:1rem}.search-input-group{max-width:100%}.repairs-table-container{overflow-x:auto}.repairs-table{min-width:800px}}.product-search-row,.purchase-product-search-row{margin-bottom:1rem;padding:.75rem;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:8px;border:1px solid #dee2e6}.search-input-container{position:relative;width:100%;max-width:400px}.product-search-input{width:100%;padding:.75rem 2.5rem .75rem 1rem;border:2px solid #42F2F7;border-radius:8px;font-size:1rem;transition:all .3s ease;background:white;box-shadow:0 2px 4px #0000001a}.product-search-input:focus{outline:none;border-color:#36c7cc;box-shadow:0 0 0 3px #42f2f733;transform:translateY(-1px)}.product-search-input::placeholder{color:#6c757d;font-style:italic}.search-input-container .search-icon{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);color:#42f2f7;font-size:1.2rem;pointer-events:none;z-index:1}[dir=rtl] .search-input-container .search-icon{right:auto;left:.75rem}[dir=rtl] .product-search-input{padding:.75rem 1rem .75rem 2.5rem}.searchable-select-container{position:relative;width:100%}.searchable-select-input{width:100%;padding:.75rem 2.5rem .75rem 1rem;border:2px solid #42F2F7;border-radius:8px;font-size:1rem;transition:all .3s ease;background:white;box-shadow:0 2px 4px #0000001a;cursor:text;box-sizing:border-box}.searchable-select-input:focus{outline:none;border-color:#36c7cc;box-shadow:0 0 0 3px #42f2f733;transform:translateY(-1px)}.searchable-select-input::placeholder{color:#6c757d;font-style:italic}.search-dropdown-icon{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);color:#42f2f7;font-size:1.2rem;pointer-events:none;z-index:1}.searchable-dropdown{position:absolute;top:100%;left:0;right:0;background:white;border:2px solid #42F2F7;border-top:none;border-radius:0 0 8px 8px;max-height:300px;overflow-y:auto;z-index:1000;box-shadow:0 4px 12px #00000026;margin-top:-2px}.dropdown-option{padding:.75rem 1rem;cursor:pointer;transition:all .2s ease;border-bottom:1px solid #f1f3f4;font-size:.95rem;word-wrap:break-word;overflow-wrap:break-word}.dropdown-option:hover{background:linear-gradient(135deg,#42F2F7,#36c7cc);color:#fff;transform:translate(2px)}.dropdown-option:last-child{border-bottom:none}.new-product-option{background:linear-gradient(135deg,#28a745,#20c997);color:#fff;font-weight:600;border-top:2px solid #dee2e6}.new-product-option:hover{background:linear-gradient(135deg,#218838,#1e7e34);transform:translate(4px)}@media (max-width: 768px){.searchable-select-input{padding:.6rem 2rem .6rem .8rem;font-size:.9rem}.search-dropdown-icon{right:.5rem;font-size:1rem}.searchable-dropdown{max-height:250px}.dropdown-option{padding:.6rem .8rem;font-size:.85rem}}@media (max-width: 480px){.searchable-select-input{padding:.5rem 1.8rem .5rem .7rem;font-size:.85rem}.search-dropdown-icon{right:.4rem;font-size:.9rem}.searchable-dropdown{max-height:200px}.dropdown-option{padding:.5rem .7rem;font-size:.8rem}}[dir=rtl] .search-dropdown-icon{right:auto;left:.75rem}[dir=rtl] .searchable-select-input{padding:.75rem 1rem .75rem 2.5rem}[dir=rtl] .dropdown-option:hover{transform:translate(-2px)}[dir=rtl] .new-product-option:hover{transform:translate(-4px)}.client-recovery-modal{max-width:1200px;width:95%;max-height:90vh;overflow-y:auto}.client-recovery-modal .modal-header{background:#ffffff!important;border:2px solid #c73e1d!important;border-radius:12px!important;color:#3b1f2b!important;padding:10px 16px!important;box-shadow:0 2px 8px #00000014!important}.client-recovery-modal .modal-header h2{color:#3b1f2b!important;font-size:1.1rem!important;font-weight:700!important;margin:0!important;text-shadow:none!important}.client-recovery-modal .modal-header p{color:#3b1f2b!important;font-size:1.1rem;margin:0}.client-recovery-container{padding:2rem;background:linear-gradient(135deg,#fff8e1,#ffeaa7)}.recovery-scanner-section{background:white;border-radius:16px;padding:2rem;margin-bottom:2rem;border:3px solid #f39c12;box-shadow:0 8px 32px #f39c1233}.scanner-visual{text-align:center;margin-bottom:2rem}.scanner-frame{display:flex;align-items:center;justify-content:center;gap:2rem;padding:2rem;border:3px dashed #f39c12;border-radius:16px;background:linear-gradient(135deg,#fff8e1,#ffeaa7)}.scanner-icon{font-size:4rem;color:#f39c12}.scanner-text h3{font-size:1.5rem;font-weight:700;color:#333;margin:0 0 .5rem}.scanner-text p{font-size:1rem;color:#666;margin:0}.scanner-actions{display:flex;flex-direction:column;gap:1rem;align-items:center}.modern-scanner-btn{padding:1.5rem 3rem;font-size:1.3rem;font-weight:700;border-radius:16px;border:none;background:linear-gradient(135deg,#f39c12,#e67e22);color:#fff;cursor:pointer;transition:all .3s ease;box-shadow:0 8px 24px #f39c124d}.modern-scanner-btn:hover{transform:translateY(-4px);box-shadow:0 12px 36px #f39c1266}.manual-search{width:100%;max-width:500px;display:flex;flex-direction:column;gap:1rem}.repair-status-select{width:100%;padding:1rem;border:2px solid #00b9ae;border-radius:12px;font-size:1rem;font-weight:600;background:white;transition:all .3s ease}.repair-status-select:focus{outline:none;border-color:#037171;box-shadow:0 0 0 3px #00b9ae33}.repair-status-select optgroup{font-weight:700;color:#00b9ae}.repair-status-select option{padding:.5rem;font-weight:500}.manual-search-input{width:100%;padding:1rem;border:2px solid #00b9ae;border-radius:12px;font-size:1rem;font-weight:500;text-align:center;transition:all .3s ease}.manual-search-input:focus{outline:none;border-color:#037171;box-shadow:0 0 0 3px #00b9ae33}.recovery-summary{background:white;border-radius:16px;padding:2rem;border:3px solid #f39c12;box-shadow:0 8px 32px #f39c1233}.summary-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid #f39c12}.summary-header h3{font-size:1.5rem;font-weight:700;color:#333;margin:0}.summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:2rem}.summary-card{background:#f8f9fa;border-radius:12px;border:2px solid #f39c12;overflow:hidden}.summary-card.total-card{grid-column:1 / -1;background:linear-gradient(135deg,#fff8e1,#ffeaa7)}.card-header{background:linear-gradient(135deg,#f39c12,#e67e22);color:#fff;padding:1rem}.card-header h4{margin:0;font-size:1.2rem;font-weight:700}.card-content{padding:1.5rem}.info-item{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding:.5rem 0;border-bottom:1px solid #eee}.info-item:last-child{border-bottom:none;margin-bottom:0}.info-item.total-item{font-size:1.2rem;font-weight:700;border:2px solid #f39c12;padding:1rem;border-radius:8px;background:white}.info-item .label{font-weight:600;color:#666}.info-item .value{font-weight:700;color:#333}.total-price{color:#f39c12!important;font-size:1.3rem!important}.recovery-actions{text-align:center}.final-price-section{background:white;border:2px solid #00b9ae;border-radius:12px;padding:1.5rem;margin-bottom:2rem;text-align:left}.final-price-section label{display:block;font-weight:700;color:#00b9ae;margin-bottom:.5rem;font-size:1.1rem}.final-price-input{width:100%;padding:1rem;border:2px solid #00b9ae;border-radius:8px;font-size:1.1rem;font-weight:600;text-align:center;transition:all .3s ease}.final-price-input:focus{outline:none;border-color:#037171;box-shadow:0 0 0 3px #00b9ae33}.final-price-section small{display:block;color:#666;font-style:italic;margin-top:.5rem;text-align:center}.suppliers-parts-reparation-section{margin-top:3rem;background:white;border-radius:16px;padding:2rem;box-shadow:0 8px 32px #0000001a;border:2px solid #00b9ae}.suppliers-parts-reparation-section .section-header{background:linear-gradient(135deg,#037171,#03312e);color:#fff;padding:1.8rem;border-radius:16px;margin-bottom:2rem;box-shadow:0 8px 32px #0371714d;display:flex;justify-content:space-between;align-items:center;position:relative;overflow:hidden}.suppliers-parts-reparation-section .section-header:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,transparent 0%,rgba(255,255,255,.1) 100%);pointer-events:none}.suppliers-parts-reparation-section .section-header h2{color:#fff!important;font-size:1.8rem;font-weight:800;margin:0;text-shadow:2px 2px 4px rgba(0,0,0,.3);letter-spacing:-.3px}.suppliers-parts-reparation-section .header-title{flex:1}.suppliers-parts-reparation-section .header-subtitle{margin:.5rem 0 0;font-size:1rem;opacity:.9;color:#fff;font-weight:500}.suppliers-parts-reparation-section .header-actions{display:flex;align-items:center;gap:.8rem}.suppliers-parts-reparation-section .header-actions .btn-modern{padding:.6rem 1.2rem;border-radius:12px;font-size:.9rem;font-weight:600;border:none;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:.5rem;box-shadow:0 2px 8px #0000001a}.suppliers-parts-reparation-section .header-actions .btn-modern:hover{transform:translateY(-2px);box-shadow:0 4px 16px #0003}.suppliers-parts-reparation-section .header-actions .btn-modern .btn-icon{font-size:1rem}.suppliers-parts-reparation-section .header-actions .btn-modern .btn-text{font-size:.85rem}.suppliers-parts-reparation-section .section-header-ltr{direction:ltr;text-align:left}.suppliers-parts-reparation-section .section-header-rtl{direction:rtl;text-align:right}@media (max-width: 1200px){.suppliers-parts-reparation-section .section-header{flex-direction:column;gap:1.5rem;text-align:center}.suppliers-parts-reparation-section .header-actions{flex-wrap:wrap;justify-content:center;gap:.6rem}.suppliers-parts-reparation-section .header-actions .btn-modern{padding:.5rem 1rem;font-size:.85rem}}@media (max-width: 768px){.suppliers-parts-reparation-section .section-header{padding:1.5rem}.suppliers-parts-reparation-section .section-header h2{font-size:1.4rem}.suppliers-parts-reparation-section .header-subtitle{font-size:.85rem}.suppliers-parts-reparation-section .header-actions{flex-direction:column;gap:.5rem;width:100%}.suppliers-parts-reparation-section .header-actions .btn-modern{padding:.6rem 1rem;font-size:.8rem;width:100%;justify-content:center}}.supplier-row{cursor:pointer;transition:all .3s ease}.supplier-row:hover{background:white;transform:translateY(-1px);box-shadow:0 4px 12px #00b9ae26}.credit-amount{color:#037171!important;font-size:1.2rem}.suppliers-parts-reparation-section .data-table thead{background:linear-gradient(135deg,#037171,#03312e)}.suppliers-parts-reparation-section .data-table thead th{background:transparent;color:#fff!important;font-weight:700;font-size:1rem;padding:1.2rem 1rem;text-align:center;border:none;text-shadow:1px 1px 2px rgba(0,0,0,.2)}.recovery-btn{padding:1.5rem 3rem;font-size:1.3rem;font-weight:700;border-radius:16px;border:none;margin-bottom:2rem;transition:all .3s ease}.recovery-btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0003}.thermal-print-options{background:#f8f9fa;border-radius:12px;padding:1.5rem;border:2px solid #f39c12}.thermal-print-options p{font-weight:600;color:#666;margin:0 0 1rem;text-align:center}.print-actions{display:flex;gap:1rem;justify-content:center}.print-actions .btn{padding:1rem 2rem;font-weight:600;border-radius:12px;border:none;transition:all .3s ease}.print-actions .btn:hover{transform:translateY(-2px);box-shadow:0 4px 16px #0003}@media (max-width: 768px){.summary-grid{grid-template-columns:1fr}.scanner-frame{flex-direction:column;gap:1rem}.print-actions{flex-direction:column}.client-recovery-modal{width:98%;max-height:95vh}.client-recovery-container{padding:1rem}}.modern-repair-modal{max-width:1000px;width:95%;max-height:90vh;overflow-y:auto;border-radius:20px;box-shadow:0 20px 60px #0000004d}.nouveau-bon-modal{max-width:1200px;width:95%;max-height:95vh;border-radius:24px;box-shadow:0 25px 80px #00000040;background:white;overflow:hidden;scrollbar-width:none;-ms-overflow-style:none}.nouveau-bon-modal::-webkit-scrollbar{display:none}.nouveau-bon-modal.lang-en,.nouveau-bon-modal.lang-fr{max-width:1600px;width:90%;max-height:85vh;direction:ltr}.nouveau-bon-modal.lang-en .nouveau-form,.nouveau-bon-modal.lang-fr .nouveau-form{display:grid;grid-template-columns:1fr 1fr;gap:2rem;padding:2rem;direction:ltr}.nouveau-bon-modal.lang-en .nouveau-form-actions,.nouveau-bon-modal.lang-fr .nouveau-form-actions{grid-column:1 / -1;direction:ltr}.nouveau-bon-modal.lang-en .form-grid,.nouveau-bon-modal.lang-fr .form-grid{grid-template-columns:1fr 1fr;gap:2rem}.nouveau-bon-modal.lang-en .modern-radio-group,.nouveau-bon-modal.lang-fr .modern-radio-group{display:flex;gap:2rem;flex-direction:row}.nouveau-bon-modal.lang-en *,.nouveau-bon-modal.lang-fr *{direction:ltr;text-align:left}.nouveau-bon-modal.lang-en .header-content,.nouveau-bon-modal.lang-fr .header-content{text-align:left}.nouveau-bon-modal.lang-en .modern-close,.nouveau-bon-modal.lang-fr .modern-close{right:1.5rem;left:auto}.modern-overlay{background:rgba(0,0,0,.6);backdrop-filter:blur(8px)}.nouveau-header,.modal-header.nouveau-header,.modal-header-ltr.nouveau-header{background:#0E9594!important;color:#fff!important;padding:2rem;border-bottom:none;position:sticky!important;top:0!important;z-index:1000!important;width:100%!important}.header-content{display:flex;align-items:center;gap:1.5rem}.header-icon{font-size:3rem;opacity:.9;color:#fff!important}.header-text h2,.nouveau-header .header-text h2,.reparation-header .header-text h2,.recuperation-header .header-text h2,.modal-header.nouveau-header .header-text h2,.modal-header.reparation-header .header-text h2,.modal-header.recuperation-header .header-text h2,.modal-header-ltr.nouveau-header .header-text h2,.modal-header-ltr.reparation-header .header-text h2,.modal-header-ltr.recuperation-header .header-text h2{margin:0!important;font-size:2.2rem!important;font-weight:800!important;color:#fff!important;text-shadow:1px 1px 2px rgba(0,0,0,.3)!important}.header-text p,.nouveau-header .header-text p,.reparation-header .header-text p,.recuperation-header .header-text p,.modal-header.nouveau-header .header-text p,.modal-header.reparation-header .header-text p,.modal-header.recuperation-header .header-text p,.modal-header-ltr.nouveau-header .header-text p,.modal-header-ltr.reparation-header .header-text p,.modal-header-ltr.recuperation-header .header-text p{margin:.5rem 0 0!important;opacity:.9!important;font-size:1.1rem!important;color:#fff!important}.modern-close{position:absolute;top:1.5rem;right:1.5rem;background:rgba(255,255,255,.2);border:none;color:#fff;font-size:2rem;width:50px;height:50px;border-radius:50%;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center}.modern-close:hover{background:rgba(255,255,255,.3);transform:scale(1.1)}.nouveau-form-container{padding:0;background:#f8f9fa;max-height:calc(95vh - 120px);overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;position:relative}.nouveau-form-container::-webkit-scrollbar{display:none}.nouveau-form{padding:2rem;display:flex;flex-direction:column;gap:2rem}.form-section{background:white;border-radius:16px;padding:2rem;box-shadow:0 4px 20px #00000014;border:1px solid #e9ecef}.section-title{display:flex;align-items:center;gap:1rem;margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid #f1f3f4}.section-icon{font-size:1.8rem;color:#00b9ae}.section-title h3{margin:0;font-size:1.4rem;font-weight:700;color:#333}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-bottom:1.5rem}.modern-label{font-weight:600;color:#495057;font-size:.95rem;margin-bottom:.5rem}.modern-input,.modern-select,.modern-textarea{padding:1rem;border:2px solid #e9ecef;border-radius:12px;font-size:1rem;transition:all .3s ease;background:white;font-family:inherit}.modern-input:focus,.modern-select:focus,.modern-textarea:focus{outline:none;border-color:#00b9ae;box-shadow:0 0 0 3px #00b9ae1a}.readonly-input{background:#f8f9fa!important;color:#6c757d;cursor:not-allowed}.edit-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem;margin-top:1rem}.form-field{display:flex;flex-direction:column;gap:.5rem}.form-field.full-width{grid-column:1 / -1}.form-actions{grid-column:1 / -1;display:flex;justify-content:center;gap:1rem;margin-top:2rem;padding-top:1.5rem;border-top:2px solid #e9ecef}.field-note{font-size:.85rem;color:#6c757d;font-style:italic;margin-top:.25rem}.price-input{font-weight:600;color:#2c3e50}.price-input:focus{border-color:#28a745;box-shadow:0 0 0 3px #28a7451a}.barcode-input{font-family:Courier New,monospace;font-weight:700;letter-spacing:1px}.input-with-currency{position:relative;display:flex;align-items:center}.price-input{padding-right:4rem!important}.currency{position:absolute;right:1rem;color:#6c757d;font-weight:600;font-size:.9rem}.payment-status-section{margin-top:1rem}.modern-radio-group{display:flex;gap:2rem;margin-top:1rem}.modern-radio{display:flex;align-items:center;gap:.75rem;cursor:pointer;padding:1rem;border:2px solid #e9ecef;border-radius:12px;transition:all .3s ease;background:white;flex:1}.modern-radio:hover{border-color:#00b9ae;background:rgba(0,185,174,.05)}.modern-radio input[type=radio]{display:none}.radio-checkmark{width:20px;height:20px;border:2px solid #dee2e6;border-radius:50%;position:relative;transition:all .3s ease}.modern-radio input[type=radio]:checked+.radio-checkmark{border-color:#00b9ae;background:#00b9ae}.modern-radio input[type=radio]:checked+.radio-checkmark:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:8px;height:8px;background:white;border-radius:50%}.radio-text{font-weight:500;color:#495057}.modern-radio input[type=radio]:checked~.radio-text{color:#00b9ae;font-weight:600}.nouveau-form-actions{display:flex;gap:1rem;justify-content:center;padding:2rem;background:white;border-top:1px solid #e9ecef;margin:0 -2rem -2rem;border-radius:0 0 24px 24px}.btn-modern{display:flex;align-items:center;gap:.75rem;padding:1rem 2rem;border:none;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;min-width:180px;justify-content:center}.btn-primary{background:linear-gradient(135deg,#498C8A,#3a7270);color:#fff}.btn-primary:hover{background:linear-gradient(135deg,#3a7270,#2d5856);transform:translateY(-2px);box-shadow:0 8px 25px #498c8a4d}.btn-secondary{background:#6c757d;color:#fff}.btn-secondary:hover{background:#5a6268;transform:translateY(-2px);box-shadow:0 8px 25px #6c757d4d}.btn-icon{font-size:1.2rem}.btn-text{font-weight:600}.nouveau-bon-modal.lang-ar{max-width:1600px;width:90%;max-height:85vh;direction:rtl}.nouveau-bon-modal.lang-ar .nouveau-form{display:grid;grid-template-columns:1fr 1fr;gap:2rem;padding:2rem;direction:rtl}.nouveau-bon-modal.lang-ar .nouveau-form-actions{grid-column:1 / -1;direction:rtl}.nouveau-bon-modal.lang-ar .form-grid{grid-template-columns:1fr 1fr;gap:2rem}.nouveau-bon-modal.lang-ar .modern-radio-group{display:flex;gap:2rem;flex-direction:row}.nouveau-bon-modal.lang-ar *{direction:rtl;text-align:right}.nouveau-bon-modal.lang-ar .header-content{text-align:right}.nouveau-bon-modal.lang-ar .modern-close{left:1.5rem;right:auto}@media (max-width: 768px){.nouveau-bon-modal.lang-ar,.nouveau-bon-modal.lang-en,.nouveau-bon-modal.lang-fr{width:95%;max-width:1600px;max-height:85vh}}.reparation-terminee-modal{max-width:1400px;width:95%;max-height:95vh;border-radius:24px;box-shadow:0 25px 80px #00000040;background:white;overflow:hidden;scrollbar-width:none;-ms-overflow-style:none}.reparation-terminee-modal::-webkit-scrollbar{display:none}.reparation-terminee-modal.lang-ar{max-width:1800px;width:90%;max-height:85vh;direction:rtl}.reparation-terminee-modal.lang-ar *{direction:rtl;text-align:right}.reparation-terminee-modal.lang-ar .outcome-options{display:grid;grid-template-columns:1fr 1fr;gap:3rem}.reparation-terminee-modal.lang-ar .repairs-grid{grid-template-columns:repeat(3,1fr)}.reparation-terminee-modal.lang-ar .modern-close{left:1.5rem;right:auto}.reparation-terminee-modal.lang-en,.reparation-terminee-modal.lang-fr{max-width:1800px;width:90%;max-height:85vh;direction:ltr}.reparation-terminee-modal.lang-en *,.reparation-terminee-modal.lang-fr *{direction:ltr;text-align:left}.reparation-terminee-modal.lang-en .outcome-options,.reparation-terminee-modal.lang-fr .outcome-options{display:grid;grid-template-columns:1fr 1fr;gap:3rem}.reparation-terminee-modal.lang-en .repairs-grid,.reparation-terminee-modal.lang-fr .repairs-grid{grid-template-columns:repeat(3,1fr)}.reparation-terminee-modal.lang-en .modern-close,.reparation-terminee-modal.lang-fr .modern-close{right:1.5rem;left:auto}.reparation-header,.modal-header.reparation-header,.modal-header-ltr.reparation-header{background:#ffffff!important;border:2px solid #c73e1d!important;border-radius:12px!important;color:#3b1f2b!important;padding:16px 20px!important;box-shadow:0 2px 8px #00000014!important;position:sticky;top:0;z-index:100}.reparation-container{padding:0;background:#f8f9fa;max-height:calc(95vh - 120px);overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none}.reparation-container::-webkit-scrollbar{display:none}.step-section{padding:2rem;background:white;margin:2rem;border-radius:16px;box-shadow:0 4px 20px #00000014;border:1px solid #e9ecef}.step-header{display:flex;align-items:center;gap:1.5rem;margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:2px solid #f1f3f4;position:relative}.step-number{width:50px;height:50px;background:linear-gradient(135deg,#46ACC2,#3a8fa3);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700;flex-shrink:0}.step-info h3{margin:0;font-size:1.5rem;font-weight:700;color:#333}.step-info p{margin:.5rem 0 0;color:#6c757d;font-size:1rem}.btn-back{position:absolute;right:0;top:50%;transform:translateY(-50%);background:#6c757d;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;transition:all .3s ease;font-weight:500}.btn-back:hover{background:#5a6268;transform:translateY(-50%) translateY(-2px)}.empty-state{text-align:center;padding:4rem 2rem;color:#6c757d}.empty-icon{font-size:4rem;margin-bottom:1rem;opacity:.5}.empty-state h4{margin:0 0 1rem;font-size:1.3rem;color:#495057}.empty-state p{margin:0;font-size:1rem}.repairs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem}.repair-card{background:white;border:2px solid #e9ecef;border-radius:16px;padding:1.5rem;cursor:pointer;transition:all .3s ease;position:relative;overflow:hidden}.repair-card:hover{border-color:#00b9ae;transform:translateY(-4px);box-shadow:0 8px 30px #00b9ae26}.card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.client-info h4{margin:0;font-size:1.2rem;font-weight:700;color:#333}.device-name{color:#6c757d;font-size:.9rem;font-weight:500}.repair-price{font-size:1.1rem;font-weight:700;color:#00b9ae}.card-body{margin-bottom:1rem}.problem-desc{color:#495057;font-size:.95rem;line-height:1.4;margin:0 0 1rem}.card-meta{display:flex;justify-content:space-between;align-items:center}.repair-date{color:#6c757d;font-size:.85rem}.card-action{display:flex;align-items:center;justify-content:space-between;padding-top:1rem;border-top:1px solid #f1f3f4;color:#00b9ae;font-weight:600}.action-arrow{font-size:1.2rem;transition:transform .3s ease}.repair-card:hover .action-arrow{transform:translate(4px)}.selected-repair-summary{display:flex;align-items:center;gap:1.5rem;background:linear-gradient(135deg,#00b9ae,#037171);color:#fff;padding:1.5rem;border-radius:12px;margin-bottom:2rem}.summary-icon{font-size:2.5rem;opacity:.9}.summary-info h4{margin:0;font-size:1.3rem;font-weight:700;color:#fff}.summary-info p{margin:.25rem 0;opacity:.9}.original-price{background:rgba(255,255,255,.2);padding:.5rem 1rem;border-radius:8px;font-weight:600;margin-top:.5rem;display:inline-block}.outcome-options{display:grid;grid-template-columns:1fr 1fr;gap:2rem}.outcome-card{background:white;border:2px solid #e9ecef;border-radius:16px;overflow:hidden;transition:all .3s ease}.success-card{border-color:#28a7454d}.success-card:hover{border-color:#28a745;box-shadow:0 8px 30px #28a74526}.failure-card{border-color:#dc35454d}.failure-card:hover{border-color:#dc3545;box-shadow:0 8px 30px #dc354526}.outcome-header{display:flex;align-items:center;gap:1rem;padding:1.5rem;border-bottom:1px solid #f1f3f4}.outcome-icon{font-size:2rem;flex-shrink:0}.success-icon{color:#28a745}.failure-icon{color:#dc3545}.outcome-info h4{margin:0;font-size:1.2rem;font-weight:700;color:#333}.outcome-info p{margin:.5rem 0 0;color:#6c757d;font-size:.9rem}.outcome-form{padding:1.5rem}.full-width{grid-column:1 / -1}.field-note{color:#6c757d;font-size:.85rem;margin-top:.5rem;display:block}.btn-success{background:linear-gradient(135deg,#28a745,#20c997)}.btn-success:hover{background:linear-gradient(135deg,#218838,#1e7e34)}.btn-danger{background:linear-gradient(135deg,#dc3545,#c82333)}.btn-danger:hover{background:linear-gradient(135deg,#c82333,#bd2130)}.scanner-search-row{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-bottom:2rem}.scanner-search-row .barcode-scanner-section,.scanner-search-row .search-filter-section,.scanner-search-row .pickup-barcode-section,.scanner-search-row .pickup-filter-section{background:white;border-radius:12px;padding:1.5rem;box-shadow:0 4px 20px #00000014;border:1px solid #e9ecef}.reparation-terminee-modal .pickup-barcode-section{background:linear-gradient(135deg,#46ACC2,#3a8fa3);color:#fff}.reparation-terminee-modal .pickup-barcode-section .scanner-header h4,.reparation-terminee-modal .pickup-barcode-section .scanner-header p{color:#fff}.reparation-terminee-modal .pickup-filter-section{background:white;border:2px solid #46ACC2}.recuperation-client-modal .pickup-barcode-section{background:linear-gradient(135deg,#42F2F7,#36c7cc);color:#fff}.recuperation-client-modal .pickup-barcode-section .scanner-header h4,.recuperation-client-modal .pickup-barcode-section .scanner-header p{color:#fff}.recuperation-client-modal .pickup-filter-section{background:white;border:2px solid #42F2F7}.reparation-table-fixed{background:white;border-radius:12px;box-shadow:0 4px 20px #00000014;border:1px solid #e9ecef;overflow:hidden}.table-wrapper-fixed{position:relative}.table-header-fixed{background:linear-gradient(135deg,#46ACC2,#3a8fa3);color:#fff;position:sticky;top:0;z-index:10}.table-header-fixed th{padding:1rem;font-weight:600;text-align:left;border-bottom:none}.table-body-scrollable{max-height:280px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#46ACC2 #f8f9fa}.table-body-scrollable::-webkit-scrollbar{width:6px}.table-body-scrollable::-webkit-scrollbar-track{background:#f8f9fa}.table-body-scrollable::-webkit-scrollbar-thumb{background:#46ACC2;border-radius:3px}.table-header-hidden{visibility:hidden;height:0}.table-header-hidden th{padding:0;border:none;height:0}.reparation-fixed-table{width:100%;table-layout:fixed}.reparation-fixed-table th:nth-child(1),.reparation-fixed-table td:nth-child(1){width:20%}.reparation-fixed-table th:nth-child(2),.reparation-fixed-table td:nth-child(2){width:18%}.reparation-fixed-table th:nth-child(3),.reparation-fixed-table td:nth-child(3){width:25%}.reparation-fixed-table th:nth-child(4),.reparation-fixed-table td:nth-child(4){width:15%}.reparation-fixed-table th:nth-child(5),.reparation-fixed-table td:nth-child(5){width:12%}.reparation-fixed-table th:nth-child(6),.reparation-fixed-table td:nth-child(6){width:10%}.recuperation-fixed-table{width:100%;table-layout:fixed}.recuperation-fixed-table th:nth-child(1),.recuperation-fixed-table td:nth-child(1){width:18%}.recuperation-fixed-table th:nth-child(2),.recuperation-fixed-table td:nth-child(2){width:16%}.recuperation-fixed-table th:nth-child(3),.recuperation-fixed-table td:nth-child(3){width:16%;white-space:nowrap}.recuperation-fixed-table th:nth-child(4),.recuperation-fixed-table td:nth-child(4){width:14%}.recuperation-fixed-table th:nth-child(5),.recuperation-fixed-table td:nth-child(5){width:14%}.recuperation-fixed-table th:nth-child(6),.recuperation-fixed-table td:nth-child(6){width:14%}.recuperation-fixed-table th:nth-child(7),.recuperation-fixed-table td:nth-child(7){width:8%}.parts-price-cell,.interest-rate-cell{text-align:center;font-weight:600}.parts-price{color:#46acc2;font-weight:700}.interest-rate{color:#42f2f7;font-weight:700}.reparation-fixed-table td,.recuperation-fixed-table td{padding:1rem .75rem;vertical-align:middle;border-bottom:1px solid #e9ecef;height:56px}.reparation-fixed-table th,.recuperation-fixed-table th{padding:1rem .75rem;font-weight:600;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.client-info,.device-cell{display:flex;flex-direction:column;gap:.25rem}.client-name,.device-name{font-weight:600;color:#2c3e50}.client-phone,.device-type{font-size:.85rem;color:#6c757d}.problem-desc{font-size:.9rem;line-height:1.3;color:#495057}.repair-price,.total-amount{font-weight:700;color:#28a745}.deposit-date{font-size:.9rem;color:#6c757d}.pickup-repairs-table-container{background:white;border-radius:12px;box-shadow:0 4px 20px #00000014;border:1px solid #e9ecef;overflow:hidden}.pickup-repairs-table-container .table-header-fixed{background:linear-gradient(135deg,#42F2F7,#36c7cc);color:#fff}.pickup-repairs-table-container .table-body-scrollable::-webkit-scrollbar-thumb{background:#42F2F7}.repair-orders-table-container{background:white;border-radius:12px;box-shadow:0 4px 20px #00000014;border:1px solid #e9ecef;overflow:hidden}.repair-orders-table-container .table-header-fixed,.repair-orders-table-container .table-header-fixed th{background:linear-gradient(135deg,#498C8A,#3a7270);color:#fff}.repair-orders-table-container .table-body-scrollable::-webkit-scrollbar-thumb{background:#498C8A}.repair-orders-table-container{width:100%!important;overflow-x:auto!important;overflow-y:auto!important;max-height:400px!important;border:1px solid #e9ecef!important;border-radius:8px!important;background:white!important;box-shadow:0 2px 8px #0000001a!important}.repair-orders-table-container .data-table{min-width:1200px!important;width:100%!important}.repair-orders-table-container .table-body-scrollable{max-height:350px!important;overflow-y:auto!important;overflow-x:visible!important}.repair-orders-table-container th:last-child,.repair-orders-table-container td:last-child{width:200px!important;min-width:200px!important;position:sticky!important;right:0!important;background:white!important;border-left:1px solid #e9ecef!important;z-index:10!important}.repair-orders-fixed-table{width:100%;table-layout:fixed}.repair-orders-fixed-table th:nth-child(1),.repair-orders-fixed-table td:nth-child(1){width:10%}.repair-orders-fixed-table th:nth-child(2),.repair-orders-fixed-table td:nth-child(2){width:15%}.repair-orders-fixed-table th:nth-child(3),.repair-orders-fixed-table td:nth-child(3){width:15%}.repair-orders-fixed-table th:nth-child(4),.repair-orders-fixed-table td:nth-child(4){width:20%}.repair-orders-fixed-table th:nth-child(5),.repair-orders-fixed-table td:nth-child(5){width:12%}.repair-orders-fixed-table th:nth-child(6),.repair-orders-fixed-table td:nth-child(6){width:12%}.repair-orders-fixed-table th:nth-child(7),.repair-orders-fixed-table td:nth-child(7){width:10%}.repair-orders-fixed-table th:nth-child(8),.repair-orders-fixed-table td:nth-child(8){width:6%}.suppliers-table-container{background:white;border-radius:12px;box-shadow:0 4px 20px #00000014;border:1px solid #e9ecef;overflow:hidden;max-height:450px;overflow-y:auto;overflow-x:auto;position:relative}.suppliers-table-container .table-header-fixed{background:linear-gradient(135deg,#00b9ae,#008a82);color:#fff;position:sticky;top:0;z-index:15;box-shadow:0 2px 4px #00000026}.suppliers-fixed-table thead th{position:sticky;top:0;z-index:15;background:linear-gradient(135deg,#00b9ae,#008a82);color:#fff;box-shadow:0 2px 4px #00000026}.suppliers-table-container .table-body-scrollable::-webkit-scrollbar-thumb{background:#00b9ae}.suppliers-fixed-table{width:100%;table-layout:fixed}.suppliers-fixed-table th:nth-child(1),.suppliers-fixed-table td:nth-child(1){width:30%}.suppliers-fixed-table th:nth-child(2),.suppliers-fixed-table td:nth-child(2){width:25%}.suppliers-fixed-table th:nth-child(3),.suppliers-fixed-table td:nth-child(3){width:25%}.suppliers-fixed-table th:nth-child(4),.suppliers-fixed-table td:nth-child(4){width:20%}.suppliers-fixed-table .action-buttons-group{display:flex;flex-wrap:wrap;gap:.3rem;justify-content:center;align-items:center}.suppliers-fixed-table .action-buttons-group .btn-primary{background:#00b9ae!important;color:#fff!important;border:1px solid #00b9ae!important}.suppliers-fixed-table .action-buttons-group .btn-primary:hover{background:#008a82!important;border-color:#008a82!important;transform:translateY(-1px);box-shadow:0 2px 4px #00b9ae4d}.suppliers-fixed-table .action-buttons-group .btn-danger{background:#dc3545!important;color:#fff!important;border:1px solid #dc3545!important}.suppliers-fixed-table .action-buttons-group .btn-danger:hover{background:#c82333!important;border-color:#c82333!important;transform:translateY(-1px);box-shadow:0 2px 4px #dc35454d}.suppliers-fixed-table .action-buttons-group .btn{padding:.4rem .6rem;font-size:.9rem;border-radius:6px;border:none;cursor:pointer;transition:all .2s ease;min-width:32px;height:32px;display:flex;align-items:center;justify-content:center}.suppliers-fixed-table .action-buttons-group .btn:hover{transform:translateY(-1px);box-shadow:0 2px 8px #00000026}.supplier-info{display:flex;align-items:center;gap:.5rem}.supplier-icon{font-size:1.1rem}.supplier-name{font-weight:600;color:#037171}.credit-amount{font-weight:600;font-size:1.1rem;color:#037171}.transactions-info{display:flex;flex-direction:column;align-items:center;gap:.2rem}.transaction-count{font-weight:600;font-size:1.1rem;color:#037171}.transaction-label{font-size:.8rem;color:#666}@media (max-width: 1200px){.scanner-search-row{grid-template-columns:1fr;gap:1rem}.reparation-fixed-table,.recuperation-fixed-table,.suppliers-fixed-table{font-size:.9rem}.reparation-fixed-table th,.reparation-fixed-table td,.recuperation-fixed-table th,.recuperation-fixed-table td,.suppliers-fixed-table th,.suppliers-fixed-table td{padding:.75rem .5rem}.suppliers-fixed-table .action-buttons-group{gap:.2rem}.suppliers-fixed-table .action-buttons-group .btn{padding:.3rem .5rem;font-size:.8rem;min-width:28px;height:28px}.supplier-info{gap:.3rem}.supplier-name{font-size:.9rem}.credit-amount,.transaction-count{font-size:1rem}.reparation-terminee-modal.lang-ar .outcome-options{grid-template-columns:1fr;gap:1.5rem}}@media (max-width: 768px){.reparation-terminee-modal,.recuperation-client-modal{width:98%;max-height:98vh;margin:1vh auto}.reparation-terminee-modal .reparation-header,.reparation-terminee-modal .modal-header.reparation-header,.reparation-terminee-modal .modal-header-ltr.reparation-header,.recuperation-client-modal .recuperation-header,.recuperation-client-modal .modal-header.recuperation-header,.recuperation-client-modal .modal-header-ltr.recuperation-header{padding:1.5rem!important}.reparation-terminee-modal .reparation-header,.reparation-terminee-modal .modal-header.reparation-header,.reparation-terminee-modal .modal-header-ltr.reparation-header,.recuperation-client-modal .recuperation-header,.recuperation-client-modal .modal-header.recuperation-header,.recuperation-client-modal .modal-header-ltr.recuperation-header{background:#ffffff!important;border:2px solid #c73e1d!important;border-radius:12px!important;color:#3b1f2b!important;box-shadow:0 2px 8px #00000014!important}.table-body-scrollable{max-height:220px}.reparation-fixed-table,.recuperation-fixed-table{font-size:.8rem}.reparation-fixed-table th,.reparation-fixed-table td,.recuperation-fixed-table th,.recuperation-fixed-table td{padding:.5rem .25rem;min-width:80px}.reparation-fixed-table th:nth-child(3),.reparation-fixed-table td:nth-child(3){display:none}.recuperation-fixed-table th:nth-child(4),.recuperation-fixed-table td:nth-child(4),.recuperation-fixed-table th:nth-child(5),.recuperation-fixed-table td:nth-child(5){display:none}.reparation-fixed-table th:nth-child(1),.reparation-fixed-table td:nth-child(1){width:30%}.reparation-fixed-table th:nth-child(2),.reparation-fixed-table td:nth-child(2){width:25%}.reparation-fixed-table th:nth-child(4),.reparation-fixed-table td:nth-child(4){width:20%}.reparation-fixed-table th:nth-child(5),.reparation-fixed-table td:nth-child(5){width:15%}.reparation-fixed-table th:nth-child(6),.reparation-fixed-table td:nth-child(6){width:10%}.recuperation-fixed-table th:nth-child(1),.recuperation-fixed-table td:nth-child(1){width:25%}.recuperation-fixed-table th:nth-child(2),.recuperation-fixed-table td:nth-child(2){width:20%}.recuperation-fixed-table th:nth-child(3),.recuperation-fixed-table td:nth-child(3){width:15%}.recuperation-fixed-table th:nth-child(6),.recuperation-fixed-table td:nth-child(6){width:20%}.recuperation-fixed-table th:nth-child(7),.recuperation-fixed-table td:nth-child(7){width:12%}.recuperation-fixed-table th:nth-child(8),.recuperation-fixed-table td:nth-child(8){width:8%}.reparation-terminee-modal.lang-ar,.reparation-terminee-modal.lang-en,.reparation-terminee-modal.lang-fr{width:95%;max-width:1800px;max-height:85vh}}.recuperation-client-modal{max-width:1400px;width:95%;max-height:95vh;border-radius:24px;box-shadow:0 25px 80px #00000040;background:white;overflow:hidden;scrollbar-width:none;-ms-overflow-style:none}.recuperation-client-modal::-webkit-scrollbar{display:none}.recuperation-client-modal.lang-ar{max-width:1800px;width:90%;max-height:85vh;direction:rtl}.recuperation-client-modal.lang-ar *{direction:rtl;text-align:right}.recuperation-client-modal.lang-ar .search-methods,.recuperation-client-modal.lang-ar .detail-grid{grid-template-columns:repeat(3,1fr)}.recuperation-client-modal.lang-en,.recuperation-client-modal.lang-fr{max-width:1800px;width:90%;max-height:85vh;direction:ltr}.recuperation-client-modal.lang-en *,.recuperation-client-modal.lang-fr *{direction:ltr;text-align:left}.recuperation-client-modal.lang-en .search-methods,.recuperation-client-modal.lang-fr .search-methods,.recuperation-client-modal.lang-en .detail-grid,.recuperation-client-modal.lang-fr .detail-grid{grid-template-columns:repeat(3,1fr)}.recuperation-header,.modal-header.recuperation-header,.modal-header-ltr.recuperation-header{background:#ffffff!important;border:2px solid #c73e1d!important;border-radius:12px!important;color:#3b1f2b!important;padding:16px 20px!important;box-shadow:0 2px 8px #00000014!important;position:sticky;top:0;z-index:100}.recuperation-container{padding:0;background:#f8f9fa;max-height:calc(95vh - 120px);overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none}.recuperation-container::-webkit-scrollbar{display:none}.search-methods{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:2rem}.search-method{background:white;border:2px solid #e9ecef;border-radius:16px;padding:2rem;transition:all .3s ease}.search-method:hover{border-color:#17a2b8;transform:translateY(-4px);box-shadow:0 8px 30px #17a2b826}.method-header{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem}.method-icon{font-size:2rem;color:#17a2b8}.method-info h4{margin:0;font-size:1.2rem;font-weight:700;color:#333}.method-info p{margin:.25rem 0 0;color:#6c757d;font-size:.9rem}.method-btn{width:100%;justify-content:center;padding:1.25rem}.manual-search-form{margin-top:1rem}.search-input{width:100%;font-size:1.1rem;padding:1.25rem}.list-select{width:100%;font-size:1rem;padding:1.25rem}.repair-summary-card{background:white;border-radius:16px;overflow:hidden;box-shadow:0 4px 20px #00000014;border:1px solid #e9ecef;margin-bottom:2rem}.summary-header{display:flex;align-items:center;gap:1.5rem;padding:2rem;background:linear-gradient(135deg,#42F2F7,#36c7cc);color:#fff;position:relative}.client-avatar{width:60px;height:60px;background:rgba(255,255,255,.2);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2rem;flex-shrink:0}.client-details h4{margin:0;font-size:1.5rem;font-weight:700;color:#fff}.client-details p{margin:.25rem 0;opacity:.9;font-size:1rem}.repair-id{position:absolute;top:1rem;right:2rem;text-align:right}.id-label{display:block;font-size:.8rem;opacity:.8;margin-bottom:.25rem}.id-value{font-family:Courier New,monospace;font-weight:700;font-size:.9rem}.summary-details{padding:2rem}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:2rem}.detail-item{display:flex;align-items:center;gap:1rem;padding:1rem;background:#f8f9fa;border-radius:12px}.detail-icon{font-size:1.5rem;color:#17a2b8}.detail-content{display:flex;flex-direction:column}.detail-label{font-size:.85rem;color:#6c757d;font-weight:500}.detail-value{font-size:1rem;color:#333;font-weight:600;margin-top:.25rem}.pricing-summary{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:12px;padding:1.5rem}.price-breakdown{display:flex;flex-direction:column;gap:1rem}.price-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0}.price-item:not(:last-child){border-bottom:1px solid #dee2e6}.price-label{font-weight:500;color:#495057}.price-value{font-weight:600;color:#333;font-size:1.1rem}.total-price-item{background:linear-gradient(135deg,#42F2F7,#36c7cc);color:#fff;padding:1rem;border-radius:8px;margin-top:.5rem}.total-price-item .price-label,.total-price-item .price-value{color:#fff}.total-amount{font-size:1.3rem!important;font-weight:700!important}.completion-section{background:white;border-radius:16px;padding:2rem;box-shadow:0 4px 20px #00000014;border:1px solid #e9ecef}.final-price-adjustment{margin-bottom:2rem}.completion-actions{display:flex;gap:1rem;align-items:center}.completion-btn{flex:2;padding:1.5rem;font-size:1.1rem;font-weight:700}.print-options{flex:1}.print-btn{width:100%;padding:1.5rem}@media (max-width: 768px){.recuperation-client-modal.lang-ar,.recuperation-client-modal.lang-en,.recuperation-client-modal.lang-fr{width:95%;max-width:1800px;max-height:85vh}}.modern-section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding:2rem;background:linear-gradient(135deg,#00b9ae,#037171);border-radius:16px;color:#fff;box-shadow:0 8px 32px #00b9ae4d}.header-title h2{margin:0;font-size:1.8rem;font-weight:800;color:#fff!important;text-shadow:1px 1px 2px rgba(0,0,0,.3)}.header-subtitle{margin:.5rem 0 0;opacity:.9;font-size:1rem;color:#fff}.header-actions{display:flex;gap:1rem;align-items:center}.modern-table-container{background:white;border-radius:16px;overflow:hidden;box-shadow:0 4px 20px #00000014;border:1px solid #e9ecef}.modern-suppliers-table{width:100%;border-collapse:collapse}.modern-suppliers-table thead{background:linear-gradient(135deg,#f8f9fa,#e9ecef)}.modern-suppliers-table thead th{padding:1.5rem;font-weight:700;color:#333;text-align:left;border-bottom:2px solid #dee2e6;font-size:1rem}.table-rtl .modern-suppliers-table thead th{text-align:right}.modern-supplier-row{transition:all .3s ease;cursor:pointer;border-bottom:1px solid #f1f3f4}.modern-supplier-row:hover{background:linear-gradient(135deg,rgba(0,185,174,.05),rgba(3,113,113,.05));transform:translateY(-2px);box-shadow:0 4px 15px #00b9ae1a}.modern-supplier-row td{padding:1.5rem;vertical-align:middle}.supplier-info{display:flex;align-items:center;gap:1rem}.supplier-icon{font-size:1.5rem;color:#00b9ae}.supplier-name{font-size:1.1rem;color:#333;font-weight:600}.credit-amount{font-size:1.2rem;font-weight:700;color:#00b9ae;background:rgba(0,185,174,.1);padding:.5rem 1rem;border-radius:8px;display:inline-block}.transactions-info{display:flex;flex-direction:column;align-items:flex-start}.table-rtl .transactions-info{align-items:flex-end}.transaction-count{font-size:1.3rem;font-weight:700;color:#333}.transaction-label{font-size:.85rem;color:#6c757d;margin-top:.25rem}.modern-actions{display:flex;gap:.75rem;justify-content:flex-start}.table-rtl .modern-actions{justify-content:flex-end}.btn-action{width:40px;height:40px;border:none;border-radius:10px;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;font-size:1.2rem}.btn-view{background:linear-gradient(135deg,#17a2b8,#20c997);color:#fff}.btn-view:hover{background:linear-gradient(135deg,#138496,#1e7e34);transform:scale(1.1)}.btn-print{background:linear-gradient(135deg,#6c757d,#495057);color:#fff}.btn-print:hover{background:linear-gradient(135deg,#5a6268,#343a40);transform:scale(1.1)}.empty-state-inline{display:flex;align-items:center;justify-content:center;gap:1rem;padding:3rem;color:#6c757d}.empty-icon{font-size:2.5rem;opacity:.5}.empty-text{font-size:1.1rem;font-weight:500}@media (max-width: 1200px){.modern-section-header{flex-direction:column;gap:1.5rem;text-align:center}.header-actions{flex-direction:column;width:100%}.btn-modern{width:100%}}@media (max-width: 768px){.modern-section-header{padding:1.5rem}.header-title h2{font-size:1.5rem}.modern-suppliers-table thead th,.modern-supplier-row td{padding:1rem}.supplier-info{flex-direction:column;align-items:flex-start;gap:.5rem}.table-rtl .supplier-info{align-items:flex-end}.modern-actions{flex-direction:column;gap:.5rem}.btn-action{width:35px;height:35px;font-size:1rem}}.modern-repair-actions-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:2rem;margin:3rem 0;padding:0 2rem}.actions-ltr{direction:ltr}.actions-rtl{direction:rtl}.big-action-btn{display:flex;align-items:center;gap:2rem;padding:3rem 2rem;border:none;border-radius:20px;cursor:pointer;transition:all .3s ease;text-align:left;min-height:150px;box-shadow:0 8px 32px #0000001a;position:relative;overflow:hidden}.actions-rtl .big-action-btn{text-align:right}.big-action-btn:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,transparent 0%,rgba(255,255,255,.1) 100%);pointer-events:none}.big-action-btn:hover{transform:translateY(-8px);box-shadow:0 16px 48px #0003}.big-btn-icon{font-size:4rem;flex-shrink:0;opacity:.9}.debt-payment-modal{max-width:900px;max-height:90vh;overflow-y:auto}.customer-debt-info{margin-bottom:20px}.customer-debt-info .info-card{background:#f8f9fa;border:1px solid #dee2e6;border-radius:8px;padding:15px}.customer-debt-info .info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px;margin-top:10px}.customer-debt-info .info-item{display:flex;justify-content:space-between;align-items:center;padding:5px 0}.debt-amount{color:#dc3545;font-weight:700;font-size:1.1em}.debt-invoices-section{margin-bottom:20px}.debt-invoices-section .section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.debt-invoices-section h3{margin:0;color:#495057}.no-debt-invoices{text-align:center;padding:40px;color:#6c757d;background:#f8f9fa;border-radius:8px}.invoices-table-container{max-height:300px;overflow-y:auto;border:1px solid #dee2e6;border-radius:8px}.debt-invoices-table{width:100%;border-collapse:collapse}.debt-invoices-table th,.debt-invoices-table td{padding:12px;text-align:left;border-bottom:1px solid #dee2e6}.debt-invoices-table th{background:#f8f9fa;font-weight:600;position:sticky;top:0;z-index:1}.debt-invoices-table tbody tr:hover{background:#f8f9fa}.debt-invoices-table tbody tr.selected{background:#e3f2fd}.debt-invoices-table .payment-method.credit{background:#ffeaa7;color:#d63031;padding:4px 8px;border-radius:4px;font-size:.85em;font-weight:600}.payment-details-section{background:#f8f9fa;border:1px solid #dee2e6;border-radius:8px;padding:20px;margin-bottom:20px}.payment-details-section h3{margin:0 0 15px;color:#495057}.payment-summary{background:white;border:1px solid #dee2e6;border-radius:6px;padding:15px;margin-bottom:20px}.payment-summary .summary-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #eee}.payment-summary .summary-row:last-child{border-bottom:none;font-weight:700;font-size:1.1em}.payment-summary .amount{color:#28a745;font-weight:700}.payment-form .form-row{display:flex;gap:15px;margin-bottom:15px}.payment-form .form-group{flex:1}.payment-form .form-group.full-width{flex:100%}.payment-form label{display:block;margin-bottom:5px;font-weight:600;color:#495057}.payment-form .form-control{width:100%;padding:10px;border:1px solid #ced4da;border-radius:4px;font-size:14px}.payment-form .form-control:focus{outline:none;border-color:#80bdff;box-shadow:0 0 0 .2rem #007bff40}.payment-form .form-control:disabled{background-color:#e9ecef;opacity:1}.payment-form input[type=checkbox]{margin-right:8px;transform:scale(1.2)}.debt-payment-modal[dir=rtl] .customer-debt-info .info-item,.debt-payment-modal[dir=rtl] .debt-invoices-section .section-header{flex-direction:row-reverse}.debt-payment-modal[dir=rtl] .debt-invoices-table th,.debt-payment-modal[dir=rtl] .debt-invoices-table td{text-align:right}.debt-payment-modal[dir=rtl] .payment-form input[type=checkbox]{margin-right:0;margin-left:8px}.customer-debt-selection-modal{max-width:800px;max-height:80vh;overflow-y:auto}.search-section{margin-bottom:20px}.search-input-group{position:relative}.search-input{width:100%;padding:12px 45px 12px 15px;border:2px solid #dee2e6;border-radius:8px;font-size:16px;transition:border-color .3s ease}.search-input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 .2rem #007bff40}.search-icon{position:absolute;right:15px;top:50%;transform:translateY(-50%);color:#6c757d;font-size:18px}.customers-debt-list{max-height:400px;overflow-y:auto}.no-customers-message{text-align:center;padding:40px 20px}.empty-state,.no-results{display:flex;flex-direction:column;align-items:center;gap:15px}.empty-icon,.no-results-icon{font-size:4rem;opacity:.5}.empty-state h3,.no-results h3{margin:0;color:#495057;font-size:1.5rem}.empty-state p,.no-results p{margin:0;color:#6c757d;font-size:1rem}.customers-grid{display:flex;flex-direction:column;gap:15px}.customer-debt-card{display:flex;align-items:center;gap:15px;padding:20px;border:2px solid #dee2e6;border-radius:12px;cursor:pointer;transition:all .3s ease;background:white}.customer-debt-card:hover{border-color:#007bff;box-shadow:0 4px 12px #007bff26;transform:translateY(-2px)}.customer-avatar{width:50px;height:50px;border-radius:50%;background:linear-gradient(135deg,#007bff,#0056b3);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700;flex-shrink:0}.customer-info{flex:1}.customer-name{margin:0 0 5px;font-size:1.2rem;font-weight:600;color:#2c3e50}.customer-phone{margin:0 0 3px;color:#6c757d;font-size:.95rem}.customer-email{margin:0;color:#6c757d;font-size:.9rem}.debt-info{text-align:center;padding:10px 15px;background:#f8f9fa;border-radius:8px;border:1px solid #dee2e6}.debt-label{font-size:.8rem;color:#6c757d;margin-bottom:5px;text-transform:uppercase;font-weight:600}.debt-amount{font-size:1.1rem;font-weight:700;color:#dc3545}.select-arrow{font-size:1.5rem;color:#007bff;font-weight:700}.customer-debt-selection-modal[dir=rtl] .search-icon{right:auto;left:15px}.customer-debt-selection-modal[dir=rtl] .customer-debt-card{flex-direction:row-reverse}.customer-debt-selection-modal[dir=rtl] .select-arrow{transform:scaleX(-1)}.big-btn-content{flex:1}.big-btn-content h2{margin:0 0 1rem;font-size:1.8rem;font-weight:800;color:#fff;text-shadow:1px 1px 2px rgba(0,0,0,.3)}.big-btn-content p{margin:0;font-size:1.1rem;opacity:.9;color:#fff;line-height:1.4}.nouveau-bon-btn{background:linear-gradient(135deg,#498C8A,#3a7270);color:#fff}.nouveau-bon-btn:hover{background:linear-gradient(135deg,#3a7270,#2d5856)}.reparation-terminee-btn{background:linear-gradient(135deg,#46ACC2,#3a8fa3);color:#fff}.reparation-terminee-btn:hover{background:linear-gradient(135deg,#3a8fa3,#2e7282)}.waiting-client-btn{background:linear-gradient(135deg,#42F2F7,#36c7cc);color:#fff}.waiting-client-btn:hover{background:linear-gradient(135deg,#36c7cc,#2aa0a5)}@media (max-width: 1200px){.modern-repair-actions-row{grid-template-columns:1fr;gap:1.5rem}.big-action-btn{padding:2rem;min-height:120px}.big-btn-icon{font-size:3rem}.big-btn-content h2{font-size:1.5rem}.big-btn-content p{font-size:1rem}}@media (max-width: 768px){.modern-repair-actions-row{padding:0 1rem;gap:1rem}.big-action-btn{flex-direction:column;text-align:center;padding:1.5rem;gap:1rem;min-height:100px}.actions-rtl .big-action-btn{text-align:center}.big-btn-icon{font-size:2.5rem}.big-btn-content h2{font-size:1.3rem}.big-btn-content p{font-size:.9rem}}.repair-orders-header{display:flex;justify-content:space-between;align-items:center;margin:2rem 0 1.5rem;padding:1.8rem;background:linear-gradient(135deg,#00b9ae,#037171);border-radius:16px;color:#fff;box-shadow:0 8px 32px #00b9ae4d;position:relative;overflow:hidden}.repair-orders-header:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,transparent 0%,rgba(255,255,255,.1) 100%);pointer-events:none}.header-ltr{direction:ltr;text-align:left}.header-rtl{direction:rtl;text-align:right}.orders-title-section{flex:1}.orders-main-title{margin:0 0 1rem;font-size:1.8rem;font-weight:800;color:#fff;text-shadow:2px 2px 4px rgba(0,0,0,.3);letter-spacing:-.3px;font-family:Cairo,Tahoma,Arial Unicode MS,sans-serif!important;direction:rtl;text-align:right}.orders-subtitle{margin:0;font-size:1.2rem;opacity:.9;color:#fff;font-weight:500}.header-actions-section{display:flex;align-items:center;gap:.8rem}.header-actions-section .btn-modern{padding:.6rem 1.2rem;border-radius:12px;font-size:.9rem;font-weight:600;border:none;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:.5rem;box-shadow:0 2px 8px #0000001a}.header-actions-section .btn-modern:hover{transform:translateY(-2px);box-shadow:0 4px 16px #0003}.header-actions-section .btn-modern .btn-icon{font-size:1rem}.header-actions-section .btn-modern .btn-text{font-size:.85rem}.modern-table-filters{margin:2rem 0;padding:0 2rem}.filters-ltr{direction:ltr}.filters-rtl{direction:rtl}.filter-section{display:flex;gap:2rem;align-items:center;background:white;padding:1.5rem;border-radius:16px;box-shadow:0 4px 20px #00000014;border:1px solid #e9ecef}.search-filter{flex:2;position:relative;display:flex;align-items:center}.search-icon{position:absolute;left:1rem;font-size:1.2rem;color:#6c757d;z-index:1}.filters-rtl .search-icon{left:auto;right:1rem}.modern-search-input{width:100%;padding:1rem 1rem 1rem 3rem;border:2px solid #e9ecef;border-radius:12px;font-size:1rem;transition:all .3s ease;background:#f8f9fa;position:relative;z-index:2}.filters-rtl .modern-search-input{padding:1rem 3rem 1rem 1rem;text-align:right}.modern-search-input:focus{outline:none;border-color:#00b9ae;background:white;box-shadow:0 0 0 3px #00b9ae1a;z-index:3}.status-filter{flex:1}.modern-status-select{width:100%;padding:1rem;border:2px solid #e9ecef;border-radius:12px;font-size:1rem;font-weight:600;background:#f8f9fa;transition:all .3s ease;cursor:pointer}.modern-status-select:focus{outline:none;border-color:#00b9ae;background:white;box-shadow:0 0 0 3px #00b9ae1a}@media (max-width: 1200px){.repair-orders-header{flex-direction:column;gap:1.5rem;text-align:center}.orders-main-title{font-size:1.6rem}.orders-subtitle{font-size:.95rem}.header-actions-section{flex-wrap:wrap;justify-content:center;gap:.6rem}.header-actions-section .btn-modern{padding:.5rem 1rem;font-size:.85rem}.filter-section{flex-direction:column;gap:1.5rem}.search-filter,.status-filter{flex:none;width:100%}}@media (max-width: 768px){.repair-orders-header{margin:1.5rem 0 1rem;padding:1.5rem}.orders-main-title{font-size:1.4rem}.orders-subtitle{font-size:.85rem}.header-actions-section{flex-direction:column;gap:.5rem;width:100%}.header-actions-section .btn-modern{padding:.6rem 1rem;font-size:.8rem;width:100%;justify-content:center}.modern-table-filters{padding:0 1rem}.filter-section{padding:1rem}.modern-search-input,.modern-status-select{padding:.75rem;font-size:.9rem}.filters-rtl .modern-search-input{padding:.75rem 2.5rem .75rem .75rem}}.modern-repair-modal .modal-header{background:#ffffff!important;border:2px solid #c73e1d!important;border-radius:12px!important;color:#3b1f2b!important;padding:10px 16px!important;box-shadow:0 2px 8px #00000014!important;position:relative;overflow:hidden}.modern-repair-modal .modal-header:before{content:"";position:absolute;inset:0;background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');opacity:.3}.modern-repair-modal .modal-header h2{color:#3b1f2b!important;font-size:2.2rem;font-weight:700!important;margin:0 0 .5rem;position:relative;z-index:1;text-shadow:none!important}.modern-repair-modal .modal-header p{color:#ffffffe6;font-size:1.1rem;margin:0;position:relative;z-index:1}.modern-repair-modal .modal-close{position:relative;z-index:2;background:transparent!important;border:2px solid #c73e1d!important;color:#c73e1d!important;width:32px!important;height:32px!important;border-radius:50%;font-size:1.5rem;font-weight:700;cursor:pointer;transition:all .3s ease}.modern-repair-modal .modal-close:hover{background:#c73e1d!important;color:#fff!important;transform:scale(1.1)}.modern-repair-modal .repair-form-container{padding:3rem;background:white}.modern-repair-modal .form-row{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-bottom:2rem}.modern-repair-modal .form-group{margin-bottom:0}.modern-repair-modal .form-group.full-width{grid-column:1 / -1}.modern-repair-modal .form-group label{display:block;margin-bottom:.8rem;font-weight:700;font-size:1.1rem;color:#333;font-family:Cairo,sans-serif}.modern-repair-modal .form-group input,.modern-repair-modal .form-group select,.modern-repair-modal .form-group textarea{width:100%;padding:1.2rem;border:3px solid #00b9ae;border-radius:12px;font-size:1rem;font-weight:600;background:white;transition:all .3s ease;font-family:Cairo,sans-serif}.modern-repair-modal .form-group input:focus,.modern-repair-modal .form-group select:focus,.modern-repair-modal .form-group textarea:focus{outline:none;border-color:#037171;box-shadow:0 0 0 4px #00b9ae33;transform:translateY(-2px)}.modern-repair-modal .form-group input::placeholder,.modern-repair-modal .form-group textarea::placeholder{color:#999;font-weight:500}.modern-repair-modal .radio-group{display:flex;gap:1.5rem;flex-wrap:wrap}.modern-repair-modal .radio-option{display:flex;align-items:center;gap:.5rem;padding:1rem 1.5rem;background:white;border:3px solid #00b9ae;border-radius:12px;cursor:pointer;transition:all .3s ease;font-weight:600}.modern-repair-modal .radio-option:hover{background:white;transform:translateY(-2px);box-shadow:0 4px 12px #00b9ae4d}.modern-repair-modal .radio-option input[type=radio]{width:auto;margin:0;transform:scale(1.2)}.modern-repair-modal .form-actions{display:flex;gap:1.5rem;justify-content:center;margin-top:3rem;padding-top:2rem;border-top:3px solid #00b9ae}.modern-repair-modal .form-actions .btn{padding:1.5rem 3rem;font-size:1.2rem;font-weight:700;border-radius:16px;border:none;cursor:pointer;transition:all .3s ease;min-width:200px}.modern-repair-modal .form-actions .btn:hover{transform:translateY(-3px);box-shadow:0 8px 24px #0003}.modern-repair-modal .form-actions .btn-success{background:linear-gradient(135deg,#00b9ae,#037171);color:#fff}.modern-repair-modal .form-actions .btn-secondary{background:linear-gradient(135deg,#6c757d,#495057);color:#fff}@media (max-width: 768px){.modern-repair-modal .form-row{grid-template-columns:1fr;gap:1.5rem}.modern-repair-modal .radio-group,.modern-repair-modal .form-actions{flex-direction:column;gap:1rem}.modern-repair-modal{width:98%;max-height:95vh}.modern-repair-modal .repair-form-container{padding:1.5rem}.modern-repair-modal .modal-header{padding:2rem}}.status-badge{padding:.4rem .8rem;border-radius:20px;font-size:.85rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.status-inProcess{background:linear-gradient(135deg,#ffc107,#fd7e14);color:#fff}.status-waitingForClient{background:linear-gradient(135deg,#17a2b8,#20c997);color:#fff}.status-done,.status-notSuccess{background:linear-gradient(135deg,#dc3545,#c82333);color:#fff}.repair-modal{max-width:900px;width:95%;max-height:90vh;overflow-y:auto}.repair-form-container{padding:2rem}.repair-form-container .form-row{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:1.5rem}.repair-form-container .form-group.full-width{grid-column:1 / -1}.repair-form-container .form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:var(--text-primary);font-family:Cairo,sans-serif}.repair-form-container .form-group input,.repair-form-container .form-group select,.repair-form-container .form-group textarea{width:100%;padding:.75rem;border:2px solid var(--border-color);border-radius:8px;font-size:1rem;transition:all .3s ease;font-family:inherit}.repair-form-container .form-group input:focus,.repair-form-container .form-group select:focus,.repair-form-container .form-group textarea:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #007bff1a}.repair-form-container .readonly-field{background-color:var(--bg-secondary);color:var(--text-secondary);cursor:not-allowed}.repair-form-container .radio-group{display:flex;gap:1.5rem;flex-wrap:wrap}.repair-form-container .radio-option{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-weight:500}.repair-form-container .radio-option input[type=radio]{width:auto;margin:0}.repair-form-container .form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem;padding-top:1.5rem;border-top:2px solid var(--border-color)}.lang-ar .repair-form-container .form-group label{text-align:right;font-family:Cairo,sans-serif;font-weight:700}.lang-ar .repair-form-container .radio-group,.lang-ar .repair-form-container .radio-option{flex-direction:row-reverse}.lang-ar .repair-form-container .form-actions{justify-content:flex-start}@media (max-width: 768px){.repair-action-buttons{grid-template-columns:1fr;gap:1rem;padding:1rem}.repair-action-btn{padding:1.5rem;min-height:100px}.action-btn-icon{font-size:2.5rem}.action-btn-content h3{font-size:1.2rem}.action-btn-content p{font-size:.9rem}.repair-modal{width:98%;max-height:95vh}.repair-form-container{padding:1rem}.repair-form-container .form-row{grid-template-columns:1fr;gap:1rem;margin-bottom:1rem}.repair-form-container .radio-group{flex-direction:column;gap:1rem}.repair-form-container .form-actions{flex-direction:column;gap:.5rem}}.repair-status-modal{max-width:800px;width:95%}.repair-status-container{padding:2rem}.status-options{display:grid;grid-template-columns:1fr 1fr;gap:2rem}.status-option{padding:2rem;border-radius:16px;border:2px solid transparent;transition:all .3s ease}.success-option{background:linear-gradient(135deg,rgba(40,167,69,.1),rgba(32,201,151,.1));border-color:#28a7454d}.failure-option{background:linear-gradient(135deg,rgba(220,53,69,.1),rgba(232,62,140,.1));border-color:#dc35454d}.status-option:hover{transform:translateY(-2px);box-shadow:0 8px 25px #0000001a}.status-option h3{margin:0 0 1.5rem;font-size:1.3rem;font-weight:700;font-family:Cairo,sans-serif}.btn-large{padding:1rem 2rem;font-size:1.1rem;font-weight:600;width:100%;margin-top:1rem}.client-pickup-modal{max-width:700px;width:95%}.client-pickup-container{padding:2rem}.qr-scanner-section{text-align:center;padding:2rem;background:var(--card-bg);border-radius:16px;margin-bottom:2rem}.scanner-icon{font-size:4rem;margin-bottom:1rem;opacity:.8}.qr-scanner-section h3{margin:0 0 1rem;font-size:1.5rem;font-weight:700;color:var(--text-primary)}.qr-scanner-section p{margin:0 0 2rem;color:var(--text-secondary);font-size:1.1rem}.scanner-btn{padding:1rem 2rem;font-size:1.2rem;font-weight:600}.repair-summary{background:var(--card-bg);border-radius:16px;padding:2rem;border:2px solid var(--border-color)}.repair-summary h3{margin:0 0 1.5rem;font-size:1.4rem;font-weight:700;color:var(--text-primary);border-bottom:2px solid var(--border-color);padding-bottom:1rem}.summary-details{margin-bottom:2rem}.detail-row{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0;border-bottom:1px solid var(--border-color)}.detail-row:last-child{border-bottom:none}.detail-row .label{font-weight:600;color:var(--text-secondary)}.detail-row .value{font-weight:700;color:var(--text-primary)}.total-row{background:rgba(0,123,255,.1);padding:1rem;border-radius:8px;border:2px solid rgba(0,123,255,.2);margin-top:1rem}.total-row .label,.total-row .value{font-size:1.2rem;font-weight:700;color:var(--primary-color)}.pickup-actions{display:flex;gap:1rem;flex-wrap:wrap}.admin-confirmation-modal{max-width:500px;width:90%;border-radius:20px;box-shadow:0 20px 60px #0000004d;overflow:hidden}.admin-confirmation-modal .modal-header,.admin-confirmation-modal .modal-header-ltr{background:#ffffff!important;border:2px solid #c73e1d!important;border-radius:12px!important;color:#3b1f2b!important;padding:16px 20px!important;box-shadow:0 2px 8px #00000014!important;position:relative;overflow:hidden;border-bottom:none}.admin-confirmation-modal .modal-header h2,.admin-confirmation-modal .modal-header-ltr h2{color:#3b1f2b!important;font-size:1.8rem!important;font-weight:700!important;margin:0!important;text-shadow:none!important}.admin-confirmation-container{padding:2rem;background:linear-gradient(135deg,#f8f9fa,#e9ecef);text-align:center}.admin-confirmation-icon{font-size:4rem;color:#dc3545;margin-bottom:1rem}.admin-confirmation-message{font-size:1.2rem;font-weight:600;color:#333;margin-bottom:2rem;line-height:1.5}.admin-passcode-input{width:100%;padding:1.2rem;border:3px solid #dc3545;border-radius:12px;font-size:1.1rem;font-weight:600;text-align:center;background:white;margin-bottom:2rem;transition:all .3s ease;font-family:Cairo,sans-serif}.admin-passcode-input:focus{outline:none;border-color:#c82333;box-shadow:0 0 0 4px #dc354533;transform:translateY(-2px)}.admin-confirmation-actions{display:flex;gap:1rem;justify-content:center}.admin-confirmation-actions .btn{padding:1rem 2rem;font-size:1.1rem;font-weight:700;border-radius:12px;border:none;cursor:pointer;transition:all .3s ease;min-width:120px}.admin-confirmation-actions .btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #0003}.admin-confirmation-actions .btn-danger{background:linear-gradient(135deg,#dc3545,#c82333);color:#fff}.admin-confirmation-actions .btn-secondary{background:linear-gradient(135deg,#6c757d,#495057);color:#fff}.qr-scanner-modal{max-width:500px;width:95%}.qr-scanner-container{padding:2rem;text-align:center}.scanner-area{margin-bottom:2rem}.scanner-frame{position:relative;width:250px;height:250px;margin:0 auto 1rem;background:linear-gradient(135deg,rgba(0,123,255,.1),rgba(108,117,125,.1));border-radius:16px;display:flex;align-items:center;justify-content:center}.scanner-corners{position:absolute;inset:0}.corner{position:absolute;width:30px;height:30px;border:3px solid var(--primary-color)}.corner.top-left{top:10px;left:10px;border-right:none;border-bottom:none}.corner.top-right{top:10px;right:10px;border-left:none;border-bottom:none}.corner.bottom-left{bottom:10px;left:10px;border-right:none;border-top:none}.corner.bottom-right{bottom:10px;right:10px;border-left:none;border-top:none}.scanner-line{width:80%;height:2px;background:linear-gradient(90deg,transparent,var(--primary-color),transparent);animation:scannerMove 2s ease-in-out infinite}@keyframes scannerMove{0%,to{transform:translateY(-50px);opacity:0}50%{transform:translateY(0);opacity:1}}.manual-input-section{background:var(--card-bg);padding:1.5rem;border-radius:12px;border:2px solid var(--border-color)}.manual-input-section h4{margin:0 0 1rem;color:var(--text-primary)}.manual-input{width:100%;padding:.75rem;border:2px solid var(--border-color);border-radius:8px;margin-bottom:1rem;font-size:1rem}.manual-input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #007bff1a}@media (max-width: 768px){.status-options{grid-template-columns:1fr;gap:1rem}.status-option{padding:1.5rem}.pickup-actions{flex-direction:column}.scanner-frame{width:200px;height:200px}.detail-row{flex-direction:column;align-items:flex-start;gap:.5rem}}.repair-info-modal{max-width:1600px;width:95%;max-height:95vh;overflow-y:auto;min-width:1000px}.repair-info-modal .modal-header,.repair-info-modal .modal-header-ltr{background:#ffffff!important;border:2px solid #c73e1d!important;border-radius:12px!important;color:#3b1f2b!important;padding:16px 20px!important;box-shadow:0 2px 8px #00000014!important;display:flex;justify-content:space-between;align-items:center;position:relative;overflow:hidden;border-bottom:none}.repair-info-modal .modal-header h2,.repair-info-modal .modal-header-ltr h2{color:#3b1f2b!important;font-size:2rem!important;font-weight:700!important;margin:0!important;text-shadow:none!important}.modal-header-actions{display:flex;align-items:center;gap:1rem}.repair-info-container{padding:2rem;background:white;min-height:400px}.repair-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-bottom:30px;min-width:100%}.readonly-input{background-color:#f8f9fa!important;border:2px solid #e9ecef!important;color:#495057!important;cursor:default!important;pointer-events:none}.readonly-input.price-input{font-weight:600;color:#28a745!important}.readonly-input.total-price{font-weight:700;color:#007bff!important;background-color:#e3f2fd!important;border-color:#2196f3!important}.readonly-input.failure-text{color:#dc3545!important;background-color:#f8d7da!important;border-color:#f5c6cb!important}.readonly-input.barcode{font-family:Courier New,monospace;font-weight:700;letter-spacing:1px}.repair-info-modal[style*="direction: rtl"]{text-align:right}.repair-info-modal[style*="direction: ltr"]{text-align:left}.repair-info-modal[style*="direction: rtl"] .nouveau-form{direction:rtl;text-align:right}.repair-info-modal[style*="direction: ltr"] .nouveau-form{direction:ltr;text-align:left}.repair-info-modal[style*="direction: rtl"] .form-section{text-align:right}.repair-info-modal[style*="direction: ltr"] .form-section{text-align:left}.repair-info-modal[style*="direction: rtl"] .section-title{flex-direction:row-reverse;text-align:right}.repair-info-modal[style*="direction: ltr"] .section-title{flex-direction:row;text-align:left}.repair-info-modal[style*="direction: rtl"] .form-grid{direction:rtl}.repair-info-modal[style*="direction: ltr"] .form-grid{direction:ltr}.repair-info-modal[style*="direction: rtl"] .form-field{text-align:right}.repair-info-modal[style*="direction: ltr"] .form-field{text-align:left}.repair-info-modal[style*="direction: rtl"] .modern-label{text-align:right}.repair-info-modal[style*="direction: ltr"] .modern-label{text-align:left}.repair-info-modal[style*="direction: rtl"] .input-with-currency{flex-direction:row-reverse}.repair-info-modal[style*="direction: ltr"] .input-with-currency{flex-direction:row}@media (min-width: 1200px){.repair-info-modal{max-width:1400px}.nouveau-form,.form-section{padding:2.5rem}.section-title h3{font-size:1.6rem}.section-icon{font-size:2rem}.form-grid{gap:2.5rem}.modern-label{font-size:1.2rem}.modern-input,.readonly-input{padding:1rem;font-size:1rem}}.repair-info-modal .modal-header-actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.repair-info-modal .modal-header-actions .btn{white-space:nowrap;min-width:auto}.repair-info-modal .input-with-currency{position:relative;display:flex;align-items:center}.repair-info-modal .input-with-currency .currency{position:absolute;right:1rem;color:#666;font-weight:600;pointer-events:none}.repair-info-modal[style*="direction: rtl"] .input-with-currency .currency{right:auto;left:1rem}.repair-info-modal .form-field.full-width{grid-column:1 / -1}.repair-info-modal .readonly-input.status-paid{background-color:#d4edda!important;color:#155724!important;border-color:#c3e6cb!important}.repair-info-modal .readonly-input.status-unpaid{background-color:#f8d7da!important;color:#721c24!important;border-color:#f5c6cb!important}.repair-info-modal .readonly-input.status-partial{background-color:#fff3cd!important;color:#856404!important;border-color:#ffeaa7!important}.info-section{margin-bottom:2rem;background:var(--card-bg);border-radius:12px;padding:1.5rem;border:2px solid var(--border-color)}.info-section:last-child{margin-bottom:0}.info-section h3{margin:0 0 1.5rem;font-size:1.3rem;font-weight:700;color:var(--text-primary);border-bottom:2px solid var(--border-color);padding-bottom:.75rem;font-family:Cairo,sans-serif}.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.info-item{display:flex;flex-direction:column;gap:.5rem;padding:1rem;background:rgba(0,123,255,.05);border-radius:8px;border:1px solid rgba(0,123,255,.1)}.info-item.full-width{grid-column:1 / -1}.info-item.total-item{background:linear-gradient(135deg,rgba(40,167,69,.1),rgba(32,201,151,.1));border-color:#28a7454d;border-width:2px}.info-label{font-weight:600;color:var(--text-secondary);font-size:.9rem;text-transform:uppercase;letter-spacing:.5px}.info-value{font-weight:700;color:var(--text-primary);font-size:1.1rem;word-break:break-word}.info-value.price{color:var(--success-color);font-size:1.2rem}.info-value.total-price{color:var(--success-color);font-size:1.4rem;font-weight:800}.info-value.barcode{font-family:Courier New,monospace;background:var(--bg-secondary);padding:.5rem;border-radius:4px;font-size:1rem}.info-value.failure-text{color:var(--danger-color);font-style:italic}.info-value.status-badge{display:inline-block;padding:.4rem .8rem;border-radius:20px;font-size:.9rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.info-value.status-paid{background:linear-gradient(135deg,#28a745,#20c997);color:#fff}.info-value.status-partiallyPaid{background:linear-gradient(135deg,#ffc107,#fd7e14);color:#fff}.info-value.status-unpaid{background:linear-gradient(135deg,#dc3545,#e83e8c);color:#fff}.lang-ar .info-section h3{text-align:right;font-family:Cairo,sans-serif;font-weight:700}.lang-ar .info-item{text-align:right}.lang-ar .info-label,.lang-ar .info-value{font-family:Cairo,sans-serif;font-weight:700}@media (max-width: 1400px){.repair-info-modal{max-width:90%;width:90%;min-width:900px}}@media (max-width: 1024px){.repair-info-modal{max-width:95%;width:95%;min-width:800px}}@media (max-width: 768px){.repair-info-modal{width:98%;max-height:95vh;min-width:300px}.repair-info-container{padding:1rem}.repair-info-grid{grid-template-columns:1fr;gap:20px}.nouveau-form{padding:1rem;gap:1.5rem}.form-section{padding:1.5rem}.section-title{margin-bottom:1.5rem;padding-bottom:.75rem}.section-title h3{font-size:1.2rem}.form-grid{grid-template-columns:1fr;gap:1rem;margin-bottom:1rem}.form-field{gap:.4rem}.modern-label{font-size:1rem}.modern-input,.readonly-input{padding:.75rem;font-size:.9rem}.info-section{padding:1rem}.info-grid{grid-template-columns:1fr;gap:.75rem}.info-item{padding:.75rem}.modal-header-actions{flex-direction:column;gap:.5rem}.qr-display-modal{width:98%;max-height:95vh}.qr-display-modal .modal-header,.qr-display-modal .modal-header-ltr{padding:1.5rem!important}.qr-display-modal .modal-header h2,.qr-display-modal .modal-header-ltr h2{font-size:1.6rem!important}.qr-display-container{padding:1.5rem}.repair-info-modal .modal-header,.repair-info-modal .modal-header-ltr{padding:1.5rem!important}.repair-info-modal .modal-header h2,.repair-info-modal .modal-header-ltr h2{font-size:1.6rem!important}.admin-confirmation-modal{width:95%;max-height:90vh}.admin-confirmation-modal .modal-header,.admin-confirmation-modal .modal-header-ltr{padding:1.5rem!important}.admin-confirmation-modal .modal-header h2,.admin-confirmation-modal .modal-header-ltr h2{font-size:1.5rem!important}.admin-confirmation-container{padding:1.5rem}.admin-confirmation-actions{flex-direction:column;gap:.8rem}.admin-confirmation-actions .btn{width:100%}}.keyboard-shortcuts-section{margin:2rem 0;padding:1.5rem;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:12px;border:1px solid #dee2e6;box-shadow:0 4px 12px #0000001a}.shortcuts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem;max-width:100%}.shortcut-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:white;border-radius:8px;border:1px solid #e9ecef;box-shadow:0 2px 4px #0000000d;transition:all .3s ease}.shortcut-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026;border-color:#007bff}.shortcut-item kbd{background:linear-gradient(135deg,#495057,#6c757d);color:#fff;padding:.4rem .8rem;border-radius:6px;font-family:Courier New,monospace;font-weight:700;font-size:.85rem;min-width:50px;text-align:center;box-shadow:0 2px 4px #0003;border:1px solid #343a40}.shortcut-item span{font-weight:500;color:#495057;font-size:.9rem}.lang-ar .shortcuts-grid{direction:rtl}.lang-ar .shortcut-item{flex-direction:row-reverse}.lang-fr .shortcuts-grid,.lang-en .shortcuts-grid{direction:ltr}.lang-fr .shortcut-item,.lang-en .shortcut-item{flex-direction:row}.action-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem 1.5rem;border:none;border-radius:16px;cursor:pointer;transition:all .3s ease;position:relative;overflow:hidden;min-height:140px;font-family:inherit;box-shadow:0 4px 20px #0000001a}.action-btn:hover{transform:translateY(-4px);box-shadow:0 8px 30px #0003}.action-btn-sales{background:linear-gradient(135deg,#28a745,#20c997);color:#fff}.action-btn-product{background:linear-gradient(135deg,#17a2b8,#6f42c1);color:#fff}.action-btn-purchase{background:linear-gradient(135deg,#007bff,#6610f2);color:#fff}.btn-shortcut{position:absolute;top:12px;right:12px;background:rgba(255,255,255,.2);color:#fff;padding:.4rem .8rem;border-radius:8px;font-size:1rem;font-weight:700;font-family:Courier New,monospace;box-shadow:0 2px 4px #0003}.btn-icon{font-size:3rem;margin-bottom:.5rem}.btn-text{font-size:1rem;font-weight:600;text-align:center;line-height:1.3}.dashboard-scanner-section{margin:2rem 0;padding:2rem;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:16px;box-shadow:0 4px 20px #0000001a}.scanner-vertical-container{display:flex;flex-direction:column;gap:1.5rem;align-items:center;max-width:800px;margin:0 auto}.lang-fr .unified-frame,.lang-en .unified-frame{grid-template-areas:"scanner lcd"}.unified-frame .scanner-section{padding:1.5rem;display:flex;flex-direction:column;justify-content:space-between;position:relative;border-right:2px solid #1a252f}.lang-ar .unified-frame .scanner-section{border-right:none;border-left:2px solid #1a252f}.unified-frame{display:grid;grid-template-columns:1fr 1fr;gap:0;background:linear-gradient(135deg,#2c3e50,#34495e);border-radius:12px;border:3px solid #1a252f;box-shadow:0 8px 25px #0000004d;overflow:hidden;min-height:200px;max-width:1200px;margin:0 auto}.lang-fr .unified-frame,.lang-en .unified-frame{grid-template-areas:"lcd scanner"}.lang-fr .scanner-section,.lang-en .scanner-section{grid-area:scanner}.lang-fr .lcd-section,.lang-en .lcd-section{grid-area:lcd}.lang-ar .unified-frame{grid-template-areas:"lcd scanner"}.lang-ar .scanner-section{grid-area:scanner}.lang-ar .lcd-section{grid-area:lcd}.unified-frame .scanner-section{padding:1.5rem;display:flex;flex-direction:column;justify-content:space-between;position:relative}.lang-fr .unified-frame .lcd-section,.lang-en .unified-frame .lcd-section,.lang-ar .unified-frame .lcd-section{border-right:2px solid #1a252f}.unified-frame .lcd-section{padding:1.5rem;display:flex;flex-direction:column;justify-content:center}.unified-frame .scanner-section h3{margin:0 0 15px;color:#fff;display:flex;align-items:center;gap:10px;justify-content:center;font-size:1rem;font-weight:700;text-transform:uppercase;letter-spacing:1px;text-shadow:0 1px 3px rgba(0,0,0,.5)}.scanner-status-active{color:#00ff41!important;font-size:.9rem;font-weight:700;text-transform:uppercase;letter-spacing:1px;text-shadow:0 0 10px rgba(0,255,65,.8);animation:activeGlow 2s infinite alternate}@keyframes activeGlow{0%{text-shadow:0 0 10px rgba(0,255,65,.8);color:#00ff41}to{text-shadow:0 0 20px rgba(0,255,65,1);color:#3f6}}.unified-frame .barcode-input-container{position:relative;display:flex;align-items:center;margin:15px 0}.unified-frame .barcode-icon{position:absolute;left:15px;font-size:22px;color:#00ff41;pointer-events:none;z-index:2;text-shadow:0 0 10px rgba(0,255,65,.5)}.unified-frame .barcode-input{width:100%;padding:14px 16px 14px 55px;background:linear-gradient(135deg,#0f1419,#1a252f);border:2px solid #00ff41;border-radius:8px;font-size:16px;font-weight:600;color:#00ff41;font-family:Courier New,monospace;letter-spacing:1px;transition:all .3s ease;box-shadow:inset 0 2px 10px #00000080}.unified-frame .barcode-input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff40,inset 0 2px 10px #00000080;color:#fff;background:linear-gradient(135deg,#1a252f,#2c3e50)}.unified-frame .barcode-input::placeholder{color:#7fb3d3;font-style:italic}.unified-frame .barcode-actions{display:flex;gap:10px;margin-top:15px;justify-content:center}.unified-frame .barcode-actions .btn{padding:8px 16px;font-size:14px;border-radius:6px;font-weight:600;border:none;transition:all .3s ease;box-shadow:0 2px 8px #0003}.unified-frame .barcode-actions .btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000004d}.unified-frame .barcode-help{color:#b0c4de!important;text-shadow:0 1px 2px rgba(0,0,0,.5)}.scanner-row-container{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:stretch;max-width:1200px;margin:0 auto}.lang-ar .scanner-row-container{grid-template-areas:"scanner lcd"}.lang-ar .dashboard-barcode-scanner{grid-area:scanner}.lang-ar .dashboard-lcd-display{grid-area:lcd}.lang-fr .scanner-row-container,.lang-en .scanner-row-container{grid-template-areas:"scanner lcd"}.lang-fr .dashboard-barcode-scanner,.lang-en .dashboard-barcode-scanner{grid-area:scanner}.lang-fr .dashboard-lcd-display,.lang-en .dashboard-lcd-display{grid-area:lcd}.dashboard-scanner-lcd-unified{margin-bottom:2rem}.unified-scanner-lcd-container{display:grid;grid-template-columns:1fr 1fr;gap:0;background:linear-gradient(135deg,#2c3e50,#34495e);border-radius:12px;border:3px solid #1a252f;box-shadow:0 8px 25px #0000004d;overflow:hidden;min-height:200px;max-width:1200px;margin:0 auto}.lang-fr .unified-scanner-lcd-container,.lang-en .unified-scanner-lcd-container{grid-template-areas:"scanner lcd"}.lang-fr .barcode-scanner-section,.lang-en .barcode-scanner-section{grid-area:scanner}.lang-fr .lcd-display-section,.lang-en .lcd-display-section{grid-area:lcd}.lang-ar .unified-scanner-lcd-container{grid-template-areas:"lcd scanner"}.lang-ar .barcode-scanner-section{grid-area:scanner}.lang-ar .lcd-display-section{grid-area:lcd}.unified-scanner-lcd-container .barcode-scanner-section{padding:1.5rem;display:flex;flex-direction:column;justify-content:space-between;position:relative;border-right:2px solid #1a252f}.lang-ar .unified-scanner-lcd-container .barcode-scanner-section{border-right:none;border-left:2px solid #1a252f}.dashboard-barcode-scanner{background:rgb(49,69,89);padding:1.5rem;border-radius:12px;border:3px solid #1a252f;box-shadow:0 8px 25px #0000004d;min-height:200px;width:100%;display:flex;flex-direction:column;justify-content:space-between;position:relative}.dashboard-barcode-scanner:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(0,255,65,.1),rgba(0,123,255,.1));border-radius:8px;pointer-events:none}.dashboard-barcode-scanner h3{margin:0 0 15px;color:#00ff41;display:flex;align-items:center;gap:10px;justify-content:center;font-size:.9rem;font-weight:700;text-transform:uppercase;letter-spacing:1px;position:relative;z-index:1}.dashboard-barcode-scanner .barcode-input-container{position:relative;display:flex;align-items:center;margin:15px 0;z-index:1}.dashboard-barcode-scanner .barcode-icon{position:absolute;left:15px;font-size:22px;color:#00ff41;pointer-events:none;z-index:2;text-shadow:0 0 10px rgba(0,255,65,.5)}.dashboard-barcode-scanner .barcode-input{width:100%;padding:14px 16px 14px 55px;background:linear-gradient(135deg,#0f1419,#1a252f);border:2px solid #00ff41;border-radius:8px;font-size:16px;font-weight:600;color:#00ff41;font-family:Courier New,monospace;letter-spacing:1px;transition:all .3s ease;box-shadow:inset 0 2px 10px #00000080}.dashboard-barcode-scanner .barcode-input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff40,inset 0 2px 10px #00000080;color:#fff;background:linear-gradient(135deg,#1a252f,#2c3e50)}.dashboard-barcode-scanner .barcode-input::placeholder{color:#7fb3d3;font-style:italic}.dashboard-barcode-scanner .barcode-actions{display:flex;gap:10px;margin-top:15px;justify-content:center;z-index:1}.dashboard-barcode-scanner .barcode-actions .btn{padding:8px 16px;font-size:14px;border-radius:6px;font-weight:600;border:none;transition:all .3s ease;box-shadow:0 2px 8px #0003}.dashboard-barcode-scanner .barcode-actions .btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000004d}.dashboard-lcd-display{background:linear-gradient(135deg,#2c3e50,#34495e);border-radius:12px;padding:1.5rem;box-shadow:0 8px 25px #0000004d;border:3px solid #1a252f;min-height:200px}.lcd-screen{background:#0f1419;border-radius:8px;padding:1rem;min-height:160px;border:2px inset #2c3e50;box-shadow:inset 0 2px 10px #00000080;font-family:Courier New,monospace}.lcd-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:.5rem;border-bottom:1px solid #333;margin-bottom:1rem}.lcd-title{color:#00ff41;font-size:.9rem;font-weight:700;text-transform:uppercase;letter-spacing:1px}.lcd-status{color:#00ff41;font-size:1.2rem;animation:blink 2s infinite}@keyframes blink{0%,50%{opacity:1}51%,to{opacity:.3}}.lcd-content{display:flex;flex-direction:column;justify-content:center;min-height:80px}.product-display{text-align:left;width:100%;color:#00ff41}.product-name{color:#00ff41;font-size:1.1rem;font-weight:700;margin-bottom:.8rem;word-wrap:break-word;line-height:1.3;text-transform:uppercase;letter-spacing:.5px}.product-price-row,.product-quantity-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;padding:.3rem 0;border-bottom:1px dotted #333}.price-label,.qty-label{color:#7fb3d3;font-size:.9rem;font-weight:400}.product-price{color:#fff;font-size:1.3rem;font-weight:700;background:linear-gradient(135deg,#2c3e50,#34495e);padding:.3rem .8rem;border-radius:4px;border:1px solid #4a6741;text-align:center;min-width:120px}.product-price-display{text-align:center;margin:1rem 0}.product-price-big{color:#fff;font-size:2.2rem;font-weight:700;background:linear-gradient(135deg,#2c3e50,#34495e);padding:.8rem 1.2rem;border-radius:8px;border:2px solid #00ff41;text-align:center;min-width:200px;margin:0 auto;box-shadow:0 0 10px #00ff414d;animation:priceGlow 2s infinite alternate}@keyframes priceGlow{0%{box-shadow:0 0 10px #00ff414d}to{box-shadow:0 0 20px #00ff4199}}.placeholder-price-big{color:#444;font-size:2.2rem;font-weight:700;margin:1rem auto;background:#222;padding:.8rem 1.2rem;border-radius:8px;border:2px solid #333;text-align:center;min-width:200px}.product-quantity{color:#00ff41;font-size:1.1rem;font-weight:700;background:#1a252f;padding:.3rem .8rem;border-radius:4px;border:1px solid #00ff41;text-align:center;min-width:60px}.display-placeholder{text-align:center;width:100%;color:#666}.placeholder-text{color:#555;font-size:.9rem;margin-bottom:1rem;font-style:italic}.placeholder-price{color:#444;font-size:1.3rem;font-weight:700;margin-bottom:.5rem;background:#222;padding:.3rem .8rem;border-radius:4px;border:1px solid #333}.placeholder-quantity{color:#444;font-size:.9rem;font-weight:400}@media (max-width: 1024px){.action-btn{min-height:100px;padding:1.5rem 1rem}.btn-icon{font-size:2.5rem}.btn-text{font-size:.9rem}.btn-shortcut{font-size:.9rem;padding:.3rem .7rem}.unified-frame{grid-template-columns:1fr;grid-template-areas:"scanner" "lcd"!important;max-width:100%}.unified-frame .scanner-section,.unified-frame .lcd-section{border-right:none!important;border-left:none!important;border-bottom:2px solid #1a252f}.unified-frame .lcd-section{border-bottom:none}.scanner-row-container{grid-template-columns:1fr;gap:1.5rem;max-width:100%}.scanner-vertical-container{gap:1rem;max-width:100%}.dashboard-barcode-scanner,.dashboard-lcd-display{min-height:180px}.lcd-screen{min-height:140px}}@media (max-width: 768px){.action-btn{min-height:80px;padding:1rem}.btn-icon{font-size:2rem}.btn-text{font-size:.8rem}.btn-shortcut{font-size:.8rem;padding:.25rem .5rem;top:8px;right:8px}.unified-frame .scanner-section,.unified-frame .lcd-section{padding:1rem;min-height:160px}.unified-frame .scanner-section h3{font-size:.9rem}.unified-frame .barcode-input{font-size:14px;padding:12px 14px 12px 50px}.unified-frame .barcode-icon{font-size:18px;left:12px}.unified-frame .lcd-screen{min-height:120px;padding:.8rem}.product-name{font-size:1rem}.product-price-big,.placeholder-price-big{font-size:1.8rem;padding:.6rem 1rem;min-width:160px}.product-quantity{font-size:1rem;min-width:50px}.dashboard-scanner-section{padding:1rem}.scanner-container{margin-left:0}.dashboard-barcode-scanner{min-height:160px}.dashboard-lcd-display{padding:1rem;min-height:160px}.lcd-screen{min-height:120px;padding:.8rem}.product-price{font-size:1.1rem;min-width:100px}}.lang-ar .dashboard-action-buttons{direction:rtl}.lang-ar .btn-shortcut{right:auto;left:12px}.lang-ar .scanner-container{direction:rtl}.lang-fr .dashboard-action-buttons,.lang-en .dashboard-action-buttons,.lang-fr .scanner-container,.lang-en .scanner-container{direction:ltr}@media (max-width: 768px){.shortcuts-grid{grid-template-columns:1fr;gap:.75rem}.shortcut-item{padding:.6rem .8rem}.shortcut-item kbd{padding:.3rem .6rem;font-size:.8rem;min-width:45px}.shortcut-item span{font-size:.85rem}}.bulk-actions{display:flex;align-items:center;gap:1rem;padding:1rem;background:linear-gradient(135deg,#fff3cd,#ffeaa7);border:1px solid #ffeaa7;border-radius:8px;margin-bottom:1rem;box-shadow:0 2px 4px #0000001a}.bulk-info{font-weight:700;color:#856404;font-size:.9rem}.bulk-actions .btn{padding:.5rem 1rem;font-size:.85rem;border-radius:6px;transition:all .3s ease}.bulk-actions .btn:hover{transform:translateY(-1px);box-shadow:0 4px 8px #00000026}.data-table input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:#007bff}.data-table th input[type=checkbox]{accent-color:#28a745}.lang-ar .bulk-actions{direction:rtl;flex-direction:row-reverse}.lang-fr .bulk-actions,.lang-en .bulk-actions{direction:ltr;flex-direction:row}.modern-payment-modal,.modern-transaction-modal,.modern-edit-modal,.modern-delete-modal{max-width:1400px;width:98%;max-height:95vh;overflow-y:auto;border-radius:20px;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column}.modern-search-section{background:linear-gradient(135deg,#f8f9fa,#ffffff);border-radius:12px;padding:1.5rem;margin-bottom:1.5rem;border:1px solid #e9ecef}.search-controls-modern{display:flex;gap:1rem;align-items:center;justify-content:center}.search-input-container{position:relative;flex:1;max-width:400px}.modern-search-input{width:100%;padding:12px 45px 12px 15px;border:2px solid #e9ecef;border-radius:25px;font-size:16px;background:white;transition:all .3s ease;box-shadow:0 2px 4px #0000000d}.modern-search-input:focus{outline:none;border-color:#498c8a;box-shadow:0 0 0 3px #498c8a1a}.search-icon{position:absolute;right:15px;top:50%;transform:translateY(-50%);color:#6c757d;font-size:18px;pointer-events:none;z-index:1}.table-section-large{margin:1.5rem 0}.large-table-container{background:white;border-radius:12px;box-shadow:0 4px 12px #0000001a;overflow:hidden;border:1px solid #e9ecef}.table-wrapper-responsive{overflow-x:auto;overflow-y:auto;max-height:500px}.large-responsive-table{width:100%;min-width:800px;font-size:14px}.table-header-sticky{position:sticky;top:0;background:#498C8A;z-index:10}.table-header-sticky th{background:#498C8A;color:#fff;padding:15px 12px;font-weight:600;text-align:left;border-bottom:2px solid #3a7a78}.table-row-hover:hover{background:#f8f9fa;transform:translateY(-1px);box-shadow:0 2px 8px #0000001a;transition:all .2s ease}.large-responsive-table td{padding:12px;border-bottom:1px solid #e9ecef;vertical-align:middle}.status-badge-modern{padding:6px 12px;border-radius:20px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.status-paid{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.status-pending{background:#fff3cd;color:#856404;border:1px solid #ffeaa7}.modern-bottom-actions{margin-top:2rem;padding:1.5rem;background:linear-gradient(135deg,#f8f9fa,#ffffff);border-radius:12px;border-top:1px solid #e9ecef}.action-buttons-container{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.btn-modern-clean{padding:12px 24px;border:none;border-radius:25px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:8px;min-width:140px;justify-content:center}.btn-print{background:linear-gradient(135deg,#28a745,#20c997);color:#fff;box-shadow:0 4px 12px #28a7454d}.btn-print:hover{transform:translateY(-2px);box-shadow:0 6px 20px #28a74566}.btn-print-filtered{background:linear-gradient(135deg,#17a2b8,#20c997);color:#fff;box-shadow:0 4px 12px #17a2b84d}.btn-print-filtered:hover{transform:translateY(-2px);box-shadow:0 6px 20px #17a2b866}.btn-close{background:linear-gradient(135deg,#6c757d,#495057);color:#fff;box-shadow:0 4px 12px #6c757d4d}.btn-close:hover{transform:translateY(-2px);box-shadow:0 6px 20px #6c757d66}.compact-delete-modal{background:white;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-width:420px;width:90%;overflow:hidden;animation:modalSlideIn .3s ease-out}.compact-header{background:linear-gradient(135deg,#dc3545,#c82333);color:#fff;padding:1.5rem;text-align:center;position:relative}.header-icon-large{font-size:3rem;margin-bottom:.5rem;display:block}.header-title{margin:0;font-size:1.25rem;font-weight:600}.close-btn-compact{position:absolute;top:1rem;right:1rem;background:rgba(255,255,255,.2);border:none;color:#fff;width:32px;height:32px;border-radius:50%;cursor:pointer;font-size:18px;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.close-btn-compact:hover{background:rgba(255,255,255,.3);transform:scale(1.1)}.compact-content{padding:1.5rem;text-align:center}.warning-message-compact{margin-bottom:1.5rem}.supplier-name{font-size:1.1rem;font-weight:700;color:#dc3545;margin:0 0 .5rem;padding:.5rem;background:#f8d7da;border-radius:8px;border:1px solid #f5c6cb}.warning-text{color:#6c757d;margin:0;font-size:.9rem}.stats-compact{display:flex;justify-content:space-around;margin-bottom:1.5rem;padding:1rem;background:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.stat-item{font-size:.85rem;font-weight:600;color:#495057}.passcode-input-compact{margin-bottom:1rem}.compact-input{width:100%;padding:12px 16px;border:2px solid #e9ecef;border-radius:8px;font-size:16px;text-align:center;transition:all .3s ease}.compact-input:focus{outline:none;border-color:#dc3545;box-shadow:0 0 0 3px #dc35451a}.compact-actions{display:flex;gap:.75rem;padding:1.5rem;background:#f8f9fa;border-top:1px solid #e9ecef}.btn-compact{flex:1;padding:12px 16px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:6px}.btn-cancel{background:#6c757d;color:#fff}.btn-cancel:hover{background:#5a6268;transform:translateY(-1px)}.btn-delete{background:#dc3545;color:#fff}.btn-delete:hover:not(:disabled){background:#c82333;transform:translateY(-1px)}.btn-delete:disabled{background:#e9ecef;color:#6c757d;cursor:not-allowed}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.compact-edit-modal{background:white;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-width:520px;width:90%;overflow:hidden;animation:modalSlideIn .3s ease-out}.compact-edit-header{background:linear-gradient(135deg,#498C8A,#3a7a78);color:#fff;padding:1.5rem;text-align:center;position:relative}.header-icon-edit{font-size:2.5rem;margin-bottom:.5rem;display:block}.header-title-edit{margin:0;font-size:1.25rem;font-weight:600}.compact-edit-content{padding:1.5rem}.error-message-compact{text-align:center;color:#dc3545;font-weight:600;padding:2rem}.form-fields-compact{display:flex;flex-direction:column;gap:1rem}.field-row{display:flex;gap:1rem}.field-compact{flex:1;display:flex;flex-direction:column;gap:.5rem}.label-compact{font-size:.875rem;font-weight:600;color:#495057;margin:0}.input-compact{padding:10px 12px;border:2px solid #e9ecef;border-radius:8px;font-size:14px;transition:all .3s ease;background:white}.input-compact:focus{outline:none;border-color:#498c8a;box-shadow:0 0 0 3px #498c8a1a}.compact-edit-actions{display:flex;gap:.75rem;padding:1.5rem;background:#f8f9fa;border-top:1px solid #e9ecef}.btn-save{background:#498C8A;color:#fff}.btn-save:hover{background:#3a7a78;transform:translateY(-1px)}.repair-action-buttons-styled .btn{border:2px solid transparent;font-weight:600;transition:all .3s ease;min-width:28px;height:28px;display:flex;align-items:center;justify-content:center}.btn-repair-view{background:linear-gradient(135deg,#46ACC2,#3a8fa3);color:#fff;border-color:#46acc2}.btn-repair-view:hover{background:linear-gradient(135deg,#3a8fa3,#2e7282);transform:translateY(-1px);box-shadow:0 4px 12px #46acc24d}.btn-repair-edit{background:linear-gradient(135deg,#46ACC2,#3a8fa3);color:#fff;border-color:#46acc2}.btn-repair-edit:hover{background:linear-gradient(135deg,#3a8fa3,#2e7282);transform:translateY(-1px);box-shadow:0 4px 12px #46acc24d}.btn-repair-paste{background:linear-gradient(135deg,#46ACC2,#3a8fa3);color:#fff;border-color:#46acc2}.btn-repair-paste:hover{background:linear-gradient(135deg,#3a8fa3,#2e7282);transform:translateY(-1px);box-shadow:0 4px 12px #46acc24d}.btn-repair-print{background:linear-gradient(135deg,#46ACC2,#3a8fa3);color:#fff;border-color:#46acc2}.btn-repair-print:hover{background:linear-gradient(135deg,#3a8fa3,#2e7282);transform:translateY(-1px);box-shadow:0 4px 12px #46acc24d}.btn-repair-delete{background:linear-gradient(135deg,#dc3545,#c82333);color:#fff;border-color:#dc3545}.btn-repair-delete:hover{background:linear-gradient(135deg,#c82333,#a71e2a);transform:translateY(-1px);box-shadow:0 4px 12px #dc35454d}.status-waitingForClient{background:linear-gradient(135deg,#28a745,#20c997);color:#fff;padding:.4rem .8rem;border-radius:20px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.status-waiting-simple{background:transparent;color:#498c8a;padding:.4rem .8rem;border-radius:20px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;border:2px solid #498C8A}.repair-action-buttons-embedded .btn{border:2px solid transparent;font-weight:600;transition:all .3s ease;min-width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:6px;position:relative;box-shadow:0 2px 4px #0000001a}.repair-action-buttons-embedded .btn:before{content:"";position:absolute;inset:0;background:rgba(255,255,255,.1);border-radius:4px;opacity:0;transition:opacity .3s ease}.repair-action-buttons-embedded .btn:hover:before{opacity:1}.btn-repair-view-embedded{background:linear-gradient(135deg,#498C8A,#3a7a78);color:#fff;border-color:#498c8a;box-shadow:inset 0 0 0 1px #fff3}.btn-repair-view-embedded:hover{background:linear-gradient(135deg,#3a7a78,#2e6866);transform:translateY(-1px);box-shadow:0 4px 12px #498c8a66,inset 0 0 0 1px #ffffff4d}.btn-repair-edit-embedded{background:linear-gradient(135deg,#5a9c9a,#498C8A);color:#fff;border-color:#498c8a;box-shadow:inset 0 0 0 1px #fff3}.btn-repair-edit-embedded:hover{background:linear-gradient(135deg,#498C8A,#3a7a78);transform:translateY(-1px);box-shadow:0 4px 12px #498c8a66,inset 0 0 0 1px #ffffff4d}.btn-repair-paste-embedded{background:linear-gradient(135deg,#6bacaa,#5a9c9a);color:#fff;border-color:#498c8a;box-shadow:inset 0 0 0 1px #fff3}.btn-repair-paste-embedded:hover{background:linear-gradient(135deg,#5a9c9a,#498C8A);transform:translateY(-1px);box-shadow:0 4px 12px #498c8a66,inset 0 0 0 1px #ffffff4d}.btn-repair-print-embedded{background:linear-gradient(135deg,#7cbcba,#6bacaa);color:#fff;border-color:#498c8a;box-shadow:inset 0 0 0 1px #fff3}.btn-repair-print-embedded:hover{background:linear-gradient(135deg,#6bacaa,#5a9c9a);transform:translateY(-1px);box-shadow:0 4px 12px #498c8a66,inset 0 0 0 1px #ffffff4d}.btn-repair-delete-embedded{background:linear-gradient(135deg,#dc3545,#c82333);color:#fff;border-color:#dc3545}.btn-repair-delete-embedded:hover{background:linear-gradient(135deg,#c82333,#a71e2a);transform:translateY(-1px);box-shadow:0 4px 12px #dc35454d}.modal-ltr{direction:ltr;text-align:left}.modal-rtl{direction:rtl;text-align:right}.header-ltr{flex-direction:row}.header-rtl{flex-direction:row-reverse}.content-ltr{direction:ltr}.content-rtl{direction:rtl}.fields-ltr{direction:ltr}.fields-rtl{direction:rtl}.row-ltr{flex-direction:row}.row-rtl{flex-direction:row-reverse}.label-ltr{text-align:left}.label-rtl{text-align:right}.input-ltr{text-align:left}.input-rtl{text-align:right}.actions-ltr{flex-direction:row}.actions-rtl{flex-direction:row-reverse}@media (max-width: 768px){.compact-delete-modal,.compact-edit-modal{width:95%;max-width:none}.field-row{flex-direction:column;gap:.75rem}.compact-edit-content,.compact-content,.compact-edit-actions,.compact-actions{padding:1rem}}.payment-header,.modal-header-ltr.payment-header{background:linear-gradient(135deg,#e67e22,#f39c12)!important;color:#fff!important;padding:2rem;border-radius:20px 20px 0 0;box-shadow:0 8px 32px #e67e224d;position:relative;overflow:hidden;flex-shrink:0}.payment-body,.transaction-body,.edit-body,.delete-body{flex:1;overflow-y:auto;padding:2rem;min-height:0}.transaction-header,.modal-header-ltr.transaction-header{background:linear-gradient(135deg,#3498db,#2980b9)!important;color:#fff!important;padding:2rem;border-radius:20px 20px 0 0;box-shadow:0 8px 32px #3498db4d;position:relative;overflow:hidden;flex-shrink:0}.edit-header,.modal-header-ltr.edit-header{background:linear-gradient(135deg,#27ae60,#2ecc71)!important;color:#fff!important;padding:2rem;border-radius:20px 20px 0 0;box-shadow:0 8px 32px #27ae604d;position:relative;overflow:hidden}.delete-header,.modal-header-ltr.delete-header{background:linear-gradient(135deg,#e74c3c,#c0392b)!important;color:#fff!important;padding:2rem;border-radius:20px 20px 0 0;box-shadow:0 8px 32px #e74c3c4d;position:relative;overflow:hidden}.payment-header:before,.transaction-header:before,.edit-header:before,.delete-header:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,transparent 0%,rgba(255,255,255,.1) 100%);pointer-events:none}.payment-header h2,.transaction-header h2,.edit-header h2,.delete-header h2{margin:0;font-size:1.8rem;font-weight:800;text-shadow:2px 2px 4px rgba(0,0,0,.3);letter-spacing:-.3px}.payment-body,.transaction-body,.edit-body,.delete-body{padding:2.5rem;max-height:65vh;overflow-y:hidden;background:#f8f9fa}.transactions-section{margin-bottom:2.5rem;background:white;border-radius:16px;padding:2rem;box-shadow:0 4px 20px #00000014;border:1px solid #e9ecef;overflow:hidden}.modern-payment-modal .table-container,.modern-transaction-modal .table-container,.modern-edit-modal .table-container,.modern-delete-modal .table-container{background:white;border-radius:12px;box-shadow:0 4px 20px #00000014;overflow-x:auto;overflow-y:auto;max-height:65vh;position:relative;width:100%}.modern-payment-modal .data-table,.modern-transaction-modal .data-table,.modern-edit-modal .data-table,.modern-delete-modal .data-table{width:100%;border-collapse:collapse;font-size:.95rem;background:white}.modern-payment-modal .data-table thead,.modern-transaction-modal .data-table thead,.modern-edit-modal .data-table thead,.modern-delete-modal .data-table thead{position:sticky;top:0;z-index:10;background:linear-gradient(135deg,#037171,#00b9ae);color:#fff}.modern-payment-modal .data-table thead th,.modern-transaction-modal .data-table thead th,.modern-edit-modal .data-table thead th,.modern-delete-modal .data-table thead th{padding:1rem .8rem;text-align:left;font-weight:600;font-size:.9rem;border:none;white-space:nowrap;text-shadow:1px 1px 2px rgba(0,0,0,.2)}.modern-payment-modal .data-table tbody tr,.modern-transaction-modal .data-table tbody tr,.modern-edit-modal .data-table tbody tr,.modern-delete-modal .data-table tbody tr{border-bottom:1px solid #f1f3f4;transition:all .2s ease}.modern-payment-modal .data-table tbody tr:hover,.modern-transaction-modal .data-table tbody tr:hover,.modern-edit-modal .data-table tbody tr:hover,.modern-delete-modal .data-table tbody tr:hover{background:linear-gradient(135deg,#f8f9fa,#e9ecef);transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.modern-payment-modal .data-table tbody td,.modern-transaction-modal .data-table tbody td,.modern-edit-modal .data-table tbody td,.modern-delete-modal .data-table tbody td{padding:1rem .8rem;border:none;vertical-align:middle;font-size:.9rem;color:#2c3e50}.modern-payment-modal .transactions-section,.modern-transaction-modal .transactions-section,.modern-edit-modal .transactions-section,.modern-delete-modal .transactions-section{margin-bottom:2rem}.transactions-section h3{color:#037171;margin-bottom:1.5rem;font-size:1.4rem;font-weight:800;display:flex;align-items:center;gap:.5rem}.payment-section{background:linear-gradient(135deg,#f8f9fa,#e9ecef);padding:2rem;border-radius:12px;margin-top:1.5rem;border:2px solid #037171;box-shadow:0 4px 16px #0371711a}.payment-summary{margin-bottom:1.5rem;background:white;padding:1.5rem;border-radius:8px;border:1px solid #dee2e6}.summary-item{display:flex;justify-content:space-between;align-items:center;padding:.8rem 0;border-bottom:1px solid #f1f3f4}.summary-item:last-child{border-bottom:none;padding-bottom:0}.modern-payment-modal .search-section,.modern-transaction-modal .search-section{background:linear-gradient(135deg,#f8f9fa,#ffffff);padding:1.5rem;border-radius:12px;margin-bottom:2rem;box-shadow:0 2px 12px #00000014}.modern-payment-modal .search-controls,.modern-transaction-modal .search-controls{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.modern-payment-modal .search-input,.modern-transaction-modal .search-input{flex:1;min-width:250px;padding:.8rem 1rem;border:2px solid #e9ecef;border-radius:8px;font-size:.95rem;transition:all .3s ease;background:white}.modern-payment-modal .search-input:focus,.modern-transaction-modal .search-input:focus{border-color:#037171;box-shadow:0 0 0 3px #0371711a;outline:none}.modern-payment-modal .payment-section{background:linear-gradient(135deg,#f8f9fa,#ffffff);padding:2rem;border-radius:12px;margin-top:2rem;box-shadow:0 4px 20px #00000014;border:2px solid #037171}.modern-payment-modal .payment-summary{margin-bottom:2rem;background:white;padding:1.5rem;border-radius:8px;box-shadow:0 2px 8px #0000000d}.modern-payment-modal .summary-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:linear-gradient(135deg,#f8f9fa,#ffffff);border-radius:8px;box-shadow:0 2px 8px #0000000d;margin-bottom:1rem;border-left:4px solid #037171}.modern-payment-modal .summary-item .label{font-weight:600;color:#2c3e50;font-size:1.1rem}.modern-payment-modal .summary-item .value{font-weight:700;color:#037171;font-size:1.2rem}.modern-payment-modal .payment-input{margin-bottom:2rem}.modern-payment-modal .payment-input label{display:block;margin-bottom:.5rem;font-weight:600;color:#2c3e50;font-size:1rem}.modern-payment-modal .payment-input input{width:100%;padding:1rem;border:2px solid #e9ecef;border-radius:8px;font-size:1rem;transition:all .3s ease;background:white}.modern-payment-modal .payment-input input:focus{border-color:#037171;box-shadow:0 0 0 3px #0371711a;outline:none}.summary-item .label{font-weight:700;color:#495057;font-size:1rem}.summary-item .value{font-weight:800;color:#037171;font-size:1.2rem;background:rgba(3,113,113,.1);padding:.3rem .8rem;border-radius:6px}.payment-input{margin-top:1.5rem}.payment-input input{width:100%;padding:1rem;border:2px solid #037171;border-radius:8px;font-size:1.1rem;font-weight:600;transition:all .3s ease}.payment-input input:focus{outline:none;border-color:#00b9ae;box-shadow:0 0 0 3px #03717133;transform:translateY(-1px)}.modal-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem;padding-top:1.5rem;border-top:2px solid #e9ecef}.modal-actions .btn-modern{padding:.8rem 1.5rem;border-radius:10px;font-size:1rem;font-weight:700;border:none;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:.5rem;box-shadow:0 2px 8px #0000001a}.modal-actions .btn-modern:hover{transform:translateY(-2px);box-shadow:0 4px 16px #0003}@media (max-width: 1200px){.modern-payment-modal,.modern-transaction-modal,.modern-edit-modal,.modern-delete-modal{width:95%;max-width:900px}.payment-body,.transaction-body,.edit-body,.delete-body{padding:2rem;overflow-y:auto;flex:1;min-height:0}.transactions-section{padding:1.5rem;overflow:visible;flex:1}.payment-section{padding:1.5rem}.modern-payment-modal .table-container,.modern-transaction-modal .table-container{max-height:55vh;overflow-x:auto;overflow-y:auto}.modern-payment-modal .search-controls,.modern-transaction-modal .search-controls{flex-direction:column;align-items:stretch}.modern-payment-modal .search-input,.modern-transaction-modal .search-input{min-width:100%;margin-bottom:1rem}}@media (max-width: 768px){.modern-payment-modal,.modern-transaction-modal,.modern-edit-modal,.modern-delete-modal{width:98%;max-height:95vh;margin:1rem}.payment-header,.modal-header-ltr.payment-header,.transaction-header,.modal-header-ltr.transaction-header,.edit-header,.modal-header-ltr.edit-header,.delete-header,.modal-header-ltr.delete-header{padding:1.5rem!important;border-radius:15px 15px 0 0!important}.payment-header h2,.modal-header-ltr.payment-header h2,.transaction-header h2,.modal-header-ltr.transaction-header h2,.edit-header h2,.modal-header-ltr.edit-header h2,.delete-header h2,.modal-header-ltr.delete-header h2{font-size:1.4rem!important;color:#fff!important}.modern-payment-modal .table-container,.modern-transaction-modal .table-container{max-height:40vh}.modern-payment-modal .data-table thead th,.modern-transaction-modal .data-table thead th,.modern-payment-modal .data-table tbody td,.modern-transaction-modal .data-table tbody td{padding:.8rem .5rem;font-size:.8rem}.modern-payment-modal .search-section,.modern-transaction-modal .search-section{padding:1rem}.modern-payment-modal .search-controls,.modern-transaction-modal .search-controls{flex-direction:column;gap:.8rem}.modern-payment-modal .search-input,.modern-transaction-modal .search-input{min-width:100%;padding:.8rem;font-size:.9rem}.modern-payment-modal .payment-section{padding:1.5rem;margin-top:1rem}.modern-payment-modal .summary-item{padding:.8rem;flex-direction:column;align-items:flex-start;gap:.5rem}.modern-payment-modal .summary-item .label,.modern-payment-modal .summary-item .value{font-size:1rem}.payment-body,.transaction-body,.edit-body,.delete-body{padding:1.5rem;max-height:75vh;overflow-y:auto;flex:1;min-height:0}.transactions-section{padding:1rem;margin-bottom:1.5rem;overflow:visible;flex:1}.transactions-section h3{font-size:1.2rem}.payment-section,.payment-summary{padding:1rem}.summary-item .value{font-size:1rem}.modal-actions{flex-direction:column;gap:.8rem}.modal-actions .btn-modern{width:100%;justify-content:center;padding:1rem}}@media screen and (orientation: landscape){.repairs-page{min-height:100vh}.repair-orders-header{margin:1rem 0;padding:1.5rem}.orders-main-title{font-size:1.6rem}.orders-subtitle{font-size:.9rem}.suppliers-parts-reparation-section{margin-top:2rem;padding:1.5rem}.suppliers-parts-reparation-section .section-header{padding:1.5rem}.suppliers-parts-reparation-section .section-header h2{font-size:1.6rem}.repair-orders-table-container,.suppliers-table-container{max-height:50vh;overflow-y:auto}.table-body-scrollable{max-height:45vh}.modern-payment-modal,.modern-transaction-modal,.modern-edit-modal,.modern-delete-modal{max-height:85vh;width:90%;max-width:1100px}.payment-body,.transaction-body,.edit-body,.delete-body{max-height:60vh;padding:2rem;overflow-y:auto;flex:1}.repair-action-buttons{grid-template-columns:repeat(4,1fr);gap:1rem;padding:1.5rem}.header-actions-section{gap:.6rem}.header-actions-section .btn-modern{padding:.5rem 1rem;font-size:.85rem}}@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape){.repair-orders-header{flex-direction:row;gap:1rem;padding:1.2rem}.orders-main-title{font-size:1.5rem}.header-actions-section{flex-direction:row;gap:.5rem}.header-actions-section .btn-modern{padding:.4rem .8rem;font-size:.8rem}.suppliers-parts-reparation-section .section-header{flex-direction:row;gap:1rem}.suppliers-parts-reparation-section .header-actions{flex-direction:row;gap:.5rem}.repair-action-buttons{grid-template-columns:repeat(4,1fr);gap:.8rem;padding:1rem}.table-body-scrollable{max-height:40vh}.modern-payment-modal,.modern-transaction-modal,.modern-edit-modal,.modern-delete-modal{max-height:80vh;width:85%}.payment-body,.transaction-body,.edit-body,.delete-body{max-height:55vh;padding:1.5rem;overflow-y:auto;flex:1}}@media screen and (max-width: 767px) and (orientation: landscape){.repair-orders-header{margin:.5rem 0;padding:1rem;flex-direction:column;gap:1rem}.orders-main-title{font-size:1.3rem}.orders-subtitle{font-size:.8rem}.header-actions-section{flex-direction:row;flex-wrap:wrap;gap:.4rem;justify-content:center}.header-actions-section .btn-modern{padding:.4rem .6rem;font-size:.75rem;flex:1;min-width:120px}.suppliers-parts-reparation-section{margin-top:1rem;padding:1rem}.suppliers-parts-reparation-section .section-header{padding:1rem;flex-direction:column;gap:1rem}.suppliers-parts-reparation-section .section-header h2{font-size:1.3rem}.suppliers-parts-reparation-section .header-actions{flex-direction:row;gap:.4rem;width:100%}.suppliers-parts-reparation-section .header-actions .btn-modern{flex:1;padding:.5rem;font-size:.75rem}.repair-action-buttons{grid-template-columns:repeat(2,1fr);gap:.6rem;padding:.8rem}.table-body-scrollable{max-height:35vh}.modern-payment-modal,.modern-transaction-modal,.modern-edit-modal,.modern-delete-modal{max-height:90vh;width:95%;margin:.5rem}.payment-header,.modal-header-ltr.payment-header,.transaction-header,.modal-header-ltr.transaction-header,.edit-header,.modal-header-ltr.edit-header,.delete-header,.modal-header-ltr.delete-header{padding:1rem!important}.payment-header h2,.modal-header-ltr.payment-header h2,.transaction-header h2,.modal-header-ltr.transaction-header h2,.edit-header h2,.modal-header-ltr.edit-header h2,.delete-header h2,.modal-header-ltr.delete-header h2{font-size:1.2rem!important;color:#fff!important}.payment-body,.transaction-body,.edit-body,.delete-body{max-height:60vh;padding:1rem;overflow-y:hidden!important}.transactions-section{padding:.8rem;margin-bottom:1rem;overflow:visible!important}.payment-section{padding:.8rem}.modal-actions{flex-direction:row;gap:.5rem}.modal-actions .btn-modern{flex:1;padding:.6rem;font-size:.8rem}}.payment-input label{display:block;margin-bottom:.5rem;font-weight:600;color:#495057}.payment-input .form-control{width:100%;padding:.75rem;border:2px solid #dee2e6;border-radius:6px;font-size:1rem}.payment-input .form-control:focus{border-color:#00b9ae;box-shadow:0 0 0 .2rem #00b9ae40}.search-section{margin-bottom:2rem;background:#f8f9fa;padding:1.5rem;border-radius:8px}.search-controls{display:flex;gap:1rem;align-items:center}.search-input{flex:1;padding:.75rem;border:2px solid #dee2e6;border-radius:6px;font-size:1rem}.search-input:focus{border-color:#00b9ae;box-shadow:0 0 0 .2rem #00b9ae40}.summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-top:1rem}.summary-card{background:white;padding:1.5rem;border-radius:8px;border:2px solid #00b9ae;text-align:center}.summary-card.pending{border-color:#ffc107;background:#fff8e1}.summary-card .card-label{font-size:.9rem;color:#6c757d;margin-bottom:.5rem}.summary-card .card-value{font-size:1.5rem;font-weight:700;color:#00b9ae}.summary-card.pending .card-value{color:#f57c00}.status-badge{padding:.25rem .75rem;border-radius:20px;font-size:.8rem;font-weight:600;text-transform:uppercase}.status-badge.paid{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.status-badge.pending{background:#fff3cd;color:#856404;border:1px solid #ffeaa7}.edit-form{background:#f8f9fa;padding:2rem;border-radius:8px}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}.form-group.full-width{grid-column:1 / -1}.form-group label{margin-bottom:.5rem;font-weight:600;color:#495057}.form-group .form-control{padding:.75rem;border:2px solid #dee2e6;border-radius:6px;font-size:1rem}.form-group .form-control:focus{border-color:#00b9ae;box-shadow:0 0 0 .2rem #00b9ae40}.warning-section{display:flex;align-items:flex-start;gap:1rem;background:#fff3cd;padding:1.5rem;border-radius:8px;border:2px solid #ffc107;margin-bottom:2rem}.warning-icon{font-size:2rem;color:#856404}.warning-message h3{color:#856404;margin-bottom:.5rem}.warning-message p{color:#856404;margin:0}.warning-text{color:#dc3545!important;font-weight:600}.transaction-summary{background:#f8f9fa;padding:1.5rem;border-radius:8px;margin-bottom:2rem}.transaction-summary h4{color:#495057;margin-bottom:1rem}.transaction-summary ul{list-style:none;padding:0;margin:0}.transaction-summary li{padding:.5rem 0;border-bottom:1px solid #dee2e6;color:#6c757d}.passcode-section{background:#e9ecef;padding:1.5rem;border-radius:8px}.passcode-section label{display:block;margin-bottom:.5rem;font-weight:600;color:#495057}.passcode-input{width:100%;padding:.75rem;border:2px solid #dee2e6;border-radius:6px;font-size:1rem;margin-bottom:.5rem}.passcode-input:focus{border-color:#dc3545;box-shadow:0 0 0 .2rem #dc354540}.passcode-hint{color:#6c757d;font-size:.8rem}.payment-footer,.transaction-footer,.edit-footer,.delete-footer{padding:1.5rem;border-top:1px solid #dee2e6;display:flex;gap:1rem;justify-content:flex-end}.delete-footer .btn-danger{background:linear-gradient(135deg,#dc3545,#c82333);border:none;color:#fff;font-weight:600}.delete-footer .btn-danger:hover{background:linear-gradient(135deg,#c82333,#bd2130);transform:translateY(-1px)}.delete-footer .btn-danger:disabled{background:#6c757d;cursor:not-allowed;transform:none}.error-message{text-align:center;padding:2rem;color:#dc3545;font-size:1.1rem;font-weight:600}.suppliers-table-container table td:nth-child(3){text-align:right!important;direction:ltr!important;font-family:Courier New,monospace;font-weight:700}.suppliers-table-container table th:nth-child(3){text-align:right!important}.lang-ar .sidebar{right:0;left:auto}.lang-fr .sidebar,.lang-en .sidebar{left:0;right:auto}.sidebar-header{padding:2rem 1.5rem;border-bottom:1px solid rgba(255,255,255,.1);text-align:center}.system-logo{font-size:3rem;margin-bottom:1rem;display:flex;justify-content:center;align-items:center}.logo-image.logo-large{max-width:120px;max-height:120px;width:auto;height:auto;object-fit:contain;border-radius:12px;filter:brightness(1.1) contrast(1.1);background:rgba(255,255,255,.1);padding:8px;box-shadow:0 4px 12px #0003;transition:all .3s ease}.logo-image.logo-small{max-width:50px;max-height:50px;width:auto;height:auto;object-fit:contain;border-radius:8px;filter:brightness(1.1) contrast(1.1);background:rgba(255,255,255,.1);padding:4px;box-shadow:0 2px 8px #0003;transition:all .3s ease}.logo-image:hover{transform:scale(1.05);box-shadow:0 6px 20px #0000004d}.logo-upload-area{border:2px dashed #ddd;border-radius:12px;padding:2rem;text-align:center;cursor:pointer;transition:all .3s ease;background:#f8f9fa;margin-bottom:1rem;position:relative;overflow:hidden}.logo-upload-area:hover{border-color:#007bff;background:#e3f2fd;transform:translateY(-2px)}.logo-upload-area.drag-active{border-color:#28a745;background:#d4edda;transform:scale(1.02)}.upload-content{pointer-events:none}.upload-icon{font-size:3rem;color:#6c757d;margin-bottom:1rem;transition:all .3s ease}.logo-upload-area:hover .upload-icon{color:#007bff;transform:scale(1.1)}.logo-upload-area.drag-active .upload-icon{color:#28a745;animation:bounce .6s ease-in-out}.upload-text{font-size:1.1rem;font-weight:600;color:#495057;margin-bottom:.5rem}.upload-info{color:#6c757d;font-size:.9rem;line-height:1.4}.upload-progress{position:absolute;bottom:0;left:0;right:0;height:4px;background:rgba(0,0,0,.1);overflow:hidden}.progress-bar{height:100%;background:linear-gradient(90deg,#007bff,#28a745);transition:width .3s ease;position:relative}.progress-bar:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);animation:shimmer 1.5s infinite}.logo-preview-section{margin-top:1.5rem;padding:1.5rem;background:#f8f9fa;border-radius:12px;border:1px solid #e9ecef}.preview-container{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-bottom:1.5rem}.preview-item{text-align:center}.preview-item h4{margin-bottom:1rem;color:#495057;font-size:1rem;font-weight:600}.logo-preview{display:flex;align-items:center;justify-content:center;border:2px solid #dee2e6;border-radius:8px;background:white;box-shadow:0 2px 8px #0000001a;transition:all .3s ease}.logo-preview:hover{transform:translateY(-2px);box-shadow:0 4px 16px #00000026}.logo-preview.large{width:140px;height:140px;margin:0 auto}.logo-preview.small{width:70px;height:70px;margin:0 auto}.logo-preview .logo-image{max-width:100%;max-height:100%;object-fit:contain;border-radius:4px}.restore-logo-btn{display:flex;align-items:center;gap:.5rem;margin:0 auto;padding:.75rem 1.5rem;font-weight:600;border-radius:8px;transition:all .3s ease}.restore-logo-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}@keyframes bounce{0%,20%,50%,80%,to{transform:translateY(0)}40%{transform:translateY(-10px)}60%{transform:translateY(-5px)}}@keyframes shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}@media (max-width: 768px){.logo-upload-area{padding:1.5rem 1rem}.upload-icon{font-size:2.5rem}.upload-text{font-size:1rem}.preview-container{grid-template-columns:1fr;gap:1rem}.logo-preview.large{width:120px;height:120px}.logo-preview.small{width:60px;height:60px}}.logo-fallback.logo-large{font-size:4rem;color:#fff;text-shadow:0 2px 4px rgba(0,0,0,.3)}.logo-fallback.logo-small{font-size:2rem;color:#fff;text-shadow:0 2px 4px rgba(0,0,0,.3)}.system-title h3{font-size:1.3rem;margin-bottom:.5rem}.system-title span{font-size:.9rem;opacity:.8}.sidebar-nav{flex:1;padding:1rem 0;display:flex;flex-direction:column;gap:.5rem}.sidebar.collapsed .sidebar-nav{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:1rem 0;gap:.75rem}.nav-item{width:100%;padding:1rem 1.5rem;background:none;border:none;color:#fff;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:1rem;font-size:1.1rem;font-weight:700;font-family:inherit}.lang-ar .nav-item{text-align:right;flex-direction:row}.lang-ar .nav-item:hover{padding-right:2rem;padding-left:1.5rem}.lang-ar .nav-item.active{border-right:4px solid white;border-left:none}.lang-fr .nav-item,.lang-en .nav-item{text-align:left;flex-direction:row-reverse}.lang-fr .nav-item:hover,.lang-en .nav-item:hover{padding-left:2rem;padding-right:1.5rem}.lang-fr .nav-item.active,.lang-en .nav-item.active{border-left:4px solid white;border-right:none}.nav-item:hover,.nav-item.active{background:var(--sidebar-hover)}.nav-icon{font-size:1.5rem}.sidebar-footer{padding:1.5rem;border-top:1px solid rgba(255,255,255,.1)}.user-info{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}.user-info-left{flex-direction:row-reverse;justify-content:flex-end}.user-avatar{width:40px;height:40px;background:rgba(255,255,255,.2);border-radius:50%;display:flex;align-items:center;justify-content:center}.user-details span{display:block;font-weight:600}.user-details small{opacity:.8;font-size:.8rem}.logout-btn{width:100%;padding:.75rem;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);color:#fff;border-radius:8px;cursor:pointer;transition:all .3s ease;font-family:inherit;display:flex;align-items:center;justify-content:center;gap:.5rem}.logout-btn:hover{background:rgba(255,255,255,.2)}.system-controls{display:flex;gap:.5rem;margin-bottom:1rem;padding:.75rem;background:rgba(255,255,255,.1);border-radius:8px;border:1px solid rgba(255,255,255,.2);justify-content:center;flex-wrap:wrap}.control-btn{width:40px;height:40px;border:none;border-radius:6px;cursor:pointer;font-size:1.2rem;transition:all .3s ease;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.1);color:#fff;flex-shrink:0}.control-btn.active{background:rgba(255,255,255,.2);box-shadow:0 2px 4px #0003}.control-btn.inactive{background:rgba(255,255,255,.05);opacity:.6}.control-btn:hover{background:rgba(255,255,255,.25);transform:translateY(-1px)}.main-content{flex:1;padding:0;overflow-y:auto;min-height:100vh;transition:all .3s ease}.table-container{overflow-x:auto;margin:1rem 0;border-radius:8px;box-shadow:0 2px 8px #0000001a}.responsive-table{width:100%;min-width:800px;border-collapse:collapse;background:white}.responsive-table th,.responsive-table td{padding:12px 8px;border-bottom:1px solid var(--border-color);white-space:nowrap}.responsive-table th{background:var(--primary-color);color:#fff;font-weight:600;position:sticky;top:0;z-index:15;box-shadow:0 2px 4px #00000026}.table-container{max-height:450px;overflow-y:auto;overflow-x:auto;position:relative;border:1px solid #e9ecef;border-radius:12px;background:white}.lang-ar .responsive-table{direction:rtl!important}.lang-ar .responsive-table th,.lang-ar .responsive-table td{text-align:right!important}.lang-fr .responsive-table,.lang-en .responsive-table{direction:ltr!important}.lang-fr .responsive-table th,.lang-fr .responsive-table td,.lang-en .responsive-table th,.lang-en .responsive-table td{text-align:left!important}.lang-fr .table-container,.lang-en .table-container,.lang-fr .data-table,.lang-en .data-table{direction:ltr!important}@media (max-width: 768px){.table-container{margin:0 -1rem;border-radius:0}.responsive-table{min-width:600px;font-size:.9rem}.responsive-table th,.responsive-table td{padding:8px 4px}}@media (min-width: 1400px){.responsive-table{min-width:100%}.responsive-table th,.responsive-table td{padding:16px 12px}}.form-group{margin-bottom:1rem}.form-group input,.form-group select,.form-group textarea{width:100%;padding:.75rem;border:1px solid var(--border-color);border-radius:6px;font-size:1rem;transition:all .3s ease}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #16a0851a}.lang-ar .form-group input,.lang-ar .form-group select,.lang-ar .form-group textarea{text-align:right;direction:rtl}.lang-fr .form-group input,.lang-fr .form-group select,.lang-fr .form-group textarea,.lang-en .form-group input,.lang-en .form-group select,.lang-en .form-group textarea{text-align:left;direction:ltr}.btn{padding:.75rem 1.5rem;border:none;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;display:inline-flex;align-items:center;gap:.5rem}.btn-secondary{background:var(--secondary-color);color:var(--text-primary)}.btn-secondary:hover{background:#e9ecef}.lang-ar .btn,.lang-fr .btn,.lang-en .btn{flex-direction:row}.quick-operations-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-top:1rem}.quick-operation-btn{padding:1rem 1.5rem;border:none;border-radius:8px;background:var(--primary-color);color:#fff;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:.75rem;box-shadow:0 2px 8px #16a08533}.quick-operation-btn:hover{background:var(--sidebar-hover);transform:translateY(-2px);box-shadow:0 4px 12px #16a0854d}.quick-operation-btn .btn-icon{font-size:1.2rem;min-width:24px;display:flex;align-items:center;justify-content:center}.quick-operation-btn .btn-text{flex:1}.lang-ar .quick-operation-btn{flex-direction:row-reverse!important}.lang-ar .quick-operation-btn .btn-text{text-align:right!important}.lang-fr .quick-operation-btn,.lang-en .quick-operation-btn{flex-direction:row!important}.lang-fr .quick-operation-btn .btn-text,.lang-en .quick-operation-btn .btn-text{text-align:left!important}body.lang-fr .quick-operation-btn,body.lang-en .quick-operation-btn{flex-direction:row!important}body.lang-ar .quick-operation-btn{flex-direction:row-reverse!important}.right-action-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.lang-ar .right-action-btn{flex-direction:column!important}.customer-operations{max-width:100%;padding:20px 0}.customer-info-summary{margin-bottom:30px}.info-card{background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:12px;padding:25px;border:1px solid #dee2e6;box-shadow:0 4px 15px #0000001a}.info-card h3{color:#6f42c1;margin-bottom:20px;font-size:1.3rem;font-weight:600;display:flex;align-items:center;gap:10px}.info-item{display:flex;justify-content:space-between;align-items:center;padding:12px 15px;background:white;border-radius:8px;border:1px solid #e9ecef;transition:all .2s ease}.info-item:hover{background:#f8f9fa;border-color:#6f42c1}.info-item strong{color:#495057;font-weight:600;margin-right:10px}.operations-section{margin:30px 0}.operations-section h3{color:#6f42c1;margin-bottom:20px;font-size:1.3rem;font-weight:600;display:flex;align-items:center;gap:10px}.operations-summary{margin-top:30px}.summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-top:20px}.summary-card{background:white;border-radius:12px;padding:20px;text-align:center;box-shadow:0 4px 15px #0000001a;border:1px solid #e9ecef;transition:all .3s ease}.summary-card:hover{transform:translateY(-3px);box-shadow:0 8px 25px #00000026}.summary-card.green{border-left:4px solid #28a745}.summary-card.blue{border-left:4px solid #007bff}.summary-card.orange{border-left:4px solid #fd7e14}.summary-card.red{border-left:4px solid #dc3545}.summary-card h4{color:#495057;font-size:.9rem;margin-bottom:10px;font-weight:600}.summary-value{font-size:1.5rem;font-weight:700;color:#212529}.confirmation-modal{max-width:500px}.confirmation-content{text-align:center;padding:20px}.warning-icon{font-size:4rem;color:#dc3545;margin-bottom:20px;display:block}.confirmation-text{margin-bottom:20px}.customer-details{background:#f8f9fa;border-radius:8px;padding:20px;margin:20px 0;text-align:left;border:1px solid #dee2e6}.customer-details p{margin:8px 0;font-size:1rem}.customer-details strong{color:#495057;font-weight:600;display:inline-block;min-width:120px}.warning-message{background:#fff3cd;border:1px solid #ffeaa7;border-radius:8px;padding:15px;margin-top:20px}.warning-message p{color:#856404;font-weight:600;margin:0}.payment-section{background:linear-gradient(135deg,#e8f5e8,#f0f8f0);border-radius:12px;padding:25px;margin-bottom:25px;border:1px solid #c3e6c3;box-shadow:0 4px 15px #28a7451a}.payment-section h3{color:#28a745;margin-bottom:20px;font-size:1.3rem;font-weight:600;display:flex;align-items:center;gap:10px}.payment-form-inline{display:flex;flex-direction:column;gap:20px}.payment-info-card{background:white;border-radius:8px;padding:15px;border:1px solid #e9ecef}.payment-info-item{display:flex;justify-content:space-between;align-items:center;padding:8px 0}.payment-info-item strong{color:#495057;font-weight:600}.payment-form-row{display:grid;grid-template-columns:1fr 1fr auto;gap:15px;align-items:end}.payment-input{padding:10px 15px;border:2px solid #e9ecef;border-radius:8px;font-size:1rem;transition:all .3s ease}.payment-input:focus{border-color:#28a745;box-shadow:0 0 0 .2rem #28a74540;outline:none}.payment-select{padding:10px 15px;border:2px solid #e9ecef;border-radius:8px;font-size:1rem;background:white;transition:all .3s ease}.payment-select:focus{border-color:#28a745;box-shadow:0 0 0 .2rem #28a74540;outline:none}.payment-btn{padding:12px 20px;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;white-space:nowrap}.payment-btn:disabled{opacity:.6;cursor:not-allowed}.modal-content[dir=rtl]{text-align:right}.modal-content[dir=ltr]{text-align:left}.modal-content[dir=rtl] .info-grid{direction:rtl}.modal-content[dir=ltr] .info-grid{direction:ltr}.modal-content[dir=rtl] .data-table{direction:rtl}.modal-content[dir=ltr] .data-table{direction:ltr}.modal-content[dir=rtl] .summary-cards{direction:rtl}.modal-content[dir=ltr] .summary-cards{direction:ltr}.operation-type.invoice{color:#28a745;font-weight:600}.operation-type.payment{color:#007bff;font-weight:600}.payment-amount{color:#dc3545;font-weight:600}.status.payment{background:#d4edda;color:#155724;padding:4px 8px;border-radius:4px;font-size:.85rem}@media (max-width: 768px){.info-grid,.summary-cards{grid-template-columns:1fr}.customer-details{text-align:center}.customer-details strong{display:block;margin-bottom:5px}.payment-form-row{grid-template-columns:1fr;gap:15px}.payment-info-grid{grid-template-columns:1fr}}.payment-modal{max-width:600px}.payment-content{padding:20px 0}.customer-payment-info{margin-bottom:30px}.payment-info-card{background:linear-gradient(135deg,#e8f5e8,#f0f8f0);border-radius:12px;padding:25px;border:1px solid #c3e6c3;box-shadow:0 4px 15px #28a7451a}.payment-info-card h3{color:#28a745;margin-bottom:20px;font-size:1.3rem;font-weight:600;display:flex;align-items:center;gap:10px}.payment-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px}.payment-info-item{display:flex;justify-content:space-between;align-items:center;padding:12px 15px;background:white;border-radius:8px;border:1px solid #e9ecef;transition:all .2s ease}.payment-info-item:hover{background:#f8f9fa;border-color:#28a745}.payment-info-item strong{color:#495057;font-weight:600;margin-right:10px}.debt-amount{color:#dc3545;font-weight:700;font-size:1.1rem}.payment-amount{color:#28a745;font-weight:700;font-size:1.1rem}.payment-form{background:#f8f9fa;border-radius:12px;padding:25px;border:1px solid #dee2e6}.payment-form h3{color:#6f42c1;margin-bottom:20px;font-size:1.3rem;font-weight:600;display:flex;align-items:center;gap:10px}.payment-help{color:#6c757d;font-size:.85rem;margin-top:5px;display:block}.payment-summary{background:white;border-radius:8px;padding:20px;margin-top:20px;border:1px solid #e9ecef}.summary-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;font-size:1rem}.summary-row.total{font-size:1.2rem;font-weight:700;padding:12px 0}.summary-divider{height:1px;background:#dee2e6;margin:10px 0}@media (max-width: 768px){.payment-modal{max-width:95%}.payment-info-grid,.form-grid{grid-template-columns:1fr}.summary-row{font-size:.9rem}.summary-row.total{font-size:1.1rem}}.lang-fr .right-action-btn,.lang-en .right-action-btn{flex-direction:column!important}.page-header{margin-bottom:2rem;padding-bottom:1rem;border-bottom:2px solid var(--border-color)}.page-title-section{display:flex;flex-direction:column;gap:.5rem}.page-title-section h1{font-size:2rem;font-weight:700;color:var(--text-primary);margin:0}.page-title-section p{font-size:1.1rem;color:var(--text-secondary);margin:0}.lang-ar .page-header,.lang-ar .page-title-section,.lang-ar .page-title-section h1,.lang-ar .page-title-section p,.lang-ar .dashboard-section h2,.lang-ar .stat-card h3,.lang-ar .kpi-card h4{text-align:right}.lang-fr .page-header,.lang-fr .page-title-section,.lang-fr .page-title-section h1,.lang-fr .page-title-section p,.lang-en .page-header,.lang-en .page-title-section,.lang-en .page-title-section h1,.lang-en .page-title-section p,.lang-fr .dashboard-section h2,.lang-fr .stat-card h3,.lang-fr .kpi-card h4,.lang-en .dashboard-section h2,.lang-en .stat-card h3,.lang-en .kpi-card h4{text-align:left}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.stat-card{background:white;border-radius:12px;padding:1.5rem;box-shadow:0 4px 12px #0000001a;border-left:4px solid var(--primary-color);transition:all .3s ease;display:flex;align-items:center;gap:1rem}.stat-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px #00000026}.stat-icon{font-size:2.5rem;min-width:60px;display:flex;align-items:center;justify-content:center}.stat-content{flex:1}.stat-content h3{font-size:1rem;font-weight:600;color:var(--text-secondary);margin:0 0 .5rem}.stat-value{font-size:1.8rem;font-weight:700;color:var(--text-primary);margin:0}.stat-unit{font-size:1rem;font-weight:400;color:var(--text-secondary)}.lang-ar .stat-card{border-right:4px solid var(--primary-color);border-left:none;flex-direction:row-reverse}.lang-ar .stat-content h3,.lang-ar .stat-value{text-align:right}.lang-fr .stat-card,.lang-en .stat-card{border-left:4px solid var(--primary-color);border-right:none;flex-direction:row}.lang-fr .stat-content h3,.lang-fr .stat-value,.lang-en .stat-content h3,.lang-en .stat-value{text-align:left}.dashboard-section{background:white;border-radius:12px;box-shadow:var(--shadow);padding:1.5rem;margin-bottom:2rem}.dashboard-section h2{margin-bottom:1.5rem;color:var(--text-primary);border-bottom:2px solid var(--border-color);padding-bottom:.5rem}.dashboard .dashboard-section h2{background:linear-gradient(135deg,#177e89,#20c997);color:#fff!important;padding:20px 25px;margin:-1.5rem -1.5rem 1.5rem;border-radius:12px 12px 0 0;border-bottom:none;font-weight:700;font-size:1.3rem}.dashboard .table-container{max-height:400px;overflow-y:auto;overflow-x:auto;position:relative;border:1px solid #e9ecef;border-radius:12px;background:white}.dashboard .data-table thead th{position:sticky;top:0;z-index:15;background:white;color:#000;box-shadow:0 2px 4px #00000026}.table-container{overflow-x:auto;margin-bottom:1rem;background:white;border-radius:12px;box-shadow:var(--shadow);border:1px solid var(--border-color);max-height:500px;overflow-y:auto;position:relative}.data-table{width:100%;border-collapse:collapse;background:white;min-width:800px}.data-table thead th{position:sticky;top:0;z-index:15;background:inherit;box-shadow:0 2px 4px #00000026;border-bottom:2px solid rgba(255,255,255,.2)}.table-container,.inventory-table-container,.suppliers-table-container,.table-container-scrollable{scroll-behavior:smooth;-webkit-overflow-scrolling:touch}.table-container::-webkit-scrollbar,.inventory-table-container::-webkit-scrollbar,.suppliers-table-container::-webkit-scrollbar{width:8px;height:8px}.table-container::-webkit-scrollbar-track,.inventory-table-container::-webkit-scrollbar-track,.suppliers-table-container::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.table-container::-webkit-scrollbar-thumb,.inventory-table-container::-webkit-scrollbar-thumb,.suppliers-table-container::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.table-container::-webkit-scrollbar-thumb:hover,.inventory-table-container::-webkit-scrollbar-thumb:hover,.suppliers-table-container::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.data-table thead{position:relative;z-index:15}.data-table thead th{background-clip:padding-box;border-bottom:2px solid rgba(255,255,255,.2)}.data-table thead th{user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.data-table tbody tr:hover{background-color:#007bff1a;transition:background-color .2s ease}@media (max-width: 768px){.table-container,.inventory-table-container,.suppliers-table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;overflow-y:auto}}.data-table th,.data-table td{padding:1rem;text-align:right;border-bottom:1px solid var(--border-color);white-space:nowrap}.data-table th{background:white!important;font-weight:700!important;color:#000!important;font-size:1.1rem!important;position:sticky;top:0;z-index:10}.data-table tr:hover{background:rgba(22,160,133,.05)}@media (max-width: 1024px){.data-table{min-width:700px}.data-table th,.data-table td{padding:.75rem .5rem;font-size:.9rem}}@media (max-width: 768px){.data-table{min-width:600px}.data-table th,.data-table td{padding:.5rem .25rem;font-size:.8rem}.suppliers-fixed-table .action-buttons-group{flex-direction:column;gap:.2rem}.suppliers-fixed-table .action-buttons-group .btn{padding:.25rem .4rem;font-size:.75rem;min-width:24px;height:24px}.supplier-info{flex-direction:column;gap:.2rem;text-align:center}.supplier-name{font-size:.8rem}.credit-amount{font-size:.9rem}.transactions-info{gap:.1rem}.transaction-count{font-size:.9rem}.transaction-label{font-size:.7rem}.suppliers-fixed-table th:nth-child(1),.suppliers-fixed-table td:nth-child(1){width:25%}.suppliers-fixed-table th:nth-child(2),.suppliers-fixed-table td:nth-child(2){width:20%}.suppliers-fixed-table th:nth-child(3),.suppliers-fixed-table td:nth-child(3){width:20%}.suppliers-fixed-table th:nth-child(4),.suppliers-fixed-table td:nth-child(4){width:35%}}.status{padding:.25rem .75rem;border-radius:20px;font-size:.8rem;font-weight:600}.status.paid{background:rgba(39,174,96,.1);color:var(--success-color)}.status.partial{background:rgba(243,156,18,.1);color:var(--warning-color)}.status.active{background:rgba(39,174,96,.1);color:var(--success-color)}.actions-header{margin-top:2rem;margin-bottom:1rem;text-align:center}.actions-header h3{color:var(--text-primary);margin-bottom:.5rem;font-size:1.2rem}.actions-header p{color:var(--text-secondary);font-size:.9rem}.table-actions{display:flex;gap:.6rem!important;flex-wrap:wrap;justify-content:center;padding:1rem!important;background:rgba(22,160,133,.05);border-radius:6px;border:1px solid rgba(22,160,133,.1);box-shadow:0 1px 4px #0000000d}.debug-card{border:2px dashed #9b59b6!important;background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%)!important;position:relative;overflow:hidden}.global-shortcuts-display{background:rgba(22,160,133,.05);border:1px solid rgba(22,160,133,.2);border-radius:12px;padding:1rem;margin-top:1rem}.global-shortcuts-display h4{margin:0 0 .75rem;color:var(--primary-color);font-size:1rem;font-weight:600}.shortcuts-grid{display:flex;gap:1rem;flex-wrap:wrap}.shortcut-item{display:flex;align-items:center;gap:.5rem;background:white;padding:.5rem .75rem;border-radius:8px;border:1px solid var(--border-color);font-size:.85rem;color:var(--text-primary);box-shadow:0 1px 3px #0000001a;transition:all .2s ease}.shortcut-item:hover{transform:translateY(-1px);box-shadow:0 2px 6px #00000026}.shortcut-item kbd{background:var(--primary-color);color:#fff;padding:.25rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600;min-width:2rem;text-align:center;box-shadow:0 1px 2px #0003}.modal-title-section{display:flex;flex-direction:column;gap:.75rem}.modal-title-section h2{margin:0}.shortcuts-display{display:flex;gap:.75rem;flex-wrap:wrap}.shortcuts-display .shortcut-item{font-size:.8rem;padding:.4rem .6rem;background:rgba(255,255,255,.9)}.shortcuts-display .shortcut-item kbd{font-size:.7rem;padding:.2rem .4rem;min-width:1.5rem}.modal-header-ltr{display:flex;flex-direction:column;align-items:flex-start;padding:1.5rem 2rem;border-bottom:1px solid #e0e0e0;background:linear-gradient(135deg,#8e44ad,#9b59b6);color:#fff;border-radius:12px 12px 0 0}.sales-modal-landscape .modal-header-ltr{background:linear-gradient(135deg,#28a745,#20c997)!important}.purchase-modal-landscape .modal-header-ltr{background:linear-gradient(135deg,#007bff,#6610f2)!important}.customer-modal .modal-header-ltr{background:linear-gradient(135deg,#6f42c1,#e83e8c)!important;color:#fff!important}.customer-modal .modal-header-ltr h2{color:#fff!important}.supplier-modal .modal-header-ltr{background:linear-gradient(135deg,#fd7e14,#ffc107)!important}.product-modal .modal-header-ltr{background:linear-gradient(135deg,#17a2b8,#6f42c1)!important}.lang-ar .sales-modal .modal-header,.lang-ar .sales-modal .modal-header-ltr,.lang-ar .sales-modal-landscape .modal-header{background:linear-gradient(135deg,#28a745,#20c997)!important;color:#fff!important}.lang-ar .sales-modal .modal-header h2,.lang-ar .sales-modal .modal-header-ltr h2,.lang-ar .sales-modal-landscape .modal-header h2{color:#317b22!important;text-shadow:none!important}.lang-ar .purchase-modal .modal-header,.lang-ar .purchase-modal .modal-header-ltr,.lang-ar .purchase-modal-landscape .modal-header{background:#ffffff!important;border:2px solid #7d2e68!important;border-radius:12px!important;color:#7d2e68!important;padding:10px 16px!important;box-shadow:0 2px 8px #00000014!important}.lang-ar .purchase-modal .modal-header h2,.lang-ar .purchase-modal .modal-header-ltr h2,.lang-ar .purchase-modal-landscape .modal-header h2{color:#7d2e68!important;text-shadow:none!important}.lang-ar .customer-modal .modal-header,.lang-ar .customer-modal .modal-header-ltr{background:#ffffff!important;border:2px solid #df57bc!important;border-radius:12px!important;color:#371e30!important;padding:16px 20px!important;box-shadow:0 2px 8px #00000014!important}.lang-ar .customer-modal .modal-header h2,.lang-ar .customer-modal .modal-header-ltr h2{color:#371e30!important;text-shadow:none!important}.suppliers-section{margin-top:40px;background:white;border-radius:15px;box-shadow:0 4px 20px #0000001a;overflow:hidden}.section-header{display:flex;justify-content:space-between;align-items:center;padding:25px 30px;background:linear-gradient(135deg,#fd7e14,#ffc107);color:#fff;margin-bottom:0}.section-header-ltr{flex-direction:row}.section-header h2{margin:0;font-size:24px;font-weight:700}.suppliers-table-container{padding:0;overflow-x:auto}.suppliers-table-container .data-table{margin:0;border-radius:0;box-shadow:none}.page-subtitle{margin:.5rem 0 0;font-size:1.1rem;font-weight:500;opacity:.85;color:#6c757d;font-style:italic}.table-title{margin:1.5rem 0 1rem;font-size:1.3rem;font-weight:700;color:#2c3e50;text-align:center;padding:.8rem 1rem;background:white;border-radius:8px;border-left:4px solid #007bff;box-shadow:0 2px 4px #0000001a}.lang-ar .table-title{text-align:right;direction:rtl;border-left:none;border-right:4px solid #007bff}.lang-fr .table-title,.lang-en .table-title{text-align:left;direction:ltr;border-right:none;border-left:4px solid #007bff}.table-title.orange{border-left:4px solid #ff8c00}.lang-ar .table-title.orange{border-right:4px solid #ff8c00;border-left:none}.lang-fr .table-title.orange,.lang-en .table-title.orange{border-left:4px solid #ff8c00;border-right:none}.table-title-with-button{display:flex;align-items:center;justify-content:space-between;margin:1.5rem 0 1rem;padding:.8rem 1rem;background:white;border-radius:8px;border-left:4px solid #007bff;box-shadow:0 2px 4px #0000001a}.lang-ar .table-title-with-button{direction:rtl;border-left:none;border-right:4px solid #007bff}.lang-fr .table-title-with-button,.lang-en .table-title-with-button{direction:ltr;border-right:none;border-left:4px solid #007bff}.table-title-with-button.orange{border-left:4px solid #ff8c00}.lang-ar .table-title-with-button.orange{border-right:4px solid #ff8c00;border-left:none}.lang-fr .table-title-with-button.orange,.lang-en .table-title-with-button.orange{border-left:4px solid #ff8c00;border-right:none}.table-title.green,.table-title-with-button.green{border-left:4px solid #2ecc71}.lang-ar .table-title.green,.lang-ar .table-title-with-button.green{border-right:4px solid #2ecc71;border-left:none}.lang-fr .table-title.green,.lang-en .table-title.green,.lang-fr .table-title-with-button.green,.lang-en .table-title-with-button.green{border-left:4px solid #2ecc71;border-right:none}.table-title.purple,.table-title-with-button.purple{border-left:4px solid #3498db}.lang-ar .table-title.purple,.lang-ar .table-title-with-button.purple{border-right:4px solid #3498db;border-left:none}.lang-fr .table-title.purple,.lang-en .table-title.purple,.lang-fr .table-title-with-button.purple,.lang-en .table-title-with-button.purple{border-left:4px solid #3498db;border-right:none}.table-title.cyan,.table-title-with-button.cyan{border-left:4px solid #f9e79f}.lang-ar .table-title.cyan,.lang-ar .table-title-with-button.cyan{border-right:4px solid #f9e79f;border-left:none}.lang-fr .table-title.cyan,.lang-en .table-title.cyan,.lang-fr .table-title-with-button.cyan,.lang-en .table-title-with-button.cyan{border-left:4px solid #f9e79f;border-right:none}.table-title.dark-orange,.table-title-with-button.dark-orange{border-left:4px solid #ecf0f1}.lang-ar .table-title.dark-orange,.lang-ar .table-title-with-button.dark-orange{border-right:4px solid #ecf0f1;border-left:none}.lang-fr .table-title.dark-orange,.lang-en .table-title.dark-orange,.lang-fr .table-title-with-button.dark-orange,.lang-en .table-title-with-button.dark-orange{border-left:4px solid #ecf0f1;border-right:none}.table-title.red,.table-title-with-button.red{border-left:4px solid #dc3545}.lang-ar .table-title.red,.lang-ar .table-title-with-button.red{border-right:4px solid #dc3545;border-left:none}.lang-fr .table-title.red,.lang-en .table-title.red,.lang-fr .table-title-with-button.red,.lang-en .table-title-with-button.red{border-left:4px solid #dc3545;border-right:none}.table-title.blue,.table-title-with-button.blue{border-left:4px solid #34495e}.lang-ar .table-title.blue,.lang-ar .table-title-with-button.blue{border-right:4px solid #34495e;border-left:none}.lang-fr .table-title.blue,.lang-en .table-title.blue,.lang-fr .table-title-with-button.blue,.lang-en .table-title-with-button.blue{border-left:4px solid #34495e;border-right:none}.table-title.light-blue,.table-title-with-button.light-blue{border-left:4px solid #2980b9}.lang-ar .table-title.light-blue,.lang-ar .table-title-with-button.light-blue{border-right:4px solid #2980b9;border-left:none}.lang-fr .table-title.light-blue,.lang-en .table-title.light-blue,.lang-fr .table-title-with-button.light-blue,.lang-en .table-title-with-button.light-blue{border-left:4px solid #2980b9;border-right:none}.table-title.dark-purple,.table-title-with-button.dark-purple{border-left:4px solid #8e44ad}.lang-ar .table-title.dark-purple,.lang-ar .table-title-with-button.dark-purple{border-right:4px solid #8e44ad;border-left:none}.lang-fr .table-title.dark-purple,.lang-en .table-title.dark-purple,.lang-fr .table-title-with-button.dark-purple,.lang-en .table-title-with-button.dark-purple{border-left:4px solid #8e44ad;border-right:none}.table-title.teal,.table-title-with-button.teal{border-left:4px solid #00b9ae}.lang-ar .table-title.teal,.lang-ar .table-title-with-button.teal{border-right:4px solid #00b9ae;border-left:none}.lang-fr .table-title.teal,.lang-en .table-title.teal,.lang-fr .table-title-with-button.teal,.lang-en .table-title-with-button.teal{border-left:4px solid #00b9ae;border-right:none}.dashboard .data-table thead th,.dashboard .inventory-table thead th{background:white!important;color:#000!important;font-weight:700!important;font-size:1.05rem!important}.sales-page .data-table thead th,.sales-page .inventory-table thead th{background:white!important;color:#000!important;font-weight:700!important;font-size:1.15rem!important;position:sticky;top:0;z-index:15;box-shadow:0 2px 4px #00000026}.sales-page .table-container{max-height:450px;overflow-y:auto;overflow-x:auto;position:relative;border:1px solid #e9ecef;border-radius:12px;background:white}.purchases-page .data-table thead th,.purchases-page .inventory-table thead th{background:white!important;color:#000!important;font-weight:700!important;font-size:1.05rem!important;position:sticky;top:0;z-index:15;box-shadow:0 2px 4px #00000026}.purchases-page .table-container{max-height:450px;overflow-y:auto;overflow-x:auto;position:relative;border:1px solid #e9ecef;border-radius:12px;background:white}.customers-page .data-table thead th,.customers-page .inventory-table thead th{background:white!important;color:#000!important;font-weight:700!important;font-size:1.05rem!important;position:sticky;top:0;z-index:15;box-shadow:0 2px 4px #00000026}.customers-page .table-container{max-height:450px;overflow-y:auto;overflow-x:auto;position:relative;border:1px solid #e9ecef;border-radius:12px;background:white}.inventory-page .data-table thead th,.inventory-page .inventory-table thead th{background:white!important;color:#000!important;font-weight:700!important;font-size:1.05rem!important;position:sticky!important;top:0!important;z-index:1000!important;box-shadow:0 2px 4px #00000026!important;background-clip:padding-box!important;border-bottom:2px solid rgba(0,0,0,.1)!important}.inventory-page .table-container,.inventory-page .inventory-table-container{height:70vh!important;overflow-y:auto!important;overflow-x:auto!important;position:relative!important;border:1px solid #e9ecef;border-radius:12px;background:white;box-shadow:0 4px 20px #00000014;transform:none!important;filter:none!important}.inventory-page .inventory-table-container:after{content:"← اسحب أفقياً لرؤية جميع الأعمدة (الحالة والإجراءات)";position:absolute;bottom:15px;right:15px;background:rgba(23,162,184,.95);color:#fff;padding:8px 16px;border-radius:25px;font-size:13px;font-weight:700;z-index:20;pointer-events:none;opacity:.9;box-shadow:0 2px 8px #0003;animation:scrollHint 3s infinite}@keyframes scrollHint{0%,to{opacity:.9;transform:translate(0)}50%{opacity:1;transform:translate(-5px)}}.settings-page .data-table thead th,.settings-page .inventory-table thead th,.reports-page .data-table thead th,.reports-page .inventory-table thead th{background:white!important;color:#000!important;font-weight:700!important;font-size:1.05rem!important}table thead th,.data-table thead th,.inventory-table thead th,.dashboard .data-table thead th,.sales-page .data-table thead th,.purchases-page .data-table thead th,.customers-page .data-table thead th,.inventory-page .data-table thead th,.settings-page .data-table thead th,.reports-page .data-table thead th{background:white!important;color:#000!important;font-weight:700!important;font-size:1.1rem!important}.dashboard .page-header h1,.sales-page .page-header h1,.purchases-page .page-header h1,.customers-page .page-header h1,.inventory-page .page-header h1,.settings-page .page-header h1,.reports-page .page-header h1,.dashboard .page-header p,.sales-page .page-header p,.purchases-page .page-header p,.customers-page .page-header p,.inventory-page .page-header p,.settings-page .page-header p,.reports-page .page-header p{color:#000!important}.supplier-modal{max-width:600px;width:90%;max-height:90vh;overflow-y:auto}.supplier-modal .modal-header{background:#ffffff!important;border:2px solid #7d2e68!important;border-radius:12px!important;color:#7d2e68!important;padding:10px 16px!important;box-shadow:0 2px 8px #00000014!important;border-bottom:none}.customer-modal .modal-header{background:#ffffff!important;border:2px solid #df57bc!important;border-radius:12px!important;color:#371e30!important;padding:10px 16px!important;box-shadow:0 2px 8px #00000014!important;border-bottom:none}.customer-modal .modal-header h2{color:#371e30!important;text-shadow:none!important;font-size:1.1rem!important}.product-modal .modal-header{background:#ffffff!important;border:2px solid #eec584!important;border-radius:12px!important;color:#7f636e!important;padding:10px 16px!important;box-shadow:0 2px 8px #00000014!important;border-bottom:none}.lang-ar .sales-modal-landscape .modal-header{background:#ffffff!important;border:2px solid #317b22!important;border-radius:12px!important;color:#317b22!important;padding:10px 16px!important;box-shadow:0 2px 8px #00000014!important}.lang-ar .purchase-modal-landscape .modal-header{background:#ffffff!important;border:2px solid #7d2e68!important;border-radius:12px!important;color:#7d2e68!important;padding:10px 16px!important;box-shadow:0 2px 8px #00000014!important}.supplier-modal .modal-header h2{margin:0;font-size:24px;font-weight:700;text-align:center;flex:1}.supplier-modal .modal-shortcuts{display:none}.supplier-modal .modal-body{padding:30px}.supplier-modal .form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}.supplier-modal .form-group.full-width{grid-column:1 / -1}.supplier-modal .modal-footer{padding:20px 30px;background:#f8f9fa;border-top:1px solid #e9ecef;border-radius:0 0 15px 15px}@media (max-width: 768px){.supplier-modal{width:95%;margin:10px;max-height:95vh}.supplier-modal .form-grid{grid-template-columns:1fr;gap:15px}.supplier-modal .modal-header{padding:15px 20px}.supplier-modal .modal-body{padding:20px}.supplier-modal .modal-footer{padding:15px 20px}}.modal-header-ltr .modal-title-section{display:flex;flex-direction:column;align-items:flex-start;width:100%;gap:1rem}.modal-header-ltr .modal-title-section h2{margin:0;text-align:left;white-space:nowrap;color:#fff;font-weight:700}.modal-header-ltr .shortcuts-display{display:flex;gap:1rem;flex-wrap:wrap;justify-content:flex-start;align-items:center;margin-top:.5rem}.modal-header-ltr .shortcuts-display .shortcut-item{display:inline-flex;align-items:center;gap:.3rem;white-space:nowrap}@media (max-width: 768px){.modal-header-ltr .shortcuts-display{gap:.5rem;flex-wrap:wrap}.modal-header-ltr .shortcuts-display .shortcut-item{font-size:.75rem}}.page-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem;gap:2rem}.page-title-section{flex:1}.page-title-section h1{margin:0 0 .5rem}.page-title-section p{margin:0}.page-header-ltr{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem;gap:2rem}.page-header-ltr h1{margin:0 0 .5rem;text-align:left;flex:0 0 auto}.page-header-ltr p{margin:0;text-align:right;flex:1;padding-left:2rem}.sound-notification{position:fixed;top:20px;left:20px;background:rgba(22,160,133,.95);color:#fff;padding:8px 16px;border-radius:20px;font-size:12px;font-weight:600;z-index:10000;animation:soundNotificationSlide 2s ease-out forwards;pointer-events:none;backdrop-filter:blur(10px);box-shadow:0 4px 12px #0003}@keyframes soundNotificationSlide{0%{transform:translate(-100%);opacity:0}20%{transform:translate(0);opacity:1}80%{transform:translate(0);opacity:1}to{transform:translate(-100%);opacity:0}}.shortcut-feedback{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:rgba(22,160,133,.95);color:#fff;padding:20px 30px;border-radius:15px;font-family:Cairo,sans-serif;text-align:center;z-index:10001;box-shadow:0 8px 32px #0000004d;animation:shortcutFeedback 1.5s ease-out forwards;pointer-events:none;backdrop-filter:blur(10px)}.shortcut-feedback .shortcut-key{font-size:24px;font-weight:700;margin-bottom:8px;background:rgba(255,255,255,.2);padding:8px 16px;border-radius:8px;display:inline-block}.shortcut-feedback .shortcut-desc{font-size:16px;opacity:.9}@keyframes shortcutFeedback{0%{opacity:0;transform:translate(-50%,-50%) scale(.8)}20%{opacity:1;transform:translate(-50%,-50%) scale(1.05)}40%{transform:translate(-50%,-50%) scale(1)}80%{opacity:1;transform:translate(-50%,-50%) scale(1)}to{opacity:0;transform:translate(-50%,-50%) scale(.9)}}@media (max-width: 1024px){.page-header{flex-direction:column;align-items:stretch;gap:1rem}.global-shortcuts-display{margin-top:0}.shortcuts-grid{justify-content:center}.shortcut-item{font-size:.8rem;padding:.4rem .6rem}.shortcut-item kbd{font-size:.7rem;padding:.2rem .4rem}}@media (max-width: 768px){.global-shortcuts-display{padding:.75rem}.global-shortcuts-display h4{font-size:.9rem;margin-bottom:.5rem}.shortcuts-grid{gap:.5rem}.shortcut-item{font-size:.75rem;padding:.3rem .5rem}.shortcut-item kbd{font-size:.65rem;padding:.15rem .3rem;min-width:1.2rem}.shortcuts-display:not(.modal-header-ltr .shortcuts-display){display:none}.modal-header-ltr .shortcuts-display{display:flex!important}.modal-title-section{gap:.5rem}}@media (max-width: 480px){.global-shortcuts-display{display:none}.system-controls{padding:.5rem;gap:.25rem}.control-btn{width:35px;height:35px;font-size:1rem}}.debug-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#9b59b6,#e74c3c,#f39c12,#27ae60,#3498db);animation:debugGlow 2s ease-in-out infinite alternate}@keyframes debugGlow{0%{opacity:.6}to{opacity:1}}.debug-card .report-icon{color:#9b59b6;animation:debugPulse 1.5s ease-in-out infinite}@keyframes debugPulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.debug-card .report-info h3{color:#9b59b6!important;font-weight:700}.debug-card .report-stats span{color:#e74c3c!important;font-weight:800;text-shadow:1px 1px 2px rgba(0,0,0,.1)}.debug-card .report-stats small{color:#7f8c8d!important;font-style:italic}.debug-card:hover{transform:translateY(-5px);box-shadow:0 8px 25px #9b59b64d;border-color:#8e44ad!important}.category-filter-group{display:flex;gap:.5rem;align-items:center}.category-management{padding:20px}.add-category-section{margin-bottom:30px;padding:20px;background:#f8f9fa;border-radius:10px;border:2px dashed #dee2e6}.add-category-section h3{margin-bottom:15px;color:#495057}.add-category-section .form-row{display:flex;gap:10px;align-items:center}.add-category-section input{flex:1;padding:10px;border:1px solid #ced4da;border-radius:5px;font-size:14px}.categories-list h3{margin-bottom:20px;color:#495057;border-bottom:2px solid #dee2e6;padding-bottom:10px}.categories-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:15px}.category-item{background:white;border:1px solid #dee2e6;border-radius:8px;padding:15px;transition:all .3s ease}.category-item:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.category-display{display:flex;justify-content:space-between;align-items:center}.category-name{font-weight:600;color:#495057;font-size:16px}.category-actions{display:flex;gap:5px}.edit-category input{width:100%;padding:8px;border:2px solid #007bff;border-radius:5px;font-size:14px;font-weight:600}.invoice-edit-form{padding:20px}.invoice-items-section{margin:20px 0}.invoice-items-section h3{margin-bottom:15px;color:#495057;border-bottom:2px solid #dee2e6;padding-bottom:10px}.invoice-totals{background:#f8f9fa;padding:20px;border-radius:8px;margin-top:20px}.totals-row{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #dee2e6}.totals-row.total-final{font-weight:700;font-size:18px;color:#28a745;border-bottom:none;border-top:2px solid #28a745;margin-top:10px;padding-top:15px}.return-form{padding:20px}.return-info{background:#e3f2fd;padding:15px;border-radius:8px;margin-bottom:20px;border-left:4px solid #2196f3}.return-info p{margin:5px 0;color:#1565c0}.return-items-section h3{margin-bottom:15px;color:#495057;border-bottom:2px solid #dee2e6;padding-bottom:10px}.return-summary{background:#fff3cd;padding:15px;border-radius:8px;margin-top:20px;border-left:4px solid #ffc107}.summary-row{display:flex;justify-content:space-between;font-weight:700;font-size:16px;color:#856404}.large-modal{max-width:90vw;width:1000px;max-height:90vh;overflow-y:auto}.large-modal .modal-body{max-height:70vh;overflow-y:auto}.category-input-group{display:flex;gap:5px;align-items:center}.category-input-group select{flex:1}.category-input-group .btn{padding:8px 12px;font-size:12px;white-space:nowrap}.action-buttons-group{display:flex;gap:4px;flex-wrap:wrap;align-items:center;justify-content:flex-start}.action-buttons-row{display:flex!important;gap:3px!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:center!important;min-width:180px;overflow-x:auto!important;scrollbar-width:none!important;-ms-overflow-style:none!important}.action-buttons-row::-webkit-scrollbar{display:none!important}.action-buttons-xs .btn-xs{min-width:28px!important;max-width:28px!important;width:28px!important;height:28px!important;font-size:14px!important;padding:0!important;border-radius:6px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:1px solid rgba(0,0,0,.2)!important;transition:all .2s ease!important;flex-shrink:0!important;background:white!important;box-shadow:0 1px 3px #0000001a!important}.action-buttons-xs .btn-xs:hover{transform:translateY(-1px)!important;box-shadow:0 3px 8px #0003!important;border-color:#0000004d!important}.summary-row-single{display:flex!important;gap:1rem!important;flex-wrap:nowrap!important;align-items:stretch!important;justify-content:space-between!important;width:100%!important}.summary-card.compact{flex:1!important;min-width:0!important;padding:.75rem!important;margin:0!important}.summary-card.compact .card-label{font-size:.8rem!important;margin-bottom:.25rem!important}.summary-card.compact .card-value{font-size:1rem!important;font-weight:600!important}.floating-actions-bottom{position:fixed;bottom:20px;right:20px;display:flex;gap:10px;z-index:1000}.btn-floating{width:56px;height:56px;border-radius:50%;border:none;font-size:20px;cursor:pointer;box-shadow:0 4px 12px #00000026;transition:all .3s ease;display:flex;align-items:center;justify-content:center}.btn-floating:hover{transform:translateY(-2px);box-shadow:0 6px 16px #0003}.btn-floating.btn-primary{background:linear-gradient(135deg,#498C8A,#3a7270);color:#fff}.btn-floating.btn-secondary{background:linear-gradient(135deg,#6c757d,#5a6268);color:#fff}.btn-clean{padding:.5rem 1rem;border:1px solid #dee2e6;border-radius:6px;background:white;color:#495057;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;gap:.5rem}.btn-clean:hover{background:#f8f9fa;border-color:#adb5bd;transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}.btn-clean.btn-primary{background:#498C8A;color:#fff;border-color:#498c8a}.btn-clean.btn-primary:hover{background:#3a7270;border-color:#3a7270}.btn-clean.btn-secondary{background:#6c757d;color:#fff;border-color:#6c757d}.btn-clean.btn-secondary:hover{background:#5a6268;border-color:#5a6268}.btn-modern.btn-danger{background:linear-gradient(135deg,#dc3545,#c82333);color:#fff;border:1px solid #dc3545}.btn-modern.btn-danger:hover{background:linear-gradient(135deg,#c82333,#bd2130);border-color:#bd2130;transform:translateY(-1px);box-shadow:0 4px 8px #dc35454d}.btn-modern.btn-danger:disabled{background:#6c757d;border-color:#6c757d;opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}.warning-text{color:#dc3545!important;font-weight:500;font-size:.9rem}.warning-section{display:flex;align-items:flex-start;gap:1rem;padding:1rem;background:#fff5f5;border:1px solid #fed7d7;border-radius:8px;margin-bottom:1.5rem}.warning-icon{font-size:2rem;flex-shrink:0}.warning-message h3{color:#dc3545;margin:0 0 .5rem;font-size:1.1rem;font-weight:600}.warning-message p{color:#6c757d;margin:0;line-height:1.5}.summary-cards{display:flex;gap:1rem;margin-bottom:1.5rem}.summary-cards .summary-card{flex:1;background:#f8f9fa;border:1px solid #dee2e6;border-radius:8px;padding:1rem;text-align:center}.summary-cards .card-label{font-size:.875rem;color:#6c757d;margin-bottom:.5rem}.summary-cards .card-value{font-size:1.25rem;font-weight:600;color:#495057}.action-buttons-group .btn{padding:6px 10px;font-size:12px;min-width:auto;white-space:nowrap;border-radius:4px;transition:all .2s ease}.action-buttons-group .btn:hover{transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}.action-buttons-group .btn-sm{padding:4px 8px;font-size:11px}.action-buttons-group .btn-xs{padding:0!important;font-size:14px!important;min-width:32px!important;max-width:32px!important;width:32px!important;height:32px!important;border-radius:6px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:none!important;cursor:pointer;transition:all .2s ease;box-shadow:0 1px 3px #0000001a;text-align:center!important;line-height:1!important}.action-buttons-group .btn-xs:hover{transform:translateY(-1px);box-shadow:0 2px 6px #00000026}.action-buttons-group .btn-xs:active{transform:translateY(0);box-shadow:0 1px 3px #0000001a}.action-buttons-group{display:flex!important;gap:3px!important;flex-wrap:wrap;justify-content:center;align-items:center}.action-buttons-group{justify-content:flex-start!important}td .action-buttons-group .btn,.action-buttons-group .btn.btn-xs,.action-buttons-group button.btn{padding:0!important;min-width:32px!important;max-width:32px!important;width:32px!important;height:32px!important;font-size:14px!important;border-radius:6px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:0!important;text-align:center!important;line-height:1!important;border:none!important}.customers-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}.customer-card{background:white;border-radius:12px;box-shadow:var(--shadow);padding:1.5rem;cursor:pointer;transition:all .3s ease;border:2px solid transparent}.customer-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg);border-color:var(--primary-color)}.customer-info h3{margin-bottom:.5rem;color:var(--text-primary)}.customer-info p{color:var(--text-secondary);font-size:.9rem;margin-bottom:.25rem}.customer-balance{margin:1rem 0;padding:1rem;background:var(--background-color);border-radius:8px;text-align:center}.balance-label{display:block;font-size:.9rem;color:var(--text-secondary);margin-bottom:.5rem}.balance-amount{font-size:1.3rem;font-weight:700;color:var(--primary-color)}.customer-status{text-align:center}.summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-bottom:2rem}.summary-card{background:white;padding:1.5rem;border-radius:12px;box-shadow:var(--shadow);text-align:center;border-top:4px solid}.summary-card.orange{border-top-color:var(--warning-color)}.summary-card.blue{border-top-color:var(--info-color)}.summary-card.green{border-top-color:var(--success-color)}.summary-card h3{margin-bottom:1rem;color:var(--text-secondary);font-size:.9rem}.summary-value{font-size:1.8rem;font-weight:700;color:var(--text-primary)}.coming-soon{text-align:center;padding:4rem 2rem;background:white;border-radius:12px;box-shadow:var(--shadow)}.coming-soon h2{color:var(--text-primary);margin-bottom:1rem}.coming-soon p{color:var(--text-secondary)}.modal-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:9999}.modal-content{background:white;border-radius:12px;box-shadow:var(--shadow-lg);max-width:600px;width:90%;max-height:90vh;overflow-y:auto;margin:0;position:relative}.modal-content.invoice-modal{max-width:1000px;width:90%;max-height:90vh;border-radius:8px;margin:0}.invoice-header-view{background:linear-gradient(135deg,#f8f9fa,#ffffff);color:#333;padding:2rem;margin:0;text-align:center;border-bottom:3px solid #0A81D1}.store-details h1{color:#333!important;margin:0 0 1rem;font-size:1.8rem;font-weight:700}.store-details p{color:#555!important;margin:.5rem 0;font-size:1rem;opacity:1}.invoice-info h2{color:#0a81d1!important;margin:1rem 0;font-size:1.5rem;font-weight:600}.modal-body{padding:0;background:white}.invoice-view{background:white;margin:0;padding:0}.modern-store-details h1,.store-info h1,.store-details h1{color:#333!important}.modern-store-details p,.store-info p,.store-details p{color:#555!important}.modern-invoice-info h2,.invoice-info h2{color:#0a81d1!important}.invoice-header-view *,.invoice-header-view h1,.invoice-header-view h2,.invoice-header-view h3,.invoice-header-view p,.invoice-header-view span{color:#333!important}.invoice-header-view .invoice-info h2{color:#0a81d1!important}.store-logo-container{display:flex;justify-content:center;margin-bottom:1rem}.store-logo-image{width:80px!important;height:80px!important;object-fit:contain;border-radius:12px;border:2px solid rgba(255,255,255,.3);background:white;padding:4px}.customer-info{padding:1.5rem;background:#f8f9fa;margin:1rem;border-radius:8px}.invoice-items{padding:1.5rem;margin:1rem}.invoice-totals{padding:1.5rem;margin:1rem;background:#f8f9fa;border-radius:8px}.modal-footer{padding:1.5rem;background:#f8f9fa;border-top:1px solid #dee2e6;display:flex;gap:1rem;justify-content:center}.lang-ar .modal-content.invoice-modal{direction:rtl}.lang-fr .modal-content.invoice-modal,.lang-en .modal-content.invoice-modal{direction:ltr}.lang-ar .invoice-header-view{text-align:right;direction:rtl}.lang-fr .invoice-header-view,.lang-en .invoice-header-view{text-align:center;direction:ltr}.lang-ar .store-details{text-align:right}.lang-fr .store-details,.lang-en .store-details{text-align:center}@media (max-width: 768px){.modal-content.invoice-modal{width:95vw;max-width:95vw;margin:0}.invoice-header-view{padding:1.5rem}.store-details h1{font-size:1.5rem}.invoice-info h2{font-size:1.3rem}.modal-footer{flex-direction:column;gap:.5rem}}.modal-content.purchase-invoice-modal{max-width:1000px;width:90%;max-height:90vh;border-radius:8px;margin:0;background:#ffffff;box-shadow:0 10px 30px #0000004d;overflow:hidden;display:flex;flex-direction:column}.purchase-invoice-modal .modal-body{overflow-y:auto;max-height:calc(90vh - 120px);flex:1}.purchase-invoice-header-view{background:linear-gradient(135deg,#007bff 0%,#0056b3 100%);color:#fff;padding:2rem;display:flex;justify-content:space-between;align-items:flex-start;gap:2rem}.purchase-store-details{flex:1}.purchase-store-logo{width:80px;height:80px;object-fit:contain;margin-bottom:10px;border-radius:8px;box-shadow:0 2px 8px #0003}.purchase-store-details h1{color:#fff!important;font-size:1.8rem;margin-bottom:.5rem;font-weight:700;text-shadow:1px 1px 2px rgba(0,0,0,.3)}.purchase-store-details p{color:#fff!important;margin:.2rem 0;font-size:.95rem;text-shadow:1px 1px 2px rgba(0,0,0,.3)}.purchase-invoice-info{flex:1;text-align:right;background:rgba(255,255,255,.15);padding:1.5rem;border-radius:10px;backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2)}.purchase-invoice-info h2{color:#fff!important;font-size:1.6rem;margin-bottom:1rem;font-weight:700;text-shadow:1px 1px 2px rgba(0,0,0,.5)}.purchase-supplier-info{background:linear-gradient(135deg,#e8f4fd 0%,#f0f8ff 100%);border:2px solid #007bff;border-radius:10px;padding:1.5rem;margin:1rem 0;box-shadow:0 2px 8px #007bff1a}.purchase-supplier-info h3{color:#007bff!important;font-size:1.3rem;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem;font-weight:700}.purchase-supplier-info .info-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.purchase-supplier-info .info-item{display:flex;flex-direction:column;gap:.3rem}.purchase-supplier-info .info-item strong{color:#155724;font-size:.9rem;font-weight:600}.purchase-supplier-info .info-item span{color:#333;font-size:1rem;font-weight:500}.purchase-invoice-details-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1rem;margin-top:1rem}.purchase-invoice-detail-item{display:flex;flex-direction:column;gap:.3rem}.purchase-invoice-detail-item strong{color:#007bff;font-size:.9rem;font-weight:600}.purchase-invoice-detail-item span{color:#333;font-size:1rem;font-weight:500}.purchase-items-table{width:100%;border-collapse:collapse;margin:1rem 0;background:white;border-radius:8px;overflow:hidden;box-shadow:0 2px 10px #0000001a}.purchase-items-table th{background:linear-gradient(135deg,#007bff 0%,#0056b3 100%);color:#fff;padding:1rem;text-align:center;font-weight:600;font-size:.95rem}.purchase-items-table td{padding:.8rem;text-align:center;border-bottom:1px solid #e9ecef;color:#333}.purchase-items-table tbody tr:hover{background:#f8f9fa}.purchase-invoice-totals{background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);border:2px solid #007bff;border-radius:10px;padding:1.5rem;margin-top:1rem}.purchase-totals-section{display:flex;flex-direction:column;gap:.8rem}.purchase-total-row{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid #dee2e6}.purchase-total-row:last-child{border-bottom:none;font-weight:700;font-size:1.1rem;color:#007bff;background:rgba(0,123,255,.1);padding:1rem;border-radius:5px;margin-top:.5rem}.lang-ar .modal-content.purchase-invoice-modal{direction:rtl}.lang-fr .modal-content.purchase-invoice-modal,.lang-en .modal-content.purchase-invoice-modal{direction:ltr}.lang-ar .purchase-invoice-header-view{text-align:right}.lang-fr .purchase-invoice-header-view,.lang-en .purchase-invoice-header-view,.lang-ar .purchase-invoice-info{text-align:left}.lang-fr .purchase-invoice-info,.lang-en .purchase-invoice-info{text-align:right}.lang-ar .purchase-invoice-header-view{flex-direction:row-reverse}.lang-ar .purchase-supplier-info .info-grid{text-align:right}.lang-fr .purchase-supplier-info .info-grid,.lang-en .purchase-supplier-info .info-grid{text-align:left}.lang-ar .purchase-invoice-details-grid{text-align:right}.lang-fr .purchase-invoice-details-grid,.lang-en .purchase-invoice-details-grid{text-align:left}@media (max-width: 768px){.modal-content.purchase-invoice-modal{width:95vw;max-width:95vw;margin:0}.purchase-invoice-header-view{flex-direction:column;gap:1rem;padding:1.5rem}.purchase-invoice-details-grid{grid-template-columns:1fr;gap:.8rem}.purchase-items-table th,.purchase-items-table td{padding:.5rem;font-size:.85rem}.purchase-invoice-modal .modal-footer{flex-shrink:0;padding:1rem;border-top:1px solid #e9ecef;background:#f8f9fa}}.purchase-modal-header{background:#ffffff!important;border:2px solid #7d2e68!important;border-radius:12px!important;color:#7d2e68!important;padding:10px 16px!important;box-shadow:0 2px 8px #00000014!important;border-bottom:none!important}.purchase-modal-header h2{color:#7d2e68!important;text-shadow:none!important;font-weight:700!important;font-size:1.1rem!important;margin:0}.purchase-modal-header .modal-close{color:#7d2e68!important;background:transparent!important;border:2px solid #7d2e68!important;border-radius:50%;width:32px!important;height:32px!important;display:flex;align-items:center;justify-content:center;font-size:1.2rem;font-weight:700}.purchase-modal-header .modal-close:hover{background:#7d2e68!important;color:#fff!important;transform:scale(1.1)}.purchase-invoice-modal .modal-footer{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);border-top:2px solid #007bff;flex-shrink:0}.purchase-invoice-modal .modal-footer .btn{margin:0 .5rem;padding:.75rem 1.5rem;font-weight:600;border-radius:6px;transition:all .3s ease}.purchase-invoice-modal .modal-footer .btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}@media print{.modal-overlay{position:static;background:none}.modal-content{box-shadow:none;border:none;width:100%;max-width:none}}.modal-content.sales-invoice-modal{max-width:1000px;width:90%;max-height:90vh;border-radius:8px;margin:0;background:#ffffff;box-shadow:0 10px 30px #0000004d;overflow:hidden;display:flex;flex-direction:column}.sales-invoice-modal .modal-body{overflow-y:auto;max-height:calc(90vh - 120px);flex:1}.sales-invoice-header-view{background:linear-gradient(135deg,#28a745 0%,#20c997 100%);color:#fff;padding:2rem;display:flex;justify-content:space-between;align-items:flex-start;gap:2rem}.sales-store-details{flex:1}.sales-store-logo{width:80px;height:80px;object-fit:contain;margin-bottom:10px;border-radius:8px;box-shadow:0 2px 8px #0003}.sales-store-details h1{color:#fff!important;font-size:1.8rem;margin-bottom:.5rem;font-weight:700;text-shadow:1px 1px 2px rgba(0,0,0,.3)}.sales-store-details p{color:#fff!important;margin:.2rem 0;font-size:.95rem;text-shadow:1px 1px 2px rgba(0,0,0,.3)}.sales-invoice-info{flex:1;text-align:right;background:rgba(255,255,255,.15);padding:1.5rem;border-radius:10px;backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2)}.sales-invoice-info h2{color:#fff!important;font-size:1.4rem;margin-bottom:1rem;text-shadow:1px 1px 2px rgba(0,0,0,.3)}.sales-invoice-details-grid{display:grid;gap:.8rem}.sales-invoice-details-grid .invoice-detail-item{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid rgba(255,255,255,.2)}.sales-invoice-details-grid .invoice-detail-item strong{color:#fff!important;font-size:.9rem;text-shadow:1px 1px 2px rgba(0,0,0,.3)}.sales-invoice-details-grid .invoice-detail-item span{color:#fff!important;font-weight:600;text-shadow:1px 1px 2px rgba(0,0,0,.3)}.sales-invoice-details-grid .invoice-number-badge{background:rgba(255,255,255,.2);padding:.3rem .8rem;border-radius:15px;font-weight:700;backdrop-filter:blur(5px)}.sales-customer-info{background:#f8f9fa;padding:1.5rem;margin:1.5rem 0;border-radius:10px;border:2px solid #28a745}.sales-customer-info h3{color:#28a745;margin-bottom:1rem;font-size:1.2rem;font-weight:700;display:flex;align-items:center;gap:.5rem}.sales-customer-info .info-item{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid #e9ecef}.sales-customer-info .info-item:last-child{border-bottom:none}.sales-customer-info .info-item strong{color:#495057;font-weight:600;display:flex;align-items:center;gap:.5rem}.sales-customer-info .info-item span{color:#212529;font-weight:500}.sales-customer-info .payment-method.cash{color:#28a745;font-weight:700}.sales-customer-info .payment-method.credit{color:#ffc107;font-weight:700}.sales-invoice-items{margin:1.5rem 0}.sales-invoice-items h3{color:#28a745;margin-bottom:1rem;font-size:1.2rem;font-weight:700;display:flex;align-items:center;gap:.5rem}.sales-items-table{width:100%;border-collapse:collapse;background:white;border-radius:8px;overflow:hidden;box-shadow:0 2px 10px #0000001a}.sales-items-table th{background:linear-gradient(135deg,#28a745,#20c997);color:#fff;padding:1rem;text-align:center;font-weight:700;text-shadow:1px 1px 2px rgba(0,0,0,.3)}.sales-items-table td{padding:.8rem;text-align:center;border-bottom:1px solid #e9ecef;color:#495057}.sales-items-table tbody tr:nth-child(2n){background:#f8f9fa}.sales-items-table tbody tr:hover{background:#e3f2fd;transform:scale(1.01);transition:all .2s ease}.sales-items-table .product-name-cell{font-weight:600;color:#495057}.sales-items-table .quantity-cell{font-weight:600;color:#28a745}.sales-items-table .price-cell{font-weight:600;color:#6c757d}.sales-items-table .total-cell{font-weight:700;color:#28a745}.sales-items-table .no-products-cell{text-align:center;color:#6c757d;font-style:italic;padding:2rem}.sales-invoice-totals{background:#f8f9fa;padding:1.5rem;margin-top:1.5rem;border-radius:10px;border:2px solid #28a745}.sales-totals-section{display:flex;flex-direction:column;gap:.8rem}.sales-totals-section .total-row{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid #dee2e6}.sales-totals-section .total-row:last-child{border-bottom:none}.sales-totals-section .total-label{color:#495057;font-weight:600;display:flex;align-items:center;gap:.5rem}.sales-totals-section .total-value{color:#212529;font-weight:700;font-size:1.1rem}.sales-totals-section .sales-final-total{background:rgba(40,167,69,.1);padding:1rem;border-radius:8px;margin-top:.5rem;border:2px solid #28a745}.sales-totals-section .sales-final-total .total-label{color:#28a745;font-size:1.1rem;font-weight:700}.sales-totals-section .sales-final-total .total-value{color:#28a745;font-size:1.3rem;font-weight:700}.lang-ar .sales-invoice-details-grid{text-align:right}.lang-fr .sales-invoice-details-grid,.lang-en .sales-invoice-details-grid{text-align:left}@media (max-width: 768px){.modal-content.sales-invoice-modal{width:95vw;max-width:95vw;margin:0}.sales-invoice-header-view{flex-direction:column;gap:1rem;padding:1.5rem}.sales-invoice-details-grid{grid-template-columns:1fr;gap:.8rem}.sales-items-table th,.sales-items-table td{padding:.5rem;font-size:.85rem}.sales-invoice-modal .modal-footer{flex-shrink:0;padding:1rem;border-top:1px solid #e9ecef;background:#f8f9fa}}.sales-invoice-modal .modal-footer{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);border-top:2px solid #28a745;flex-shrink:0}.sales-invoice-modal .modal-footer .btn{margin:0 .5rem;padding:.75rem 1.5rem;font-weight:600;border-radius:6px;transition:all .3s ease}.sales-invoice-modal .modal-footer .btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.modal-header{padding:1.5rem;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center}.invoice-modal .modal-header,.debt-payment-modal .modal-header,.customer-debt-selection-modal .modal-header,.sales-modal .modal-header,.sales-form-modal .modal-header{background:#ffffff!important;border:2px solid #317b22!important;border-radius:12px!important;color:#317b22!important;padding:10px 16px!important;box-shadow:0 2px 8px #00000014!important}.invoice-modal .modal-header h2,.debt-payment-modal .modal-header h2,.customer-debt-selection-modal .modal-header h2,.sales-modal .modal-header h2,.sales-form-modal .modal-header h2{color:#317b22!important;font-weight:700!important;margin:0!important;text-shadow:none!important;font-size:1.4rem!important}.invoice-modal .modal-close,.debt-payment-modal .modal-close,.customer-debt-selection-modal .modal-close,.sales-modal .modal-close,.sales-form-modal .modal-close{color:#317b22!important;background:transparent!important;border:2px solid #317b22!important;border-radius:50%!important;width:32px!important;height:32px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:20px!important;font-weight:700!important;transition:all .2s ease!important}.invoice-modal .modal-close:hover,.debt-payment-modal .modal-close:hover,.customer-debt-selection-modal .modal-close:hover,.sales-modal .modal-close:hover,.sales-form-modal .modal-close:hover{background:#317b22!important;color:#fff!important}.purchase-modal-compact .modal-header,.supplier-selector-modal .modal-header,.purchase-modal .modal-header,.purchase-form-modal .modal-header{background:#ffffff!important;border:2px solid #7d2e68!important;border-radius:12px!important;color:#7d2e68!important;padding:10px 16px!important;box-shadow:0 2px 8px #00000014!important}.purchase-modal-compact .modal-header h2,.supplier-selector-modal .modal-header h2,.purchase-modal .modal-header h2,.purchase-form-modal .modal-header h2{color:#7d2e68!important;font-weight:700!important;margin:0!important;text-shadow:none!important;font-size:1.1rem!important}.purchase-modal-compact .modal-close,.supplier-selector-modal .modal-close,.purchase-modal .modal-close,.purchase-form-modal .modal-close{color:#7d2e68!important;background:transparent!important;border:2px solid #7d2e68!important;border-radius:50%!important;width:32px!important;height:32px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:20px!important;font-weight:700!important;transition:all .2s ease!important}.purchase-modal-compact .modal-close:hover,.supplier-selector-modal .modal-close:hover,.purchase-modal .modal-close:hover,.purchase-form-modal .modal-close:hover{background:#7d2e68!important;color:#fff!important}.product-modal .modal-header,.category-manager-modal .modal-header,.stock-manager-modal .modal-header,.product-form-modal .modal-header{background:#ffffff!important;border:2px solid #eec584!important;border-radius:12px!important;color:#7f636e!important;padding:10px 16px!important;box-shadow:0 2px 8px #00000014!important}.product-modal .modal-header h2,.category-manager-modal .modal-header h2,.stock-manager-modal .modal-header h2,.product-form-modal .modal-header h2{color:#7f636e!important;font-weight:700!important;margin:0!important;text-shadow:none!important;font-size:1.1rem!important}.product-modal .modal-close,.category-manager-modal .modal-close,.stock-manager-modal .modal-close,.product-form-modal .modal-close{color:#eec584!important;background:transparent!important;border:2px solid #eec584!important;border-radius:50%!important;width:32px!important;height:32px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:20px!important;font-weight:700!important;transition:all .2s ease!important}.product-modal .modal-close:hover,.category-manager-modal .modal-close:hover,.stock-manager-modal .modal-close:hover,.product-form-modal .modal-close:hover{background:#eec584!important;color:#fff!important}.customer-modal .modal-header,.customer-history-modal .modal-header,.customer-form-modal .modal-header{background:#ffffff!important;border:2px solid #df57bc!important;border-radius:12px!important;color:#371e30!important;padding:10px 16px!important;box-shadow:0 2px 8px #00000014!important}.customer-modal .modal-header h2,.customer-history-modal .modal-header h2,.customer-form-modal .modal-header h2{color:#371e30!important;font-weight:700!important;margin:0!important;text-shadow:none!important;font-size:1.1rem!important}.customer-modal .modal-close,.customer-history-modal .modal-close,.customer-form-modal .modal-close{color:#df57bc!important;background:transparent!important;border:2px solid #df57bc!important;border-radius:50%!important;width:32px!important;height:32px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:20px!important;font-weight:700!important;transition:all .2s ease!important}.customer-modal .modal-close:hover,.customer-history-modal .modal-close:hover,.customer-form-modal .modal-close:hover{background:#df57bc!important;color:#fff!important}.repair-modal .modal-header,.repair-details-modal .modal-header,.suppliers-parts-modal .modal-header,.modern-repair-modal .modal-header{background:#ffffff!important;border:2px solid #c73e1d!important;border-radius:12px!important;color:#3b1f2b!important;padding:10px 16px!important;box-shadow:0 2px 8px #00000014!important}.repair-modal .modal-header h2,.repair-details-modal .modal-header h2,.suppliers-parts-modal .modal-header h2,.modern-repair-modal .modal-header h2{color:#3b1f2b!important;font-weight:700!important;margin:0!important;text-shadow:none!important;font-size:1.1rem!important}.repair-modal .modal-close,.repair-details-modal .modal-close,.suppliers-parts-modal .modal-close,.modern-repair-modal .modal-close{color:#c73e1d!important;background:transparent!important;border:2px solid #c73e1d!important;border-radius:50%!important;width:32px!important;height:32px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:20px!important;font-weight:700!important;transition:all .2s ease!important;position:relative!important;z-index:2!important}.repair-modal .modal-close:hover,.repair-details-modal .modal-close:hover,.suppliers-parts-modal .modal-close:hover,.modern-repair-modal .modal-close:hover{background:#c73e1d!important;color:#fff!important}.settings-modal .modal-header{background:#ffffff!important;border:2px solid #329f5b!important;border-radius:12px!important;color:#184d2b!important;padding:10px 16px!important;box-shadow:0 2px 8px #00000014!important}.settings-modal .modal-header h2{color:#184d2b!important;font-weight:700!important;margin:0!important;text-shadow:none!important;font-size:1.1rem!important}.settings-modal .modal-close{color:#329f5b!important;background:transparent!important;border:2px solid #329f5b!important;border-radius:50%!important;width:32px!important;height:32px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:20px!important;font-weight:700!important;transition:all .2s ease!important}.settings-modal .modal-close:hover{background:#329f5b!important;color:#fff!important}.reports-modal .modal-header{background:#ffffff!important;border:2px solid #476c9b!important;border-radius:12px!important;color:#1e3a5f!important;padding:10px 16px!important;box-shadow:0 2px 8px #00000014!important}.reports-modal .modal-header h2{color:#1e3a5f!important;font-weight:700!important;margin:0!important;text-shadow:none!important;font-size:1.1rem!important}.reports-modal .modal-close{color:#476c9b!important;background:transparent!important;border:2px solid #476c9b!important;border-radius:50%!important;width:32px!important;height:32px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:20px!important;font-weight:700!important;transition:all .2s ease!important}.reports-modal .modal-close:hover{background:#476c9b!important;color:#fff!important}.dashboard-modal .modal-header{background:#ffffff!important;border:2px solid #04724d!important;border-radius:12px!important;color:#04724d!important;padding:10px 16px!important;box-shadow:0 2px 8px #00000014!important}.dashboard-modal .modal-header h2{color:#04724d!important;font-weight:700!important;margin:0!important;text-shadow:none!important;font-size:1.1rem!important}.dashboard-modal .modal-close{color:#04724d!important;background:transparent!important;border:2px solid #04724d!important;border-radius:50%!important;width:32px!important;height:32px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:20px!important;font-weight:700!important;transition:all .2s ease!important}.dashboard-modal .modal-close:hover{background:#04724d!important;color:#fff!important}.modal-header-ltr{flex-direction:row!important;justify-content:space-between!important}.modal-header-ltr h2{order:1;text-align:left!important;margin:0;flex:1}.modal-header-ltr .modal-close{order:2;margin-left:auto}.lang-fr .modal-header,.lang-en .modal-header{direction:ltr!important;justify-content:space-between!important}.lang-fr .modal-header h2,.lang-en .modal-header h2{text-align:left!important;order:1;flex:1;margin:0}.lang-fr .modal-close,.lang-en .modal-close{order:2;margin-left:auto;margin-right:0}.lang-ar .modal-header{direction:rtl!important;justify-content:space-between!important}.lang-ar .modal-header h2{text-align:right!important;order:1;flex:1;margin:0}.lang-ar .modal-close{order:2;margin-right:auto;margin-left:0}.modal-header h2{color:var(--text-primary)}.modal-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:var(--text-secondary);padding:.5rem;border-radius:50%;transition:background-color .3s ease}.modal-close:hover{background:var(--background-color)}.modal-body{padding:1.5rem}.modal-footer{padding:1.5rem;border-top:1px solid var(--border-color);display:flex;gap:1rem;justify-content:flex-end}.modal-footer-ltr{justify-content:flex-end!important;flex-direction:row!important;text-align:right!important}.modal-footer-ltr .btn{order:initial}.lang-fr .modal-footer,.lang-en .modal-footer{justify-content:flex-end!important;direction:ltr!important}.lang-ar .modal-footer{justify-content:flex-end!important;direction:rtl!important}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:var(--text-primary)}.form-group input,.form-group select,.form-group textarea{width:100%;padding:.75rem;border:2px solid var(--border-color);border-radius:8px;font-family:inherit;transition:border-color .3s ease}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:var(--primary-color)}.form-group input[readonly]{background:var(--background-color);color:var(--text-secondary)}.btn{padding:.5rem 1rem!important;border:none;border-radius:5px;font-weight:600;cursor:pointer;transition:all .3s ease;font-family:inherit;display:inline-flex;align-items:center;justify-content:center;gap:.3rem;text-decoration:none;font-size:.8rem!important;min-width:100px!important;position:relative;overflow:hidden}.action-buttons-group .btn{padding:0!important;min-width:32px!important;max-width:32px!important;width:32px!important;height:32px!important;gap:0!important}.btn:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s}.btn:hover:before{left:100%}.btn-primary{background:var(--primary-color);color:#fff}.btn-primary:hover{background:var(--sidebar-hover);transform:translateY(-2px);box-shadow:0 4px 12px #16a0854d}.btn-primary:active{transform:translateY(0);box-shadow:0 2px 4px #16a08533}.btn-secondary{background:var(--secondary-color);color:#fff}.btn-secondary:hover{background:#475569;transform:translateY(-2px);box-shadow:0 4px 12px #64748b4d}.btn-secondary:active{transform:translateY(0);box-shadow:0 2px 4px #64748b33}.btn-success{background:var(--success-color);color:#fff}.btn-success:hover{background:#1e8449;transform:translateY(-2px);box-shadow:0 4px 12px #27ae604d}.btn-success:active{transform:translateY(0);box-shadow:0 2px 4px #27ae6033}.btn-info{background:var(--info-color);color:#fff}.btn-info:hover{background:#2980b9;transform:translateY(-2px);box-shadow:0 4px 12px #3498db4d}.btn-info:active{transform:translateY(0);box-shadow:0 2px 4px #3498db33}.btn-warning{background:var(--warning-color);color:#fff}.btn-warning:hover{background:#d68910}.btn-danger{background:var(--danger-color);color:#fff}.btn-danger:hover{background:#c0392b}.btn-compact{padding:.5rem 1rem!important;font-size:.8rem!important;min-width:120px!important;max-width:140px!important;height:36px!important;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header-actions .btn-compact{white-space:nowrap}.dropdown-toggle.btn-compact{min-width:100px!important;max-width:120px!important}@media (max-width: 1024px){.sidebar{width:250px}.stats-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.login-container{grid-template-columns:1fr}.login-info{display:none}.accounting-system{flex-direction:column}.sidebar{width:100%;height:auto;position:relative;z-index:999}.sidebar.collapsed{width:100%}.sidebar.collapsed .sidebar-header .system-title{display:block}.sidebar.collapsed .nav-item{justify-content:flex-start;padding:1rem 1.5rem}.sidebar.collapsed .user-info{display:flex}.sidebar-nav{display:flex;overflow-x:auto;padding:.5rem}.nav-item{white-space:nowrap;min-width:120px;text-align:center;padding:.75rem 1rem}.main-content{padding:1rem}.scroll-to-top{bottom:20px;right:20px;width:45px;height:45px;font-size:1.3rem}.page-header{flex-direction:column;align-items:flex-start;gap:1rem}.stats-grid,.customers-grid,.summary-cards{grid-template-columns:1fr}.table-actions{flex-direction:column}.form-grid{grid-template-columns:1fr}.modal-content{width:95%;margin:1rem}.btn-compact{min-width:80px!important;max-width:100px!important;font-size:.7rem!important;padding:.4rem .6rem!important}.action-buttons-group .btn-xs{width:28px;height:28px;min-width:28px;max-width:28px;font-size:12px}}.arabic{font-family:Cairo,sans-serif;direction:rtl}.english,.french{font-family:Inter,sans-serif;direction:ltr}body,.accounting-system{direction:rtl}.sales-modal{max-width:1000px;width:95%}.lang-fr .modal-title-section h2,.lang-en .modal-title-section h2{direction:ltr;text-align:left}.lang-ar .modal-title-section h2{direction:rtl;text-align:right}.lang-fr .shortcuts-display,.lang-en .shortcuts-display{direction:ltr;justify-content:flex-end}.lang-ar .shortcuts-display{direction:rtl;justify-content:flex-start}.lang-fr .btn,.lang-en .btn{flex-direction:row}.lang-ar .btn{flex-direction:row-reverse}.lang-fr .action-buttons,.lang-en .action-buttons{direction:ltr;justify-content:flex-start}.lang-ar .action-buttons{direction:rtl;justify-content:flex-end}.lang-fr .form-group label,.lang-en .form-group label{text-align:left}.lang-ar .form-group label{text-align:right}.lang-fr .items-table,.lang-en .items-table{direction:ltr}.lang-fr .items-table th,.lang-fr .items-table td,.lang-en .items-table th,.lang-en .items-table td{text-align:left}.lang-ar .items-table{direction:rtl}.lang-ar .items-table th,.lang-ar .items-table td{text-align:right}.lang-fr .modal-title-section h2,.lang-en .modal-title-section h2{text-align:left!important;justify-content:flex-start!important;display:flex;align-items:center}.lang-fr .barcode-section,.lang-en .barcode-section{text-align:left!important}.lang-fr .barcode-section label,.lang-en .barcode-section label{text-align:left!important;display:block;margin-bottom:8px}.lang-fr .form-row,.lang-en .form-row{direction:ltr!important;display:flex;flex-direction:row;justify-content:flex-start}.lang-fr .form-group,.lang-en .form-group,.lang-fr .items-section h3,.lang-en .items-section h3,.lang-fr .no-items,.lang-en .no-items{text-align:left!important}.lang-fr .totals-summary,.lang-en .totals-summary{text-align:right!important;direction:ltr!important}.lang-fr .totals-summary .total-row,.lang-en .totals-summary .total-row{justify-content:flex-end!important;text-align:right!important}.lang-fr .action-buttons,.lang-en .action-buttons{justify-content:flex-end!important;direction:ltr!important;display:flex;gap:10px}.lang-fr .discount-input,.lang-en .discount-input,.lang-fr .discount-input label,.lang-en .discount-input label{text-align:right!important}.lang-fr .sales-modal-landscape,.lang-en .sales-modal-landscape{direction:ltr!important}.lang-fr .customer-info,.lang-en .customer-info,.lang-fr .product-selection-container,.lang-en .product-selection-container{text-align:left!important}.lang-fr .totals-grid,.lang-en .totals-grid{direction:ltr!important;display:flex;flex-direction:column;align-items:flex-end}.lang-fr .invoice-header-section,.lang-en .invoice-header-section,.lang-fr .product-selection-section,.lang-en .product-selection-section{text-align:left!important;direction:ltr!important}.lang-fr .invoice-content-section,.lang-en .invoice-content-section{direction:ltr!important}.lang-fr .page-header,.lang-en .page-header{direction:ltr!important;display:flex!important;justify-content:space-between!important;align-items:center!important}.lang-fr .page-header h1,.lang-en .page-header h1{text-align:left!important;order:1!important;margin:0!important;flex:1!important}.lang-fr .page-header button,.lang-en .page-header button{order:2!important;margin-left:auto!important;margin-right:0!important;flex-shrink:0!important}.lang-fr .purchase-modal-landscape .modal-title-section,.lang-en .purchase-modal-landscape .modal-title-section{text-align:left!important;direction:ltr!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important}.lang-fr .purchase-modal-landscape .modal-title-section h2,.lang-en .purchase-modal-landscape .modal-title-section h2{text-align:left!important;align-self:flex-start!important;margin:0!important;width:100%!important;display:flex!important;justify-content:flex-start!important}.lang-fr .purchase-modal-landscape .shortcuts-display,.lang-en .purchase-modal-landscape .shortcuts-display{text-align:left!important;justify-content:flex-start!important;align-self:flex-start!important;display:flex!important;flex-wrap:wrap!important;gap:1rem!important}.lang-fr .purchase-modal-landscape .modal-header,.lang-en .purchase-modal-landscape .modal-header{direction:ltr!important;text-align:left!important}.lang-fr .purchase-modal-landscape,.lang-en .purchase-modal-landscape{direction:ltr!important}.lang-fr .purchase-modal-landscape .modal-content,.lang-en .purchase-modal-landscape .modal-content{direction:ltr!important;text-align:left!important}.lang-fr .purchase-modal-landscape .invoice-header-section,.lang-en .purchase-modal-landscape .invoice-header-section{direction:ltr!important;margin-bottom:1.5rem!important}.lang-fr .purchase-modal-landscape .invoice-info-grid,.lang-en .purchase-modal-landscape .invoice-info-grid{direction:ltr!important}.lang-fr .purchase-modal-landscape .invoice-info-grid .form-row,.lang-en .purchase-modal-landscape .invoice-info-grid .form-row{display:grid!important;grid-template-columns:1fr 1fr 1fr 1fr!important;gap:1rem!important;margin-bottom:1rem!important;direction:ltr!important}.lang-fr .purchase-modal-landscape .form-group,.lang-en .purchase-modal-landscape .form-group{margin-bottom:.5rem!important;direction:ltr!important}.lang-fr .purchase-modal-landscape .form-group label,.lang-en .purchase-modal-landscape .form-group label{text-align:left!important;display:block!important;margin-bottom:.25rem!important}.lang-fr .purchase-modal-landscape .product-selection-section,.lang-en .purchase-modal-landscape .product-selection-section{direction:ltr!important;margin-bottom:1.5rem!important}.lang-fr .purchase-modal-landscape .product-selection-section .form-row,.lang-en .purchase-modal-landscape .product-selection-section .form-row{display:grid!important;grid-template-columns:2fr 1fr 1fr auto!important;gap:1rem!important;align-items:end!important;direction:ltr!important}.lang-fr .purchase-modal-landscape .invoice-content-section,.lang-en .purchase-modal-landscape .invoice-content-section{display:grid!important;grid-template-columns:2fr 1fr!important;gap:2rem!important;direction:ltr!important;align-items:start!important}.lang-fr .purchase-modal-landscape .items-section,.lang-en .purchase-modal-landscape .items-section{direction:ltr!important}.lang-fr .purchase-modal-landscape .items-section h3,.lang-en .purchase-modal-landscape .items-section h3{text-align:left!important;margin-bottom:1rem!important}.lang-fr .purchase-modal-landscape .items-table,.lang-en .purchase-modal-landscape .items-table{direction:ltr!important}.lang-fr .purchase-modal-landscape .items-table table,.lang-en .purchase-modal-landscape .items-table table{width:100%!important;direction:ltr!important}.lang-fr .purchase-modal-landscape .items-table th,.lang-fr .purchase-modal-landscape .items-table td,.lang-en .purchase-modal-landscape .items-table th,.lang-en .purchase-modal-landscape .items-table td{text-align:left!important}.lang-fr .purchase-modal-landscape .totals-section,.lang-en .purchase-modal-landscape .totals-section{direction:ltr!important;min-width:300px!important}.lang-fr .purchase-modal-landscape .totals-grid,.lang-en .purchase-modal-landscape .totals-grid{display:flex!important;flex-direction:column!important;gap:1rem!important;direction:ltr!important}.lang-fr .purchase-modal-landscape .discount-input,.lang-en .purchase-modal-landscape .discount-input{direction:ltr!important}.lang-fr .purchase-modal-landscape .discount-input label,.lang-en .purchase-modal-landscape .discount-input label{text-align:left!important;display:block!important;margin-bottom:.5rem!important}.lang-fr .purchase-modal-landscape .totals-summary,.lang-en .purchase-modal-landscape .totals-summary{direction:ltr!important}.lang-fr .purchase-modal-landscape .total-row,.lang-en .purchase-modal-landscape .total-row{display:flex!important;justify-content:space-between!important;direction:ltr!important;margin-bottom:.5rem!important}.lang-fr .purchase-modal-landscape .action-buttons,.lang-en .purchase-modal-landscape .action-buttons{display:flex!important;gap:1rem!important;direction:ltr!important;margin-top:1rem!important}@media (max-width: 1200px){.lang-fr .purchase-modal-landscape .invoice-content-section,.lang-en .purchase-modal-landscape .invoice-content-section{grid-template-columns:1fr!important;gap:1rem!important}.lang-fr .purchase-modal-landscape .invoice-info-grid .form-row,.lang-en .purchase-modal-landscape .invoice-info-grid .form-row{grid-template-columns:1fr 1fr!important}.lang-fr .purchase-modal-landscape .product-selection-section .form-row,.lang-en .purchase-modal-landscape .product-selection-section .form-row{grid-template-columns:1fr!important}}@media (max-width: 768px){.lang-fr .purchase-modal-landscape .invoice-info-grid .form-row,.lang-en .purchase-modal-landscape .invoice-info-grid .form-row{grid-template-columns:1fr!important}}.purchase-summary{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))!important;gap:1.5rem!important;margin:2rem 0!important;padding:0!important}.purchase-summary .summary-card{background:white!important;padding:2rem!important;border-radius:12px!important;text-align:center!important;box-shadow:0 4px 20px #0000001a!important;border:1px solid #e9ecef!important;transition:transform .3s ease,box-shadow .3s ease!important}.purchase-summary .summary-card:hover{transform:translateY(-5px)!important;box-shadow:0 8px 25px #0000004d!important}.purchase-summary .summary-card h3{font-size:.95rem!important;margin-bottom:1rem!important;color:#6c757d!important;font-weight:600!important;text-align:center!important}.purchase-summary .summary-card .summary-value{font-size:1.8rem!important;font-weight:700!important;color:#212529!important;text-align:center!important}.lang-ar .purchase-summary{direction:rtl!important}.lang-fr .purchase-summary,.lang-en .purchase-summary{direction:ltr!important}@media (max-width: 768px){.purchase-summary{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))!important;gap:1rem!important}.purchase-summary .summary-card{padding:1.5rem!important}.purchase-summary .summary-card h3{font-size:.85rem!important}.purchase-summary .summary-card .summary-value{font-size:1.5rem!important}}@media (max-width: 480px){.purchase-summary{grid-template-columns:1fr 1fr!important;gap:.75rem!important}.purchase-summary .summary-card{padding:1rem!important}}.purchase-summary .summary-card.orange{border-top:4px solid #fd7e14!important;background:white!important}.purchase-summary .summary-card.orange h3{color:#6c757d!important}.purchase-summary .summary-card.orange .summary-value{color:#fd7e14!important}.purchase-summary .summary-card.blue{border-top:4px solid #007bff!important;background:white!important}.purchase-summary .summary-card.blue h3{color:#6c757d!important}.purchase-summary .summary-card.blue .summary-value{color:#007bff!important}.purchase-summary .summary-card.green{border-top:4px solid #28a745!important;background:white!important}.purchase-summary .summary-card.green h3{color:#6c757d!important}.purchase-summary .summary-card.green .summary-value{color:#28a745!important}.purchase-summary .summary-card.purple{border-top:4px solid #dc3545!important;background:white!important}.purchase-summary .summary-card.purple h3{color:#6c757d!important}.purchase-summary .summary-card.purple .summary-value{color:#dc3545!important}.lang-fr .table-container,.lang-en .table-container{direction:ltr!important}.lang-fr .data-table,.lang-en .data-table{direction:ltr!important;width:100%!important}.lang-fr .data-table th,.lang-fr .data-table td,.lang-en .data-table th,.lang-en .data-table td{text-align:left!important}.lang-fr .purchases-page .action-buttons-group,.lang-en .purchases-page .action-buttons-group{justify-content:flex-start!important;direction:ltr!important;display:flex!important;gap:5px!important}.lang-fr .action-buttons-group,.lang-en .action-buttons-group{justify-content:flex-end!important;direction:ltr!important;display:flex!important;gap:5px!important}.lang-fr .purchases-page,.lang-en .purchases-page{direction:ltr!important}.lang-ar .purchases-page{direction:rtl!important}.lang-ar .purchases-page .page-header{direction:rtl!important;display:flex!important;justify-content:space-between!important}.lang-ar .purchases-page .page-header h1{text-align:right!important}.lang-ar .purchases-page .page-header button{margin-left:auto!important}.lang-ar .purchases-page .data-table{direction:rtl!important}.lang-ar .purchases-page .data-table th,.lang-ar .purchases-page .data-table td{text-align:right!important}.invoice-header{margin-bottom:20px;padding:15px;background:#f8f9fa;border-radius:8px;border:1px solid var(--border-color)}.product-selection{margin-bottom:20px;padding:15px;border:2px solid var(--primary-color);border-radius:8px;background:rgba(22,160,133,.02)}.product-selection h3{margin:0 0 15px;color:var(--primary-color);font-size:16px;font-weight:600}.invoice-items{margin-bottom:20px}.invoice-items h3{margin:0 0 15px;color:var(--text-primary);font-size:16px;font-weight:600;border-bottom:2px solid var(--border-color);padding-bottom:8px}.no-items{text-align:center;color:var(--text-secondary);padding:30px 20px;background:#f8f9fa;border-radius:8px;margin:0;border:2px dashed var(--border-color)}.invoice-totals{background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);padding:20px;border-radius:8px;border:1px solid var(--border-color)}.total-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;font-size:14px}.total-row.final-total{border-top:2px solid var(--primary-color);padding-top:15px;margin-top:10px;font-weight:700;font-size:18px;color:var(--primary-color)}.discount-input{width:120px;padding:6px 10px;border:2px solid var(--border-color);border-radius:6px;text-align:right;font-weight:600;transition:border-color .3s ease}.discount-input:focus{outline:none;border-color:var(--primary-color)}.readonly-input{background:#f8f9fa!important;color:var(--text-secondary)!important;cursor:not-allowed}.btn-sm{padding:4px 8px;font-size:11px;min-width:auto;border-radius:4px}.sales-modal .data-table th{background:var(--primary-color);color:#fff;font-weight:600}.sales-modal .data-table tr:hover{background:rgba(22,160,133,.08)}.product-selection .form-grid{align-items:end}.product-selection .btn{margin-top:8px}@media (max-width: 768px){.sales-modal{width:98%;margin:1rem 0}.product-selection .form-grid{grid-template-columns:1fr;align-items:stretch}.totals-grid{gap:8px}.total-row{font-size:13px}.total-row.final-total{font-size:16px}}.barcode-section{margin-bottom:15px;padding:15px;background:linear-gradient(135deg,#e8f5e8 0%,#f0f8f0 100%);border-radius:8px;border-left:4px solid #28a745;box-shadow:0 2px 4px #0000001a;position:relative}.barcode-section:before{content:"📷 قارئ الباركود نشط";position:absolute;top:-10px;right:20px;background:#28a745;color:#fff;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:500}.barcode-input{width:100%;padding:12px;border:2px solid #28a745;border-radius:8px;font-size:16px;text-align:center;background:white;transition:all .3s ease;font-family:Courier New,monospace;letter-spacing:1px;position:relative}.barcode-input:focus{outline:none;border-color:#20c997;box-shadow:0 0 0 3px #28a74540;transform:scale(1.02);animation:pulse 2s infinite}@keyframes pulse{0%{box-shadow:0 0 0 3px #28a74540}50%{box-shadow:0 0 0 6px #28a74526}to{box-shadow:0 0 0 3px #28a74540}}.barcode-input::placeholder{color:#6c757d;font-style:italic}.inventory-page{padding:20px}.inventory-controls{margin:20px 0;padding:20px;background:white;border-radius:8px;box-shadow:0 2px 4px #0000001a}.search-section{display:flex;gap:15px;align-items:center}.search-input{flex:1;padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px}.filter-select{padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;min-width:150px}.inventory-table-container{background:white;border-radius:12px;box-shadow:0 4px 20px #00000014;border:1px solid #e9ecef;overflow-x:auto!important;overflow-y:auto!important;margin:20px 0;width:100%;max-height:70vh;-webkit-overflow-scrolling:touch;position:relative!important;contain:layout style paint}.inventory-table{width:100%;border-collapse:separate!important;border-spacing:0;min-width:1400px;table-layout:fixed;background:white;border-radius:15px;overflow:visible!important;box-shadow:0 8px 32px #0000001f;border:2px solid #e9ecef;position:relative;transform:none!important}.inventory-table th,.inventory-table td{position:static!important;float:none!important;display:table-cell!important;box-sizing:border-box!important;overflow:visible!important}.inventory-table th:nth-child(1){width:4%;min-width:50px}.inventory-table th:nth-child(2){width:6%;min-width:80px}.inventory-table th:nth-child(3){width:12%;min-width:150px}.inventory-table th:nth-child(4){width:8%;min-width:100px}.inventory-table th:nth-child(5){width:8%;min-width:100px}.inventory-table th:nth-child(6){width:8%;min-width:120px}.inventory-table th:nth-child(7){width:8%;min-width:120px}.inventory-table th:nth-child(8){width:200px!important;min-width:200px!important;max-width:200px!important}.inventory-table th:nth-child(9){width:120px!important;min-width:120px!important;max-width:120px!important}.inventory-table th:nth-child(10){width:9%;min-width:140px}.inventory-table th:nth-child(11){width:8%;min-width:150px}.inventory-table th:nth-child(12){width:80px!important;min-width:80px!important;max-width:80px!important}.inventory-table th:nth-child(13){width:120px!important;min-width:120px!important;max-width:120px!important}.inventory-table td:nth-child(1){width:4%;min-width:50px}.inventory-table td:nth-child(2){width:6%;min-width:80px}.inventory-table td:nth-child(3){width:12%;min-width:150px}.inventory-table td:nth-child(4){width:8%;min-width:100px}.inventory-table td:nth-child(5){width:8%;min-width:100px}.inventory-table td:nth-child(6){width:8%;min-width:120px}.inventory-table td:nth-child(7){width:8%;min-width:120px}.inventory-table td:nth-child(8){width:200px!important;min-width:200px!important;max-width:200px!important}.inventory-table td:nth-child(9){width:120px!important;min-width:120px!important;max-width:120px!important}.inventory-table td:nth-child(10){width:9%;min-width:140px}.inventory-table td:nth-child(11){width:8%;min-width:150px}.inventory-table td:nth-child(12){width:80px!important;min-width:80px!important;max-width:80px!important}.inventory-table td:nth-child(13){width:120px!important;min-width:120px!important;max-width:120px!important}.inventory-table td:nth-child(6),.inventory-table td:nth-child(7),.inventory-table td:nth-child(10){font-weight:800;font-size:19px;color:#27ae60;text-shadow:1px 1px 2px rgba(0,0,0,.1)}.inventory-table td:nth-child(6),.inventory-table td:nth-child(7){white-space:normal!important;overflow:visible!important;text-overflow:unset!important;word-wrap:break-word;min-width:120px;text-align:center!important}.inventory-table th:nth-child(2),.inventory-table td:nth-child(2){text-align:center!important;max-width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inventory-table th:nth-child(11),.inventory-table td:nth-child(11){text-align:center!important;vertical-align:middle!important;padding:12px 8px!important}.inventory-table td:nth-child(11) .expiry-status{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:60px}.inventory-table td:nth-child(11) .expiry-status>div:first-child{font-size:18px!important;font-weight:900!important;text-shadow:1px 1px 2px rgba(0,0,0,.1)}.inventory-table td:nth-child(11) .expiry-status small{font-size:13px!important;font-weight:600!important;opacity:.8}.inventory-table td:nth-child(11) .expiry-status>div:last-child{font-size:13px!important;font-weight:700!important;text-shadow:.5px .5px 1px rgba(0,0,0,.1)}.inventory-table td:nth-child(3){font-weight:600!important;font-size:16px!important;color:#2c3e50!important;font-style:normal!important;max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inventory-table td:nth-child(2){font-weight:700;font-size:18px;color:#8e44ad;font-family:Courier New,monospace}.inventory-table th,.inventory-table td{padding:12px 8px;text-align:right;border-bottom:1px solid #e9ecef;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:15px;line-height:1.5;font-weight:600;vertical-align:middle}.inventory-table th{max-width:120px;min-width:80px;word-wrap:break-word;white-space:normal;text-align:center}.inventory-table th:nth-child(3),.inventory-table th:nth-child(4){max-width:150px;min-width:100px}.inventory-table td:nth-child(8){padding:10px 5px;min-width:120px}.inventory-table th:nth-child(8),.inventory-table td:nth-child(8){text-align:center!important;vertical-align:middle!important;padding:12px 8px!important;display:table-cell}.inventory-table td:nth-child(8) .stock-input-container{margin:0 auto!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:fit-content!important}.inventory-table td:nth-child(8) .stock-display-vendor{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px;margin:0 auto!important;width:fit-content!important}.inventory-table td:nth-child(8) .stock-display-vendor .stock-value{text-align:center!important;font-size:18px!important;font-weight:700!important}.inventory-table th:nth-child(9),.inventory-table td:nth-child(9){text-align:center!important;vertical-align:middle!important;padding:15px 12px!important;font-size:18px!important;font-weight:800!important;border-radius:8px;min-width:80px;transition:all .3s ease}.inventory-table tr.low-stock td:nth-child(9){color:#e74c3c!important;background:rgba(231,76,60,.15)!important;border:2px solid rgba(231,76,60,.4)!important;box-shadow:0 2px 4px #e74c3c33}.inventory-table tr:not(.low-stock) td:nth-child(9){color:#27ae60!important;background:rgba(39,174,96,.15)!important;border:2px solid rgba(39,174,96,.4)!important;box-shadow:0 2px 4px #27ae6033}.inventory-table th:nth-child(8),.inventory-table th:nth-child(10),.inventory-table th:nth-child(11),.inventory-table th:nth-child(12),.inventory-table th:nth-child(13){text-align:center!important;white-space:nowrap!important;font-weight:700!important}.inventory-table td:nth-child(10),.inventory-table td:nth-child(11),.inventory-table td:nth-child(12),.inventory-table td:nth-child(13){text-align:center!important;white-space:nowrap!important;overflow:visible!important}.inventory-table td:nth-child(10){white-space:normal!important;overflow:visible!important;text-overflow:unset!important;word-wrap:break-word;min-width:140px;text-align:center!important;vertical-align:middle!important;padding:12px 8px!important;font-weight:800!important;font-size:18px!important;color:#27ae60!important}.inventory-table td:nth-child(13){min-width:120px!important;padding:8px 4px!important;white-space:nowrap!important}.inventory-table td:nth-child(9){text-align:center!important;font-size:14px!important;font-weight:700!important;vertical-align:middle!important}.inventory-table td:nth-child(12){min-width:80px!important;font-weight:600!important;font-size:13px!important}@media (max-width: 1400px){.inventory-table{min-width:1200px}}@media (max-width: 1200px){.inventory-table{min-width:1000px}.inventory-table th:nth-child(4),.inventory-table td:nth-child(4){display:none}}@media (max-width: 1000px){.inventory-table{min-width:900px}.inventory-table th:nth-child(5),.inventory-table td:nth-child(5){display:none}}.inventory-table th:nth-child(12),.inventory-table th:nth-child(13){font-weight:700!important;text-align:center!important;white-space:nowrap!important;border-left:2px solid #fff!important}.inventory-table td:nth-child(12),.inventory-table td:nth-child(13){text-align:center!important;vertical-align:middle!important;padding:8px 4px!important;border-left:1px solid #dee2e6!important}.inventory-table th:nth-child(12),.inventory-table td:nth-child(12),.inventory-table th:nth-child(13),.inventory-table td:nth-child(13){display:table-cell!important;visibility:visible!important;opacity:1!important}.inventory-table th{background:linear-gradient(135deg,#17a2b8,#138496);font-weight:700!important;font-size:1rem!important;color:#fff;position:sticky!important;top:0!important;z-index:100!important;font-size:14px;text-shadow:1px 1px 2px rgba(0,0,0,.3);box-shadow:0 2px 8px #00000040!important;letter-spacing:.3px;border-bottom:2px solid #0c7489;padding:12px 8px;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;line-height:1.3;text-align:center;background-clip:padding-box!important}.inventory-table tbody tr{background:white;transition:all .3s ease;border-bottom:2px solid #f8f9fa}.inventory-table tbody tr:nth-child(2n){background:#fafbfc}.inventory-table tr:hover{background:linear-gradient(135deg,#e3f2fd,#f0f8ff)!important;transform:translateY(-3px);box-shadow:0 6px 20px #17a2b833;transition:all .3s ease;border-left:5px solid #17a2b8}.inventory-table tr.low-stock{background:linear-gradient(135deg,#fff3cd,#ffeaa7)!important;border-left:5px solid #f39c12;animation:lowStockPulse 3s infinite}.inventory-table tr.low-stock:hover{background:linear-gradient(135deg,#ffeaa7,#fdcb6e)!important;transform:translateY(-3px);box-shadow:0 6px 20px #f39c124d;border-left:5px solid #e67e22}@keyframes lowStockPulse{0%,to{border-left-color:#f39c12}50%{border-left-color:#e74c3c}}.inventory-table tr.clickable-row{cursor:pointer;transition:background-color .2s ease}.inventory-table tr.clickable-row:hover{background:#e3f2fd!important;transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}.inventory-table tr.clickable-row:active{transform:translateY(0)}.barcode-display{font-family:Courier New,monospace;font-size:14px;font-weight:700;background:linear-gradient(135deg,#f8f9fa,#e9ecef);padding:8px 12px;border-radius:6px;border:2px solid #17a2b8;color:#2c3e50;display:inline-block;min-width:100px;text-align:center;box-shadow:0 2px 4px #0000001a;transition:all .3s ease}.barcode-display:hover{transform:scale(1.05);box-shadow:0 4px 8px #17a2b833}.barcode-display:empty:before{content:"غير محدد";color:#6c757d;font-style:italic;font-family:inherit}@media (max-width: 768px){.barcode-display{font-size:10px;padding:2px 4px;min-width:60px}}@media (max-width: 480px){.barcode-display{font-size:9px;padding:1px 2px;min-width:50px}}.mobile-cards-container{display:none}.stock-input-container{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:3px;min-width:160px;max-width:180px;margin:0 auto;background:#f8f9fa;border-radius:8px;padding:4px;border:1px solid #dee2e6}.stock-input{width:80px;padding:6px 4px;border:2px solid #17a2b8;border-radius:6px;text-align:center;font-size:16px;font-weight:700;background:linear-gradient(135deg,#ffffff,#f8f9fa);color:#2c3e50;transition:all .3s ease;box-shadow:0 2px 4px #0000001a;height:36px}.stock-input:focus{outline:none;border-color:#138496;background:linear-gradient(135deg,#ffffff,#e3f2fd);box-shadow:0 0 0 3px #17a2b833;transform:scale(1.05)}.stock-input:hover{border-color:#138496;background:linear-gradient(135deg,#ffffff,#e3f2fd)}.stock-btn{width:32px;height:32px;border:2px solid #17a2b8;background:linear-gradient(135deg,#17a2b8,#138496);color:#fff;font-size:14px;font-weight:800;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px #0000001a;border-radius:6px}.stock-btn-up{border-radius:6px 0 0 6px;border-right:1px solid #138496}.stock-btn-down{border-radius:0 6px 6px 0;border-left:1px solid #138496}.stock-btn:hover{background:linear-gradient(135deg,#138496,#0c7489);transform:scale(1.1);box-shadow:0 3px 6px #0003}.stock-btn:active{transform:scale(.95);box-shadow:0 1px 2px #0003}.stock-status{padding:8px 16px;border-radius:20px;font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;box-shadow:0 2px 4px #0000001a;transition:all .3s ease}.stock-status.low{background:linear-gradient(135deg,#e74c3c,#c0392b);color:#fff;animation:pulse 2s infinite}.stock-status.normal{background:linear-gradient(135deg,#f39c12,#e67e22);color:#fff}.stock-status.high{background:linear-gradient(135deg,#27ae60,#2ecc71);color:#fff}.stock-status.out-of-stock{background:linear-gradient(135deg,#dc3545,#c82333);color:#fff;animation:outOfStockPulse 2s infinite;border:2px solid #721c24}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.05)}to{transform:scale(1)}}@keyframes outOfStockPulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.8;transform:scale(1.02)}}.return-quantity-container{display:flex;align-items:center;justify-content:center;gap:3px;background:#f8f9fa;border-radius:8px;padding:4px;border:1px solid #dee2e6;max-width:140px;margin:0 auto}.return-quantity-input{width:60px;padding:6px 4px;border:2px solid #28a745;border-radius:6px;text-align:center;font-size:14px;font-weight:700;background:white;color:#2c3e50;transition:all .3s ease;height:32px}.return-quantity-input:focus{outline:none;border-color:#20c997;box-shadow:0 0 0 3px #28a74533}.return-btn{width:28px;height:28px;border:2px solid #28a745;background:linear-gradient(135deg,#28a745,#20c997);color:#fff;font-size:12px;font-weight:800;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;border-radius:6px}.return-btn:hover:not(:disabled){background:linear-gradient(135deg,#218838,#1e7e34);transform:translateY(-1px);box-shadow:0 4px 8px #28a7454d}.return-btn:disabled{background:#6c757d;border-color:#6c757d;cursor:not-allowed;opacity:.6}.return-btn-up{border-radius:0 6px 6px 0;border-left:1px solid #20c997}.return-btn-down{border-radius:6px 0 0 6px;border-right:1px solid #20c997}.stock-status.normal{background:#d4edda;color:#155724}.stock-status.high{background:#cce5ff;color:#004085}.barcode-display{font-family:Courier New,monospace;font-size:12px;background:#f8f9fa;padding:4px 8px;border-radius:4px;border:1px solid #dee2e6;color:#495057;font-weight:600;letter-spacing:1px}.dropdown-container{position:relative;display:inline-block}.dropdown-toggle{position:relative}.dropdown-toggle:after{content:"▼";margin-left:8px;font-size:10px}.dropdown-menu{position:absolute;top:100%;left:0;background:white;border:1px solid #ddd;border-radius:6px;box-shadow:0 4px 12px #00000026;z-index:1000;min-width:200px;padding:8px 0;margin-top:4px}.dropdown-item{display:block;width:100%;padding:12px 16px;border:none;background:none;text-align:left;cursor:pointer;font-size:14px;color:#333;transition:background-color .2s}.dropdown-item:hover{background-color:#f8f9fa}.dropdown-item.danger{color:#dc3545}.dropdown-item.danger:hover{background-color:#f8d7da}.action-buttons{display:flex;gap:5px;justify-content:center}.action-buttons{justify-content:flex-start!important}.btn-icon{background:none;border:none;padding:6px;border-radius:4px;cursor:pointer;font-size:14px;transition:background .2s}.btn-icon:hover{background:#f8f9fa}.btn-icon.edit:hover{background:#e3f2fd}.btn-icon.delete:hover{background:#ffebee}.inventory-summary{position:fixed;bottom:30px;left:50%;transform:translate(-50%);display:flex;flex-direction:row;gap:20px;z-index:1000;pointer-events:none}.inventory-summary .summary-card{pointer-events:auto;min-width:200px;max-width:250px;padding:15px;background:rgba(255,255,255,.95);backdrop-filter:blur(10px);border-radius:12px;box-shadow:0 8px 32px #0000001a;border:1px solid rgba(255,255,255,.2);transition:all .3s ease;transform:translateY(100%);animation:slideInFromBottom .6s ease-out forwards}.inventory-summary .summary-card:nth-child(1){animation-delay:.1s}.inventory-summary .summary-card:nth-child(2){animation-delay:.2s}.inventory-summary .summary-card:nth-child(3){animation-delay:.3s}.inventory-summary .summary-card:nth-child(4){animation-delay:.4s}.inventory-summary .summary-card:hover{transform:translateY(0) scale(1.05);box-shadow:0 12px 40px #0003}@keyframes slideInFromBottom{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}.inventory-summary .summary-card h3{font-size:14px!important;margin:0 0 8px!important;color:#666!important;font-weight:600}.inventory-summary .summary-card .summary-value{font-size:20px!important;font-weight:700!important;margin:0!important;color:#333!important}.inventory-summary .summary-card small{display:block;margin-top:4px;font-size:11px;opacity:.8}.inventory-summary .summary-card.blue{background:linear-gradient(135deg,rgba(52,152,219,.9),rgba(41,128,185,.9))!important;color:#fff!important}.inventory-summary .summary-card.blue h3,.inventory-summary .summary-card.blue .summary-value,.inventory-summary .summary-card.blue small{color:#fff!important}.inventory-summary .summary-card.green{background:linear-gradient(135deg,rgba(46,204,113,.9),rgba(39,174,96,.9))!important;color:#fff!important}.inventory-summary .summary-card.green h3,.inventory-summary .summary-card.green .summary-value,.inventory-summary .summary-card.green small{color:#fff!important}.inventory-summary .summary-card.orange{background:linear-gradient(135deg,rgba(230,126,34,.9),rgba(211,84,0,.9))!important;color:#fff!important}.inventory-summary .summary-card.orange h3,.inventory-summary .summary-card.orange .summary-value,.inventory-summary .summary-card.orange small{color:#fff!important}.inventory-summary .summary-card.red{background:linear-gradient(135deg,rgba(231,76,60,.9),rgba(192,57,43,.9))!important;color:#fff!important}.inventory-summary .summary-card.red h3,.inventory-summary .summary-card.red .summary-value,.inventory-summary .summary-card.red small{color:#fff!important}.left-nav-btn:nth-child(1){background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);animation-delay:.1s}.left-nav-btn:nth-child(2){background:linear-gradient(135deg,#f093fb 0%,#f5576c 100%);animation-delay:.2s}.left-nav-btn:nth-child(3){background:linear-gradient(135deg,#4facfe 0%,#00f2fe 100%);animation-delay:.3s}.lang-ar .left-nav-btn:hover{transform:translate(0) scale(1.1);box-shadow:0 12px 35px #00000040}.lang-ar .left-nav-btn:active{transform:translate(0) scale(.95)}.lang-fr .left-nav-btn:hover,.lang-en .left-nav-btn:hover{transform:translate(0) scale(1.1);box-shadow:0 12px 35px #00000040}.lang-fr .left-nav-btn:active,.lang-en .left-nav-btn:active{transform:translate(0) scale(.95)}.inventory-page .page-header.page-header-ltr-split,.inventory-page .page-header{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-bottom:30px!important;padding:30px!important;background:white!important;color:#000!important;border-radius:15px!important;box-shadow:0 4px 20px #0000001a!important}.lang-ar .inventory-page .page-header.page-header-ltr-split,.lang-ar .inventory-page .page-header{flex-direction:row-reverse!important}.lang-ar .inventory-page .page-title-section h1{text-align:right!important}.lang-ar .inventory-page .page-description-section{text-align:left!important;order:1!important}.lang-ar .inventory-page .page-title-section{order:2!important;flex:1!important}.lang-fr .inventory-page .page-header.page-header-ltr-split,.lang-en .inventory-page .page-header.page-header-ltr-split,.lang-fr .inventory-page .page-header,.lang-en .inventory-page .page-header{flex-direction:row!important}.lang-fr .inventory-page .page-title-section h1,.lang-en .inventory-page .page-title-section h1{text-align:left!important}.lang-fr .inventory-page .page-description-section,.lang-en .inventory-page .page-description-section{text-align:right!important;order:2!important}.lang-fr .inventory-page .page-title-section,.lang-en .inventory-page .page-title-section{order:1!important;flex:1!important}.customers-page .page-header.page-header-ltr-split,.customers-page .page-header{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-bottom:30px!important;padding:30px!important;background:white!important;color:#000!important;border-radius:15px!important;box-shadow:0 4px 20px #0000001a!important}.lang-ar .customers-page .page-header.page-header-ltr-split,.lang-ar .customers-page .page-header{flex-direction:row-reverse!important}.lang-ar .customers-page .page-title-section h1{text-align:right!important}.lang-ar .customers-page .page-description-section{text-align:left!important;order:1!important}.lang-ar .customers-page .page-title-section{order:2!important;flex:1!important}.lang-fr .customers-page .page-header.page-header-ltr-split,.lang-en .customers-page .page-header.page-header-ltr-split,.lang-fr .customers-page .page-header,.lang-en .customers-page .page-header{flex-direction:row!important}.lang-fr .customers-page .page-title-section h1,.lang-en .customers-page .page-title-section h1{text-align:left!important}.lang-fr .customers-page .page-description-section,.lang-en .customers-page .page-description-section{text-align:right!important;order:2!important}.lang-fr .customers-page .page-title-section,.lang-en .customers-page .page-title-section{order:1!important;flex:1!important}.sales-page .page-header.page-header-ltr-split,.sales-page .page-header{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-bottom:30px!important;padding:30px!important;background:white!important;color:#000!important;border-radius:15px!important;box-shadow:0 4px 20px #0000001a!important}.lang-ar .sales-page .page-header.page-header-ltr-split,.lang-ar .sales-page .page-header{flex-direction:row-reverse!important}.lang-ar .sales-page .page-title-section h1{text-align:right!important;font-size:2.2rem!important;font-weight:800!important}.lang-ar .sales-page .page-description-section{text-align:left!important;order:1!important}.lang-ar .sales-page .page-title-section{order:2!important;flex:1!important}.lang-fr .sales-page .page-header.page-header-ltr-split,.lang-en .sales-page .page-header.page-header-ltr-split,.lang-fr .sales-page .page-header,.lang-en .sales-page .page-header{justify-content:space-between!important;flex-direction:row!important}.lang-fr .sales-page .page-title-section h1,.lang-en .sales-page .page-title-section h1{text-align:left!important;font-size:2.2rem!important;font-weight:800!important}.lang-fr .sales-page .page-description-section,.lang-en .sales-page .page-description-section{text-align:right!important;order:2!important}.lang-fr .sales-page .page-title-section,.lang-en .sales-page .page-title-section{order:1!important;flex:1!important}.reports-page .page-header.page-header-ltr-split,.reports-page .page-header{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-bottom:30px!important;padding:30px!important;background:white!important;color:#000!important;border-radius:15px!important;box-shadow:0 4px 20px #0000001a!important}.lang-ar .reports-page .page-header.page-header-ltr-split,.lang-ar .reports-page .page-header{flex-direction:row!important}.lang-ar .reports-page .page-title-section{order:1!important;text-align:left!important;flex:0 0 auto!important}.lang-ar .reports-page .page-description-section{order:2!important;text-align:right!important;flex:0 0 auto!important}.lang-fr .reports-page .page-header.page-header-ltr-split,.lang-en .reports-page .page-header.page-header-ltr-split,.lang-fr .reports-page .page-header,.lang-en .reports-page .page-header{flex-direction:row!important}.lang-fr .reports-page .page-title-section,.lang-en .reports-page .page-title-section{order:1!important;text-align:left!important;flex:0 0 auto!important}.lang-fr .reports-page .page-description-section,.lang-en .reports-page .page-description-section{order:2!important;flex:0 0 auto!important}.dashboard .page-header.page-header-ltr-split,.dashboard .page-header,.purchases-page .page-header.page-header-ltr-split,.purchases-page .page-header{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-bottom:30px!important;padding:30px!important;background:white!important;color:#000!important;border-radius:15px!important;box-shadow:0 4px 20px #0000001a!important}.purchase-modal-compact .modal-header{background:#ffffff!important;border:2px solid #7d2e68!important;border-radius:12px!important;color:#7d2e68!important;padding:10px 16px!important;box-shadow:0 2px 8px #00000014!important;border-bottom:none!important}.purchase-modal-compact .modal-header h2{color:#7d2e68!important;font-weight:700!important;text-shadow:none!important;font-size:1.1rem!important}.purchase-modal-compact .modal-close{color:#7d2e68!important;background:transparent!important;border:2px solid #7d2e68!important;border-radius:50%!important;width:32px!important;height:32px!important;display:flex!important;align-items:center!important;justify-content:center!important;transition:all .3s ease!important}.purchase-modal-compact .modal-close:hover{background:#7d2e68!important;color:#fff!important;transform:scale(1.1)!important}.settings-page .page-header.page-header-ltr-split,.settings-page .page-header{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-bottom:30px!important;padding:30px!important;background:white!important;color:#000!important;border-radius:15px!important;box-shadow:0 4px 20px #0000001a!important}.lang-fr .inventory-page .page-header h1,.lang-en .inventory-page .page-header h1{text-align:left!important;margin:0!important;flex:0 0 auto!important}.lang-ar .inventory-page .page-header h1{text-align:right!important;margin:0!important;flex:0 0 auto!important}.lang-fr .inventory-page .header-actions,.lang-en .inventory-page .header-actions,.lang-ar .inventory-page .header-actions{display:flex!important;gap:10px!important;align-items:center!important;margin:0!important;flex:0 0 auto!important}.lang-fr .inventory-page .inventory-controls,.lang-en .inventory-page .inventory-controls{direction:ltr!important}.lang-ar .inventory-page .inventory-controls{direction:rtl!important}.lang-fr .inventory-page .search-section,.lang-en .inventory-page .search-section{flex-direction:row!important}.lang-ar .inventory-page .search-section{flex-direction:row-reverse!important}.lang-fr .inventory-page .inventory-table-container,.lang-en .inventory-page .inventory-table-container{direction:ltr!important}.lang-ar .inventory-page .inventory-table-container{direction:rtl!important}.lang-fr .inventory-table th,.lang-fr .inventory-table td,.lang-en .inventory-table th,.lang-en .inventory-table td{text-align:left!important;direction:ltr!important}.lang-ar .inventory-table th,.lang-ar .inventory-table td{text-align:right!important;direction:rtl!important}.lang-fr .inventory-table,.lang-en .inventory-table{direction:ltr!important}.lang-ar .inventory-table{direction:rtl!important}.lang-fr .inventory-table .action-buttons-group,.lang-en .inventory-table .action-buttons-group{justify-content:flex-start!important;direction:ltr!important}.lang-ar .inventory-table .action-buttons-group{justify-content:flex-end!important;direction:rtl!important}.lang-fr .inventory-table .stock-input,.lang-fr .inventory-table .stock-display-vendor,.lang-en .inventory-table .stock-input,.lang-en .inventory-table .stock-display-vendor{text-align:left!important;direction:ltr!important}.lang-ar .inventory-table .stock-input,.lang-ar .inventory-table .stock-display-vendor{text-align:right!important;direction:rtl!important}.lang-fr .inventory-table .barcode-display,.lang-en .inventory-table .barcode-display{text-align:left!important;direction:ltr!important}.lang-ar .inventory-table .barcode-display{text-align:center!important;direction:rtl!important}.lang-fr .inventory-summary .summary-card h3,.lang-fr .inventory-summary .summary-value,.lang-en .inventory-summary .summary-card h3,.lang-en .inventory-summary .summary-value,.lang-ar .inventory-summary .summary-card h3,.lang-ar .inventory-summary .summary-value{text-align:center}.modal-header{display:flex!important;align-items:center!important;padding:20px!important;border-bottom:1px solid #dee2e6!important}body.lang-fr .modal-header,body.lang-en .modal-header,.lang-fr .modal-header,.lang-en .modal-header{justify-content:space-between!important;flex-direction:row-reverse!important}body.lang-ar .modal-header,.lang-ar .modal-header{justify-content:space-between!important;flex-direction:row!important}body.lang-fr .modal-header h2,body.lang-en .modal-header h2,.lang-fr .modal-header h2,.lang-en .modal-header h2,body.lang-ar .modal-header h2,.lang-ar .modal-header h2{text-align:right!important;margin:0!important;flex:1!important}.modal-close{background:none!important;border:none!important;font-size:24px!important;cursor:pointer!important;padding:0!important;width:30px!important;height:30px!important;display:flex!important;align-items:center!important;justify-content:center!important}.modal-footer{display:flex!important;padding:20px!important;border-top:1px solid #dee2e6!important;gap:10px!important}body.lang-fr .modal-footer,body.lang-en .modal-footer,.lang-fr .modal-footer,.lang-en .modal-footer,body.lang-ar .modal-footer,.lang-ar .modal-footer{justify-content:flex-start!important}html.lang-fr .product-modal .modal-header,html.lang-en .product-modal .modal-header,body.lang-fr .product-modal .modal-header,body.lang-en .product-modal .modal-header{justify-content:center!important;flex-direction:row!important;text-align:center!important}html.lang-fr .product-modal .modal-header h2,html.lang-en .product-modal .modal-header h2,body.lang-fr .product-modal .modal-header h2,body.lang-en .product-modal .modal-header h2{text-align:center!important;flex:1!important;margin:0!important}html.lang-ar .product-modal .modal-header h2,body.lang-ar .product-modal .modal-header h2{text-align:right!important;flex:1!important}html.lang-fr .product-modal .modal-footer,html.lang-en .product-modal .modal-footer,body.lang-fr .product-modal .modal-footer,body.lang-en .product-modal .modal-footer{justify-content:center!important;gap:10px!important}html.lang-ar .product-modal .modal-footer,body.lang-ar .product-modal .modal-footer{justify-content:flex-start!important;gap:10px!important;flex-direction:row-reverse!important}.lang-fr .product-modal .modal-body,.lang-en .product-modal .modal-body{direction:ltr!important}.lang-ar .product-modal .modal-body{direction:rtl!important}.lang-ar .product-modal .barcode-actions{justify-content:flex-end!important;direction:rtl!important}.lang-fr .product-modal .barcode-help,.lang-en .product-modal .barcode-help{text-align:right!important;direction:ltr!important}.lang-ar .product-modal .barcode-help{text-align:right!important;direction:rtl!important}.lang-fr .product-modal .form-grid,.lang-en .product-modal .form-grid{direction:ltr!important}.lang-ar .product-modal .form-grid{direction:rtl!important}.lang-fr .product-modal .form-group,.lang-en .product-modal .form-group{text-align:right!important;direction:ltr!important}.lang-ar .product-modal .form-group{text-align:right!important;direction:rtl!important}.lang-fr .product-modal .form-group label,.lang-en .product-modal .form-group label,.lang-ar .product-modal .form-group label{text-align:right!important;display:block!important}.lang-fr .product-modal .form-group input,.lang-fr .product-modal .form-group select,.lang-en .product-modal .form-group input,.lang-en .product-modal .form-group select{text-align:right!important;direction:ltr!important}.lang-ar .product-modal .form-group input,.lang-ar .product-modal .form-group select{text-align:right!important;direction:rtl!important}.sales-summary{position:fixed;bottom:30px;left:50%;transform:translate(-50%);display:flex;flex-direction:row;gap:20px;z-index:1000;pointer-events:none}.sales-summary .summary-card{pointer-events:auto;min-width:180px;max-width:220px;padding:15px;background:rgba(255,255,255,.95);backdrop-filter:blur(10px);border-radius:12px;box-shadow:0 8px 32px #0000001a;border:1px solid rgba(255,255,255,.2);transition:all .3s ease;transform:translateY(100%);animation:slideInFromBottom .6s ease-out forwards}.sales-summary .summary-card:nth-child(1){animation-delay:.1s}.sales-summary .summary-card:nth-child(2){animation-delay:.2s}.sales-summary .summary-card:nth-child(3){animation-delay:.3s}.sales-summary .summary-card:nth-child(4){animation-delay:.4s}.sales-summary .summary-card:hover{transform:translateY(0) scale(1.05);box-shadow:0 12px 40px #0003}.sales-summary .summary-card.purple{background:linear-gradient(135deg,rgba(220,53,69,.9),rgba(192,57,43,.9))!important;color:#fff!important}.sales-summary .summary-card.purple h3,.sales-summary .summary-card.purple .summary-value{color:#fff!important}.product-modal{max-width:800px;width:90%;max-height:90vh;overflow-y:auto}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin:20px 0}.form-group{display:flex;flex-direction:column}.form-group label{margin-bottom:8px;font-weight:500;color:#495057}.form-group input,.form-group select{padding:12px;border:1px solid #ddd;border-radius:6px;font-size:14px;transition:border-color .2s}.form-group input:focus,.form-group select:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.modal-footer{display:flex;gap:10px;justify-content:flex-end;padding:20px;border-top:1px solid #eee;background:#f8f9fa}html.lang-fr .modal-content .modal-header,html.lang-en .modal-content .modal-header,body.lang-fr .modal-content .modal-header,body.lang-en .modal-content .modal-header{position:relative!important;display:flex!important;padding:20px!important;border-bottom:1px solid #dee2e6!important;min-height:60px!important;justify-content:center!important;flex-direction:row!important}html.lang-fr .modal-content .modal-header h2,html.lang-en .modal-content .modal-header h2,body.lang-fr .modal-content .modal-header h2,body.lang-en .modal-content .modal-header h2{text-align:center!important;margin:0!important;flex:1!important}html.lang-fr .modal-content .modal-header .modal-close,html.lang-en .modal-content .modal-header .modal-close,body.lang-fr .modal-content .modal-header .modal-close,body.lang-en .modal-content .modal-header .modal-close{position:absolute!important;right:20px!important;top:20px!important;width:30px!important;height:30px!important}html.lang-fr .modal-content .modal-footer,html.lang-en .modal-content .modal-footer,body.lang-fr .modal-content .modal-footer,body.lang-en .modal-content .modal-footer{display:flex!important;gap:10px!important;justify-content:center!important;padding:20px!important;border-top:1px solid #eee!important}.summary-card.red{background:linear-gradient(135deg,#dc3545,#c82333);color:#fff}.summary-card.red .summary-value{color:#fff}.stat-card.blue{background:linear-gradient(135deg,#177e89,#20c997)!important;color:#fff!important;border-left:none!important;border-right:none!important}.stat-card.blue .stat-icon,.stat-card.blue .stat-content h3,.stat-card.blue .stat-value,.stat-card.blue .stat-unit{color:#fff!important}.stat-card.green{background:linear-gradient(135deg,#28a745,#20c997)!important;color:#fff!important;border-left:none!important;border-right:none!important}.stat-card.green .stat-icon,.stat-card.green .stat-content h3,.stat-card.green .stat-value,.stat-card.green .stat-unit{color:#fff!important}.stat-card.purple{background:linear-gradient(135deg,#6f42c1,#e83e8c)!important;color:#fff!important;border-left:none!important;border-right:none!important}.stat-card.purple .stat-icon,.stat-card.purple .stat-content h3,.stat-card.purple .stat-value,.stat-card.purple .stat-unit{color:#fff!important}.stat-card.cyan{background:linear-gradient(135deg,#17a2b8,#6f42c1)!important;color:#fff!important;border-left:none!important;border-right:none!important}.stat-card.cyan .stat-icon,.stat-card.cyan .stat-content h3,.stat-card.cyan .stat-value,.stat-card.cyan .stat-unit{color:#fff!important}.stat-card.light-blue{background:linear-gradient(135deg,#007bff,#6610f2)!important;color:#fff!important;border-left:none!important;border-right:none!important}.stat-card.light-blue .stat-icon,.stat-card.light-blue .stat-content h3,.stat-card.light-blue .stat-value,.stat-card.light-blue .stat-unit{color:#fff!important}.stat-card.dark-purple{background:linear-gradient(135deg,#8e44ad,#9b59b6)!important;color:#fff!important;border-left:none!important;border-right:none!important}.stat-card.dark-purple .stat-icon,.stat-card.dark-purple .stat-content h3,.stat-card.dark-purple .stat-value,.stat-card.dark-purple .stat-unit{color:#fff!important}.stat-card.teal{background:linear-gradient(135deg,#00b9ae,#037171)!important;color:#fff!important;border-left:none!important;border-right:none!important}.stat-card.teal .stat-icon,.stat-card.teal .stat-content h3,.stat-card.teal .stat-value,.stat-card.teal .stat-unit{color:#fff!important}.stat-card.dark-orange{background:linear-gradient(135deg,#fd7e14,#ffc107)!important;color:#fff!important;border-left:none!important;border-right:none!important}.stat-card.dark-orange .stat-icon,.stat-card.dark-orange .stat-content h3,.stat-card.dark-orange .stat-value,.stat-card.dark-orange .stat-unit{color:#fff!important}.stat-card.red{background:linear-gradient(135deg,#dc3545,#c82333)!important;color:#fff!important;border-left:none!important;border-right:none!important}.stat-card.red .stat-icon,.stat-card.red .stat-content h3,.stat-card.red .stat-value,.stat-card.red .stat-unit{color:#fff!important}.stat-card.orange{background:linear-gradient(135deg,#ff8c00,#ff6b35)!important;color:#fff!important;border-left:none!important;border-right:none!important}.stat-card.orange .stat-icon,.stat-card.orange .stat-content h3,.stat-card.orange .stat-value,.stat-card.orange .stat-unit{color:#fff!important}@media (max-width: 768px){.app-container{flex-direction:column}.sidebar{width:100%;height:auto;position:relative;order:2}.main-content{padding:10px}.nav-menu{display:flex;flex-wrap:wrap;justify-content:space-around;padding:10px}.nav-item{flex:1;min-width:120px;margin:5px;text-align:center}.summary-cards,.form-grid{grid-template-columns:1fr;gap:10px}.table-container{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:12px;box-shadow:0 4px 12px #0000001a;position:relative}.table-container:before{content:"← اسحب للمزيد";position:absolute;top:10px;left:10px;background:rgba(22,160,133,.9);color:#fff;padding:4px 8px;border-radius:4px;font-size:12px;z-index:10;animation:fadeInOut 3s ease-in-out infinite}.data-table{min-width:800px;font-size:14px}.data-table th,.data-table td{padding:8px 12px;white-space:nowrap}.data-table th:nth-child(3),.data-table td:nth-child(3),.data-table th:nth-child(5),.data-table td:nth-child(5){display:none}.action-buttons-group{display:flex;flex-direction:column;gap:4px;min-width:80px}.action-buttons-group .btn{padding:4px 8px;font-size:12px;min-width:70px}.modal-content{width:95%;margin:10px;max-height:95vh}.sales-modal{width:98%;max-height:95vh}.inventory-table-container{overflow-x:auto;overflow-y:auto;max-height:450px;-webkit-overflow-scrolling:touch;position:relative;border:1px solid #e9ecef;border-radius:8px;background:white}.inventory-table-container:before{content:"← اسحب لرؤية المزيد";position:absolute;top:10px;left:10px;background:rgba(52,152,219,.9);color:#fff;padding:4px 8px;border-radius:4px;font-size:12px;z-index:10;animation:fadeInOut 3s ease-in-out infinite}.inventory-table{min-width:800px;font-size:12px;width:100%;border-collapse:collapse}.inventory-table thead th{position:sticky;top:0;z-index:15;background:linear-gradient(135deg,#17a2b8,#138496);color:#fff;box-shadow:0 2px 4px #00000026;padding:12px 8px;font-weight:700}.inventory-table th,.inventory-table td{padding:6px 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inventory-table th:nth-child(8),.inventory-table td:nth-child(8),.inventory-table th:nth-child(9),.inventory-table td:nth-child(9){display:none}.inventory-table th:nth-child(3),.inventory-table td:nth-child(3){max-width:80px;min-width:60px;font-size:10px;padding:4px}.inventory-table th:nth-child(2),.inventory-table td:nth-child(2){max-width:150px;min-width:120px}.sellers-table-container{overflow-x:auto;-webkit-overflow-scrolling:touch;position:relative}.sellers-table{min-width:600px;font-size:14px}.sellers-table th,.sellers-table td{padding:10px 8px}.inventory-controls{flex-direction:column;gap:15px}.search-section{flex-direction:column;gap:10px}.category-filter-group{display:flex;gap:10px;flex-wrap:wrap}.search-input,.filter-select{width:100%;min-width:auto}.page-header{flex-direction:column;gap:10px;text-align:center}.page-header h1{font-size:1.5rem}.header-actions{display:flex;flex-direction:column;gap:10px;width:100%}.header-actions .btn{width:100%;justify-content:center}.inventory-summary{position:relative!important;bottom:auto!important;left:auto!important;transform:none!important;display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:10px!important;margin:20px 0!important;z-index:auto!important}.inventory-summary .summary-card{position:relative!important;transform:none!important;animation:none!important;min-width:auto!important;max-width:none!important}.left-nav{position:relative!important;left:auto!important;top:auto!important;transform:none!important;flex-direction:row!important;justify-content:flex-start!important;margin:20px 0!important;gap:10px!important}.left-nav-btn{position:relative!important;transform:none!important;animation:none!important;width:50px!important;height:50px!important;font-size:20px!important}.sales-summary{position:relative!important;bottom:auto!important;left:auto!important;transform:none!important;display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:10px!important;margin:20px 0!important;z-index:auto!important}.sales-summary .summary-card{position:relative!important;transform:none!important;animation:none!important;min-width:auto!important;max-width:none!important}}@media (max-width: 480px){.nav-item{min-width:100px;font-size:.8rem}.nav-item .nav-icon{font-size:1.2rem}.summary-card{padding:15px}.summary-value{font-size:1.2rem}.btn{padding:8px 12px;font-size:.9rem}.form-group label{font-size:.9rem}.form-group input,.form-group select{padding:8px;font-size:.9rem}.barcode-input{font-size:14px;padding:10px}.data-table{min-width:600px;font-size:12px}.data-table th,.data-table td{padding:6px 8px}.data-table th:nth-child(4),.data-table td:nth-child(4),.data-table th:nth-child(6),.data-table td:nth-child(6){display:none}.inventory-table{min-width:600px;font-size:11px;width:100%}.inventory-table th,.inventory-table td{padding:4px 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inventory-table th:nth-child(4),.inventory-table td:nth-child(4),.inventory-table th:nth-child(5),.inventory-table td:nth-child(5){display:none}.inventory-table th:nth-child(3),.inventory-table td:nth-child(3){max-width:60px;min-width:50px;font-size:9px;padding:2px}.inventory-table th:nth-child(2),.inventory-table td:nth-child(2){max-width:100px;min-width:80px}.action-buttons{display:flex;flex-direction:column;gap:2px}.action-buttons .btn-icon{padding:6px;font-size:14px;min-width:35px;height:35px}.action-buttons-group .btn{padding:3px 6px;font-size:11px;min-width:60px}.dropdown-container{width:100%}.dropdown-menu{width:100%;max-width:none}.inventory-summary,.sales-summary{grid-template-columns:1fr!important}.settings-cards{grid-template-columns:1fr}.setting-card{padding:15px;flex-direction:column;text-align:center}.setting-icon{width:50px;height:50px;font-size:1.5rem}}@media print{.sidebar,.left-nav,.page-header button,.modal-footer,.btn{display:none!important}.main-content{margin-right:0;width:100%}.modal-overlay{position:static;background:none}.modal-content{box-shadow:none;border:none;width:100%;max-width:none}}.toast-container{position:fixed;top:20px;right:20px;z-index:10000;display:flex;flex-direction:column;gap:10px;max-width:400px}.toast{background:white;border-radius:12px;box-shadow:0 8px 32px #0000001f;overflow:hidden;transform:translate(100%);animation:toast-slide-in .3s ease-out forwards;cursor:pointer;position:relative;border-left:4px solid;backdrop-filter:blur(10px);user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.toast-success{border-left-color:#10b981}.toast-error{border-left-color:#ef4444}.toast-warning{border-left-color:#f59e0b}.toast-info{border-left-color:#3b82f6}.toast-content{padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px}.toast-message{font-size:14px;font-weight:500;color:#374151;flex:1;line-height:1.4;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.toast-close{background:none;border:none;font-size:18px;font-weight:700;color:#6b7280;cursor:pointer;padding:4px 8px;border-radius:4px;transition:all .2s ease;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.toast-clear-all{margin-top:10px;text-align:center}.toast-clear-all .btn{font-size:12px;padding:6px 12px}.toast-close{background:none;border:none;font-size:18px;color:#9ca3af;cursor:pointer;padding:0;width:20px;height:20px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s ease}.toast-close:hover{background:#f3f4f6;color:#374151}.toast-progress{height:3px;background:#f3f4f6;position:relative;overflow:hidden}.toast-progress-bar{height:100%;width:100%;transform-origin:left}.toast-success .toast-progress-bar{background:linear-gradient(90deg,#10b981,#059669)}.toast-error .toast-progress-bar{background:linear-gradient(90deg,#ef4444,#dc2626)}.toast-warning .toast-progress-bar{background:linear-gradient(90deg,#f59e0b,#d97706)}.toast-info .toast-progress-bar{background:linear-gradient(90deg,#3b82f6,#2563eb)}@keyframes toast-slide-in{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes toast-progress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@keyframes fadeInOut{0%,to{opacity:.7}50%{opacity:1}}@media screen and (min-width: 1200px){.inventory-table-container{overflow-x:auto;overflow-y:auto;max-height:500px;-webkit-overflow-scrolling:touch;max-width:100%;border:1px solid #e9ecef;border-radius:12px;background:white}.inventory-table{min-width:1200px;font-size:14px;width:100%;table-layout:fixed}.inventory-table th,.inventory-table td{padding:12px 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inventory-table thead th{position:sticky;top:0;z-index:15;background:linear-gradient(135deg,#17a2b8,#138496);color:#fff;box-shadow:0 2px 4px #00000026}.inventory-table th,.inventory-table td{display:table-cell!important}.inventory-table th:nth-child(1),.inventory-table td:nth-child(1){width:80px;min-width:80px}.inventory-table th:nth-child(2),.inventory-table td:nth-child(2){width:80px;min-width:80px}.inventory-table th:nth-child(3),.inventory-table td:nth-child(3){width:120px;min-width:120px;font-size:13px}.inventory-table th:nth-child(4),.inventory-table td:nth-child(4){width:120px;min-width:120px}.inventory-table th:nth-child(5),.inventory-table td:nth-child(5){width:100px;min-width:100px;text-align:center}.inventory-table th:nth-child(6),.inventory-table td:nth-child(6){width:100px;min-width:100px;text-align:center}.inventory-table th:nth-child(7),.inventory-table td:nth-child(7){width:100px;min-width:100px;text-align:center}.inventory-table th:nth-child(8),.inventory-table td:nth-child(8){width:90px;min-width:90px;text-align:center}.inventory-table th:nth-child(9),.inventory-table td:nth-child(9){width:120px;min-width:120px;text-align:center}.inventory-table th:nth-child(10),.inventory-table td:nth-child(10){width:100px;min-width:100px;text-align:center}.inventory-table th:nth-child(11),.inventory-table td:nth-child(11){width:160px;min-width:160px;text-align:center}}@media screen and (min-width: 1400px){.inventory-table{min-width:1400px;font-size:15px}.inventory-table th,.inventory-table td{padding:14px 10px}.inventory-table th:nth-child(1),.inventory-table td:nth-child(1){width:90px;min-width:90px}.inventory-table th:nth-child(2),.inventory-table td:nth-child(2){width:100px;min-width:100px}.inventory-table th:nth-child(3),.inventory-table td:nth-child(3){width:140px;min-width:140px}.inventory-table th:nth-child(4),.inventory-table td:nth-child(4){width:140px;min-width:140px}.inventory-table th:nth-child(5),.inventory-table td:nth-child(5),.inventory-table th:nth-child(6),.inventory-table td:nth-child(6){width:120px;min-width:120px}.inventory-table th:nth-child(7),.inventory-table td:nth-child(7),.inventory-table th:nth-child(8),.inventory-table td:nth-child(8){width:110px;min-width:110px}.inventory-table th:nth-child(9),.inventory-table td:nth-child(9){width:140px;min-width:140px}.inventory-table th:nth-child(10),.inventory-table td:nth-child(10){width:120px;min-width:120px}.inventory-table th:nth-child(11),.inventory-table td:nth-child(11){width:180px;min-width:180px}.action-buttons{display:flex;gap:4px;flex-wrap:wrap;justify-content:center}.action-buttons .btn-icon{padding:6px;font-size:12px;min-width:30px;height:30px}}@media (max-width: 360px){.table-container{display:none}.mobile-cards-container{display:block}.mobile-card{background:white;border-radius:12px;padding:16px;margin-bottom:12px;box-shadow:0 2px 8px #0000001a;border-left:4px solid var(--primary-color)}.mobile-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #eee}.mobile-card-title{font-weight:600;color:var(--text-primary);font-size:16px}.mobile-card-status{padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500}.mobile-card-body{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.mobile-card-field{display:flex;flex-direction:column}.mobile-card-label{font-size:12px;color:#666;margin-bottom:2px}.mobile-card-value{font-size:14px;font-weight:500;color:var(--text-primary)}.mobile-card-actions{display:flex;gap:8px;flex-wrap:wrap}.mobile-card-actions .btn{flex:1;min-width:80px;padding:8px 12px;font-size:12px}.btn{min-height:44px;min-width:44px}.btn-icon{min-height:44px;min-width:44px;display:flex;align-items:center;justify-content:center}.form-group input,.form-group select,.form-group textarea{min-height:44px;font-size:16px}}.scroll-to-top{position:fixed!important;bottom:30px!important;right:30px!important;width:60px!important;height:60px!important;background:linear-gradient(135deg,#16a085,#138d75)!important;color:#fff!important;border:none!important;border-radius:50%!important;font-size:24px!important;font-weight:700!important;cursor:pointer!important;box-shadow:0 8px 25px #16a08566!important;transition:all .4s cubic-bezier(.175,.885,.32,1.275)!important;z-index:9999!important;display:flex!important;align-items:center!important;justify-content:center!important;opacity:1!important;visibility:visible!important;backdrop-filter:blur(10px)!important;border:2px solid rgba(255,255,255,.2)!important}.scroll-to-top:before{content:"";position:absolute;inset:0;background:linear-gradient(45deg,rgba(255,255,255,.1),rgba(255,255,255,.2));border-radius:50%;opacity:0;transition:opacity .3s ease}.scroll-to-top:hover:before{opacity:1}.scroll-to-top:hover{transform:translateY(-5px) scale(1.15);box-shadow:0 12px 35px #16a08599;background:linear-gradient(135deg,#138d75,#117a65)!important}.scroll-to-top:active{transform:translateY(-2px) scale(1.05);box-shadow:0 6px 20px #16a08566}.lang-ar .scroll-to-top{left:30px;right:auto}.lang-fr .scroll-to-top,.lang-en .scroll-to-top{right:30px;left:auto}.lang-ar .scroll-to-top{left:30px!important;right:auto!important}.lang-fr .scroll-to-top,.lang-en .scroll-to-top{right:30px!important;left:auto!important}@media (max-width: 768px){.scroll-to-top{bottom:20px!important;width:50px!important;height:50px!important;font-size:20px!important}.lang-ar .scroll-to-top{left:20px!important;right:auto!important}.lang-fr .scroll-to-top,.lang-en .scroll-to-top{right:20px!important;left:auto!important}}@media (max-width: 480px){.scroll-to-top{bottom:15px!important;width:45px!important;height:45px!important;font-size:18px!important}.lang-ar .scroll-to-top{left:15px!important;right:auto!important}.lang-fr .scroll-to-top,.lang-en .scroll-to-top{right:15px!important;left:auto!important}}.settings-page{padding:20px}.settings-tabs{display:flex;flex-direction:column;gap:30px}.settings-section{background:white;border-radius:12px;padding:25px;box-shadow:0 4px 12px #0000001a}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:15px;border-bottom:2px solid #f0f0f0}.section-header h2{color:#2c3e50;font-size:1.5rem;margin:0}.settings-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-top:20px}.setting-card{background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);border-radius:10px;padding:20px;display:flex;align-items:center;gap:15px;border-left:4px solid #007bff;transition:all .3s ease}.setting-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px #007bff26}.setting-icon{font-size:2rem;width:60px;height:60px;display:flex;align-items:center;justify-content:center;background:white;border-radius:50%;box-shadow:0 2px 8px #0000001a}.setting-info h3{margin:0 0 5px;color:#2c3e50;font-size:1.1rem}.setting-info p{margin:0;color:#6c757d;font-weight:500}.sellers-table-container{overflow-x:auto;margin-top:20px}.sellers-table{width:100%;border-collapse:collapse;background:white;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px #0000001a}.sellers-table th,.sellers-table td{padding:12px 15px;text-align:right;border-bottom:1px solid #e9ecef}.sellers-table th{background:linear-gradient(135deg,#007bff 0%,#0056b3 100%);color:#fff;font-weight:600;font-size:.9rem}.sellers-table tr:hover{background:#f8f9fa}.role-badge{padding:4px 12px;border-radius:20px;font-size:.8rem;font-weight:600;text-transform:uppercase}.role-badge.admin{background:linear-gradient(135deg,#dc3545 0%,#c82333 100%);color:#fff}.role-badge.seller{background:linear-gradient(135deg,#28a745 0%,#1e7e34 100%);color:#fff}.status-badge{padding:4px 12px;border-radius:20px;font-size:.8rem;font-weight:600}.status-badge.active{background:linear-gradient(135deg,#28a745 0%,#1e7e34 100%);color:#fff}.status-badge.inactive{background:linear-gradient(135deg,#6c757d 0%,#545b62 100%);color:#fff}.discount-badge{padding:4px 12px;border-radius:20px;font-size:.8rem;font-weight:600;background:linear-gradient(135deg,#fff3cd 0%,#ffeaa7 100%);color:#856404;border:1px solid #ffeaa7;display:inline-block}.settings-page.lang-fr,.settings-page.lang-en{direction:ltr}.settings-page.lang-fr .page-header,.settings-page.lang-en .page-header{text-align:right;direction:ltr}.settings-page.lang-fr .section-header,.settings-page.lang-en .section-header{text-align:left;flex-direction:row;direction:ltr}.settings-page.lang-fr .section-header h2,.settings-page.lang-en .section-header h2{text-align:left}.settings-page.lang-fr .settings-cards,.settings-page.lang-en .settings-cards{direction:ltr}.settings-page.lang-fr .setting-card,.settings-page.lang-en .setting-card{direction:ltr;text-align:left}.settings-page.lang-fr .setting-info,.settings-page.lang-en .setting-info,.settings-page.lang-fr .setting-info h3,.settings-page.lang-en .setting-info h3,.settings-page.lang-fr .setting-info p,.settings-page.lang-en .setting-info p{text-align:left}.sellers-table.table-ltr{direction:ltr}.sellers-table.table-ltr th,.sellers-table.table-ltr td{text-align:left}.sellers-table.table-ltr .action-buttons{justify-content:flex-start}.settings-page.lang-fr .sellers-table-container,.settings-page.lang-en .sellers-table-container{direction:ltr}.language-settings-container{display:flex;flex-direction:column;gap:2rem;margin-top:1rem}.current-language-display{margin-bottom:1rem}.language-selector-buttons h4{margin-bottom:1rem;color:var(--text-primary);font-size:1.1rem;font-weight:600}.language-buttons-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem;margin-top:1rem}.language-btn{display:flex;flex-direction:column;align-items:center;padding:1.5rem;border:2px solid #e0e0e0;border-radius:12px;background:white;cursor:pointer;transition:all .3s ease;position:relative;min-height:120px;justify-content:center;gap:.5rem}.language-btn:hover:not(:disabled){border-color:var(--primary-color);box-shadow:0 4px 12px #16a08526;transform:translateY(-2px)}.language-btn.active{border-color:var(--primary-color);background:rgba(22,160,133,.05);box-shadow:0 4px 12px #16a08533}.language-btn:disabled{opacity:.7;cursor:not-allowed;transform:none}.language-btn .flag-emoji{font-size:2.5rem;margin-bottom:.5rem}.language-btn .lang-name{font-weight:600;font-size:1.1rem;color:var(--text-primary);margin-bottom:.25rem}.language-btn .lang-direction{font-size:.85rem;color:var(--text-secondary);text-align:center}.language-btn .current-indicator{position:absolute;top:10px;right:10px;color:var(--primary-color);font-size:1.5rem;font-weight:700}@media (max-width: 768px){.language-buttons-grid{grid-template-columns:1fr;gap:.75rem}.language-btn{min-height:100px;padding:1rem}.language-btn .flag-emoji{font-size:2rem}}.settings-page.lang-fr .language-settings-container,.settings-page.lang-en .language-settings-container{direction:ltr}.settings-page.lang-fr .language-selector-buttons h4,.settings-page.lang-en .language-selector-buttons h4{text-align:left}.settings-page.lang-fr .language-btn .current-indicator,.settings-page.lang-en .language-btn .current-indicator{right:auto;left:10px}.settings-modal.lang-ar{direction:rtl}.settings-modal.lang-fr,.settings-modal.lang-en{direction:ltr}.settings-modal.lang-ar .modal-header{text-align:right;direction:rtl}.settings-modal.lang-fr .modal-header,.settings-modal.lang-en .modal-header{text-align:left;direction:ltr}.settings-modal.lang-ar .form-grid{direction:rtl}.settings-modal.lang-fr .form-grid,.settings-modal.lang-en .form-grid{direction:ltr}.settings-modal.lang-ar .form-group label{text-align:right;direction:rtl}.settings-modal.lang-fr .form-group label,.settings-modal.lang-en .form-group label{text-align:left;direction:ltr}.settings-modal.lang-ar .form-group input,.settings-modal.lang-ar .form-group select,.settings-modal.lang-ar .form-group textarea{text-align:right;direction:rtl}.settings-modal.lang-fr .form-group input,.settings-modal.lang-fr .form-group select,.settings-modal.lang-fr .form-group textarea,.settings-modal.lang-en .form-group input,.settings-modal.lang-en .form-group select,.settings-modal.lang-en .form-group textarea{text-align:left;direction:ltr}.modal-footer-ltr{flex-direction:row-reverse;text-align:left}.modal-header-ltr,.modal-header-ltr h2{text-align:left}.section-header-ltr{text-align:left;flex-direction:row}.page-header-ltr,.page-header-ltr h1{text-align:right}.sales-modal-landscape.lang-fr,.sales-modal-landscape.lang-en{direction:ltr}.sales-modal-landscape.lang-fr .modal-title-section,.sales-modal-landscape.lang-en .modal-title-section{text-align:left}.sales-modal-landscape.lang-fr .shortcuts-display,.sales-modal-landscape.lang-en .shortcuts-display{justify-content:flex-start}.sales-modal-landscape.lang-fr .invoice-header-section,.sales-modal-landscape.lang-en .invoice-header-section,.sales-modal-landscape.lang-fr .form-row,.sales-modal-landscape.lang-en .form-row{direction:ltr}.sales-modal-landscape.lang-fr .totals-summary,.sales-modal-landscape.lang-en .totals-summary{text-align:left}.action-buttons-ltr{flex-direction:row-reverse;justify-content:flex-start}.settings-modal{max-width:700px;max-height:90vh;overflow-y:auto}.settings-modal .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin:1rem 0}.settings-modal .form-group{display:flex;flex-direction:column;margin-bottom:1rem}.settings-modal .form-group.full-width{grid-column:1 / -1}.settings-modal .form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:#495057;font-size:1rem}.settings-modal .form-group input,.settings-modal .form-group select{width:100%;padding:.75rem;border:2px solid #dee2e6;border-radius:8px;font-size:1rem;transition:all .3s ease;box-sizing:border-box}.settings-modal .form-group input:focus,.settings-modal .form-group select:focus{outline:none;border-color:#ff8c00;box-shadow:0 0 0 3px #ff8c001a}.settings-modal .logo-preview{margin-top:.5rem;text-align:center}.settings-modal .logo-preview img{max-width:100px;max-height:100px;object-fit:contain;border-radius:8px;border:2px solid #dee2e6}.lang-ar .modal-content{direction:rtl}.lang-fr .modal-content,.lang-en .modal-content{direction:ltr}.lang-ar .form-grid{direction:rtl}.lang-fr .form-grid,.lang-en .form-grid{direction:ltr}.lang-ar .form-group{direction:rtl;text-align:right}.lang-fr .form-group,.lang-en .form-group{direction:ltr;text-align:left}.lang-ar input,.lang-ar select,.lang-ar textarea{text-align:right;direction:rtl}.lang-fr input,.lang-fr select,.lang-fr textarea,.lang-en input,.lang-en select,.lang-en textarea{text-align:left;direction:ltr}@media (max-width: 768px){.settings-modal{max-width:95vw;margin:1rem}.settings-modal .form-grid{grid-template-columns:1fr;gap:1rem}.settings-modal .form-group{margin-bottom:1rem}}.form-help-text{font-size:.85rem;color:#6c757d;margin-top:.25rem;font-style:italic;line-height:1.3}.lang-ar .form-help-text{text-align:right;font-family:Cairo,sans-serif}.lang-fr .form-help-text,.lang-en .form-help-text{text-align:left}.logo-preview{margin-top:10px;text-align:center}.logo-preview img{max-width:150px;max-height:100px;border-radius:8px;border:2px solid #e9ecef}.seller-modal{max-width:500px}.invoice-modal{max-width:800px;max-height:90vh;overflow-y:auto}.invoice-view{background:white;padding:30px;border-radius:8px}.invoice-header-view{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:30px;padding-bottom:20px;border-bottom:2px solid #e9ecef}.store-info{display:flex;align-items:center;gap:15px}.store-logo{width:80px;height:80px;object-fit:contain;border-radius:8px}.store-details h1{margin:0 0 10px;color:#2c3e50;font-size:1.5rem}.store-details p{margin:5px 0;color:#6c757d;font-size:.9rem}.invoice-info{text-align:left}.customer-info{margin:20px 0;padding:15px;background:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.customer-info h3{margin:0 0 15px;color:var(--primary-color);font-size:1.1rem}.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px}.info-item{display:flex;align-items:center;gap:10px}.info-item strong{color:var(--text-primary);min-width:120px}.invoice-items{margin:20px 0}.invoice-items h3{margin:0 0 15px;color:var(--primary-color);font-size:1.1rem}.invoice-totals{margin-top:20px;padding:20px;background:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.totals-section{max-width:400px;margin-left:auto}.total-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #e9ecef}.total-row.final-total{font-weight:700;font-size:1.1rem;color:var(--primary-color);border-top:2px solid var(--primary-color);margin-top:10px;padding-top:15px}.payment-method.cash{color:var(--success-color);font-weight:600}.payment-method.credit{color:var(--warning-color);font-weight:600}.invoice-modal{max-width:900px;max-height:90vh;overflow-y:auto}.invoice-view{padding:0}.invoice-header-view{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-bottom:30px;padding:20px;background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);border-radius:8px;border:1px solid #dee2e6}.store-details h1{color:var(--primary-color);margin:0 0 10px;font-size:1.5rem}.store-details p{margin:5px 0;color:var(--text-secondary)}.invoice-info h2{color:var(--primary-color);margin:0 0 15px;font-size:1.3rem}.invoice-info p{margin:8px 0;color:var(--text-primary)}.invoice-info strong{color:var(--primary-color)}@media (max-width: 768px){.invoice-modal{max-width:95vw;margin:10px}.invoice-header-view{grid-template-columns:1fr;gap:20px}.info-grid{grid-template-columns:1fr}}.invoice-info h2{margin:0 0 15px;color:#007bff;font-size:1.8rem}.invoice-info p{margin:5px 0;color:#2c3e50;font-size:.9rem}.invoice-table{width:100%;border-collapse:collapse;margin:20px 0}.invoice-table th,.invoice-table td{padding:12px;text-align:right;border-bottom:1px solid #e9ecef}.invoice-table th{background:#f8f9fa;font-weight:600;color:#2c3e50}.invoice-totals{margin-top:30px;padding:20px;background:#f8f9fa;border-radius:8px}.totals-row{display:flex;justify-content:space-between;margin-bottom:10px;font-size:1rem}.totals-row.total{font-size:1.2rem;font-weight:700;color:#007bff;border-top:2px solid #007bff;padding-top:10px;margin-top:15px}.invoice-footer{text-align:center;margin-top:30px;padding-top:20px;border-top:1px solid #e9ecef;color:#6c757d;font-size:.9rem}@media print{.modal-overlay,.modal-header,.modal-footer,.toast-container{display:none!important}.invoice-view{box-shadow:none;padding:0}.invoice-modal{max-width:none;max-height:none;overflow:visible}}@media (max-width: 768px){.toast-container{top:10px;right:10px;left:10px;max-width:none}.toast{margin:0}.toast-message{font-size:13px}.settings-cards{grid-template-columns:1fr}.invoice-header-view{flex-direction:column;gap:20px}.sellers-table-container{font-size:.8rem}}@media (max-width: 1200px){.nouveau-bon-modal{width:95%;max-width:1000px;height:90vh;margin:5vh auto}}@media (max-width: 768px){.nouveau-bon-modal{width:98%;max-width:none;height:95vh;margin:2.5vh auto}.nouveau-bon-modal .content-container{flex-direction:column!important;gap:1rem!important}.table-container-scrollable{max-height:300px!important;font-size:.85rem}.nouveau-bon-modal .summary-cards{grid-template-columns:1fr!important;gap:.5rem!important}}@media (max-width: 1200px){.data-table{font-size:.9rem}.data-table th,.data-table td{padding:.75rem .5rem}.action-buttons-group{gap:.25rem}.action-buttons-group .btn{min-width:32px;height:32px;font-size:.85rem}}@media (max-width: 768px){.content-container{flex-direction:column!important;gap:1rem!important}.table-container-scrollable{max-height:250px!important;font-size:.8rem}.data-table th,.data-table td{padding:.5rem .25rem;font-size:.75rem}.search-section{flex-direction:column!important;gap:1rem!important}.search-input{width:100%!important;min-width:auto!important}.action-buttons-group{gap:2px;min-width:100px}.action-buttons-group .btn{min-width:24px!important;height:24px!important;font-size:.7rem!important;padding:2px 4px!important}}.customer-info-display{background:#f8f9fa;border-radius:8px;padding:15px;margin:15px 0;border-left:4px solid #007bff}.customer-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}.customer-detail{font-size:.9rem}.customer-detail strong{color:#2c3e50;margin-right:5px}.customers-page .action-buttons-group{display:flex;gap:3px;justify-content:center;align-items:center;flex-wrap:nowrap;min-width:140px}.customers-page .action-buttons-group .btn{padding:6px 8px!important;font-size:14px!important;min-width:30px!important;height:30px!important;border-radius:4px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:1px solid transparent!important;transition:all .2s ease;margin:0!important}.customers-page .data-table .action-buttons-group .btn.btn-primary,.customers-page .action-buttons-group .btn.btn-primary{background:transparent!important;color:#00b9ae!important;border:1px solid #00b9ae!important;font-size:16px!important}.customers-page .data-table .action-buttons-group .btn.btn-primary:hover,.customers-page .action-buttons-group .btn.btn-primary:hover{background:#00b9ae!important;color:#fff!important;border-color:#00b9ae!important;transform:translateY(-1px);box-shadow:0 2px 4px #00b9ae4d}.customers-page .data-table .action-buttons-group .btn.btn-danger,.customers-page .action-buttons-group .btn.btn-danger{background:transparent!important;color:#dc3545!important;border:1px solid #dc3545!important;font-size:16px!important}.customers-page .data-table .action-buttons-group .btn.btn-danger:hover,.customers-page .action-buttons-group .btn.btn-danger:hover{background:#dc3545!important;color:#fff!important;border-color:#dc3545!important;transform:translateY(-1px);box-shadow:0 2px 4px #dc35454d}.repair-orders-table-container .action-buttons-group .btn.btn-primary{background:#498C8A!important;color:#fff!important;border:1px solid #498C8A!important}.repair-orders-table-container .action-buttons-group .btn.btn-primary:hover{background:#3a7270!important;border-color:#3a7270!important;transform:translateY(-1px);box-shadow:0 2px 4px #498c8a4d}.repair-orders-table-container .action-buttons-group .btn.btn-danger{background:#dc3545!important;color:#fff!important;border:1px solid #dc3545!important}.repair-orders-table-container .action-buttons-group .btn.btn-danger:hover{background:#c82333!important;border-color:#c82333!important;transform:translateY(-1px);box-shadow:0 2px 4px #dc35454d}.customers-page .inventory-controls{margin:20px 0;background:white;border-radius:8px;padding:15px;box-shadow:0 2px 8px #0000001a}.customers-page .search-section{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.customers-page .search-input{flex:1;min-width:300px;padding:12px 16px;border:2px solid rgba(255,255,255,.2);border-radius:8px;font-size:14px;background:rgba(255,255,255,.9);color:#333;transition:all .3s ease}.customers-page .search-input:focus{border-color:#fffc;box-shadow:0 0 0 3px #fff3;outline:none;background:white}.customers-page .search-input::placeholder{color:#666;opacity:.8}.lang-ar .customers-page .search-section{direction:rtl;text-align:right}.lang-fr .customers-page .search-section,.lang-en .customers-page .search-section{direction:ltr;text-align:left}.lang-ar .customers-page .search-input{text-align:right;padding-right:16px;padding-left:12px}.lang-fr .customers-page .search-input,.lang-en .customers-page .search-input{text-align:left;padding-left:16px;padding-right:12px}.customers-page .btn-secondary.btn-xs{background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.3);color:#fff;font-weight:600}.customers-page .btn-secondary.btn-xs:hover{background:rgba(255,255,255,.3);border-color:#ffffff80;transform:translateY(-1px)}@media (max-width: 768px){.customers-page .action-buttons-group{gap:2px;min-width:120px}.customers-page .action-buttons-group .btn{min-width:28px!important;height:28px!important;font-size:12px!important;padding:4px 6px!important}.customers-page .search-input{min-width:250px;font-size:13px;padding:10px 14px}}@media (max-width: 480px){.customers-page .action-buttons-group{flex-direction:column;gap:2px;min-width:35px}.customers-page .search-input{min-width:200px;font-size:12px;padding:8px 12px}.customers-page .inventory-controls{padding:10px}}.customers-page .data-table.table-ltr{direction:ltr}.customers-page .data-table.table-ltr th,.customers-page .data-table.table-ltr td{text-align:left}.lang-ar .customers-page .data-table{direction:rtl}.lang-ar .customers-page .data-table th,.lang-ar .customers-page .data-table td{text-align:right}.customers-page .data-table th:last-child,.customers-page .data-table td:last-child{text-align:center!important}.customers-page .data-table .checkbox-column{text-align:center!important;width:50px;min-width:50px}.customers-page .data-table th{background:var(--primary-color);color:#fff;font-weight:600;position:sticky;top:0;z-index:10;border-bottom:2px solid rgba(255,255,255,.2)}.customers-page .data-table tr:hover{background:rgba(111,66,193,.05)}.sales-page .inventory-controls{margin:20px 0;background:white;border-radius:8px;padding:15px;box-shadow:0 2px 8px #0000001a}.sales-page .search-section{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.sales-page .search-input{flex:1;min-width:300px;padding:12px 16px;border:2px solid rgba(255,255,255,.2);border-radius:8px;font-size:14px;background:rgba(255,255,255,.9);color:#333;transition:all .3s ease}.sales-page .search-input:focus{border-color:#fffc;box-shadow:0 0 0 3px #fff3;outline:none;background:white}.sales-page .search-input::placeholder{color:#666;opacity:.8}.lang-ar .sales-page .search-section{direction:rtl;text-align:right}.lang-fr .sales-page .search-section,.lang-en .sales-page .search-section{direction:ltr;text-align:left}.lang-ar .sales-page .search-input{text-align:right;padding-right:16px;padding-left:12px}.lang-fr .sales-page .search-input,.lang-en .sales-page .search-input{text-align:left;padding-left:16px;padding-right:12px}.sales-page .btn-secondary.btn-xs{background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.3);color:#fff;font-weight:600}.sales-page .btn-secondary.btn-xs:hover{background:rgba(255,255,255,.3);border-color:#ffffff80;transform:translateY(-1px);box-shadow:0 2px 8px #00000026}@media (max-width: 768px){.sales-page .search-section{flex-direction:column;gap:15px}.sales-page .search-input{min-width:250px;font-size:13px;padding:10px 14px}}@media (max-width: 480px){.sales-page .search-input{min-width:200px;font-size:12px;padding:8px 12px}.sales-page .inventory-controls{padding:10px}}.sales-page .data-table.table-ltr{direction:ltr}.sales-page .data-table.table-ltr th,.sales-page .data-table.table-ltr td{text-align:left}.lang-ar .sales-page .data-table{direction:rtl}.lang-ar .sales-page .data-table th,.lang-ar .sales-page .data-table td{text-align:right}.sales-page .data-table th:last-child,.sales-page .data-table td:last-child{text-align:center!important}.sales-page .data-table .checkbox-column{text-align:center!important;width:50px;min-width:50px}.sales-page .data-table tr:hover{background:rgba(40,167,69,.05)}.purchases-page .inventory-controls{margin:20px 0;background:white;border-radius:8px;padding:15px;box-shadow:0 2px 8px #0000001a}.purchases-page .search-section{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.purchases-page .search-input{flex:1;min-width:300px;padding:12px 16px;border:2px solid rgba(255,255,255,.2);border-radius:8px;font-size:14px;background:rgba(255,255,255,.9);color:#333;transition:all .3s ease}.purchases-page .search-input:focus{border-color:#fffc;box-shadow:0 0 0 3px #fff3;outline:none;background:white}.purchases-page .search-input::placeholder{color:#666;opacity:.8}.lang-ar .purchases-page .search-section{direction:rtl;text-align:right}.lang-fr .purchases-page .search-section,.lang-en .purchases-page .search-section{direction:ltr;text-align:left}.lang-ar .purchases-page .search-input{text-align:right;padding-right:16px;padding-left:12px}.lang-fr .purchases-page .search-input,.lang-en .purchases-page .search-input{text-align:left;padding-left:16px;padding-right:12px}.purchases-page .btn-secondary.btn-xs{background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.3);color:#fff;font-weight:600}.purchases-page .btn-secondary.btn-xs:hover{background:rgba(255,255,255,.3);border-color:#ffffff80;transform:translateY(-1px);box-shadow:0 2px 8px #00000026}@media (max-width: 768px){.purchases-page .search-section{flex-direction:column;gap:15px}.purchases-page .search-input{min-width:250px;font-size:13px;padding:10px 14px}}@media (max-width: 480px){.purchases-page .search-input{min-width:200px;font-size:12px;padding:8px 12px}.purchases-page .inventory-controls{padding:10px}}.purchases-page .data-table.table-ltr{direction:ltr}.purchases-page .data-table.table-ltr th,.purchases-page .data-table.table-ltr td{text-align:left}.lang-ar .purchases-page .data-table{direction:rtl}.lang-ar .purchases-page .data-table th,.lang-ar .purchases-page .data-table td{text-align:right}.purchases-page .data-table th:last-child,.purchases-page .data-table td:last-child{text-align:center!important}.purchases-page .data-table .checkbox-column{text-align:center!important;width:50px;min-width:50px}.purchases-page .data-table tr:hover{background:rgba(0,123,255,.05)}.simple-filter-section{margin:15px 0;display:flex;align-items:center;gap:10px;max-width:400px}.simple-filter-input{flex:1;padding:10px 15px;border:2px solid #e1e5e9;border-radius:8px;font-size:14px;outline:none;transition:border-color .3s ease}.simple-filter-input:focus{border-color:#007bff}.clear-filter-btn{background:#dc3545;color:#fff;border:none;border-radius:50%;width:30px;height:30px;cursor:pointer;font-size:14px;display:flex;align-items:center;justify-content:center;transition:background-color .2s ease}.clear-filter-btn:hover{background:#c82333}.payment-method{padding:4px 12px;border-radius:20px;font-size:.8rem;font-weight:600;text-transform:uppercase}.payment-method.cash{background:linear-gradient(135deg,#28a745 0%,#1e7e34 100%);color:#fff}.payment-method.credit{background:linear-gradient(135deg,#ffc107 0%,#e0a800 100%);color:#212529}.status.pending{background:linear-gradient(135deg,#dc3545 0%,#c82333 100%);color:#fff;font-weight:600}.status.paid{background:linear-gradient(135deg,#28a745 0%,#1e7e34 100%);color:#fff;font-weight:600}.text-success{color:#28a745!important;font-weight:600}.text-danger{color:#dc3545!important;font-weight:600}.btn-large{padding:6px 12px!important;font-size:.85rem!important;font-weight:600;border-radius:5px;box-shadow:0 1px 4px #0000001a;transition:all .3s ease;min-width:100px!important}.btn-large:hover{transform:translateY(-1px);box-shadow:0 2px 8px #00000026}.sales-modal-landscape,.purchase-modal-landscape{max-width:95vw;max-height:95vh;width:95vw;height:95vh;margin:2.5vh auto}.purchase-modal-compact{max-width:70vw;max-height:80vh;width:70vw;height:auto;margin:10vh auto;min-height:500px}.modal-body-landscape,.purchase-modal-body{display:flex;flex-direction:column;gap:15px;height:calc(95vh - 100px);overflow:hidden;padding:15px}.purchase-modal-body{overflow-y:auto}.left-panel{flex:0 0 400px;display:flex;flex-direction:column;gap:15px;overflow-y:auto;padding-right:10px}.right-panel{flex:1;display:flex;flex-direction:column;gap:15px;overflow:hidden}.invoice-header-compact{background:linear-gradient(135deg,#e3f2fd 0%,#f3e5f5 100%);border-radius:8px;padding:15px;border-left:4px solid #2196f3;box-shadow:0 2px 8px #2196f31a}.customer-selection{background:linear-gradient(135deg,#e8f5e8 0%,#f1f8e9 100%);border-radius:8px;padding:15px;border-left:4px solid #4caf50;box-shadow:0 2px 8px #4caf501a}.product-selection-compact{background:linear-gradient(135deg,#fff3e0 0%,#fce4ec 100%);border-radius:8px;padding:15px;border-left:4px solid #ff9800;box-shadow:0 2px 8px #ff98001a}.form-grid-compact{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-grid-compact .form-group{margin-bottom:0}.form-grid-compact label{font-size:.9rem;font-weight:600;color:#495057;margin-bottom:5px}.form-grid-compact input,.form-grid-compact select{padding:10px 15px;border:2px solid #e9ecef;border-radius:8px;font-size:1rem;font-weight:500;background:white;transition:all .3s ease;box-shadow:0 2px 4px #0000000d}.form-grid-compact input:focus,.form-grid-compact select:focus{border-color:#007bff;outline:none;box-shadow:0 0 0 4px #007bff26;transform:translateY(-1px)}.form-grid-compact input:hover,.form-grid-compact select:hover{border-color:#80bdff;box-shadow:0 4px 8px #0000001a}.customer-info-compact{background:linear-gradient(135deg,#e3f2fd 0%,#f3e5f5 100%);border-radius:8px;padding:12px;border-left:4px solid #2196f3}.customer-details-compact{display:flex;flex-wrap:wrap;gap:15px;font-size:.9rem}.customer-details-compact span{display:flex;align-items:center;gap:5px}.barcode-section-compact{background:linear-gradient(135deg,#fff3e0 0%,#f1f8e9 100%);border-radius:8px;padding:15px;border-left:4px solid #ff9800}.barcode-input-large{width:100%;padding:12px 16px;border:2px solid #ff9800;border-radius:8px;font-size:1.1rem;font-weight:600;text-align:center;background:white;transition:all .3s ease}.barcode-input-large:focus{border-color:#f57c00;box-shadow:0 0 0 3px #ff980033;outline:none}.product-selection-compact .form-grid-compact{grid-template-columns:2fr 1fr 1fr 1fr}.product-selection-container{display:flex;flex-direction:column;gap:8px}.scanner-container h3{margin:0 0 1rem;color:#28a745;display:flex;align-items:center;gap:10px;justify-content:center;font-size:1.1rem;font-weight:700;text-transform:uppercase;letter-spacing:1px}.barcode-scanner-section .barcode-input-container{display:flex;align-items:center;gap:10px;position:relative}.barcode-scanner-section .barcode-icon{position:absolute;left:15px;font-size:20px;color:#28a745;pointer-events:none;z-index:2}.barcode-scanner-section .barcode-input{flex:1;padding:14px 16px 14px 50px;background:white;border:2px solid #28a745;border-radius:8px;font-size:16px;font-weight:600;color:#495057;font-family:Courier New,monospace;letter-spacing:1px;transition:all .3s ease;box-shadow:inset 0 2px 4px #0000001a}.barcode-scanner-section .barcode-input:focus{outline:none;border-color:#20c997;box-shadow:0 0 0 3px #28a74540,inset 0 2px 4px #0000001a;transform:scale(1.01)}.barcode-scanner-section .barcode-input::placeholder{color:#6c757d;font-style:italic}.lang-ar .barcode-scanner-section .barcode-icon{left:auto;right:15px}.lang-ar .barcode-scanner-section .barcode-input{padding:14px 50px 14px 16px;text-align:right}.lang-fr .barcode-scanner-section .barcode-input,.lang-en .barcode-scanner-section .barcode-input{text-align:left}.sales-barcode-scanner-row,.large-modal .sales-barcode-scanner-row{margin:1rem 0;background:linear-gradient(135deg,#2c3e50,#34495e);border-radius:12px;border:3px solid #1a252f;box-shadow:0 6px 20px #00000040;overflow:hidden;width:100%!important;max-width:none!important;min-height:180px;display:grid!important;grid-template-columns:1fr 1fr!important;grid-template-areas:"scanner lcd"!important;gap:0;visibility:visible!important;opacity:1!important}.scanner-input-row{padding:1.2rem!important;border-right:3px solid #1a252f;background:linear-gradient(135deg,#34495e,#2c3e50)!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important;grid-area:scanner!important;visibility:visible!important;opacity:1!important;min-height:180px!important}.lcd-display-row{padding:.5rem!important;background:linear-gradient(135deg,#2c3e50,#1a252f)!important;display:flex!important;flex-direction:column!important;justify-content:center!important;grid-area:lcd!important;visibility:visible!important;opacity:1!important;min-height:180px!important}.sales-barcode-scanner-row .scanner-input-row{grid-area:scanner!important;display:flex!important;visibility:visible!important}.sales-barcode-scanner-row .lcd-display-row{grid-area:lcd!important;display:flex!important;visibility:visible!important}.lang-fr .sales-barcode-scanner-row,.lang-en .sales-barcode-scanner-row{grid-template-areas:"scanner lcd"!important;display:grid!important}.lang-ar .sales-barcode-scanner-row{grid-template-areas:"lcd scanner"!important;display:grid!important}.lang-ar .scanner-input-row{border-right:none!important;border-left:2px solid #1a252f!important}.scanner-input-row h3{margin:0 0 12px!important;color:#fff!important;display:flex!important;align-items:center!important;gap:8px!important;justify-content:center!important;font-size:1rem!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:1px!important;text-shadow:0 2px 4px rgba(0,0,0,.5)!important;visibility:visible!important;opacity:1!important}.lcd-display-row h3{display:none!important}.large-modal .scanner-input-row h3,.large-modal .lcd-display-row h3{margin:0 0 20px;color:#fff;display:flex;align-items:center;gap:12px;justify-content:center;font-size:1.3rem;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;text-shadow:0 3px 6px rgba(0,0,0,.5)}.large-modal .scanner-status-active,.scanner-status-active{color:#00ff41;font-weight:700;text-shadow:0 0 10px rgba(0,255,65,.8)}.scanner-input-row .barcode-input-container{position:relative!important;display:flex!important;align-items:center!important;gap:12px!important;margin:12px 0!important;visibility:visible!important;opacity:1!important;width:100%!important}.large-modal .scanner-input-row .barcode-input-container{position:relative;display:flex;align-items:center;gap:12px;margin:12px 0}.large-modal .scanner-input-row .barcode-input{flex:1;padding:12px 15px 12px 45px;background:linear-gradient(135deg,#0f1419,#1a252f);border:3px solid #00ff41;border-radius:8px;font-size:16px;font-weight:600;color:#00ff41;font-family:Courier New,monospace;letter-spacing:1px;transition:all .3s ease;box-shadow:inset 0 2px 8px #0009;min-height:45px}.large-modal .scanner-input-row .barcode-input:focus{outline:none;border-color:#20c997;box-shadow:0 0 0 3px #00ff4140,inset 0 4px 12px #0009;transform:scale(1.01)}.large-modal .scanner-input-row .barcode-input::placeholder{color:#7fb3d3;font-style:italic}.large-modal .scanner-input-row .barcode-icon{position:absolute;left:15px;font-size:18px;color:#00ff41;pointer-events:none;z-index:2;text-shadow:0 0 10px rgba(0,255,65,.7)}.scanner-input-row .barcode-icon{position:absolute!important;left:15px!important;font-size:18px!important;color:#00ff41!important;pointer-events:none!important;z-index:2!important;text-shadow:0 0 10px rgba(0,255,65,.7)!important;display:block!important;visibility:visible!important;opacity:1!important}.scanner-input-row .barcode-input{flex:1!important;padding:12px 15px 12px 45px!important;background:linear-gradient(135deg,#0f1419,#1a252f)!important;border:3px solid #00ff41!important;border-radius:8px!important;font-size:16px!important;font-weight:600!important;color:#00ff41!important;font-family:Courier New,monospace!important;letter-spacing:1px!important;transition:all .3s ease;box-shadow:inset 0 2px 8px #0009!important;min-height:45px!important;display:block!important;visibility:visible!important;opacity:1!important}.scanner-input-row .barcode-input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff4d,inset 0 2px 6px #0009;color:#fff;background:linear-gradient(135deg,#1a252f,#2c3e50);transform:scale(1.01)}.scanner-input-row .barcode-input::placeholder{color:#7fb3d3;font-style:italic;font-size:12px}.lang-ar .scanner-input-row .barcode-icon{left:auto;right:15px}.lang-ar .scanner-input-row .barcode-input{padding:12px 45px 12px 15px;text-align:right}.large-modal.lang-ar .sales-barcode-scanner-row{grid-template-areas:"lcd scanner"}.large-modal.lang-ar .scanner-input-row{border-right:none;border-left:3px solid #1a252f}.large-modal.lang-ar .scanner-input-row .barcode-icon{left:auto;right:15px}.large-modal.lang-ar .scanner-input-row .barcode-input{padding:12px 45px 12px 15px;text-align:right}.scanner-input-row .barcode-input-container .btn{padding:12px 16px;font-size:14px;border-radius:6px;font-weight:600;border:none;transition:all .3s ease;box-shadow:0 2px 4px #0000004d;min-height:45px;white-space:nowrap}.scanner-input-row .barcode-input-container .btn:hover{transform:translateY(-1px);box-shadow:0 3px 6px #0006}.large-modal .scanner-input-row .barcode-input-container .btn{padding:12px 16px;font-size:14px;border-radius:6px;font-weight:600;border:none;transition:all .3s ease;box-shadow:0 2px 4px #0000004d;min-height:45px;white-space:nowrap}.large-modal .scanner-input-row .barcode-input-container .btn:hover{transform:translateY(-1px);box-shadow:0 3px 6px #0006}.large-modal .scanner-input-row .barcode-input-container .btn-warning{background:linear-gradient(135deg,#f39c12,#e67e22);color:#fff;border:2px solid #d68910}.large-modal .scanner-input-row .barcode-input-container .btn-warning:hover{background:linear-gradient(135deg,#e67e22,#d68910);border-color:#bf6f0a}.lcd-display-row .lcd-screen-big{background:linear-gradient(135deg,#0f1419,#1a252f)!important;border:3px solid #00ff41!important;border-radius:8px!important;padding:1.5rem!important;min-height:160px!important;display:flex!important;align-items:center!important;justify-content:center!important;box-shadow:inset 0 2px 8px #0009!important;position:relative;overflow:hidden;width:100%!important;visibility:visible!important;opacity:1!important}.lcd-display-row .lcd-screen{background:linear-gradient(135deg,#0f1419,#1a252f)!important;border:3px solid #00ff41!important;border-radius:8px!important;padding:1rem!important;min-height:100px!important;display:flex!important;align-items:center!important;justify-content:center!important;box-shadow:inset 0 2px 8px #0009!important;position:relative;overflow:hidden;width:100%!important;visibility:visible!important;opacity:1!important}.product-info-layout{display:flex!important;justify-content:space-between!important;align-items:center!important;width:100%!important;gap:20px!important;color:#00ff41!important}.product-left{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:8px!important;flex:1!important}.product-right{display:flex!important;align-items:center!important;justify-content:flex-end!important}.product-name-bigger{font-size:1.8rem!important;font-weight:700!important;color:#00ff41!important;text-shadow:0 0 20px rgba(0,255,65,.9)!important;margin-bottom:8px!important;line-height:1.3!important;max-width:100%!important;word-wrap:break-word!important}.product-price-right{font-size:2rem!important;font-weight:700!important;color:#00ff41!important;background:rgba(0,255,65,.15)!important;padding:12px 20px!important;border-radius:8px!important;text-shadow:0 0 20px rgba(0,255,65,.8)!important;border:2px solid rgba(0,255,65,.3)!important;min-width:150px!important;text-align:center!important}.product-left .product-stock{font-size:.9rem!important;color:#7fb3d3!important;background:rgba(127,179,211,.1)!important;padding:4px 8px!important;border-radius:4px!important;border:1px solid rgba(127,179,211,.2)!important;white-space:nowrap!important;display:inline-block!important}.product-left .product-barcode{display:none!important}.lang-ar .product-info-layout{flex-direction:row-reverse!important}.lang-ar .product-left{align-items:flex-end!important;text-align:right!important}.lang-ar .product-right{justify-content:flex-start!important}.large-modal .lcd-display-row .lcd-screen{background:linear-gradient(135deg,#0f1419,#1a252f);border:3px solid #00ff41;border-radius:8px;padding:1rem;min-height:100px;display:flex;align-items:center;justify-content:center;box-shadow:inset 0 2px 8px #0009;position:relative;overflow:hidden;width:100%}.large-modal .lcd-display-row .product-info{text-align:center;color:#00ff41;width:100%;display:flex;flex-direction:column;align-items:center;gap:20px}.large-modal .lcd-display-row .product-name{font-size:1.1rem;font-weight:700;color:#00ff41;text-shadow:0 0 10px rgba(0,255,65,.8);margin-bottom:8px}.large-modal .lcd-display-row .product-details{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%}.large-modal .lcd-display-row .product-price-big{font-size:1.4rem;font-weight:700;color:#00ff41;background:rgba(0,255,65,.15);padding:8px 12px;border-radius:6px;display:inline-block;min-width:120px;text-shadow:0 0 15px rgba(0,255,65,.8);border:2px solid rgba(0,255,65,.3)}.large-modal .lcd-display-row .product-stock,.large-modal .lcd-display-row .product-barcode{font-size:.9rem;color:#7fb3d3;background:rgba(127,179,211,.1);padding:6px 10px;border-radius:4px;border:2px solid rgba(127,179,211,.2);white-space:nowrap}.large-modal .lcd-display-row .no-product{text-align:center;color:#7fb3d3;display:flex;flex-direction:column;align-items:center;gap:20px}.large-modal .lcd-display-row .waiting-text{font-size:1rem;font-style:italic;max-width:90%;color:#7fb3d3;text-shadow:0 0 8px rgba(127,179,211,.5)}.large-modal .lcd-display-row .scan-icon{font-size:2.5rem;opacity:.5;animation:pulse 2s infinite;color:#7fb3d3}.lcd-display-row .product-info{text-align:center;color:#00ff41;width:100%;display:flex;flex-direction:column;align-items:center;gap:20px}.lcd-display-row .product-name{font-size:1.6rem;font-weight:700;color:#fff;text-shadow:0 3px 6px rgba(0,0,0,.5);margin-bottom:15px;line-height:1.4;max-width:90%;word-wrap:break-word}.lcd-display-row .product-details{display:flex;align-items:center;justify-content:center;gap:25px;flex-wrap:wrap;width:100%}.lcd-display-row .product-price-big{font-size:2rem;font-weight:700;color:#00ff41;background:rgba(0,255,65,.15);padding:15px 20px;border-radius:10px;display:inline-block;min-width:180px;text-shadow:0 0 20px rgba(0,255,65,.8);border:2px solid rgba(0,255,65,.3)}.lcd-display-row .product-stock,.lcd-display-row .product-barcode{font-size:1.2rem;color:#7fb3d3;background:rgba(127,179,211,.1);padding:10px 15px;border-radius:8px;border:2px solid rgba(127,179,211,.2);white-space:nowrap}.lcd-display-row .no-product{text-align:center;color:#7fb3d3;display:flex;flex-direction:column;align-items:center;gap:20px}.lcd-display-row .waiting-text{font-size:1.4rem;font-style:italic;max-width:90%}.lcd-display-row .scan-icon{font-size:3.5rem;opacity:.5;animation:pulse 2s infinite}@media (max-width: 768px){.sales-barcode-scanner-row{margin:.3rem 0;grid-template-columns:1fr!important;grid-template-areas:"scanner" "lcd"!important;min-height:200px;max-width:100%}.scanner-input-row,.lcd-display-row{padding:.8rem;border-right:none!important;border-left:none!important}.scanner-input-row{border-bottom:2px solid #1a252f}.scanner-input-row .barcode-input{font-size:14px;padding:8px 10px 8px 30px;min-height:35px}.scanner-input-row .barcode-icon{left:8px;font-size:14px}.lang-ar .scanner-input-row .barcode-icon{right:8px}.lang-ar .scanner-input-row .barcode-input{padding:8px 30px 8px 10px}.scanner-input-row .barcode-input-container .btn{padding:8px 10px;font-size:10px;min-height:35px}.lcd-display-row .lcd-screen{min-height:60px;padding:.6rem}.lcd-display-row .product-details{flex-direction:column;gap:4px}.lcd-display-row .product-price-big{font-size:1rem;min-width:70px;padding:3px 6px}.lcd-display-row .product-name{font-size:.8rem}.lcd-display-row .product-stock,.lcd-display-row .product-barcode{font-size:.7rem;padding:2px 4px}}.product-selection-container .product-search{padding:8px 12px;border:2px solid #e0e0e0;border-radius:6px;font-size:14px;background:#f8f9fa;transition:all .3s ease}.product-selection-container .product-search:focus{outline:none;border-color:var(--primary-color);background:white;box-shadow:0 0 0 2px #16a0851a}.product-selection-container select{max-height:120px;overflow-y:auto}.btn-add{padding:12px 20px;font-weight:700;border-radius:8px;transition:all .3s ease;background:linear-gradient(135deg,#28a745 0%,#20c997 100%);border:none;color:#fff;font-size:1rem;box-shadow:0 3px 10px #28a7454d}.btn-add:hover{transform:translateY(-2px);box-shadow:0 6px 20px #28a74566;background:linear-gradient(135deg,#218838 0%,#1e7e34 100%)}.btn-add:active{transform:translateY(0);box-shadow:0 2px 8px #28a7454d}.invoice-items-landscape{flex:1;display:flex;flex-direction:column;background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);border-radius:8px;padding:15px;overflow:hidden;border:2px solid #dee2e6;box-shadow:0 4px 12px #0000001a}.invoice-items-landscape h3{margin:0 0 15px;color:#495057;font-size:1.2rem;display:flex;align-items:center;gap:8px}.no-items-landscape{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#6c757d;font-style:italic}.no-items-landscape p{margin:5px 0;font-size:1.1rem}.items-table-container{flex:1;overflow-y:auto;border-radius:6px;border:1px solid #dee2e6}.items-table-landscape{width:100%;border-collapse:collapse;background:white;font-size:.9rem}.items-table-landscape th{background:linear-gradient(135deg,#007bff 0%,#0056b3 100%);color:#fff;padding:12px 8px;text-align:center;font-weight:600;position:sticky;top:0;z-index:10}.items-table-landscape td{padding:12px 8px;text-align:center;border-bottom:1px solid #dee2e6;vertical-align:middle;transition:background-color .3s ease}.items-table-landscape tbody tr:hover{background-color:#f1f3f4}.items-table-landscape tbody tr:nth-child(2n){background-color:#fafafa}.items-table-landscape .product-name{text-align:right;font-weight:600;color:#2c3e50;background:linear-gradient(135deg,#e8f5e8 0%,#f1f8e9 100%)}.items-table-landscape .quantity{background:linear-gradient(135deg,#e3f2fd 0%,#f3e5f5 100%);font-weight:700;color:#1976d2;font-size:1.1rem}.items-table-landscape .price{font-weight:600;color:#ff6f00;background:linear-gradient(135deg,#fff3e0 0%,#fce4ec 100%)}.items-table-landscape .total{font-weight:700;color:#2e7d32;background:linear-gradient(135deg,#e8f5e8 0%,#f1f8e9 100%);font-size:1.1rem}.btn-icon-delete{background:#dc3545;color:#fff;border:none;border-radius:50%;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s ease;font-size:.9rem}.btn-icon-delete:hover{background:#c82333;transform:scale(1.1)}.invoice-totals-landscape{background:linear-gradient(135deg,#ffffff 0%,#f8f9fa 100%);border-radius:12px;padding:20px;border:2px solid #e9ecef;box-shadow:0 6px 20px #00000026}.discount-section{margin-bottom:20px;display:flex;align-items:center;gap:15px}.discount-section label{font-weight:600;color:#495057;font-size:1.1rem}.discount-input-large{flex:1;padding:10px 15px;border:2px solid #ffc107;border-radius:6px;font-size:1.1rem;font-weight:600;text-align:center;background:#fff8e1}.discount-input-large:focus{border-color:#ff8f00;outline:none;box-shadow:0 0 0 3px #ffc10733}.totals-summary-landscape{margin-bottom:20px}.totals-summary-landscape .total-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #e9ecef;font-size:1rem}.totals-summary-landscape .total-row:last-child{border-bottom:none}.totals-summary-landscape .amount{font-weight:600;color:#2e7d32}.totals-summary-landscape .amount.discount{color:#d32f2f}.totals-summary-landscape .final-total{background:linear-gradient(135deg,#4caf50 0%,#2e7d32 100%);color:#fff;padding:12px;border-radius:6px;margin-top:10px;font-size:1.2rem;font-weight:700}.totals-summary-landscape .final-total .amount.final{color:#fff;font-size:1.3rem}.action-buttons-landscape{display:flex;gap:15px}.btn-save{flex:1;padding:15px 20px;font-size:1.2rem;font-weight:700;border-radius:10px;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(135deg,#28a745 0%,#20c997 100%);border:none;color:#fff;box-shadow:0 4px 15px #28a7454d}.btn-cancel{flex:1;padding:15px 20px;font-size:1.2rem;font-weight:700;border-radius:10px;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(135deg,#6c757d 0%,#495057 100%);border:none;color:#fff;box-shadow:0 4px 15px #6c757d4d}.btn-save:hover{transform:translateY(-3px);box-shadow:0 8px 25px #28a74566;background:linear-gradient(135deg,#218838 0%,#1e7e34 100%)}.btn-cancel:hover{transform:translateY(-3px);box-shadow:0 8px 25px #6c757d66;background:linear-gradient(135deg,#5a6268 0%,#343a40 100%)}@media (max-width: 1400px){.sales-modal-landscape{width:98vw;height:98vh;margin:1vh auto}.side-by-side-layout{gap:15px}.right-payment-section{min-width:250px;max-width:320px}}@media (max-width: 1200px){.sales-modal-landscape{width:98vw;height:98vh;margin:1vh auto}.left-panel{flex:0 0 350px}.form-grid-compact{grid-template-columns:1fr;gap:10px}.product-selection-compact .form-grid-compact{grid-template-columns:1fr 1fr}.side-by-side-layout{gap:12px}.right-payment-section{min-width:220px;max-width:280px;padding:15px}}@media (max-width: 1024px){.sales-modal-landscape{width:100vw;height:100vh;margin:0;border-radius:0}.modal-body-landscape{padding:15px}.side-by-side-layout{flex-direction:column;max-height:none;gap:15px}.left-table-section{height:auto;min-height:350px;max-height:50vh}.right-payment-section{flex:none;max-width:100%;min-width:100%;height:auto;padding:15px}}@media (max-width: 768px){.modal-body-landscape{flex-direction:column;height:calc(100vh - 80px);padding:10px}.left-panel{flex:none;max-height:40vh;overflow-y:auto}.right-panel{flex:1;min-height:0}.product-selection-compact .form-grid-compact{grid-template-columns:1fr}.action-buttons-landscape{flex-direction:column}.btn-save,.btn-cancel{padding:15px;font-size:1.2rem}.items-table-landscape th,.items-table-landscape td{padding:8px 4px;font-size:.8rem}.invoice-items-landscape h3{font-size:1rem}.left-table-section{min-height:300px;max-height:45vh}.items-table-container{max-height:calc(45vh - 100px)}}@media (max-width: 480px){.sales-modal-landscape{width:100vw;height:100vh}.modal-body-landscape{padding:8px;height:calc(100vh - 60px)}.left-table-section{min-height:250px;max-height:40vh}.items-table-container{max-height:calc(40vh - 80px)}.right-payment-section{padding:10px}.modal-header{padding:10px 15px}.modal-header h2{font-size:1.1rem}}.sales-invoice-landscape{display:flex;flex-direction:column;height:calc(100vh - 120px);gap:15px;padding:20px;background:#f8f9fa;overflow-y:auto}.invoice-header-section{background:white;padding:10px;border-radius:8px;border:1px solid #e0e0e0}.customer-info .form-row{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:12px;align-items:end}.product-selection-section{background:white;padding:10px;border-radius:8px;border:1px solid #e0e0e0}.barcode-section{margin-bottom:10px}.barcode-section label{display:block;margin-bottom:4px;font-weight:600;color:#333}.barcode-section .barcode-input{width:100%;padding:10px;border:2px solid #28a745;border-radius:6px;font-size:16px;background:#f8fff9}.manual-selection .form-row{display:grid;grid-template-columns:3fr 1fr 1fr auto;gap:15px;align-items:end}.form-group.flex-2{grid-column:span 1}.invoice-content-section{display:grid;grid-template-columns:2fr 1fr;gap:15px;flex:1;overflow:visible;min-height:400px}.items-section{background:white;padding:10px!important;border-radius:5px;border:1px solid #e0e0e0;overflow:hidden;display:flex;flex-direction:column}.items-section h3{margin:0 0 10px!important;color:#333;font-size:14px!important}.no-items{text-align:center;padding:20px!important;color:#666;background:#f8f9fa;border-radius:3px;border:2px dashed #ddd;font-size:12px!important}.items-table{flex:1;overflow-y:auto}.items-table table{width:100%;border-collapse:collapse;font-size:16px!important}.items-table th{background:#f8f9fa;padding:12px 8px!important;text-align:right;border-bottom:2px solid #dee2e6;font-weight:700;color:#333;position:sticky;top:0;font-size:16px!important}.items-table td{padding:12px 8px!important;border-bottom:1px solid #dee2e6;text-align:right;font-size:16px!important;font-weight:600}.items-table td:first-child{font-weight:700!important;color:#2c3e50!important;font-size:17px!important}.items-table td:nth-child(2){font-weight:700!important;color:#e74c3c!important;font-size:16px!important}.items-table td:nth-child(3){font-weight:700!important;color:#3498db!important;font-size:16px!important}.items-table td:nth-child(4){font-weight:700!important;color:#27ae60!important;font-size:17px!important}.quantity-input{width:60px!important;padding:8px 6px!important;border:2px solid #3498db;border-radius:6px;text-align:center;font-size:16px!important;font-weight:700!important;color:#2c3e50!important;background:#ecf0f1!important}.btn-delete{background:#e74c3c;color:#fff;border:none;padding:8px 12px!important;border-radius:6px;cursor:pointer;font-size:16px!important;font-weight:600!important;min-width:auto!important;transition:all .3s ease;box-shadow:0 2px 4px #0000001a}.btn-delete:hover{background:#c0392b!important;transform:scale(1.05);box-shadow:0 4px 8px #0003}.totals-section{background:white;padding:10px!important;border-radius:5px;border:1px solid #e0e0e0;display:flex!important;flex-direction:column!important;height:fit-content;min-height:250px}.totals-grid{display:flex;flex-direction:column;gap:12px}.discount-input label{display:block;margin-bottom:3px;font-weight:600;color:#333;font-size:12px!important}.discount-input input{width:100%;padding:6px!important;border:1px solid #ddd;border-radius:3px;font-size:12px!important}.totals-summary{background:#f8f9fa;padding:10px!important;border-radius:3px;border:1px solid #e0e0e0}.total-row{display:flex;justify-content:space-between;padding:4px 0!important;border-bottom:1px solid #dee2e6;font-size:12px!important}.total-row:last-child{border-bottom:none}.total-row.final{font-weight:700;font-size:14px!important;color:#28a745;background:white;margin:6px -10px -10px;padding:10px!important;border-radius:0 0 3px 3px}.action-buttons{display:flex;gap:6px}.action-buttons .btn{flex:1;padding:8px!important;font-size:12px!important;font-weight:600}@media (max-width: 1200px){.invoice-content-section{grid-template-columns:1fr}.customer-info .form-row{grid-template-columns:1fr 1fr;gap:10px}.manual-selection .form-row{grid-template-columns:1fr;gap:10px}}@media (max-width: 768px){.sales-invoice-landscape{padding:8px;gap:8px}.customer-info .form-row{grid-template-columns:1fr}.items-section{padding:8px}.items-section h3{font-size:14px;margin-bottom:8px}.totals-section{padding:8px}.action-buttons .btn{padding:8px;font-size:12px}.btn-large{padding:6px 12px;font-size:.85rem;min-width:100px}.table-actions{padding:1rem;gap:.6rem}.no-items{padding:20px;font-size:12px}}.supplier-selection{display:flex;gap:10px;align-items:center}.supplier-selection select{flex:1}.supplier-selection .btn{white-space:nowrap;padding:8px 12px;font-size:12px}.product-selection-controls{display:flex;gap:10px;align-items:center}.product-selection-controls select{flex:1}.product-selection-controls .btn{white-space:nowrap;padding:8px 12px;font-size:12px}.large-modal{max-width:900px!important;width:90%!important}.suppliers-management{padding:20px 0}.suppliers-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:15px;border-bottom:2px solid #e9ecef}.suppliers-table-container{max-height:400px;overflow-y:auto;border:1px solid #dee2e6;border-radius:8px}.suppliers-table-container .data-table{margin:0}.suppliers-table-container .data-table th{position:sticky;top:0;background:var(--primary-color);color:#fff;z-index:10}.form-grid .form-group.full-width{grid-column:1 / -1}@media print{@page{size:80mm auto;margin:0}body{font-family:Courier New,monospace!important;font-size:14px!important;font-weight:700!important;line-height:1.4!important;margin:0!important;padding:3mm!important;width:74mm!important;color:#000!important;background:white!important;text-align:center!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}body[dir=rtl]{direction:rtl!important;text-align:right!important}body[dir=ltr]{direction:ltr!important;text-align:left!important}*{color:#000!important;background:white!important;font-weight:700!important}.thermal-header{font-size:18px!important;font-weight:700!important;text-transform:uppercase!important;margin-bottom:4mm!important;border-bottom:2px solid black!important;padding-bottom:2mm!important;text-align:center!important}.thermal-info{font-size:12px!important;margin:2mm 0!important;text-align:left!important}.thermal-info[dir=rtl]{text-align:right!important}.thermal-table{width:100%!important;border-collapse:collapse!important;margin:3mm 0!important;font-size:11px!important}.thermal-table th,.thermal-table td{padding:1mm!important;text-align:left!important;border-bottom:1px solid black!important}.thermal-table[dir=rtl] th,.thermal-table[dir=rtl] td{text-align:right!important}.thermal-table th{background:black!important;color:#fff!important;font-weight:700!important}.thermal-text{font-size:14px!important;font-weight:700!important;margin:2mm 0!important}.thermal-total{font-size:16px!important;font-weight:700!important;border:3px double black!important;padding:3mm!important;margin:3mm 0!important;background:#f0f0f0!important;text-align:center!important}.thermal-footer{font-size:10px!important;font-weight:700!important;margin-top:4mm!important;border-top:2px solid black!important;padding-top:3mm!important;text-align:center!important}.separator{border-top:1px dashed black!important;margin:2mm 0!important;height:1px!important}.center{text-align:center!important}.right{text-align:right!important}.left{text-align:left!important}.bold{font-weight:700!important}.no-print{display:none!important}.developer-footer{margin-top:4mm!important;padding-top:2mm!important;border-top:1px dashed black!important;font-size:10px!important;font-weight:700!important;text-align:center!important}.developer-name{margin-bottom:1mm!important}.developer-phone{font-size:12px!important;font-weight:700!important}}.thermal-receipt{max-width:80mm;margin:0 auto;font-family:Courier New,monospace;font-size:14px;font-weight:700;line-height:1.4;color:#000;background:white;padding:3mm}.thermal-receipt[dir=rtl]{direction:rtl;text-align:right}.thermal-receipt[dir=ltr]{direction:ltr;text-align:left}.direct-print-iframe{position:absolute!important;left:-9999px!important;top:-9999px!important;width:1px!important;height:1px!important;border:none!important;visibility:hidden!important}.print-status{position:fixed;top:20px;right:20px;background:rgba(0,0,0,.8);color:#fff;padding:10px 15px;border-radius:5px;font-size:12px;z-index:10000;display:none}.print-status.show{display:block}.print-status.success{background:rgba(40,167,69,.9)}.print-status.error{background:rgba(220,53,69,.9)}.print-status.info{background:rgba(23,162,184,.9)}.btn-sm{margin:0 2px;padding:4px 8px;font-size:11px}.bulk-actions{display:flex;align-items:center;gap:15px;margin-bottom:20px;padding:15px;background:white;border-radius:10px;box-shadow:0 2px 8px #0000001a;border:1px solid #e9ecef}.bulk-actions.has-selection{background:linear-gradient(135deg,#fff3cd,#ffeaa7);border-color:#ffc107}.select-all-container{display:flex;align-items:center;gap:8px}.lang-ar .select-all-container{direction:rtl;flex-direction:row-reverse}.lang-fr .select-all-container,.lang-en .select-all-container{direction:ltr;flex-direction:row}.select-all-checkbox{width:18px;height:18px;cursor:pointer;accent-color:#007bff}.select-all-label{font-weight:600;color:#495057;cursor:pointer;user-select:none}.lang-ar .select-all-label{direction:rtl;text-align:right}.lang-fr .select-all-label,.lang-en .select-all-label{direction:ltr;text-align:left}.selected-count{color:#6c757d;font-size:14px;margin-left:10px}.bulk-delete-btn{background:linear-gradient(135deg,#dc3545,#c82333);color:#fff;border:none;padding:8px 16px;border-radius:6px;font-weight:600;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:6px}.bulk-delete-btn:hover{background:linear-gradient(135deg,#c82333,#a71e2a);transform:translateY(-1px);box-shadow:0 4px 12px #dc35454d}.bulk-delete-btn:disabled{background:#6c757d;cursor:not-allowed;transform:none;box-shadow:none}.row-checkbox{width:16px;height:16px;cursor:pointer;accent-color:#007bff}.data-table tr.selected{background:rgba(0,123,255,.1)!important;border-left:3px solid #007bff}.data-table tr.selected:hover{background:rgba(0,123,255,.15)!important}.checkbox-column{width:50px;text-align:center!important;padding:8px!important}.lang-fr .checkbox-column,.lang-en .checkbox-column{text-align:center!important}.header-actions{display:flex;gap:10px;align-items:center}.header-actions .btn{white-space:nowrap}.btn-info{background:linear-gradient(135deg,#17a2b8,#138496);color:#fff;border:none;transition:all .3s ease}.btn-info:hover{background:linear-gradient(135deg,#138496,#117a8b);transform:translateY(-2px);box-shadow:0 4px 15px #17a2b84d}@media (max-width: 768px){.supplier-selection,.product-selection-controls{flex-direction:column;gap:8px}.supplier-selection select,.product-selection-controls select{width:100%}.supplier-selection .btn,.product-selection-controls .btn{width:100%;justify-content:center}}.sales-modal-landscape .btn,.modal-content .btn{padding:.5rem 1rem!important;font-size:.8rem!important;min-width:100px!important}.sales-modal-landscape .btn-large{padding:6px 12px!important;font-size:.85rem!important;min-width:100px!important}.sales-modal-landscape .items-table th,.sales-modal-landscape .items-table td{padding:12px 8px!important;font-size:16px!important;font-weight:600!important}.sales-modal-landscape .quantity-input{width:60px!important;padding:8px 6px!important;font-size:16px!important;font-weight:700!important;color:#2c3e50!important;background:#ecf0f1!important;border:2px solid #3498db!important}.sales-modal-landscape .btn-delete{padding:8px 12px!important;font-size:16px!important;font-weight:600!important;min-width:auto!important}.sales-modal-landscape .total-row{padding:4px 0!important;font-size:12px!important}.sales-modal-landscape .action-buttons .btn{padding:12px 20px!important;font-size:14px!important;min-height:40px!important;display:flex!important;align-items:center!important;justify-content:center!important}.action-buttons{display:flex!important;gap:10px!important;margin-top:15px!important;padding:10px 0!important}.action-buttons .btn{flex:1!important;padding:12px 20px!important;font-size:14px!important;font-weight:600!important;min-height:40px!important;display:flex!important;align-items:center!important;justify-content:center!important}.sales-modal-landscape .totals-section .action-buttons,.modal-content .totals-section .action-buttons{display:flex!important;gap:10px!important;margin-top:15px!important;padding:10px 0!important;width:100%!important}.sales-modal-landscape .totals-section .action-buttons .btn,.modal-content .totals-section .action-buttons .btn{flex:1!important;padding:12px 20px!important;font-size:14px!important;font-weight:600!important;min-height:40px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:6px!important;cursor:pointer!important}.totals-section .action-buttons,.totals-section .action-buttons .btn{display:flex!important;visibility:visible!important;opacity:1!important;position:relative!important;z-index:999!important}.purchase-modal-body .invoice-header-section{background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);padding:20px;border-radius:8px;border:1px solid #dee2e6}.purchase-modal-body .product-selection-section{background:#f8f9fa;padding:15px;border-radius:8px;border-left:4px solid #28a745}.purchase-modal-body .invoice-content-section{flex:1;display:flex;flex-direction:column;gap:20px}.purchase-modal-body .items-section{flex:1;min-height:200px}.purchase-modal-body .totals-section{background:white;padding:20px;border-radius:8px;border:1px solid #dee2e6;box-shadow:0 2px 4px #0000001a}.purchase-modal-body .no-items{text-align:center;padding:40px;color:#6c757d;background:#f8f9fa;border-radius:8px;border:2px dashed #dee2e6}.purchase-modal-body .items-table{max-height:300px;overflow-y:auto;border:1px solid #dee2e6;border-radius:8px}.purchase-modal-body .totals-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px;align-items:start}.purchase-modal-body .discount-input{display:flex;flex-direction:column;gap:10px}.purchase-modal-body .totals-summary{display:flex;flex-direction:column;gap:8px}.purchase-modal-body .action-buttons{display:flex;gap:10px;justify-content:flex-end}.totals-section-simple{background:white;padding:20px;border-radius:8px;border:1px solid #dee2e6;box-shadow:0 2px 4px #0000001a;margin-top:20px}.simple-total-row{display:flex;justify-content:space-between;align-items:center;padding:15px 0;border-bottom:2px solid #007bff;margin-bottom:20px}.total-label{font-size:18px;font-weight:700;color:#495057}.total-value{font-size:20px;font-weight:700;color:#007bff}.action-buttons-simple{display:flex;gap:15px;justify-content:center}.action-buttons-simple .btn{padding:12px 24px;font-size:16px;border-radius:6px;min-width:150px}.sales-modal-landscape .totals-section{position:relative!important;height:auto!important;min-height:280px!important}.sales-modal-landscape .totals-grid{height:100%!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important}.sales-modal-landscape .action-buttons{margin-top:auto!important;padding:10px 0!important;background:white!important;border-top:1px solid #e0e0e0!important;position:sticky!important;bottom:0!important}button.btn.btn-primary,button.btn.btn-secondary{display:flex!important;visibility:visible!important;opacity:1!important;min-height:40px!important;padding:12px 20px!important;font-size:14px!important;font-weight:600!important;border-radius:6px!important;cursor:pointer!important;align-items:center!important;justify-content:center!important;gap:8px!important}.totals-section,.totals-grid{overflow:visible!important}.reports-page{padding:20px;background:#f8f9fa;min-height:100vh}.reports-page .page-header{text-align:center;margin-bottom:40px;background:white;padding:30px;border-radius:15px;box-shadow:0 4px 20px #0000001a}.reports-page .page-header h1{color:#2c3e50;margin:0 0 10px;font-size:32px;font-weight:700}.reports-page .page-header p{color:#7f8c8d;font-size:16px;margin:0}.reports-categories{display:flex;flex-direction:column;gap:40px}.report-category{background:white;border-radius:15px;padding:30px;box-shadow:0 4px 20px #0000001a;transition:transform .3s ease}.report-category:hover{transform:translateY(-2px)}.category-header{text-align:center;margin-bottom:30px;padding-bottom:20px;border-bottom:2px solid #ecf0f1}.category-header h2{color:#2c3e50;margin:0 0 10px;font-size:24px;font-weight:700}.category-header p{color:#7f8c8d;margin:0;font-size:14px}.reports-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}.report-card{background:#f8f9fa;border-radius:12px;padding:25px;cursor:pointer;transition:all .3s ease;border:2px solid transparent;display:flex;align-items:center;gap:20px;position:relative;overflow:hidden}.report-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#3498db,#2ecc71);transform:scaleX(0);transition:transform .3s ease}.report-card:hover:before{transform:scaleX(1)}.report-card:hover{background:white;border-color:#3498db;transform:translateY(-3px);box-shadow:0 8px 25px #3498db26}.report-icon{font-size:32px;min-width:50px;text-align:center}.report-info{flex:1}.report-info h3{margin:0 0 8px;color:#2c3e50;font-size:18px;font-weight:700}.report-info p{margin:0 0 12px;color:#7f8c8d;font-size:14px;line-height:1.4}.report-stats{display:flex;flex-direction:column;gap:4px}.report-stats span{font-size:16px;font-weight:700;color:#27ae60}.report-stats small{font-size:12px;color:#95a5a6}.report-action{font-size:24px;color:#3498db;transition:transform .3s ease}.report-card:hover .report-action{transform:scale(1.2)}.reports-summary{background:white;border-radius:15px;padding:30px;margin-top:40px;box-shadow:0 4px 20px #0000001a}.reports-summary h2{text-align:center;color:#2c3e50;margin:0 0 30px;font-size:24px;font-weight:700}.summary-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}.stat-item{display:flex;align-items:center;gap:20px;padding:24px;background:linear-gradient(135deg,rgba(255,255,255,.15),rgba(255,255,255,.08));backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:2px solid rgba(255,255,255,.3);border-radius:20px;box-shadow:0 8px 32px #0000001a,inset 0 1px #ffffff80;transition:all .3s ease}.stat-item:hover{background:linear-gradient(135deg,rgba(255,255,255,.2),rgba(255,255,255,.12));transform:translateY(-4px) scale(1.02);box-shadow:0 12px 40px #00000026,inset 0 1px #fff9;border-color:#fff6}.stat-icon{font-size:32px;min-width:50px;text-align:center}.stat-details h3{margin:0 0 8px;color:#2c3e50;font-size:16px;font-weight:700}.stat-details p{margin:0;color:#27ae60;font-size:18px;font-weight:700}@media (max-width: 768px){.reports-page{padding:15px}.reports-page .page-header{padding:20px}.reports-page .page-header h1{font-size:24px}.report-category{padding:20px}.category-header h2{font-size:20px}.reports-grid{grid-template-columns:1fr}.report-card{padding:20px;flex-direction:column;text-align:center;gap:15px}.summary-stats{grid-template-columns:1fr}.stat-item{flex-direction:column;text-align:center;gap:15px}}table .action-buttons-group button,.data-table .action-buttons-group button,.inventory-table .action-buttons-group button,td .action-buttons-group button,.action-buttons-group .btn.btn-xs,.action-buttons-group button.btn-xs{padding:0!important;margin:0!important;min-width:32px!important;max-width:32px!important;width:32px!important;height:32px!important;font-size:14px!important;border-radius:6px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:0!important;text-align:center!important;line-height:1!important;border:none!important;box-sizing:border-box!important}.vendor-restricted{color:#6c757d;font-size:12px;font-style:italic;text-align:center;padding:8px}.stock-display-vendor{display:flex;align-items:center;gap:15px;justify-content:center;padding:12px 16px;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:12px;border:3px solid #17a2b8;min-width:140px;box-shadow:0 3px 6px #0000001a;min-height:50px}.stock-value{font-weight:800;color:#2c3e50;font-size:20px;min-width:50px;text-align:center;padding:8px 12px;background:linear-gradient(135deg,#ffffff,#f0f8ff);border-radius:8px;box-shadow:0 2px 4px #00000026;border:2px solid #17a2b8}.access-denied-page{display:flex;justify-content:center;align-items:center;min-height:60vh;padding:40px 20px}.access-denied-content{text-align:center;max-width:500px;padding:40px;background:white;border-radius:12px;box-shadow:0 4px 12px #0000001a;border:1px solid #e9ecef}.access-denied-icon{font-size:4rem;margin-bottom:20px;opacity:.7}.access-denied-content h1{color:#dc3545;margin-bottom:15px;font-size:1.8rem}.access-denied-content p{color:#6c757d;margin-bottom:15px;line-height:1.6}.access-denied-content .btn{margin-top:20px;padding:12px 24px}.advanced-card{border:2px solid #3498db!important;background:linear-gradient(135deg,#e3f2fd 0%,#bbdefb 100%)!important}.advanced-card .report-icon{color:#3498db}.advanced-card .report-info h3{color:#1976d2;margin-bottom:10px}.advanced-card:hover{transform:translateY(-2px);box-shadow:0 8px 25px #3498db4d}.report-controls{display:flex;flex-direction:column;gap:10px;margin-top:10px}.date-selector{display:flex;align-items:center;gap:8px}.date-selector label{font-size:12px;font-weight:500;color:#1976d2;min-width:70px}.date-selector select,.date-selector input{padding:4px 8px;border:1px solid #3498db;border-radius:4px;font-size:12px;background:white}.advanced-report-display{background:white;border-radius:15px;padding:25px;margin:20px 0;box-shadow:0 4px 20px #0000001a}.advanced-report-display h2{color:#2c3e50;margin-bottom:10px;display:flex;align-items:center;gap:10px}.report-date{color:#7f8c8d;margin-bottom:20px;font-size:14px}.report-summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px;margin-bottom:25px}.best-products-section{margin-top:25px}.best-products-section h3{color:#2c3e50;margin-bottom:15px;display:flex;align-items:center;gap:8px}.products-table-container{background:white;border-radius:10px;overflow:hidden;box-shadow:0 2px 10px #0000001a}.products-table{width:100%;border-collapse:collapse}.products-table th{background:#3498db;color:#fff;padding:12px;text-align:center;font-weight:600;font-size:14px}.products-table td{padding:10px;text-align:center;border-bottom:1px solid #ecf0f1;font-size:13px}.products-table tr:nth-child(2n){background:#f8f9fa}.products-table tr:hover{background:#e3f2fd}.best-product{background:linear-gradient(135deg,#fff3e0 0%,#ffe0b2 100%)!important;font-weight:600}.best-product:hover{background:linear-gradient(135deg,#ffecb3 0%,#ffd54f 100%)!important}.crown{margin-left:5px;font-size:16px}.profit-positive{color:#27ae60;font-weight:600}.profit-negative{color:#e74c3c;font-weight:600}.lang-fr .reports-page,.lang-en .reports-page{direction:ltr;text-align:left}.lang-fr .reports-page .page-header,.lang-en .reports-page .page-header,.lang-fr .reports-page .page-header h1,.lang-en .reports-page .page-header h1,.lang-fr .reports-page .page-header p,.lang-en .reports-page .page-header p{text-align:left!important}.lang-fr .page-header,.lang-en .page-header,.lang-fr .page-header h1,.lang-en .page-header h1,.lang-fr .page-header p,.lang-en .page-header p{text-align:left}.lang-ar .reports-page .page-header,.lang-ar .reports-page .page-header h1,.lang-ar .reports-page .page-header p{text-align:center!important}.lang-fr .category-header,.lang-en .category-header,.lang-fr .category-header h2,.lang-en .category-header h2,.lang-fr .category-header p,.lang-en .category-header p,.lang-fr .report-card,.lang-en .report-card,.lang-fr .report-info,.lang-en .report-info,.lang-fr .report-info h3,.lang-en .report-info h3,.lang-fr .report-info p,.lang-en .report-info p,.lang-fr .report-stats,.lang-en .report-stats{text-align:left}.lang-fr .reports-summary h2,.lang-en .reports-summary h2,.lang-fr .stat-details,.lang-en .stat-details,.lang-fr .stat-details h3,.lang-en .stat-details h3,.lang-fr .stat-details p,.lang-en .stat-details p{text-align:center}.lang-fr .advanced-report-display,.lang-en .advanced-report-display,.lang-fr .advanced-report-display h2,.lang-en .advanced-report-display h2,.lang-fr .report-date,.lang-en .report-date,.lang-fr .best-products-section h3,.lang-en .best-products-section h3{text-align:left}.lang-fr .summary-card,.lang-en .summary-card,.lang-fr .summary-card h3,.lang-en .summary-card h3,.lang-fr .summary-value,.lang-en .summary-value{text-align:center}.lang-fr .report-stats span,.lang-en .report-stats span,.lang-fr .report-stats small,.lang-en .report-stats small{text-align:left}.scanner-title{margin:0 0 10px;color:#28a745;font-size:1rem;font-weight:700;text-align:center;text-transform:uppercase;letter-spacing:1px}.edit-invoice-layout-ltr{display:flex;flex-direction:row;gap:20px;align-items:flex-start}.edit-invoice-layout-ltr .lcd-display-row.lcd-left{flex:1;order:1}.edit-invoice-layout-ltr .scanner-input-row.scanner-right{flex:1;order:2}.total-final-display{text-align:center;color:#00ff41;width:100%;display:flex;flex-direction:column;align-items:center;gap:15px;padding:20px}.total-final-label{font-size:1.2rem;font-weight:700;color:#7fb3d3;text-transform:uppercase;letter-spacing:1px}.total-final-amount{font-size:2.5rem;font-weight:700;color:#00ff41;text-shadow:0 0 10px rgba(0,255,65,.5);font-family:Courier New,monospace}.total-final-currency{font-size:1rem;color:#7fb3d3;font-weight:700;margin-top:-10px}@media (max-width: 768px){.total-final-display{gap:12px;padding:15px}.total-final-label{font-size:1rem}.total-final-amount{font-size:2rem}.total-final-currency{font-size:.9rem}}@media (max-width: 480px){.total-final-display{gap:10px;padding:12px}.total-final-label{font-size:.9rem}.total-final-amount{font-size:1.6rem}.total-final-currency{font-size:.8rem}}.invoice-info{display:flex;flex-direction:column;gap:5px;margin-top:10px}.invoice-number{font-size:.9rem;color:#7fb3d3;font-weight:700}.timestamp{font-size:.8rem;color:#5a8aa8}.lcd-remise-section{margin-top:20px;padding-top:15px;border-top:2px solid rgba(0,255,0,.3);display:flex;flex-direction:column;gap:8px;position:relative;z-index:1}.remise-label{font-size:12px;opacity:.8;text-transform:uppercase;letter-spacing:1px;font-weight:600;color:#0f0}.lcd-remise-input{background:rgba(0,255,0,.1);border:2px solid rgba(0,255,0,.3);border-radius:6px;padding:8px 12px;color:#0f0;font-family:Courier New,monospace;font-size:18px;font-weight:700;text-align:center;outline:none;text-shadow:0 0 5px rgba(0,255,0,.5);width:100%;box-sizing:border-box}.lcd-remise-input:focus{border-color:#0f0;box-shadow:0 0 10px #00ff004d}.lcd-remise-input::placeholder{color:#00ff0080}.remise-currency{font-size:12px;opacity:.7;font-weight:600;margin-top:5px;color:#0f0}@media (max-width: 768px){.lcd-remise-section{margin-top:15px;padding-top:12px}.remise-label{font-size:11px}.lcd-remise-input{font-size:16px;padding:6px 10px}.remise-currency{font-size:11px}}@media (max-width: 480px){.lcd-remise-section{margin-top:12px;padding-top:10px}.remise-label{font-size:10px}.lcd-remise-input{font-size:14px;padding:5px 8px}.remise-currency{font-size:10px}}.side-by-side-layout{display:flex;gap:12px;flex:1;min-height:300px;max-height:400px;overflow:hidden}.left-table-section{flex:2;display:flex;flex-direction:column;background:white;border-radius:8px;border:1px solid #dee2e6;overflow:hidden;height:100%;min-width:0}.right-payment-section{flex:1;min-width:280px;max-width:400px;background:white;border-radius:8px;border:1px solid #dee2e6;padding:15px;display:flex;flex-direction:column;gap:12px;height:100%;overflow:hidden}.table-header-controls{background:#f8f9fa;padding:10px;border-bottom:1px solid #dee2e6;flex-shrink:0}.product-selection-row{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.select-product-col{flex:2;min-width:200px}.quantity-col{flex:1;min-width:100px}.add-button-col{flex:0 0 auto;min-width:100px}.select-product-col label,.quantity-col label{display:block;margin-bottom:4px;font-weight:600;color:#495057}.select-product-col select,.quantity-col input{width:100%;padding:8px 12px;border:1px solid #ced4da;border-radius:4px;font-size:14px}.add-button-col button{padding:8px 16px;background:#28a745;color:#fff;border:none;border-radius:4px;font-weight:600;cursor:pointer;transition:background-color .3s}.add-button-col button:hover:not(:disabled){background:#218838}.add-button-col button:disabled{background:#6c757d;cursor:not-allowed}.items-table-container{flex:1;padding:10px;overflow-y:auto;max-height:250px}.no-items{text-align:center;padding:40px 20px;color:#6c757d}.invoice-table{width:100%;border-collapse:collapse}.invoice-table th{background:#f8f9fa;padding:8px 6px;text-align:left;border-bottom:2px solid #dee2e6;font-weight:600;color:#495057;font-size:.9rem}.invoice-table td{padding:8px 6px;border-bottom:1px solid #dee2e6;font-size:.9rem}.invoice-table tr:hover{background:#f8f9fa}.quantity-input{width:60px;padding:4px 6px;border:1px solid #ced4da;border-radius:3px;text-align:center}.btn-delete{background:#dc3545;color:#fff;border:none;padding:4px 8px;border-radius:3px;cursor:pointer;font-size:12px}.btn-delete:hover{background:#c82333}.right-payment-section h3{margin:0 0 12px;color:#495057;font-size:16px;font-weight:600;border-bottom:2px solid #dee2e6;padding-bottom:8px}.payment-field{display:flex;flex-direction:column;gap:4px}.payment-field label{font-weight:600;color:#495057}.payment-field select,.payment-field input{padding:8px;border:1px solid #ced4da;border-radius:4px;font-size:14px}.payment-field select:focus,.payment-field input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.display-info{background:#f8f9fa;padding:15px;border-radius:4px;border:1px solid #dee2e6}.info-row{display:flex;justify-content:space-between;align-items:center;padding:5px 0;font-size:14px}.info-row span:first-child{color:#495057;font-weight:500}.info-row span:last-child{color:#007bff;font-weight:600}.payment-field-with-button{display:flex;gap:12px;align-items:end;margin-bottom:12px;flex-wrap:wrap}.field-part{flex:2;min-width:200px;display:flex;flex-direction:column;gap:5px}.field-part label{font-weight:600;color:#495057;font-size:14px}.field-part select{padding:10px 12px;border:1px solid #ced4da;border-radius:4px;font-size:14px;height:42px;width:100%;background-color:#fff}.field-part select:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}.btn-next-to-field{padding:10px 16px;font-size:14px;font-weight:600;border:none;border-radius:4px;cursor:pointer;transition:all .3s;white-space:nowrap;height:42px;flex:1;min-width:120px;max-width:200px}.btn-primary.btn-next-to-field{background:#007bff;color:#fff}.btn-primary.btn-next-to-field:hover{background:#0056b3;transform:translateY(-1px)}.btn-secondary.btn-next-to-field{background:#6c757d;color:#fff}.btn-secondary.btn-next-to-field:hover{background:#545b62;transform:translateY(-1px)}.paste-ticket-buttons-section{margin-top:20px;padding:15px;background:#f8f9fa;border-radius:8px;border:1px solid #dee2e6}.paste-ticket-buttons-header{margin-bottom:15px;text-align:center}.paste-ticket-buttons-header h4{color:#495057;font-size:16px;font-weight:600;margin:0}.paste-ticket-buttons-grid{display:flex;flex-direction:column;gap:10px;max-height:200px;overflow-y:auto}.paste-ticket-item{display:flex;justify-content:space-between;align-items:center;padding:10px;background:#ffffff;border:1px solid #dee2e6;border-radius:6px;box-shadow:0 1px 3px #0000001a}.paste-ticket-item-info{display:flex;flex-direction:column;gap:3px;flex:1}.paste-ticket-item-info .product-name{font-weight:600;color:#212529;font-size:14px}.paste-ticket-item-info .product-category{font-size:12px;color:#6c757d;font-style:italic}.paste-ticket-item-buttons{display:flex;gap:8px}.paste-ticket-item-buttons .btn{padding:5px 10px;font-size:11px;border-radius:4px;min-width:60px}.lang-ar .paste-ticket-item{direction:rtl}.lang-ar .paste-ticket-item-info .product-name,.lang-ar .paste-ticket-item-info .product-category{text-align:right}.lang-fr .paste-ticket-item,.lang-en .paste-ticket-item{direction:ltr}.lang-fr .paste-ticket-item-info .product-name,.lang-en .paste-ticket-item-info .product-name,.lang-fr .paste-ticket-item-info .product-category,.lang-en .paste-ticket-item-info .product-category{text-align:left}.paste-ticket-modal-buttons{display:flex;gap:10px;margin-bottom:15px;padding:10px;background:#f8f9fa;border-radius:6px;border:1px solid #dee2e6}.modal-action-buttons{display:flex;gap:10px;justify-content:flex-end}.paste-ticket-modal-buttons .btn{padding:8px 12px;font-size:13px;border-radius:4px;min-width:120px}.lang-ar .paste-ticket-modal-buttons{direction:rtl}.lang-ar .modal-action-buttons{justify-content:flex-start}.lang-fr .paste-ticket-modal-buttons,.lang-en .paste-ticket-modal-buttons{direction:ltr}.lang-fr .modal-action-buttons,.lang-en .modal-action-buttons{justify-content:flex-end}@media (max-width: 1200px){.side-by-side-layout{gap:15px}.right-payment-section{min-width:250px;max-width:350px;padding:15px}.product-selection-row{gap:10px}.select-product-col{min-width:180px}.quantity-col{min-width:90px}}@media (max-width: 1024px){.side-by-side-layout{flex-direction:column;max-height:none;gap:15px}.left-table-section{height:auto;min-height:400px}.right-payment-section{flex:none;max-width:100%;min-width:100%;height:auto}.product-selection-row{flex-wrap:wrap}.select-product-col,.quantity-col{flex:1 1 45%;min-width:150px}.add-button-col{flex:1 1 100%;min-width:100%}.add-button-col button{width:100%}}@media (max-width: 768px){.side-by-side-layout{gap:15px}.product-selection-row{flex-direction:column;gap:10px}.select-product-col,.quantity-col,.add-button-col{flex:none;width:100%;min-width:100%}.table-header-controls,.items-table-container{padding:10px}.invoice-table{font-size:12px}.invoice-table th,.invoice-table td{padding:8px 4px}.right-payment-section{padding:15px}.payment-field-with-button{flex-direction:column;gap:10px}.payment-field-with-button .field-part,.btn-next-to-field{width:100%}}@media (max-width: 480px){.side-by-side-layout{gap:10px}.left-table-section{min-height:300px}.table-header-controls,.items-table-container{padding:8px}.invoice-table{font-size:11px}.invoice-table th,.invoice-table td{padding:6px 3px}.quantity-input{width:50px;font-size:12px}.btn-delete{padding:3px 6px;font-size:11px}.right-payment-section{padding:10px}.right-payment-section h3{font-size:16px;margin-bottom:15px}}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.modern-info-item:hover{transform:translateY(-2px);box-shadow:0 4px 15px #0000001a}.modern-info-item strong{color:#495057;font-weight:600;font-size:.95rem;text-transform:uppercase;letter-spacing:.5px}.customer-name{color:#2c3e50;font-weight:700;font-size:1.2rem;text-align:center}.modern-payment-method{display:inline-block;padding:.8rem 1.5rem;border-radius:25px;font-weight:600;font-size:1rem;text-align:center;letter-spacing:.5px;box-shadow:0 3px 10px #0000001a}.modern-payment-method.cash{background:linear-gradient(135deg,#28a745,#20c997);color:#fff;border:none}.modern-payment-method.credit{background:linear-gradient(135deg,#ffc107,#fd7e14);color:#fff;border:none}.keyboard-shortcuts-help{background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);border:1px solid #dee2e6;border-radius:12px;padding:15px 20px;margin-top:20px;box-shadow:0 2px 8px #0000001a}.shortcuts-text{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;font-size:13px;color:#495057;font-family:Cairo,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;line-height:1.4}.shortcut-item{display:flex;align-items:center;gap:4px;white-space:nowrap}.shortcut-item strong{background:linear-gradient(135deg,#007bff 0%,#0056b3 100%);color:#fff;padding:3px 8px;border-radius:6px;font-size:11px;font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.2);box-shadow:0 2px 4px #007bff4d}.shortcut-separator{color:#6c757d;font-weight:700;margin:0 4px}.lang-ar .shortcuts-text{direction:rtl;text-align:right}.lang-fr .shortcuts-text,.lang-en .shortcuts-text{direction:ltr;text-align:left}@media (max-width: 768px){.shortcuts-text{font-size:12px;gap:6px}.shortcut-item strong{padding:2px 6px;font-size:10px}.keyboard-shortcuts-help{padding:12px 15px;margin-top:15px}}.data-management-options{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;padding:1rem 0}.data-option-card{background:linear-gradient(135deg,#ffffff,#f8f9fa);border:2px solid var(--primary-color);border-radius:16px;padding:2rem;transition:all .3s ease;text-align:center;box-shadow:0 4px 16px #16a0851a}.data-option-card:hover{transform:translateY(-4px);box-shadow:0 8px 32px #16a08533;border-color:var(--sidebar-hover)}.data-option-card.danger-card{border-color:var(--danger-color);background:linear-gradient(135deg,#fff5f5,#ffeaea)}.data-option-card.danger-card:hover{border-color:#c53030;box-shadow:0 8px 32px #e74c3c33}.data-option-icon{font-size:3rem;margin-bottom:1rem;color:var(--primary-color)}.danger-card .data-option-icon{color:var(--danger-color)}.data-option-content h3{margin:0 0 1rem;font-size:1.3rem;font-weight:700;color:var(--text-primary)}.data-option-content p{margin:0 0 1.5rem;color:var(--text-secondary);line-height:1.5;font-size:.95rem}.data-option-content .btn{padding:.75rem 1.5rem;border-radius:8px;font-weight:600;border:none;cursor:pointer;transition:all .3s ease;font-size:1rem;display:inline-flex;align-items:center;gap:.5rem}.data-option-content .btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0003}.btn-primary{background:linear-gradient(135deg,var(--primary-color),var(--sidebar-hover));color:#fff}.btn-success{background:linear-gradient(135deg,var(--success-color),#229954);color:#fff}.btn-info{background:linear-gradient(135deg,var(--info-color),#2980b9);color:#fff}.btn-danger{background:linear-gradient(135deg,var(--danger-color),#c0392b);color:#fff}.btn-secondary{background:linear-gradient(135deg,var(--secondary-color),#5a6c7d);color:#fff}@media (max-width: 768px){.data-management-options{grid-template-columns:1fr;gap:1rem}.data-option-card{padding:1.5rem}.data-option-icon{font-size:2.5rem}.data-option-content h3{font-size:1.1rem}.data-option-content p{font-size:.9rem}}.dashboard .stat-card{background:white!important;transition:all .3s ease;border-top:4px solid transparent}.dashboard .stat-card.green{border-top:4px solid #28a745}.dashboard .stat-card.green .stat-content h3,.dashboard .stat-card.green .stat-value{color:#28a745!important}.dashboard .stat-card.blue{border-top:4px solid #007bff}.dashboard .stat-card.blue .stat-content h3,.dashboard .stat-card.blue .stat-value{color:#007bff!important}.dashboard .stat-card.orange{border-top:4px solid #fd7e14}.dashboard .stat-card.orange .stat-content h3,.dashboard .stat-card.orange .stat-value{color:#fd7e14!important}.dashboard .stat-card.red{border-top:4px solid #dc3545}.dashboard .stat-card.red .stat-content h3,.dashboard .stat-card.red .stat-value{color:#dc3545!important}.dashboard .summary-card{border-left:4px solid #34495e;transition:all .3s ease}.dashboard .stat-card.green:hover{background:linear-gradient(135deg,#28a745 0%,#1e7e34 100%)!important;color:#fff!important;transform:translateY(-3px);box-shadow:0 6px 20px #28a74566;border-top:4px solid #1e7e34}.dashboard .stat-card.blue:hover{background:linear-gradient(135deg,#007bff 0%,#0056b3 100%)!important;color:#fff!important;transform:translateY(-3px);box-shadow:0 6px 20px #007bff66;border-top:4px solid #0056b3}.dashboard .stat-card.orange:hover{background:linear-gradient(135deg,#fd7e14 0%,#e67e22 100%)!important;color:#fff!important;transform:translateY(-3px);box-shadow:0 6px 20px #fd7e1466;border-top:4px solid #e67e22}.dashboard .stat-card.red:hover{background:linear-gradient(135deg,#dc3545 0%,#c82333 100%)!important;color:#fff!important;transform:translateY(-3px);box-shadow:0 6px 20px #dc354566;border-top:4px solid #c82333}.dashboard .summary-card:hover{background:linear-gradient(135deg,#34495e 0%,#5d6d7e 100%);color:#fff;transform:translateY(-2px);box-shadow:0 4px 12px #34495e4d}.customers .stat-card{border-left:4px solid #3498db;transition:all .3s ease}.customers .stat-card:hover{background:linear-gradient(135deg,#3498db 0%,#2980b9 100%);color:#fff;transform:translateY(-2px);box-shadow:0 4px 12px #3498db4d}.purchases .summary-card{border-left:4px solid #2980b9;transition:all .3s ease}.purchases .summary-card:hover{background:linear-gradient(135deg,#2980b9 0%,#34495e 100%);color:#fff;transform:translateY(-2px);box-shadow:0 4px 12px #2980b94d}.sales .summary-card{border-left:4px solid #2ecc71;transition:all .3s ease}.sales .summary-card:hover{background:linear-gradient(135deg,#2ecc71 0%,#27ae60 100%);color:#fff;transform:translateY(-2px);box-shadow:0 4px 12px #2ecc714d}.inventory .summary-card{border-left:4px solid #f9e79f;transition:all .3s ease}.inventory .summary-card:hover{background:linear-gradient(135deg,#f9e79f 0%,#95a5a6 100%);color:#2c3e50;transform:translateY(-2px);box-shadow:0 4px 12px #f9e79f4d}.reports .report-card,.reports .summary-card{border-left:4px solid #8e44ad;transition:all .3s ease}.reports .report-card:hover,.reports .summary-card:hover{background:linear-gradient(135deg,#8e44ad 0%,#16a085 100%);color:#fff;transform:translateY(-2px);box-shadow:0 4px 12px #8e44ad4d}.settings .setting-card{border-left:4px solid #7f8c8d;transition:all .3s ease}.settings .setting-card:hover{background:linear-gradient(135deg,#ecf0f1 0%,#7f8c8d 100%);color:#2c3e50;transform:translateY(-2px);box-shadow:0 4px 12px #7f8c8d4d}.repairs .outcome-card{border-left:4px solid #00b9ae;transition:all .3s ease}.repairs .outcome-card:hover{background:linear-gradient(135deg,#00b9ae 0%,#037171 100%);color:#fff;transform:translateY(-2px);box-shadow:0 4px 12px #00b9ae4d}.purchases .summary-card{background:white!important;transition:all .3s ease;border-top:4px solid transparent}.purchases .summary-card.orange{border-top:4px solid #fd7e14}.purchases .summary-card.orange h3,.purchases .summary-card.orange .summary-value{color:#fd7e14!important}.purchases .summary-card.blue{border-top:4px solid #007bff}.purchases .summary-card.blue h3,.purchases .summary-card.blue .summary-value{color:#007bff!important}.purchases .summary-card.green{border-top:4px solid #28a745}.purchases .summary-card.green h3,.purchases .summary-card.green .summary-value{color:#28a745!important}.purchases .summary-card.purple{border-top:4px solid #dc3545}.purchases .summary-card.purple h3,.purchases .summary-card.purple .summary-value{color:#dc3545!important}.purchases .summary-card.orange:hover{background:linear-gradient(135deg,#fd7e14 0%,#e67e22 100%)!important;color:#fff!important;transform:translateY(-3px);box-shadow:0 6px 20px #fd7e1466;border-top:4px solid #e67e22}.purchases .summary-card.blue:hover{background:linear-gradient(135deg,#007bff 0%,#0056b3 100%)!important;color:#fff!important;transform:translateY(-3px);box-shadow:0 6px 20px #007bff66;border-top:4px solid #0056b3}.purchases .summary-card.green:hover{background:linear-gradient(135deg,#28a745 0%,#1e7e34 100%)!important;color:#fff!important;transform:translateY(-3px);box-shadow:0 6px 20px #28a74566;border-top:4px solid #1e7e34}.purchases .summary-card.purple:hover{background:linear-gradient(135deg,#dc3545 0%,#c82333 100%)!important;color:#fff!important;transform:translateY(-3px);box-shadow:0 6px 20px #dc354566;border-top:4px solid #c82333}.dashboard .stat-card:hover .stat-icon,.dashboard .stat-card:hover .stat-content h3,.dashboard .stat-card:hover .stat-value,.dashboard .stat-card:hover .stat-unit,.dashboard .stat-card.green:hover .stat-icon,.dashboard .stat-card.green:hover .stat-content h3,.dashboard .stat-card.green:hover .stat-value,.dashboard .stat-card.green:hover .stat-unit,.dashboard .stat-card.blue:hover .stat-icon,.dashboard .stat-card.blue:hover .stat-content h3,.dashboard .stat-card.blue:hover .stat-value,.dashboard .stat-card.blue:hover .stat-unit,.dashboard .stat-card.orange:hover .stat-icon,.dashboard .stat-card.orange:hover .stat-content h3,.dashboard .stat-card.orange:hover .stat-value,.dashboard .stat-card.orange:hover .stat-unit,.dashboard .stat-card.red:hover .stat-icon,.dashboard .stat-card.red:hover .stat-content h3,.dashboard .stat-card.red:hover .stat-value,.dashboard .stat-card.red:hover .stat-unit,.dashboard .summary-card:hover h3,.dashboard .summary-card:hover .summary-value,.customers .stat-card:hover .stat-icon,.customers .stat-card:hover .stat-content h3,.customers .stat-card:hover .stat-value,.customers .stat-card:hover .stat-unit,.purchases .summary-card:hover h3,.purchases .summary-card:hover .summary-value,.purchases .summary-card.orange:hover h3,.purchases .summary-card.orange:hover .summary-value,.purchases .summary-card.blue:hover h3,.purchases .summary-card.blue:hover .summary-value,.purchases .summary-card.green:hover h3,.purchases .summary-card.green:hover .summary-value,.purchases .summary-card.purple:hover h3,.purchases .summary-card.purple:hover .summary-value,.sales .summary-card:hover h3,.sales .summary-card:hover .summary-value,.reports .report-card:hover .report-info h3,.reports .report-card:hover .report-info p,.reports .report-card:hover .report-stats span,.reports .report-card:hover .report-stats small,.reports .summary-card:hover h3,.reports .summary-card:hover .summary-value,.repairs .outcome-card:hover h3,.repairs .outcome-card:hover .card-value{color:#fff!important}.app{padding-inline-start:0;padding-inline-end:0}.app-sidebar-new{inset-inline-start:0!important}.inventory .summary-card:hover h3,.inventory .summary-card:hover .summary-value,.settings .setting-card:hover .setting-info h3,.settings .setting-card:hover .setting-info p{color:#2c3e50!important}.modal-header{padding:10px 16px!important}.modal-header h2{font-size:1.1rem!important;margin:0!important}.modal-content input[type=text],.modal-content input[type=number],.modal-content input[type=email],.modal-content input[type=tel],.modal-content input[type=date],.modal-content input[type=password],.modal-content select{height:42px;padding:10px 12px;font-size:14px;border-radius:8px;border:1px solid #e5e7eb;transition:all .2s ease}.modal-content input:focus,.modal-content select:focus{outline:none;border-color:var(--primary-color, #3b82f6);box-shadow:0 0 0 3px #3b82f61a}.modal-content textarea{padding:10px 12px;font-size:14px;border-radius:8px;border:1px solid #e5e7eb;min-height:80px;resize:vertical;transition:all .2s ease}.modal-content textarea:focus{outline:none;border-color:var(--primary-color, #3b82f6);box-shadow:0 0 0 3px #3b82f61a}.modal-content button{height:42px;padding:10px 20px;font-size:14px;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s ease}.modal-content button:hover{transform:translateY(-1px);box-shadow:0 4px 12px #0000001a}.modal-content button:active{transform:translateY(0)}.dropdown-list{position:absolute;top:100%;left:0;right:0;background:white;border:1px solid #e5e7eb;border-radius:8px;max-height:200px;overflow-y:auto;z-index:1000;box-shadow:0 4px 6px #0000001a;margin-top:5px}.dropdown-item{padding:10px 15px;cursor:pointer;transition:background .2s}.dropdown-item:hover{background:#f3f4f6}.outcome-card{transition:all .3s ease}.outcome-card:hover{transform:translateY(-5px);box-shadow:0 10px 20px #0000001a}.outcome-card.selected{transform:scale(1.05);box-shadow:0 15px 30px #00000026}.modal-overlay,[class*=modal][class*=overlay],[class*=Overlay]{position:fixed;inset:0;background-color:#0009;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.modal-content,[class*=modal][class*=content],[class*=Modal][class*=content]{background:rgba(255,255,255,.98);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-radius:20px;padding:24px;width:95%;max-width:900px;max-height:90vh;overflow-y:auto;box-shadow:#0000004d 0 20px 60px,#fffc 0 1px inset;border:1px solid rgba(255,255,255,.3)}@media (min-width: 1025px){.app-sidebar:not(.collapsed)~.main-content .modal-content,.app-sidebar:not(.collapsed)~* .modal-content,body:has(.app-sidebar:not(.collapsed)) .modal-content{max-width:calc(100vw - 340px)}.app-sidebar.lang-ar:not(.collapsed)~.main-content .modal-content,.app-sidebar.lang-ar:not(.collapsed)~* .modal-content{max-width:calc(100vw - 340px)}}@media (max-width: 1024px) and (min-width: 769px){.app-sidebar:not(.collapsed)~.main-content .modal-content,.app-sidebar:not(.collapsed)~* .modal-content{max-width:calc(100vw - 280px)}}@media (max-width: 768px){.modal-overlay,[class*=modal][class*=overlay]{padding:10px;align-items:flex-start;overflow-y:auto}.modal-content,[class*=modal][class*=content]{width:100%;max-width:100%!important;margin:0;border-radius:16px;padding:20px;max-height:none}.app-sidebar.mobile-open~.main-content .modal-content,.app-sidebar.mobile-open~* .modal-content{max-width:100%!important}}.preview-modal-content{max-width:1200px;width:95%}@media (min-width: 1025px){.app-sidebar:not(.collapsed)~.main-content .preview-modal-content,.app-sidebar:not(.collapsed)~* .preview-modal-content{max-width:calc(100vw - 360px)}}@media (max-width: 768px){.preview-modal-content{width:100%;max-width:100%!important;padding:15px}}.modal-header,[class*=modal][class*=header]{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;background:linear-gradient(135deg,rgba(1,41,95,.12),rgba(1,41,95,.08));backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:2px solid rgba(1,41,95,.4);color:#01295f;padding:16px 20px;border-radius:16px}.modal-header h2,[class*=modal][class*=header] h2{margin:0;color:#01295f;font-size:20px;font-weight:700;display:flex;align-items:center;gap:10px}.modal-close,[class*=modal__close],[class*=modal-close]:not([class*=btn]),.modal-header button:last-child{background:rgba(1,41,95,.1);border:2px solid rgba(1,41,95,.3);width:36px;height:36px;border-radius:10px;font-size:24px;cursor:pointer;color:#01295f;display:flex;align-items:center;justify-content:center;transition:all .3s ease;font-weight:700}.modal-close:hover,[class*=modal__close]:hover,[class*=modal-close]:not([class*=btn]):hover{background:rgba(1,41,95,.2);transform:rotate(90deg)}.modal-body,[class*=modal][class*=body]:not(.purchase-detail-modal__body){background-color:#f8f9fa;padding:20px;border-radius:12px;margin-bottom:20px}.modal-form-grid,[class*=modal] form{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}@media (max-width: 768px){.modal-form-grid,[class*=modal] form{grid-template-columns:1fr}}.modal-footer,[class*=modal][class*=footer]:not(.purchase-detail-modal__footer){display:flex;justify-content:flex-end;gap:12px;margin-top:20px;padding-top:16px;border-top:1px solid rgba(1,41,95,.2)}@media (max-width: 768px){.modal-footer,[class*=modal][class*=footer]:not(.purchase-detail-modal__footer){flex-direction:column-reverse}.modal-footer button,[class*=modal][class*=footer]:not(.purchase-detail-modal__footer) button{width:100%}}.modal-btn-primary,.modal-footer button[type=submit],.modal-footer button:first-child{padding:10px 20px;border:none;background:linear-gradient(135deg,rgba(1,41,95,.9),rgba(1,41,95,.8));color:#fff;border-radius:10px;cursor:pointer;font-weight:600;box-shadow:0 4px 15px #01295f4d;transition:all .3s ease}.modal-btn-primary:hover,.modal-footer button[type=submit]:hover{transform:translateY(-2px);box-shadow:0 6px 20px #01295f66}.modal-btn-secondary,.modal-footer button:last-child{padding:10px 20px;border:2px solid rgba(1,41,95,.4);background:rgba(255,255,255,.9);color:#01295f;border-radius:10px;cursor:pointer;font-weight:600;transition:all .3s ease}.modal-btn-secondary:hover,.modal-footer button:last-child:hover{background:rgba(1,41,95,.1)}@supports (-webkit-app-region: drag){.app-sidebar{background:linear-gradient(180deg,rgba(15,23,42,1) 0%,rgba(15,23,42,1) 100%)!important}.app-sidebar:before{display:none}.modal-content{background:rgba(255,255,255,1)!important}}.app-sidebar{z-index:100}.modal-overlay,[class*=modal][class*=overlay]{z-index:1000}.preview-modal-overlay{z-index:1100}.toast-container{z-index:10000}@keyframes modalFadeIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.modal-content,[class*=modal][class*=content]{animation:modalFadeIn .3s ease-out}@media print{.app-sidebar,.sidebar-toggle{display:none!important}.main-content{margin-right:0!important;margin-left:0!important;width:100%!important}}body.dark-mode-active .modal-content:not(.repairs-completion-modal),body.dark-mode-active .modal-large,body.dark-mode-active .modal-body:not(.repairs-completion-modal *),body.dark-mode-active [class*=modal-content]:not(.repairs-completion-modal){background:rgba(12,18,40,.96)!important;backdrop-filter:blur(24px) saturate(180%)!important;-webkit-backdrop-filter:blur(24px) saturate(180%)!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 25px 80px #000000a6!important;color:#ffffffeb!important}body.dark-mode-active .modal-header,body.dark-mode-active .modal-header-ltr,body.dark-mode-active .modal-header-rtl,body.dark-mode-active [class*=modal-header]{background:rgba(255,255,255,.06)!important;border-bottom:1px solid rgba(255,255,255,.1)!important;color:#fffffff2!important}body.dark-mode-active .modal-footer,body.dark-mode-active [class*=modal-footer]{background:rgba(255,255,255,.04)!important;border-top:1px solid rgba(255,255,255,.08)!important}body.dark-mode-active .modal-close,body.dark-mode-active .close-btn,body.dark-mode-active [class*=close]{color:#ffffffb3!important}body.dark-mode-active .modal-close:hover,body.dark-mode-active .close-btn:hover{color:#fffffff2!important;background:rgba(255,255,255,.1)!important}body.dark-mode-active{color:#ffffffe0!important}body.dark-mode-active h1,body.dark-mode-active h2,body.dark-mode-active h3,body.dark-mode-active h4,body.dark-mode-active h5,body.dark-mode-active h6{color:#fffffff5!important;text-shadow:0 0 20px rgba(255,255,255,.08)}body.dark-mode-active .modal-content h1,body.dark-mode-active .modal-content h2,body.dark-mode-active .modal-content h3,body.dark-mode-active .modal-header h1,body.dark-mode-active .modal-header h2,body.dark-mode-active .modal-header h3{color:#fff!important;font-weight:700;text-shadow:0 1px 3px rgba(0,0,0,.3),0 0 20px rgba(255,255,255,.1)}body.dark-mode-active .page-title,body.dark-mode-active .section-title,body.dark-mode-active .table-title,body.dark-mode-active .modal-title{color:#fff!important;font-weight:800;text-shadow:0 0 30px rgba(255,255,255,.15),0 2px 4px rgba(0,0,0,.5)}body.dark-mode-active p{color:#ffffffd9!important}body.dark-mode-active span:not([class*=badge]):not([class*=status]):not([class*=tag]):not([class*=icon]):not(.dashboard-button-label):not(.page-header-button-label){color:#ffffffd9!important}body.dark-mode-active label{color:#ffffffbf!important}body.dark-mode-active small,body.dark-mode-active .text-muted,body.dark-mode-active .text-secondary{color:#ffffff8c!important}body.dark-mode-active a:not([class*=btn]){color:#93c5fd!important}body.dark-mode-active a:not([class*=btn]):hover{color:#bfdbfe!important}body.dark-mode-active table,body.dark-mode-active .data-table{background:transparent!important}body.dark-mode-active thead th,body.dark-mode-active .data-table th,body.dark-mode-active th{background:rgba(255,255,255,.08)!important;color:#ffffffe6!important;border-bottom:1px solid rgba(255,255,255,.12)!important;font-weight:700}body.dark-mode-active tbody tr{background:rgba(255,255,255,.02)!important}body.dark-mode-active tbody tr:nth-child(2n){background:rgba(255,255,255,.05)!important}body.dark-mode-active tbody tr:hover{background:rgba(255,255,255,.1)!important}body.dark-mode-active td{color:#ffffffd9!important;border-color:#ffffff0f!important}body.dark-mode-active input,body.dark-mode-active select,body.dark-mode-active textarea{background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.15)!important;color:#ffffffeb!important;backdrop-filter:blur(10px)}body.dark-mode-active input::placeholder,body.dark-mode-active textarea::placeholder{color:#ffffff59!important}body.dark-mode-active input:focus,body.dark-mode-active select:focus,body.dark-mode-active textarea:focus{border-color:#93c5fd99!important;box-shadow:0 0 0 3px #93c5fd26!important;background:rgba(255,255,255,.12)!important;outline:none!important}body.dark-mode-active select option{background:#1e293b!important;color:#ffffffeb!important}body.dark-mode-active .form-group,body.dark-mode-active .input-group{color:#ffffffd9!important}body.dark-mode-active .stat-card,body.dark-mode-active .dashboard-card,body.dark-mode-active .info-card,body.dark-mode-active .card,body.dark-mode-active [class*=-card]:not([class*=modal]):not(.repairs-orders-card):not([class*=modern-card]):not(.purchases-list-card):not(.module-list-card):not(.setting-card){background:rgba(255,255,255,.07)!important;backdrop-filter:blur(16px) saturate(180%)!important;-webkit-backdrop-filter:blur(16px) saturate(180%)!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 8px 32px #00000059,inset 0 1px #ffffff14!important}body.dark-mode-active .page-header,body.dark-mode-active .section-header{background:rgba(255,255,255,.05)!important;border-bottom:1px solid rgba(255,255,255,.08)!important}body.dark-mode-active .settings-container,body.dark-mode-active .settings-card,body.dark-mode-active .page-container,body.dark-mode-active .section-container,body.dark-mode-active .content-wrapper{background:rgba(255,255,255,.04)!important;border-color:#ffffff14!important}body.dark-mode-active .settings-page .settings-section{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:none!important;box-shadow:none!important}body.dark-mode-active .settings-label{color:#ffffffbf!important}body.dark-mode-active .settings-value{color:#fffffff2!important}body.dark-mode-active .btn-secondary,body.dark-mode-active .btn-outline{background:rgba(255,255,255,.08)!important;border-color:#ffffff26!important;color:#ffffffe0!important}body.dark-mode-active .btn-secondary:hover,body.dark-mode-active .btn-outline:hover{background:rgba(255,255,255,.15)!important;border-color:#ffffff40!important}body.dark-mode-active hr,body.dark-mode-active .divider,body.dark-mode-active .separator{border-color:#ffffff14!important}body.dark-mode-active ::-webkit-scrollbar-track{background:rgba(255,255,255,.03)!important}body.dark-mode-active ::-webkit-scrollbar-thumb{background:rgba(255,255,255,.15)!important;border-radius:4px}body.dark-mode-active ::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.25)!important}body.dark-mode-active .tooltip,body.dark-mode-active .popover{background:rgba(15,20,40,.95)!important;border:1px solid rgba(255,255,255,.12)!important;color:#ffffffeb!important}body.dark-mode-active .dropdown-menu,body.dark-mode-active [class*=dropdown]{background:rgba(15,20,40,.97)!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 10px 40px #00000080!important}body.dark-mode-active .dropdown-item{color:#ffffffd9!important}body.dark-mode-active .dropdown-item:hover{background:rgba(255,255,255,.1)!important;color:#fff!important}body.dark-mode-active .modal-overlay>div:not(.repairs-completion-modal):not(.purchase-detail-modal__panel),body.dark-mode-active .modal-overlay>div>div:not(.repairs-completion-modal__scroll):not([class*=purchase-detail-modal]),body.dark-mode-active .modern-overlay>div,body.dark-mode-active .modern-overlay>div>div{background:rgba(12,18,40,.96)!important;backdrop-filter:blur(24px) saturate(180%)!important;-webkit-backdrop-filter:blur(24px) saturate(180%)!important;border-color:#ffffff1f!important;color:#ffffffeb!important}body.dark-mode-active .modal-overlay>.repairs-completion-modal{background:rgba(12,18,40,.98)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-color:#ffffff1f!important;color:#ffffffeb!important}body.dark-mode-active .modal-overlay>.repairs-completion-modal>.repairs-completion-modal__scroll{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:none!important;box-shadow:none!important}body.dark-mode-active .sales-modal-landscape,body.dark-mode-active .sales-modal-compact,body.dark-mode-active .sales-invoice-modal,body.dark-mode-active [class*=sales-modal],body.dark-mode-active .purchase-modal-landscape,body.dark-mode-active .purchase-modal-compact,body.dark-mode-active .purchase-invoice-modal,body.dark-mode-active [class*=purchase-modal],body.dark-mode-active .customer-modal,body.dark-mode-active [class*=customer-modal],body.dark-mode-active .product-modal,body.dark-mode-active .product-form-modal,body.dark-mode-active [class*=product-modal],body.dark-mode-active .repair-info-modal,body.dark-mode-active .nouveau-bon-modal,body.dark-mode-active .reparation-terminee-modal,body.dark-mode-active .recuperation-client-modal,body.dark-mode-active [class*=repair-modal],body.dark-mode-active [class*=reparation-modal],body.dark-mode-active .settings-modal,body.dark-mode-active .data-management-modal,body.dark-mode-active [class*=settings-modal],body.dark-mode-active .confirmation-modal,body.dark-mode-active .admin-confirmation-modal,body.dark-mode-active .payment-modal,body.dark-mode-active [class*=confirm-modal],body.dark-mode-active [class*=confirmation-modal],body.dark-mode-active .qr-scanner-modal,body.dark-mode-active .qr-display-modal,body.dark-mode-active [class*=qr-modal],body.dark-mode-active .report-preview-modal,body.dark-mode-active [class*=report-modal],body.dark-mode-active .large-modal,body.dark-mode-active .modal-ltr{background:rgba(12,18,40,.96)!important;color:#ffffffeb!important}body.dark-mode-active .nouveau-header,body.dark-mode-active .reparation-header,body.dark-mode-active .recuperation-header,body.dark-mode-active .payment-header,body.dark-mode-active .transaction-header,body.dark-mode-active .edit-header,body.dark-mode-active .delete-header,body.dark-mode-active .sales-modal-header,body.dark-mode-active .purchase-modal-header,body.dark-mode-active [class*=-header]:not(.page-header):not(.section-header):not([class*=page-header-ribbon]):not([class*=page-header-btn]):not([class*=orders-card__header]):not([class*=list-card__header]):not(.category-header){background:rgba(255,255,255,.08)!important;border-bottom:1px solid rgba(255,255,255,.12)!important;color:#fffffff2!important}body.dark-mode-active .info-box,body.dark-mode-active .detail-box,body.dark-mode-active .info-section,body.dark-mode-active .detail-section,body.dark-mode-active [class*=info-box],body.dark-mode-active [class*=detail-box]{background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.08)!important;color:#ffffffe0!important}body.dark-mode-active .form-section,body.dark-mode-active .form-row,body.dark-mode-active .form-grid,body.dark-mode-active [class*=form-section]{background:transparent!important}body.dark-mode-active .summary-section,body.dark-mode-active .totals-section,body.dark-mode-active [class*=summary],body.dark-mode-active [class*=totals]{background:rgba(255,255,255,.04)!important;border-color:#ffffff1a!important}body.dark-mode-active .modal-actions,body.dark-mode-active .action-buttons,body.dark-mode-active .modal-action-buttons,body.dark-mode-active [class*=action-buttons]{background:rgba(255,255,255,.03)!important;border-top:1px solid rgba(255,255,255,.08)!important}body.dark-mode-active [class*=search-modal],body.dark-mode-active [class*=SearchModal]{background:rgba(12,18,40,.96)!important;color:#ffffffeb!important}body.dark-mode-active .search-results,body.dark-mode-active .search-list,body.dark-mode-active [class*=search-results]{background:transparent!important}body.dark-mode-active .search-item,body.dark-mode-active .result-item,body.dark-mode-active [class*=search-item]{background:rgba(255,255,255,.04)!important;border-color:#ffffff14!important;color:#ffffffe0!important}body.dark-mode-active .search-item:hover,body.dark-mode-active .result-item:hover{background:rgba(255,255,255,.1)!important}body.dark-mode-active [class*=table-modal],body.dark-mode-active [class*=TableModal]{background:rgba(12,18,40,.96)!important;color:#ffffffeb!important}body.dark-mode-active [class*=supplier],body.dark-mode-active [class*=Supplier]{color:#ffffffe0!important}body.dark-mode-active .supplier-card,body.dark-mode-active [class*=supplier-card]{background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.1)!important}body.dark-mode-active div[style*="rgba(59, 130, 246"],body.dark-mode-active div[style*="rgba(34, 197, 94"],body.dark-mode-active div[style*="rgba(234, 179, 8"],body.dark-mode-active div[style*="rgba(239, 68, 68"],body.dark-mode-active div[style*="rgba(139, 92, 246"],body.dark-mode-active div[style*="rgba(236, 72, 153"],body.dark-mode-active div[style*="rgba(245, 158, 11"],body.dark-mode-active div[style*="rgba(156, 39, 176"],body.dark-mode-active div[style*="rgba(25, 118, 210"],body.dark-mode-active div[style*="rgba(56, 142, 60"],body.dark-mode-active div[style*="rgba(16, 185, 129"],body.dark-mode-active div[style*="rgba(211, 47, 47"]{backdrop-filter:blur(16px) saturate(180%)!important;-webkit-backdrop-filter:blur(16px) saturate(180%)!important}body.dark-mode-active .stat-card div,body.dark-mode-active .summary-card div,body.dark-mode-active [class*=stat] div{text-shadow:0 1px 2px rgba(0,0,0,.3)}body.dark-mode-active thead,body.dark-mode-active table thead{background:rgba(255,255,255,.08)!important;backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important}body.dark-mode-active thead th,body.dark-mode-active table th,body.dark-mode-active .data-table th{background:rgba(255,255,255,.1)!important;color:#fffffff2!important;border-bottom:2px solid rgba(255,255,255,.15)!important;font-weight:700!important}body.dark-mode-active thead[style*=linear-gradient],body.dark-mode-active thead[style*="rgba(156, 39, 176"],body.dark-mode-active thead[style*="rgba(16, 185, 129"],body.dark-mode-active thead[style*="rgba(25, 118, 210"]{background:rgba(255,255,255,.08)!important}body.dark-mode-active .modal-overlay input,body.dark-mode-active .modal-overlay select,body.dark-mode-active .modal-overlay textarea,body.dark-mode-active .modern-overlay input,body.dark-mode-active .modern-overlay select,body.dark-mode-active .modern-overlay textarea{background:rgba(255,255,255,.1)!important;border-color:#fff3!important;color:#ffffffeb!important}body.dark-mode-active .modal-overlay input::placeholder,body.dark-mode-active .modal-overlay textarea::placeholder,body.dark-mode-active .modern-overlay input::placeholder,body.dark-mode-active .modern-overlay textarea::placeholder{color:#fff6!important}body.dark-mode-active .modal-overlay input:focus,body.dark-mode-active .modal-overlay select:focus,body.dark-mode-active .modal-overlay textarea:focus{background:rgba(255,255,255,.15)!important;border-color:#93c5fd99!important;box-shadow:0 0 0 3px #93c5fd26!important}body.dark-mode-active .modal-overlay select option,body.dark-mode-active .modern-overlay select option{background:#1e293b!important;color:#ffffffeb!important}body.dark-mode-active [class*=filter],body.dark-mode-active [class*=Filter]{background:rgba(255,255,255,.05)!important;border-color:#ffffff1a!important}body.dark-mode-active .filter-section,body.dark-mode-active .filters-container{background:rgba(255,255,255,.04)!important;border:1px solid rgba(255,255,255,.08)!important;border-radius:12px}body.dark-mode-active .modal-overlay label,body.dark-mode-active .modern-overlay label{color:#fffc!important}body.dark-mode-active label[style*="color: rgb(16, 185, 129)"],body.dark-mode-active label[style*="color: rgb(156, 39, 176)"],body.dark-mode-active label[style*="color: rgb(25, 118, 210)"],body.dark-mode-active label[style*="color: #9c27b0"],body.dark-mode-active label[style*="color: #10b981"]{text-shadow:0 1px 2px rgba(0,0,0,.3);filter:brightness(1.2)}body.dark-mode-active .product-form-modal,body.dark-mode-active [class*=ProductForm],body.dark-mode-active [class*=product-form],body.dark-mode-active .inventory-table-modal,body.dark-mode-active [class*=InventoryTable],body.dark-mode-active [class*=inventory-table],body.dark-mode-active .purchase-form-modal,body.dark-mode-active [class*=PurchaseForm],body.dark-mode-active [class*=purchase-form],body.dark-mode-active [class*=NewPurchase],body.dark-mode-active .customers-table-modal,body.dark-mode-active [class*=CustomersTable],body.dark-mode-active [class*=customers-table],body.dark-mode-active .repairs-modal,body.dark-mode-active [class*=RepairModal],body.dark-mode-active [class*=repair-modal],body.dark-mode-active [class*=Reparation]{background:rgba(12,18,40,.96)!important;color:#ffffffeb!important}body.dark-mode-active div[style*="linear-gradient(135deg, rgba(156, 39, 176"],body.dark-mode-active div[style*="linear-gradient(135deg, rgba(16, 185, 129"],body.dark-mode-active div[style*="linear-gradient(135deg, rgba(25, 118, 210"],body.dark-mode-active div[style*="linear-gradient(135deg, rgba(56, 142, 60"]{background:rgba(255,255,255,.06)!important;border-color:#ffffff26!important}body.dark-mode-active .total-section,body.dark-mode-active .totals-row,body.dark-mode-active [class*=total-section],body.dark-mode-active [class*=totals]{background:rgba(255,255,255,.06)!important;border-color:#ffffff1f!important}body.dark-mode-active button[style*="rgba(25, 118, 210"],body.dark-mode-active button[style*="rgb(25, 118, 210"]{background:rgba(25,118,210,.25)!important;border-color:#1976d280!important}body.dark-mode-active button[style*="rgba(245, 124, 0"],body.dark-mode-active button[style*="rgb(245, 124, 0"]{background:rgba(245,124,0,.25)!important;border-color:#f57c0080!important}body.dark-mode-active button[style*="rgba(211, 47, 47"],body.dark-mode-active button[style*="rgb(211, 47, 47"]{background:rgba(211,47,47,.25)!important;border-color:#d32f2f80!important}body.dark-mode-active .modal-overlay div[style*="backgroundColor: white"]:not(.repairs-completion-modal),body.dark-mode-active .modal-overlay div[style*="backgroundColor: 'white'"]:not(.repairs-completion-modal),body.dark-mode-active .modal-overlay div[style*="background: white"]:not(.repairs-completion-modal),body.dark-mode-active .modal-overlay div[style*="background-color: white"]:not(.repairs-completion-modal),body.dark-mode-active .modern-overlay div[style*="backgroundColor: white"],body.dark-mode-active .modern-overlay div[style*="background: white"]{background:rgba(12,18,40,.96)!important;background-color:#0c1228f5!important}body.dark-mode-active .modal-overlay div[style*="rgba(255, 255, 255, 0.98)"]:not(.repairs-completion-modal),body.dark-mode-active .modal-overlay div[style*="rgba(255,255,255,0.98)"]:not(.repairs-completion-modal),body.dark-mode-active .modern-overlay div[style*="rgba(255, 255, 255, 0.98)"]{background:rgba(12,18,40,.96)!important}body.dark-mode-active .modal-overlay h1,body.dark-mode-active .modal-overlay h2,body.dark-mode-active .modal-overlay h3:not([class*=outcome-card__]),body.dark-mode-active .modal-overlay h4,body.dark-mode-active .modern-overlay h1,body.dark-mode-active .modern-overlay h2,body.dark-mode-active .modern-overlay h3:not([class*=outcome-card__]),body.dark-mode-active .modern-overlay h4{color:#fffffff5!important;text-shadow:0 1px 3px rgba(0,0,0,.3)}body.dark-mode-active .modal-overlay p:not([class*=outcome-card__]),body.dark-mode-active .modal-overlay span:not([style*=color]):not([class*=outcome-card__]),body.dark-mode-active .modern-overlay p:not([class*=outcome-card__]),body.dark-mode-active .modern-overlay span:not([style*=color]):not([class*=outcome-card__]){color:#ffffffd9!important}body.dark-mode-active .modal-overlay [style*=border],body.dark-mode-active .modern-overlay [style*=border]{border-color:#ffffff26!important}body.dark-mode-active .repairs-completion-modal.modal-content,body.dark-mode-active .modal-overlay>.repairs-completion-modal{background:rgba(15,23,42,.98)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:1px solid rgba(255,255,255,.1)!important;box-shadow:0 25px 80px #0000008c!important;color:#ffffffeb!important}body.dark-mode-active .repairs-completion-modal .repairs-completion-modal__scroll,body.dark-mode-active .repairs-completion-modal .modal-body,body.dark-mode-active .repairs-completion-modal .repairs-completion-modal__step3,body.dark-mode-active .repairs-completion-modal .repairs-outcome-grid,body.dark-mode-active .repairs-completion-modal .success-form,body.dark-mode-active .repairs-completion-modal .repairs-completion-step3__form{background:transparent!important;background-color:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:none!important;box-shadow:none!important}body.dark-mode-active .repairs-completion-modal .repairs-outcome-btn,body.dark-mode-active .repairs-completion-modal .repairs-outcome-btn *{background:transparent!important;background-color:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;text-shadow:none!important}body.dark-mode-active .repairs-completion-modal__interest-summary{background:rgba(79,70,229,.1)!important;border:1px solid rgba(129,140,248,.32)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important}body.dark-mode-active .repairs-completion-modal__interest-summary-label{color:#a5b4fce0!important}body.dark-mode-active .repairs-completion-modal__interest-summary-value{color:#c7d2fe!important}body.dark-mode-active,body.dark-mode-active .app,body.dark-mode-active .app-main-shell{background:#000000!important}.app-main-shell{background:#f5f5f5}body.dark-mode-active .main-content,body.dark-mode-active .main-content-wrapper{background:#000000!important}body.dark-mode-active .app-sidebar-new,body.dark-mode-active .app-sidebar,body.dark-mode-active .sidebar{background:#000000!important;border-color:#262626!important;box-shadow:none!important}body.dark-mode-active header.page-header-ribbon,body.dark-mode-active .page-header-ribbon{background:#141414!important;border-color:#334155!important;border-inline-start-color:var(--page-accent)!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}body.dark-mode-active .page-header-ribbon__title{color:#f8fafc!important;text-shadow:none!important}body.dark-mode-active .page-header-ribbon__subtitle{color:#94a3b8!important}body.dark-mode-active .page-header-ribbon__icon{background:var(--page-accent-bg)!important;border-color:var(--page-accent-border)!important;color:var(--page-accent)!important;filter:brightness(1.35) saturate(1.15)}body.dark-mode-active .page-header-ribbon__icon svg{color:inherit!important}body.dark-mode-active .page-header-ribbon--reports{--page-accent: #60a5fa;--page-accent-bg: rgba(96, 165, 250, .15);--page-accent-border: rgba(96, 165, 250, .35)}body.dark-mode-active .page-header-btn--primary{background:var(--page-accent)!important;color:#fff!important;box-shadow:none!important}body.dark-mode-active .page-header-btn--primary *{color:#fff!important}body.dark-mode-active .page-header-btn--outline{background:#0a0a0a!important;border-color:var(--page-accent)!important;color:var(--page-accent)!important}body.dark-mode-active .page-header-btn--ghost{background:#0a0a0a!important;border-color:#475569!important;color:#e2e8f0!important}body.dark-mode-active .kpi-tile,body.dark-mode-active .qa-tile,body.dark-mode-active .dash-panel{background:#141414!important;border-color:#404040!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transform:none!important}body.dark-mode-active .dash-panel{border-top:none!important}body.dark-mode-active .kpi-tile--dashboard{border-top:3px solid var(--kpi-accent)!important;border-inline-start:none!important}body.dark-mode-active .kpi-tile:not(.kpi-tile--dashboard){border-inline-start:4px solid var(--kpi-accent)!important}body.dark-mode-active .kpi-tile--success{--kpi-accent: #4ade80;--kpi-accent-bg: rgba(74, 222, 128, .14);--kpi-accent-border: rgba(74, 222, 128, .45)}body.dark-mode-active .kpi-tile--info{--kpi-accent: #60a5fa;--kpi-accent-bg: rgba(96, 165, 250, .14);--kpi-accent-border: rgba(96, 165, 250, .45)}body.dark-mode-active .kpi-tile--warning{--kpi-accent: #fbbf24;--kpi-accent-bg: rgba(251, 191, 36, .14);--kpi-accent-border: rgba(251, 191, 36, .45)}body.dark-mode-active .kpi-tile--danger{--kpi-accent: #f87171;--kpi-accent-bg: rgba(248, 113, 113, .14);--kpi-accent-border: rgba(248, 113, 113, .45)}body.dark-mode-active .kpi-tile--purple{--kpi-accent: #a78bfa;--kpi-accent-bg: rgba(167, 139, 250, .14);--kpi-accent-border: rgba(167, 139, 250, .45)}body.dark-mode-active .kpi-tile--teal{--kpi-accent: #2dd4bf;--kpi-accent-bg: rgba(45, 212, 191, .14);--kpi-accent-border: rgba(45, 212, 191, .45)}body.dark-mode-active .kpi-tile__filter-btn{background:var(--kpi-accent-bg)!important;border-color:var(--kpi-accent-border)!important;color:var(--kpi-accent)!important}body.dark-mode-active .kpi-tile--active .kpi-tile__filter-btn{background:var(--kpi-accent)!important;color:#fff!important;border-color:var(--kpi-accent)!important}body.dark-mode-active .kpi-tile__value{color:var(--kpi-accent)!important}body.dark-mode-active .kpi-tile__icon{color:var(--kpi-accent)!important;background:var(--kpi-accent-bg)!important;border-color:var(--kpi-accent-border)!important}body.dark-mode-active .qa-tile{border-top:3px solid var(--qa-accent)!important}body.dark-mode-active .kpi-tile:hover,body.dark-mode-active .qa-tile:hover{transform:none!important;box-shadow:none!important}body.dark-mode-active .kpi-tile div,body.dark-mode-active .qa-tile div,body.dark-mode-active .dash-panel div{text-shadow:none!important}body.dark-mode-active .kpi-tile__label{color:#94a3b8!important}body.dark-mode-active .qa-tile__module-label{color:var(--qa-accent)!important}body.dark-mode-active .qa-btn--secondary{background:#0a0a0a!important;border-color:var(--qa-accent)!important;color:var(--qa-accent)!important}body.dark-mode-active .qa-btn--primary{box-shadow:none!important}body.dark-mode-active .dash-panel__header{background:transparent!important;border:none!important;box-shadow:none!important}body.dark-mode-active .dash-panel__title{color:#f1f5f9!important}body.dark-mode-active .dash-list__row{background:#141414!important;border-bottom-color:#334155!important}body.dark-mode-active .dash-list__primary{color:#f1f5f9!important}body.dark-mode-active .dash-list__secondary,body.dark-mode-active .dash-list__date{color:#94a3b8!important}body.dark-mode-active .page-header-ribbon .page-header-btn span{color:inherit!important}body.dark-mode-active .page-header-ribbon .page-header-btn--primary span{color:#fff!important}body.dark-mode-active .qa-bar__tile--default{background:#141414!important;border-color:var(--qa-accent)!important;color:var(--qa-accent)!important;box-shadow:none!important;backdrop-filter:none!important}body.dark-mode-active .qa-bar__tile--primary{background:var(--qa-accent)!important;color:#fff!important;box-shadow:none!important}body.dark-mode-active .qa-bar__tile--active{background:#0a0a0a!important;border-color:var(--qa-accent)!important}body.dark-mode-active .qa-bar__tile--primary.qa-bar__tile--active{background:var(--qa-accent)!important;filter:brightness(1.1)!important}body.dark-mode-active .qa-bar__tile span{text-shadow:none!important}body.dark-mode-active .qa-bar__tile--primary .qa-bar__label,body.dark-mode-active .qa-bar__tile--primary .qa-bar__shortcut{color:#fff!important}body.dark-mode-active .qa-bar__tile--default .qa-bar__icon{background:var(--qa-accent-bg)!important;border:1px solid var(--qa-accent-border)!important;color:var(--qa-accent)!important;filter:brightness(1.25) saturate(1.1)}body.dark-mode-active .qa-bar__tile--default .qa-bar__icon svg{color:inherit!important}body.dark-mode-active .qa-bar__tile--default .qa-bar__label{color:#e2e8f0!important}body.dark-mode-active .qa-bar__tile--default .qa-bar__shortcut{color:var(--qa-accent)!important;background:var(--qa-accent-bg)!important}body.dark-mode-active .qa-bar__tile--primary .qa-bar__icon{background:rgba(255,255,255,.18)!important;color:#fff!important;border:none!important;filter:none!important}body.dark-mode-active .rpt-tile{background:#141414!important;border-color:#334155!important;border-top-color:var(--rpt-accent)!important;box-shadow:none!important;backdrop-filter:none!important}body.dark-mode-active .rpt-tile__title{color:#f1f5f9!important}body.dark-mode-active .rpt-tile__value,body.dark-mode-active .rpt-tile__preview{color:var(--rpt-accent)!important;filter:brightness(1.2)}body.dark-mode-active .rpt-tile__icon{background:var(--rpt-accent-bg)!important;border:1px solid var(--rpt-accent-border)!important;color:var(--rpt-accent)!important;filter:brightness(1.25) saturate(1.1)}body.dark-mode-active .rpt-tile__icon svg{color:inherit!important}body.dark-mode-active .kpi-tile--active{background:#0a0a0a!important;border-color:#2a2a2a!important;box-shadow:inset 0 0 0 1px var(--kpi-accent-border)!important}body.dark-mode-active .kpi-tile--active.kpi-tile--dashboard{border-top:3px solid var(--kpi-accent)!important}body.dark-mode-active .kpi-tile--active:not(.kpi-tile--dashboard){border-inline-start:4px solid var(--kpi-accent)!important}body.dark-mode-active .purchases-list-card,body.dark-mode-active .setting-card,body.dark-mode-active .report-category{background:#141414!important;border-color:#2a2a2a!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}body.dark-mode-active .repairs-orders-card{background:#141414!important;border-color:#2a2a2a!important;border-top:3px solid #38bdf8!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}body.dark-mode-active .repairs-orders-card__body,body.dark-mode-active .repairs-orders-grid{background:transparent!important;border:none!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}body.dark-mode-active .module-page--repairs .repairs-orders-card .category-header,body.dark-mode-active .module-page--repairs .repairs-orders-card .category-header p{background:transparent!important;border:none!important;box-shadow:none!important}body.dark-mode-active .module-page--repairs .repairs-orders-card .category-header p{color:#a3a3a3!important}body.dark-mode-active .module-page--purchases .purchases-list-card .category-header,body.dark-mode-active .module-page--purchases .purchases-list-card .category-header p{background:transparent!important;border:none!important;box-shadow:none!important}body.dark-mode-active .module-page--purchases .purchases-list-card .category-header p{color:#a3a3a3!important}body.dark-mode-active .module-page--purchases .category-header--charges p{color:#fbbf24!important}body.dark-mode-active .report-category .category-header,body.dark-mode-active .reports-page .category-header{background:transparent!important;border:none!important;border-bottom:none!important;border-radius:0!important;padding:0 0 8px!important;margin-bottom:12px!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important}body.dark-mode-active .report-category .category-header p,body.dark-mode-active .category-header p{background:transparent!important;color:#d4d4d4!important;margin:0!important}body.dark-mode-active .section-subtitle,body.dark-mode-active .section-subtitle .subtitle-text{color:#f1f5f9!important}body.dark-mode-active .client-recovery-modal__panel{background:#141414!important;border-color:#334155!important;color:#f1f5f9!important;backdrop-filter:none!important;box-shadow:none!important}body.dark-mode-active .client-recovery-modal__header{background:rgba(186,18,0,.15)!important;border-color:#f8717173!important;color:#fca5a5!important;backdrop-filter:none!important;box-shadow:none!important}body.dark-mode-active .client-recovery-modal__stat{background:rgba(186,18,0,.12)!important;border-color:#f8717159!important;color:#fecaca!important;backdrop-filter:none!important}body.dark-mode-active .client-recovery-modal__stat,body.dark-mode-active .client-recovery-modal__stat div,body.dark-mode-active .client-recovery-modal__stat svg{color:#fecaca!important}body.dark-mode-active .client-recovery-modal__header h3,body.dark-mode-active .client-recovery-modal__header h3 svg{color:#fca5a5!important}body.dark-mode-active .modal-overlay>.purchase-detail-modal__panel,body.dark-mode-active .modal-overlay .purchase-detail-modal__body,body.dark-mode-active .modal-overlay .purchase-detail-modal__header,body.dark-mode-active .modal-overlay .purchase-detail-modal__footer{background:#141414!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-color:#334155!important;box-shadow:none!important;color:#f1f5f9!important}body.dark-mode-active .modal-overlay .purchase-detail-modal__meta,body.dark-mode-active .modal-overlay .purchase-detail-modal__table-wrap,body.dark-mode-active .modal-overlay .purchase-detail-modal__totals,body.dark-mode-active .modal-overlay .purchase-detail-modal__actions{background:transparent!important}body.dark-mode-active .settings-category-btn{background:#141414!important;border-color:#334155!important;backdrop-filter:none!important;box-shadow:none!important}.settings-section-header{display:flex;align-items:center;gap:10px;margin-bottom:16px;padding:12px 16px;border-radius:12px;border:1px solid #e5e7eb;background:#f9fafb}.settings-section-header h2{margin:0;font-family:Cairo,sans-serif;font-size:17px;font-weight:700;color:#374151}body.dark-mode-active .settings-section-header{background:#141414!important;border-color:#334155!important}body.dark-mode-active .settings-section-header h2{color:#f1f5f9!important}body.dark-mode-active .app-toast{background:rgba(12,18,40,.96)!important;border-color:#ffffff1f!important;box-shadow:0 12px 40px #00000080!important}body.dark-mode-active .app-toast__message{color:#ffffffeb!important}body.dark-mode-active .app-toast__close{background:rgba(255,255,255,.08)!important;color:#ffffffa6!important}body.dark-mode-active .app-toast__close:hover{background:rgba(255,255,255,.14)!important;color:#fffffff2!important}body.dark-mode-active .modal-overlay .sales-invoice-row-actions__btn{background:rgba(15,23,42,.95)!important}body.dark-mode-active .modal-overlay .sales-invoice-row-actions__btn--view{border-color:#60a5fa8c!important;color:#93c5fd!important}body.dark-mode-active .modal-overlay .sales-invoice-row-actions__btn--print{border-color:#94a3b88c!important;color:#e2e8f0!important}body.dark-mode-active .modal-overlay .sales-invoice-row-actions__btn--thermal{border-color:#fbbf248c!important;color:#fcd34d!important}body.dark-mode-active .modal-overlay .sales-invoice-row-actions__btn--edit{border-color:#4ade808c!important;color:#86efac!important}body.dark-mode-active .modal-overlay .sales-invoice-row-actions__btn--return{border-color:#a78bfa8c!important;color:#c4b5fd!important}body.dark-mode-active .modal-overlay .sales-invoice-row-actions__btn--delete{border-color:#f871718c!important;color:#fca5a5!important}body.dark-mode-active .modal-overlay .sales-invoice-row-actions__btn svg,body.dark-mode-active .modal-overlay .sales-invoice-row-actions__btn svg path{fill:currentColor!important;color:inherit!important}body.dark-mode-active .modal-overlay .sales-pos-fullscreen-btn{background:rgba(37,99,235,.22)!important;border-color:#93c5fd80!important;color:#93c5fd!important}body.dark-mode-active .modal-overlay .sales-pos-fullscreen-btn svg,body.dark-mode-active .modal-overlay .sales-pos-fullscreen-btn svg path{fill:currentColor!important;color:#93c5fd!important}body.dark-mode-active .modal-overlay .sales-pos-fullscreen-btn:hover{background:rgba(37,99,235,.38)!important;color:#fff!important}body.dark-mode-active .modal-overlay .sales-pos-fullscreen-btn:hover svg,body.dark-mode-active .modal-overlay .sales-pos-fullscreen-btn:hover svg path{fill:#fff!important;color:#fff!important}body.dark-mode-active .modal-overlay .modal-content.sales-modal-landscape{background:#141414!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-color:#262626!important;box-shadow:none!important;color:#ffffffeb!important}body.dark-mode-active .modal-overlay .sales-modal-footer,body.dark-mode-active .modal-overlay .sales-modal-footer--compact{background:transparent!important;border-top:1px solid #404040!important;color:inherit!important}body.dark-mode-active .modal-overlay .sales-modal-footer__actions{background:transparent!important}body.dark-mode-active .modal-overlay :is(.sales-modal-footer__btn--cancel,button.sales-modal-footer__btn--cancel){background:#3f1212!important;border-color:#7f1d1d!important;color:#fca5a5!important}body.dark-mode-active .modal-overlay :is(.sales-modal-footer__btn--save,button.sales-modal-footer__btn--save){background:#059669!important;border-color:#10b981!important;color:#fff!important}body.dark-mode-active .modal-overlay :is(.sales-modal-footer__btn--print,button.sales-modal-footer__btn--print){background:#4f46e5!important;border-color:#6366f1!important;color:#fff!important}body.dark-mode-active .modal-overlay .sales-modal-footer__btn--cancel svg,body.dark-mode-active .modal-overlay .sales-modal-footer__btn--cancel svg path{fill:#e2e8f0!important;color:#e2e8f0!important}body.dark-mode-active .modal-overlay .sales-modal-footer__btn--save svg,body.dark-mode-active .modal-overlay .sales-modal-footer__btn--save svg path,body.dark-mode-active .modal-overlay .sales-modal-footer__btn--print svg,body.dark-mode-active .modal-overlay .sales-modal-footer__btn--print svg path{fill:#fff!important;color:#fff!important}body.dark-mode-active .category-manager-modal{background:rgba(12,18,40,.98)!important;color:#ffffffeb!important;border:1px solid rgba(255,255,255,.1)!important;box-shadow:0 24px 60px #0000008c!important}body.dark-mode-active .category-manager-modal .modal-header{background:rgba(16,185,129,.12)!important;border:1px solid rgba(16,185,129,.35)!important;color:#10b981!important}body.dark-mode-active .category-manager-modal .modal-header h2,body.dark-mode-active .category-manager-modal .section-subtitle,body.dark-mode-active .category-manager-modal .subtitle-text{color:#ffffffeb!important}body.dark-mode-active .category-manager-modal .modal-close{background:rgba(255,255,255,.08)!important;border-color:#fff3!important;color:#ffffffd9!important}body.dark-mode-active .category-manager-modal .add-category-section{background:rgba(255,255,255,.05)!important;border-color:#ffffff1f!important}body.dark-mode-active .category-manager-modal .categories-list h3,body.dark-mode-active .category-manager-modal .add-category-section h3{color:#ffffffe0!important;border-bottom-color:#ffffff1f!important}body.dark-mode-active .category-manager-modal .category-item{background:rgba(255,255,255,.06)!important;border-color:#ffffff1f!important}body.dark-mode-active .category-manager-modal .category-name{color:#ffffffe6!important}body.dark-mode-active .category-manager-modal input{background:rgba(255,255,255,.08)!important;border-color:#fff3!important;color:#ffffffeb!important}body.dark-mode-active .category-manager-modal input::placeholder{color:#ffffff73!important}body.dark-mode-active .category-manager-modal .modal-footer{border-top-color:#ffffff1a!important}body.dark-mode-active .product-form-modal{background:rgba(12,18,40,.98)!important;color:#ffffffeb!important;border:1px solid rgba(255,255,255,.1)!important}body.dark-mode-active .product-form-modal input,body.dark-mode-active .product-form-modal select,body.dark-mode-active .product-form-modal textarea{background:rgba(255,255,255,.08)!important;border-color:#fff3!important;color:#ffffffeb!important}body.dark-mode-active .suppliers-payment-modal{color:#ffffffeb!important}body.dark-mode-active .suppliers-payment-modal input,body.dark-mode-active .suppliers-payment-modal select{background:rgba(255,255,255,.08)!important;border-color:#fff3!important;color:#ffffffeb!important}body.dark-mode-active .data-card-row--tile,body.dark-mode-active .data-card-row--gel,body.dark-mode-active .data-card-row--phone,body.dark-mode-active .data-card-row--tablet{background:#1a1a1a!important;border-color:#404040!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}body.dark-mode-active .data-card-row__title,body.dark-mode-active .data-card-row__row strong{color:#f5f5f5!important}body.dark-mode-active .data-card-row__row span{color:#a3a3a3!important}body.dark-mode-active .data-card-row__badge{background:rgba(96,165,250,.15)!important;color:#93c5fd!important}body.dark-mode-active .data-card-row__actions button:not(.purchases-list-tile__btn){border-color:#404040!important;background:#262626!important;color:#e5e5e5!important}body.dark-mode-active .data-card-row__actions button:not(.purchases-list-tile__btn):hover{background:#333333!important;border-color:#525252!important}body.dark-mode-active .data-card-row__actions .purchases-list-tile__btn--delete{border-color:#f8717173!important;background:rgba(127,29,29,.35)!important;color:#fecaca!important}body.dark-mode-active .data-card-row__select-btn{border-color:#404040!important;background:#262626!important;color:#e5e5e5!important}body.dark-mode-active .table-modal__list,body.dark-mode-active .sales-table-modal__list{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}body.dark-mode-active .responsive-data-view--cards{background:transparent!important}body.dark-mode-active .modal-overlay .modal-content.table-modal,body.dark-mode-active .modal-overlay .modal-content.sales-table-modal,body.dark-mode-active .table-modal-host .table-modal,body.dark-mode-active .table-modal-host .table-modal--touch,body.dark-mode-active .table-modal--touch{background:#141414!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-color:#262626!important;box-shadow:none!important}body.dark-mode-active .modal-overlay .modal-content.table-modal .table-modal__list,body.dark-mode-active .modal-overlay .modal-content.sales-table-modal .sales-table-modal__list,body.dark-mode-active .modal-overlay .table-modal .table-modal__list,body.dark-mode-active .modal-overlay .responsive-data-view--cards{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:none!important;box-shadow:none!important}body.dark-mode-active .modal-overlay .data-card-row--tile,body.dark-mode-active .modal-overlay .data-card-row--gel,body.dark-mode-active .modal-overlay .data-card-row--phone,body.dark-mode-active .modal-overlay .data-card-row--tablet{background:#1a1a1a!important;border-color:#404040!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}body.dark-mode-active .modal-overlay .data-card-row__head,body.dark-mode-active .modal-overlay .data-card-row__body,body.dark-mode-active .modal-overlay .data-card-row__row,body.dark-mode-active .modal-overlay .data-card-row__actions,body.dark-mode-active .modal-overlay .data-card-row__status,body.dark-mode-active .modal-overlay .module-list-card--modal,body.dark-mode-active .modal-overlay .module-list-grid{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:none!important;box-shadow:none!important}body.dark-mode-active .report-preview-data-submodal .module-list-tile,body.dark-mode-active .suppliers-parts-modal .module-list-tile,body.dark-mode-active .suppliers-payment-modal .module-list-tile,body.dark-mode-active .repair-search-modal .module-list-tile,body.dark-mode-active .client-recovery-modal__panel .module-list-tile,body.dark-mode-active .repairs-completion-modal .module-list-tile{background:#1a1a1a!important;border-color:#404040!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}body.dark-mode-active .repair-search-modal,body.dark-mode-active .repair-search-modal--phone,body.dark-mode-active .repair-search-modal--touch{background:#141414!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:none!important;box-shadow:none!important}body.dark-mode-active .repair-details-modal--compact,body.dark-mode-active .repair-details-modal--phone{background:#141414!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-color:#262626!important;box-shadow:none!important}body.dark-mode-active .repair-details-modal--compact .module-list-tile,body.dark-mode-active .repair-details-modal--phone .module-list-tile,body.dark-mode-active .repair-details-modal--compact .repair-details-modal__header,body.dark-mode-active .repair-details-modal--phone .repair-details-modal__header{background:#1a1a1a!important;border-color:#404040!important;box-shadow:none!important}body.dark-mode-active .repairs-completion-modal--phone{background:#141414!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important}body.dark-mode-active .client-recovery-modal__panel--phone{background:#141414!important;border-color:#262626!important}.module-page{display:flex;flex-direction:column;gap:var(--module-row-gap, 16px);width:100%;min-width:0;--dashboard-kpi-h: 118px}.module-page--purchases{--module-accent: #8b5cf6;--module-accent-dark: #a78bfa}.module-page--inventory{--module-accent: #10b981;--module-accent-dark: #34d399}.module-page--customers{--module-accent: #f59e0b;--module-accent-dark: #fbbf24}.module-page--repairs{--module-accent: #4f46e5;--module-accent-dark: #818cf8}.module-page>.page-header-ribbon{margin-bottom:0}.module-page>.qa-bar,.module-page>.kpi-grid{margin-bottom:0}.main-content[data-current-page=inventory],.main-content[data-current-page=customers]{background:transparent;border-radius:0}.module-page--inventory,.module-page--customers{position:relative}.module-page--inventory .module-page__body,.module-page--customers .module-page__body{display:flex;flex-direction:column;gap:14px}body.dark-mode-active .main-content[data-current-page=inventory],body.dark-mode-active .main-content[data-current-page=customers]{background:transparent!important}.module-page .category-header{background:transparent!important;border:none!important;border-bottom:none!important;padding:0!important;margin-bottom:12px;text-align:start;box-shadow:none!important}.module-page .category-header p{background:transparent!important}.module-filter-bar{display:flex;align-items:center;gap:12px;margin:12px 0 14px;flex-wrap:wrap;background:transparent!important}.module-filter-bar--in-card{margin:0 0 10px}.module-filter-bar__search{flex:1;min-width:min(100%,220px);display:flex;align-items:center;gap:10px;height:40px;padding:0 12px;border-radius:10px;border:1px solid color-mix(in srgb,var(--module-accent) 28%,transparent);background:transparent;box-sizing:border-box;cursor:text}.module-filter-bar__search-icon{flex-shrink:0;color:var(--module-accent);font-size:14px;opacity:.85}.module-filter-bar__search-input{flex:1;min-width:0;border:none;outline:none;background:transparent;font-size:13px;font-weight:500;color:#0f172a}.module-filter-bar__search-input::placeholder{color:#94a3b8}.module-filter-bar__dates{display:flex;align-items:center;gap:8px;flex-shrink:0;flex-wrap:wrap}.module-filter-bar__date{height:40px;padding:0 10px;border-radius:10px;border:1px solid color-mix(in srgb,var(--module-accent) 28%,transparent);background:transparent;font-size:13px;font-weight:500;color:var(--module-accent);min-width:130px;box-sizing:border-box;cursor:pointer;color-scheme:light}.module-filter-bar__date::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.7}.module-filter-bar__date-sep{color:var(--module-accent);font-size:13px;font-weight:600;user-select:none}.module-filter-bar__reset{height:40px;padding:0 14px;border-radius:10px;border:1px solid color-mix(in srgb,var(--module-accent) 35%,transparent);background:transparent;color:var(--module-accent);font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap;transition:background .15s ease,border-color .15s ease}.module-filter-bar__reset:hover{background:color-mix(in srgb,var(--module-accent) 8%,transparent);border-color:color-mix(in srgb,var(--module-accent) 55%,transparent)}.module-filter-bar__search-input:focus,.module-filter-bar__date:focus{outline:none}.module-filter-bar__search:focus-within{border-color:color-mix(in srgb,var(--module-accent) 55%,transparent)}.module-filter-bar__date:focus{border-color:color-mix(in srgb,var(--module-accent) 55%,transparent)}body.dark-mode-active .module-filter-bar__search{background:transparent!important;border-color:#404040!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}body.dark-mode-active .module-filter-bar__search-icon{color:var(--module-accent-dark)!important}body.dark-mode-active .module-filter-bar__search-input{color:#f1f5f9!important;background:transparent!important}body.dark-mode-active .module-filter-bar__search-input::placeholder{color:#737373!important}body.dark-mode-active .module-filter-bar__date{background:transparent!important;border-color:#404040!important;color:var(--module-accent-dark)!important;color-scheme:dark;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important}body.dark-mode-active .module-filter-bar__date::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.9;filter:invert(1) brightness(1.1)}body.dark-mode-active .module-filter-bar__date-sep{color:var(--module-accent-dark)!important}body.dark-mode-active .module-filter-bar__reset{background:transparent!important;border-color:#404040!important;color:var(--module-accent-dark)!important}body.dark-mode-active .module-filter-bar__reset:hover{background:color-mix(in srgb,var(--module-accent-dark) 10%,transparent)!important;border-color:color-mix(in srgb,var(--module-accent-dark) 45%,#404040)!important}body.dark-mode-active .module-filter-bar__search:focus-within,body.dark-mode-active .module-filter-bar__date:focus{border-color:color-mix(in srgb,var(--module-accent-dark) 55%,#404040)!important;box-shadow:none!important;outline:none!important}@media (max-width: 767px){.module-filter-bar{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:10px}.module-filter-bar>*{width:100%;min-width:0}.module-filter-bar__search{grid-column:1 / -1;min-width:0}.module-filter-bar__dates{grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}.module-filter-bar__date{width:100%;min-width:0}}.module-filter-bar--shell{display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;gap:8px 10px;width:100%;min-width:0;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:10px 12px;border-radius:12px;border:2px solid color-mix(in srgb,var(--module-accent, #2563eb) 32%,transparent);background:color-mix(in srgb,var(--module-accent, #2563eb) 7%,#ffffff);box-sizing:border-box;margin:12px 0 14px}.module-filter-bar--shell.module-filter-bar--in-card{margin:0 0 10px}.table-modal__filters.module-filter-bar--shell,.sales-table-modal__filters.module-filter-bar--shell,.repair-search-modal__filters.module-filter-bar--shell{margin-bottom:16px;flex-shrink:0}.module-filter-bar__title{display:flex;align-items:center;gap:6px;flex-shrink:0;font-size:11px;font-weight:700;color:var(--module-accent, #2563eb);white-space:nowrap}.module-filter-bar__title svg{width:14px;height:14px;opacity:.9}.module-filter-bar__field{display:flex;flex-direction:row;align-items:center;gap:6px;flex-shrink:0;margin:0;min-width:0}.module-filter-bar__field--grow{flex:1 1 auto;min-width:min(100%,200px)}.module-filter-bar__field-label{font-size:10px;font-weight:600;color:color-mix(in srgb,var(--module-accent, #2563eb) 70%,#64748b);white-space:nowrap}.module-filter-bar__control{padding:6px 8px;border-radius:8px;border:1px solid color-mix(in srgb,var(--module-accent, #2563eb) 22%,#e2e8f0);background:#ffffff;font-size:13px;font-weight:500;color:#0f172a;height:34px;box-sizing:border-box;min-width:0;outline:none;transition:border-color .15s ease}.module-filter-bar__control:focus{border-color:color-mix(in srgb,var(--module-accent, #2563eb) 55%,transparent)}.module-filter-bar__control--search{width:min(200px,36vw);min-width:110px}.module-filter-bar__field--grow .module-filter-bar__control--search{width:100%;min-width:0;flex:1}.module-filter-bar__control--date{width:138px}.module-filter-bar__control--select{min-width:108px;max-width:150px;cursor:pointer}.module-filter-bar__search-inline{display:flex;align-items:center;gap:6px;min-width:0;width:100%}.module-filter-bar__search-inline .module-filter-bar__control{flex:1;min-width:0}.module-filter-bar__search-inline .module-filter-bar__search-icon{flex-shrink:0;color:var(--module-accent, #2563eb);font-size:13px;opacity:.85}.module-filter-bar__cam-btn,.module-filter-bar__search-inline .sales-scanner-cam-btn{flex-shrink:0;width:34px;height:34px;padding:0;display:inline-flex;align-items:center;justify-content:center}.module-filter-bar__inline-actions{display:flex;align-items:center;gap:6px;min-width:0;flex:1}.module-filter-bar__inline-actions .module-filter-bar__control--select{flex:1;min-width:0;max-width:none}.module-filter-bar__icon-btn{flex-shrink:0;width:34px;height:34px;padding:0;border-radius:8px;border:1px solid color-mix(in srgb,var(--module-accent, #2563eb) 35%,transparent);background:color-mix(in srgb,var(--module-accent, #2563eb) 10%,#ffffff);color:var(--module-accent, #2563eb);cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.module-filter-bar__reset{padding:6px 12px;border-radius:8px;border:1px solid color-mix(in srgb,var(--module-accent, #2563eb) 35%,transparent);background:transparent;color:var(--module-accent, #2563eb);font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap;flex-shrink:0;height:34px;transition:background .15s ease,border-color .15s ease}.module-filter-bar__reset:hover{background:color-mix(in srgb,var(--module-accent, #2563eb) 8%,transparent);border-color:color-mix(in srgb,var(--module-accent, #2563eb) 50%,transparent)}.sales-table-modal__filters-reset{display:flex;align-items:center;flex-shrink:0}body.dark-mode-active .module-filter-bar--shell{background:color-mix(in srgb,var(--module-accent-dark, var(--module-accent, #60a5fa)) 10%,#171717);border-color:color-mix(in srgb,var(--module-accent-dark, #60a5fa) 35%,#404040)}body.dark-mode-active .module-filter-bar__title{color:var(--module-accent-dark, var(--module-accent, #60a5fa))}body.dark-mode-active .module-filter-bar__field-label{color:color-mix(in srgb,var(--module-accent-dark, #94a3b8) 80%,#a3a3a3)}body.dark-mode-active .module-filter-bar__control{background:#262626;border-color:#404040;color:#f1f5f9;color-scheme:dark}body.dark-mode-active .module-filter-bar__control::placeholder{color:#737373}body.dark-mode-active .module-filter-bar__control::-webkit-calendar-picker-indicator{filter:invert(1) brightness(1.1);opacity:.9;cursor:pointer}body.dark-mode-active .module-filter-bar__reset{border-color:#404040;color:var(--module-accent-dark, #60a5fa);background:transparent}body.dark-mode-active .module-filter-bar__icon-btn{background:#262626;border-color:#404040;color:var(--module-accent-dark, #60a5fa)}@media (max-width: 767px){.module-filter-bar--shell{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:8px;overflow:visible;flex-wrap:wrap;justify-content:stretch}.module-filter-bar--shell .module-filter-bar__title{grid-column:1 / -1;margin-bottom:2px}.module-filter-bar--shell .module-filter-bar__field{flex-direction:column;align-items:stretch;width:100%;gap:4px}.module-filter-bar--shell .module-filter-bar__field--grow,.module-filter-bar--shell .module-filter-bar__field--full{grid-column:1 / -1}.module-filter-bar--shell .module-filter-bar__control,.module-filter-bar--shell .module-filter-bar__control--search,.module-filter-bar--shell .module-filter-bar__control--date,.module-filter-bar--shell .module-filter-bar__control--select{width:100%;max-width:none;min-width:0}.module-filter-bar--shell .module-filter-bar__reset,.sales-table-modal__filters-reset .module-filter-bar__reset{width:100%;justify-content:center}.sales-table-modal__filters.module-filter-bar--shell{grid-template-columns:1fr 1fr}.sales-table-modal__filters.module-filter-bar--shell .module-filter-bar__field:nth-child(2){grid-column:1}.sales-table-modal__filters.module-filter-bar--shell .module-filter-bar__field:nth-child(3){grid-column:2}.sales-table-modal__filters.module-filter-bar--shell .module-filter-bar__field:nth-child(4){grid-column:1}.sales-table-modal__filters.module-filter-bar--shell .module-filter-bar__field:nth-child(5){grid-column:2}.sales-table-modal__filters-reset{grid-column:1 / -1}}@media (min-width: 768px) and (max-width: 1199px) and (orientation: portrait){.table-modal--touch .module-filter-bar--shell,.sales-table-modal--touch .module-filter-bar--shell{display:flex;flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start}.table-modal--touch .module-filter-bar--shell .module-filter-bar__field,.sales-table-modal--touch .module-filter-bar--shell .module-filter-bar__field{flex-direction:row;width:auto}.table-modal--touch .module-filter-bar--shell .module-filter-bar__control--search{width:min(160px,28vw)}.table-modal--touch .module-filter-bar--shell .module-filter-bar__control--date{width:120px}.table-modal--touch .module-filter-bar--shell .module-filter-bar__control--select{min-width:96px;max-width:120px}}@media (max-width: 1023px),(max-width: 1199px) and (orientation: portrait),(max-height: 899px){.product-form-modal,.modal-content:not(.sales-modal-landscape),.operating-charge-modal,.table-modal,.table-modal-host>.table-modal,.new-repair-modal,.modal-content.repairs-completion-modal,.client-recovery-modal__panel,.suppliers-parts-modal,.repair-search-modal,.settings-modal{padding:10px!important}.operating-charge-modal-overlay{padding:0!important;align-items:stretch!important}.operating-charge-modal{width:100%!important;max-width:100%!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important}.modal-header-bar,.table-modal__header,.sales-table-modal__header,.settings-modal__header,.client-recovery-modal__header,.suppliers-parts-modal__header{display:flex!important;justify-content:space-between!important;align-items:center!important;margin-bottom:10px!important;padding:8px 12px!important;border-radius:10px!important;flex-shrink:0;min-height:0!important;gap:8px}.modal-header-bar h1,.modal-header-bar h2,.modal-header-bar h3,.supplier-form-modal .modal-header-bar h2,.supplier-edit-modal .modal-header-bar h2,.table-modal__header h1,.table-modal__header h2,.table-modal__header h3,.sales-table-modal__header h1,.sales-table-modal__header h2,.sales-table-modal__header h3,.settings-modal__header h2,.client-recovery-modal__header h3,.suppliers-parts-modal__header h3{margin:0!important;font-size:14px!important;font-weight:700!important;display:flex!important;align-items:center!important;gap:8px!important;line-height:1.2!important;min-width:0;flex:1 1 auto}.modal-header-bar h1 svg,.modal-header-bar h2 svg,.modal-header-bar h3 svg,.modal-header-bar h1>svg,.modal-header-bar h2>svg,.modal-header-bar h3>svg,.table-modal__header h1 svg,.table-modal__header h2 svg,.table-modal__header h3 svg,.sales-table-modal__header h1 svg,.sales-table-modal__header h2 svg,.sales-table-modal__header h3 svg,.settings-modal__header h2 svg,.client-recovery-modal__header h3 svg,.suppliers-parts-modal__header h3 svg{font-size:16px!important;width:16px!important;height:16px!important;flex-shrink:0}.modal-header-bar>button,.modal-header-bar>div>button,.table-modal__header>button,.sales-table-modal__header>button,.settings-modal__header>button,.client-recovery-modal__header>button,.suppliers-parts-modal__header>button,.suppliers-parts-modal__header .suppliers-parts-modal__add-btn{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;padding:0!important;border-radius:10px!important;font-size:18px!important;flex-shrink:0}.suppliers-parts-modal__header{flex-wrap:wrap}.suppliers-parts-modal__header .suppliers-parts-modal__add-btn{width:auto!important;min-width:0!important;height:34px!important;min-height:34px!important;padding:0 10px!important;font-size:11px!important;white-space:nowrap}.settings-modal__header-icon{width:28px!important;height:28px!important;font-size:13px!important;border-radius:8px!important}}.module-insight-strip{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 14px;border-radius:12px;border:1px solid color-mix(in srgb,var(--module-accent, #10b981) 22%,transparent);background:transparent;font-family:Cairo,sans-serif;font-size:13px;font-weight:600;color:#334155;line-height:1.45}.module-insight-strip__dot{width:8px;height:8px;border-radius:50%;background:var(--module-accent, #10b981);flex-shrink:0}.module-insight-strip__sep{color:#94a3b8;user-select:none}.module-content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.module-list-card{position:relative;padding:12px;border-radius:14px;border:1px solid rgba(148,163,184,.35);border-top:none;background:#ffffff;min-width:0;overflow:hidden}.module-list-card:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--module-accent, #10b981);border-radius:14px 14px 0 0;z-index:1}.module-list-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px;background:transparent!important;border:none!important;padding:0!important;box-shadow:none!important}.module-list-card .category-header{flex:1;min-width:0;margin-bottom:0;background:transparent!important;border:none!important;border-bottom:none!important;padding:0!important;text-align:start;box-shadow:none!important}.module-list-card .category-header p{background:transparent!important;margin:0;line-height:1.45}.module-list-card .category-header p:first-child{color:#0f172a;font-family:Cairo,sans-serif;font-size:14px;font-weight:600}.module-list-card .category-header p+p{color:#64748b;font-family:Cairo,sans-serif;font-size:13px;font-weight:400;margin-top:2px}.module-list-card__title{margin:0;font-family:Cairo,sans-serif;font-size:15px;font-weight:700;color:#0f172a;line-height:1.3}.module-list-card__subtitle{margin:4px 0 0;font-family:Cairo,sans-serif;font-size:12px;font-weight:500;color:#64748b;line-height:1.4}.module-list-card__action{flex-shrink:0;border:1px solid color-mix(in srgb,var(--module-accent, #10b981) 35%,transparent);background:transparent;color:var(--module-accent, #10b981);font-family:Cairo,sans-serif;font-size:11px;font-weight:700;padding:6px 10px;border-radius:8px;cursor:pointer;white-space:nowrap;transition:background .15s ease,border-color .15s ease}.module-list-card__action:hover{background:color-mix(in srgb,var(--module-accent, #10b981) 8%,transparent);border-color:color-mix(in srgb,var(--module-accent, #10b981) 55%,transparent)}.module-preview-list{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}.module-preview-row{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:10px;background:transparent;cursor:pointer;text-align:inherit;font:inherit;transition:border-color .15s ease,background .15s ease,transform .12s ease}.module-preview-row:hover{border-color:color-mix(in srgb,var(--module-accent, #10b981) 40%,#e2e8f0);background:transparent}.module-preview-row:active{transform:scale(.99)}.module-preview-row__icon{width:34px;height:34px;flex-shrink:0;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:14px;color:var(--module-accent, #10b981);background:transparent;border:1px solid color-mix(in srgb,var(--module-accent, #10b981) 28%,transparent)}.module-preview-row__body{flex:1;min-width:0}.module-preview-row__name{display:block;font-family:Cairo,sans-serif;font-size:13px;font-weight:700;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.module-preview-row__meta{display:block;margin-top:2px;font-family:Cairo,sans-serif;font-size:11px;font-weight:500;color:#64748b}.module-preview-row__badge{flex-shrink:0;font-family:Cairo,sans-serif;font-size:10px;font-weight:700;padding:4px 8px;border-radius:999px;white-space:nowrap}.module-preview-row__badge--success{color:#047857;background:#d1fae5}.module-preview-row__badge--warning{color:#b45309;background:#fef3c7}.module-preview-row__badge--danger{color:#b91c1c;background:#fee2e2}.module-preview-row__badge--info{color:#1d4ed8;background:#dbeafe}.module-preview-empty{padding:20px 12px;text-align:center;font-family:Cairo,sans-serif;font-size:13px;font-weight:500;color:#94a3b8;border:1px dashed #cbd5e1;border-radius:10px;background:transparent}.module-category-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.module-category-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;border:1px solid color-mix(in srgb,var(--module-accent, #10b981) 28%,transparent);background:transparent;font-family:Cairo,sans-serif;font-size:11px;font-weight:600;color:#334155}.module-category-chip__count{font-weight:800;color:var(--module-accent, #10b981)}.app-router{animation:module-page-enter .22s ease-out}@keyframes module-page-enter{0%{opacity:0}to{opacity:1}}@media (max-width: 768px){.module-content-grid{grid-template-columns:1fr}}body.dark-mode-active .module-insight-strip{background:transparent!important;border-color:#404040!important;color:#e2e8f0!important}body.dark-mode-active .module-list-card{background:#141414!important;border-color:#404040!important;border-top:none!important}body.dark-mode-active .module-list-card:before{background:var(--module-accent-dark, var(--module-accent, #10b981))!important}body.dark-mode-active .module-list-card .category-header,body.dark-mode-active .module-list-card .category-header p{background:transparent!important;border:none!important;box-shadow:none!important}body.dark-mode-active .module-list-card .category-header p:first-child{color:#f1f5f9!important}body.dark-mode-active .module-list-card .category-header p+p{color:#94a3b8!important}body.dark-mode-active .module-list-card__title{color:#f1f5f9!important}body.dark-mode-active .module-list-card__subtitle{color:#94a3b8!important}body.dark-mode-active .module-preview-row{background:transparent!important;border-color:#404040!important}body.dark-mode-active .module-preview-row:hover{background:transparent!important;border-color:color-mix(in srgb,var(--module-accent-dark, var(--module-accent, #10b981)) 45%,#404040)!important}body.dark-mode-active .module-preview-row__name{color:#f1f5f9!important}body.dark-mode-active .module-preview-empty{background:transparent!important;border-color:#404040!important;color:#737373!important}body.dark-mode-active .module-category-chip{background:transparent!important;border-color:#404040!important;color:#e2e8f0!important}body.dark-mode-active .module-list-card__action{background:transparent!important;border-color:color-mix(in srgb,var(--module-accent-dark, var(--module-accent, #10b981)) 40%,#404040)!important}:root{--app-ui-scale: 1;--tauri-webview-zoom: 1}html{text-size-adjust:100%;-webkit-text-size-adjust:100%}.ui-zoom-shell{zoom:var(--app-ui-scale, 1);flex:1;min-width:0;min-height:0;display:flex;width:100%;height:100%}.ui-zoom-scope{flex:1;min-height:0;min-width:0;display:flex;flex-direction:column;width:100%}.app-router>.ui-zoom-scope>.module-page{flex:1;min-height:0;min-width:0}@media (max-width: 1199px){.ui-zoom-shell,.app-toast-container{zoom:1!important}}.app-toast-container{zoom:var(--app-ui-scale, 1)}.ui-zoom-shell .modal-overlay{zoom:calc(1 / var(--app-ui-scale, 1))}.ui-zoom-shell .modal-overlay>.modal-content{zoom:var(--app-ui-scale, 1)}.modal-overlay,.app-modal-overlay{position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:20px!important;box-sizing:border-box!important;background:rgba(15,23,42,.48)!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;z-index:100000!important;overflow:auto!important;zoom:1!important;transform:none!important}body>.modal-overlay>.modal-content,body>.modal-overlay>.repairs-completion-modal,body>.modal-overlay>.product-form-modal,body>.app-modal-overlay>.modal-content,body>.app-modal-overlay>.client-recovery-modal__panel,body>.confirm-dialog-overlay>.confirm-dialog{transform:scale(var(--app-ui-scale, 1));transform-origin:center center;flex-shrink:0}body>.modal-overlay.sales-modal-overlay--fullscreen>.modal-content{transform:none}.modal-overlay.modal-top-layer,.app-modal-overlay.modal-top-layer{z-index:200002!important}.modal-overlay.modal-top-layer.sales-invoice-modal-overlay{z-index:200001!important}.modal-overlay.modal-stack-above{z-index:200010!important}.modal-overlay.category-modal-stack{z-index:200030!important}.modal-overlay.modal-stack-nested{z-index:200050!important}body>.modal-overlay.modal-stack-nested>div,body>.modal-overlay.modal-stack-nested>.supplier-details-modal,body>.modal-overlay.modal-stack-nested>.supplier-form-modal,body>.modal-overlay.modal-stack-nested>.supplier-edit-modal{transform:scale(var(--app-ui-scale, 1));transform-origin:center center;flex-shrink:0}body>.modal-overlay.settings-modal-overlay>.settings-modal,body>.app-modal-overlay.settings-modal-overlay>.settings-modal{transform:scale(var(--app-ui-scale, 1));transform-origin:center center;flex-shrink:0}body>.modal-overlay>.new-repair-modal,body>.app-modal-overlay>.new-repair-modal{transform:scale(var(--app-ui-scale, 1));transform-origin:center center;flex-shrink:0}body>.modal-overlay.category-modal-stack>.modal-content,body>.modal-overlay.category-modal-stack>.category-manager-modal{transform:scale(var(--app-ui-scale, 1));transform-origin:center center;flex-shrink:0}body>.modal-overlay.modal-stack-above>.modal-content,body>.modal-overlay.modal-stack-above>.modal-content.edit-modal,body>.modal-overlay.modal-stack-above>.modal-content.return-modal,body>.modal-overlay.modal-stack-above>.invoice-details-modal{transform:scale(var(--app-ui-scale, 1));transform-origin:center center;flex-shrink:0}body.dark-mode-active .modal-overlay,body.dark-mode-active .app-modal-overlay{background:rgba(0,0,0,.62)!important}.modal-header-bar,.suppliers-parts-modal__header,.modal-header,.client-recovery-modal__header,.repair-details-modal__header{position:sticky;top:0;z-index:12;flex-shrink:0}body.dark-mode-active .modal-header-bar,body.dark-mode-active .suppliers-parts-modal__header,body.dark-mode-active .modal-header,body.dark-mode-active .client-recovery-modal__header,body.dark-mode-active .repair-details-modal__header{background:#1a1a1a!important}@media (max-width: 767px){.modal-overlay,.app-modal-overlay{padding:0!important;align-items:stretch!important;overflow:hidden!important}body>.modal-overlay>.modal-content,body>.app-modal-overlay>.modal-content,body>.modal-overlay>.modal-content.table-modal,body>.modal-overlay>.modal-content.sales-table-modal,body>.modal-overlay>.product-form-modal,body>.modal-overlay>.new-repair-modal,body>.app-modal-overlay>.new-repair-modal,body>.modal-overlay>.repairs-completion-modal,body>.modal-overlay>.suppliers-parts-modal,body>.app-modal-overlay>.client-recovery-modal__panel,body>.modal-overlay.settings-modal-overlay>.settings-modal,body>.app-modal-overlay.settings-modal-overlay>.settings-modal{width:100%!important;max-width:100%!important;height:100dvh!important;max-height:100dvh!important;min-height:100dvh!important;border-radius:0!important;margin:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;transform:none!important}}@media (min-width: 768px){body>.modal-overlay>.product-form-modal,body>.modal-overlay>.new-repair-modal,body>.app-modal-overlay>.new-repair-modal,body>.modal-overlay>.modal-content.new-repair-modal{width:95%!important;max-width:900px!important;height:auto!important;min-height:0!important;max-height:90vh!important;border-radius:16px!important;margin:0!important;overflow-y:auto!important;overflow-x:hidden!important;display:block!important;flex-shrink:0}}@media (min-width: 768px) and (max-width: 1023px){.modal-overlay,.app-modal-overlay{padding:12px!important}body>.modal-overlay>.modal-content,body>.app-modal-overlay>.modal-content{width:96vw!important;max-height:96dvh!important}}@media (max-width: 767px),(max-width: 1199px) and (orientation: portrait),(max-height: 899px){body>.modal-overlay>.modal-content,body>.modal-overlay>.product-form-modal,body>.modal-overlay>.new-repair-modal,body>.app-modal-overlay>.new-repair-modal,body>.modal-overlay>.repairs-completion-modal,body>.modal-overlay>.suppliers-parts-modal,body>.app-modal-overlay>.modal-content,body>.app-modal-overlay>.client-recovery-modal__panel,body>.modal-overlay.settings-modal-overlay>.settings-modal,body>.app-modal-overlay.settings-modal-overlay>.settings-modal{transform:none!important}.modal-content input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.modal-content select,.modal-content textarea,.product-form-modal input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.product-form-modal select,.product-form-modal textarea,.new-repair-modal input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.new-repair-modal select,.new-repair-modal textarea,.settings-modal input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.settings-modal select,.settings-modal textarea,.client-recovery-modal__panel input,.client-recovery-modal__panel select,.client-recovery-modal__panel textarea,.suppliers-parts-modal input,.suppliers-parts-modal select,.repairs-completion-modal input,.repair-details-modal input:not([type=checkbox]):not([type=radio]),.repair-details-modal select,.repair-details-modal textarea{font-size:16px!important;min-height:44px}}@media (max-width: 767px),(max-width: 1199px) and (orientation: portrait){body>.modal-overlay>.product-form-modal,body>.modal-overlay>.new-repair-modal,body>.app-modal-overlay>.new-repair-modal,body>.modal-overlay>.repairs-completion-modal,body>.modal-overlay>.suppliers-parts-modal,body>.app-modal-overlay>.client-recovery-modal__panel,body>.modal-overlay.settings-modal-overlay>.settings-modal,body>.app-modal-overlay.settings-modal-overlay>.settings-modal{width:100%!important;max-width:100%!important;height:100dvh!important;max-height:100dvh!important;min-height:100dvh!important;border-radius:0!important;margin:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;padding:10px!important;box-sizing:border-box!important}.new-repair-modal>.modal-header-bar{flex-shrink:0}.new-repair-modal>form{flex:1 1 0;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.new-repair-modal__footer{flex-shrink:0;margin-top:0!important;padding-top:12px!important;padding-bottom:max(8px,env(safe-area-inset-bottom))!important}.app-router .repair-details-modal,.repair-details-modal--phone{width:100%!important;max-width:100%!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;padding:8px!important}.repair-details-modal--phone .repair-details-modal__body{overflow-y:auto;-webkit-overflow-scrolling:touch;min-height:0;flex:1}.new-repair-modal__form-grid,.new-repair-modal__main-grid{grid-template-columns:1fr!important}}.table-modal,.sales-table-modal{display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box}.table-modal-host{box-sizing:border-box;display:flex;flex-direction:column;min-height:0}@media (max-width: 767px){.table-modal-host{height:100dvh;min-height:100dvh;overflow:hidden}}.table-modal__header,.sales-table-modal__header{flex-shrink:0;position:sticky;top:0;z-index:12}.table-modal__stats,.sales-table-modal__stats,.table-modal__filters,.sales-table-modal__filters{flex-shrink:0}.table-modal__list,.sales-table-modal__list{flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}.table-modal:not(.table-modal--touch):not(.table-modal--phone) .table-modal__list,.sales-table-modal:not(.table-modal--touch):not(.sales-table-modal--phone) .sales-table-modal__list{overflow:hidden;display:flex;flex-direction:column}.table-modal:not(.table-modal--touch):not(.table-modal--phone) .table-modal__list>.responsive-data-view--table,.table-modal:not(.table-modal--touch):not(.table-modal--phone) .table-modal__table-panel .responsive-data-view--table,.sales-table-modal:not(.table-modal--touch):not(.sales-table-modal--phone) .sales-table-modal__table-panel .responsive-data-view--table{flex:1 1 0;min-height:0;overflow:auto}.table-modal:not(.table-modal--touch):not(.table-modal--phone) .table-modal__table-panel,.sales-table-modal:not(.table-modal--touch):not(.sales-table-modal--phone) .sales-table-modal__table-panel{flex:1 1 0;min-height:0;max-height:none;display:flex;flex-direction:column;overflow:hidden}.modal-list-panel{overflow-y:auto;max-height:min(500px,55dvh);background:rgba(255,255,255,.05)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.12)!important;border-radius:12px;box-shadow:none!important;color:inherit;padding:8px}body.dark-mode-active .modal-list-panel{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:none!important;padding:0!important;max-height:none}body:not(.dark-mode-active) .modal-list-panel{background:rgba(255,255,255,.65)!important;border-color:#2563eb24!important}.table-modal--phone,.table-modal--touch{display:flex!important;flex-direction:column!important;overflow:hidden!important;overflow-y:hidden!important}.table-modal--phone .table-modal__header,.table-modal--touch .table-modal__header,.table-modal--phone .sales-table-modal__header,.table-modal--touch .sales-table-modal__header,.table-modal--phone .table-modal__stats,.table-modal--touch .table-modal__stats,.table-modal--phone .sales-table-modal__stats,.table-modal--touch .sales-table-modal__stats,.table-modal--phone .table-modal__filters,.table-modal--touch .table-modal__filters,.table-modal--phone .sales-table-modal__filters,.table-modal--touch .sales-table-modal__filters{flex-shrink:0}.table-modal--phone .table-modal__list,.table-modal--touch .table-modal__list,.table-modal--phone .sales-table-modal__list,.table-modal--touch .sales-table-modal__list{flex:1 1 0!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y;overscroll-behavior:contain}.table-modal--phone .modal-list-panel,.table-modal--touch .modal-list-panel{max-height:none!important}.table-modal__search-wrap{display:flex;align-items:center;gap:6px;width:100%}.table-modal__search-wrap input{flex:1;min-width:0}.table-modal-scroll-top{position:fixed;right:max(14px,env(safe-area-inset-right,0px));bottom:max(16px,env(safe-area-inset-bottom,0px));z-index:50002;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:none;border-radius:50%;background:rgba(37,99,235,.92);color:#fff;box-shadow:0 4px 14px #00000059;cursor:pointer;touch-action:manipulation;transition:transform .15s ease,background .15s ease}.table-modal-scroll-top:active{transform:scale(.94)}body.dark-mode-active .table-modal-scroll-top{background:#2563eb;color:#fff}[dir=rtl] .table-modal-scroll-top{right:auto;left:max(14px,env(safe-area-inset-left,0px))}@media (max-width: 767px){.table-modal-host{padding:0!important;align-items:stretch!important}.table-modal,.sales-table-modal,.modal-content.table-modal,.modal-content.sales-table-modal,.table-modal-host>.table-modal{width:100%!important;max-width:100%!important;min-height:100dvh!important;max-height:100dvh!important;height:100dvh!important;border-radius:0!important;padding:10px!important}.table-modal--phone .table-modal__header,.sales-table-modal--phone .sales-table-modal__header,.table-modal--touch .table-modal__header,.table-modal--touch .sales-table-modal__header,.suppliers-parts-modal__header{margin-bottom:10px!important;padding:10px 12px!important;border-radius:10px!important;flex-wrap:wrap;gap:8px}.table-modal__header h2,.table-modal__header h3,.sales-table-modal__header h3,.suppliers-parts-modal__header h3{font-size:16px!important;gap:8px!important}.table-modal__header h2 svg,.table-modal__header h3 svg,.sales-table-modal__header h3 svg,.suppliers-parts-modal__header h3 svg{font-size:18px!important}.table-modal__stats,.sales-table-modal__stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-bottom:10px!important}.table-modal__stats>div,.sales-table-modal__stats>div{padding:10px 8px!important;border-radius:10px!important}.table-modal__stat-value,.sales-table-modal__stat-value{font-size:15px!important;line-height:1.2;word-break:break-word}.table-modal__stat-label,.sales-table-modal__stat-label{font-size:10px!important;line-height:1.2}.kpi-grid--modal-stats{margin-bottom:10px!important}.kpi-grid--modal-stats .kpi-tile{min-height:58px!important;padding:8px 10px!important;gap:8px!important}.kpi-grid--modal-stats .kpi-tile__icon{width:32px!important;height:32px!important;border-radius:8px!important}.kpi-grid--modal-stats .kpi-tile__value{font-size:14px!important}.kpi-grid--modal-stats .kpi-tile__label{font-size:9px!important}.table-modal__filters,.sales-table-modal__filters,.table-modal .module-filter-bar,.sales-table-modal .module-filter-bar,.modal-content .module-filter-bar{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;align-items:end!important;flex-direction:unset!important;flex-wrap:unset!important;padding:10px!important;margin-bottom:8px!important;border-radius:10px!important}.sales-table-modal__filters{grid-template-columns:1fr 1fr 1fr!important}.sales-table-modal__filters>div:nth-child(1){grid-column:1;grid-row:1}.sales-table-modal__filters>div:nth-child(2){grid-column:2;grid-row:1}.sales-table-modal__filters>div:nth-child(3){grid-column:1;grid-row:2}.sales-table-modal__filters>div:nth-child(4){grid-column:2;grid-row:2}.sales-table-modal__filters-reset{grid-column:3;grid-row:2;display:flex!important;justify-content:flex-end;align-items:flex-end;margin-left:0!important}.sales-table-modal__filters-reset .sales-table-modal__reset-btn{width:auto!important;min-width:0;padding:10px 8px!important;font-size:11px!important;white-space:nowrap}.table-modal__filters>div,.sales-table-modal__filters>div,.table-modal .module-filter-bar>div,.modal-content .module-filter-bar>div{width:100%!important;min-width:0!important}.table-modal .module-filter-bar>div:only-child,.modal-content .module-filter-bar>div:only-child{grid-column:1 / -1}.table-modal__filters label,.sales-table-modal__filters label,.modal-content .module-filter-bar label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.table-modal__filters input,.table-modal__filters select,.sales-table-modal__filters input,.sales-table-modal__filters select,.modal-content .module-filter-bar input,.modal-content .module-filter-bar select{padding:8px 10px!important;font-size:13px!important;height:38px!important;box-sizing:border-box}.modal-overlay:has(.sales-table-modal--phone),.modal-overlay:has(.table-modal--phone){padding:0!important;align-items:stretch!important}.suppliers-parts-modal__header{flex-wrap:wrap;gap:8px}.suppliers-parts-modal__add-btn{flex:1;min-width:0;font-size:12px!important;padding:8px 10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;justify-content:center}.modal-list-panel{max-height:min(420px,48dvh);padding:6px}.table-modal__list .modal-list-panel,.table-modal__list .module-list-card--modal{max-height:none!important;overflow:visible!important}.table-modal__list,.sales-table-modal__list{flex:1 1 0!important;min-height:0!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important}}@media (min-width: 768px) and (max-width: 1023px){.table-modal--touch,.sales-table-modal.table-modal--touch,.modal-content.table-modal--touch,.modal-content.sales-table-modal.table-modal--touch,.table-modal-host>.table-modal--touch{width:96vw!important;height:92dvh!important;max-height:92dvh!important;padding:12px!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}.table-modal__stats,.sales-table-modal__stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}.table-modal--touch .module-list-card--modal .module-list-grid,.table-modal__list .module-list-card--modal .module-list-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width: 768px) and (max-width: 1199px) and (orientation: portrait){.table-modal--touch,.table-modal-host .table-modal--touch,.modal-overlay .table-modal--touch,.modal-content.table-modal--touch,.modal-content.sales-table-modal.table-modal--touch{width:96vw!important;max-width:1100px!important;height:92dvh!important;max-height:92dvh!important;padding:12px!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}.table-modal--touch .sales-table-modal__stats{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px!important;margin-bottom:8px!important}.table-modal--touch .table-modal__stats{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin-bottom:8px!important}.table-modal--touch .kpi-grid--modal-stats{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:6px!important;margin-bottom:8px!important}.table-modal--touch .table-modal__stats>div,.table-modal--touch .sales-table-modal__stats>div{padding:8px 6px!important}.table-modal--touch .table-modal__stat-value,.table-modal--touch .sales-table-modal__stat-value{font-size:14px!important}.table-modal--touch .table-modal__stat-label,.table-modal--touch .sales-table-modal__stat-label{font-size:9px!important}.table-modal--touch .table-modal__filters,.table-modal--touch .sales-table-modal__filters,.table-modal--touch .module-filter-bar.table-modal__filters,.table-modal--touch .module-filter-bar.sales-table-modal__filters{display:grid!important;flex-wrap:nowrap!important;gap:8px!important;padding:10px!important;margin-bottom:8px!important;align-items:end!important}.table-modal--touch .table-modal__filters>*,.table-modal--touch .sales-table-modal__filters>*{grid-column:auto!important;grid-row:1!important;min-width:0!important;width:100%!important}.table-modal--touch .table-modal__filters label,.table-modal--touch .sales-table-modal__filters label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.table-modal--touch .table-modal__filters input,.table-modal--touch .table-modal__filters select,.table-modal--touch .sales-table-modal__filters input,.table-modal--touch .sales-table-modal__filters select{padding:8px!important;font-size:12px!important;height:36px!important;box-sizing:border-box}.table-modal--touch .sales-table-modal__filters{grid-template-columns:minmax(0,2fr) minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr) auto!important}.table-modal--touch .sales-table-modal__filters-reset{display:flex!important;align-items:flex-end!important;justify-content:flex-end!important;margin-left:0!important}.table-modal--touch .sales-table-modal__reset-btn{width:auto!important;min-width:56px!important;max-width:100%;padding:8px 10px!important;font-size:11px!important;height:36px!important;white-space:nowrap}.table-modal--touch .table-modal__filters:has(>div:nth-child(2):last-child){grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}.table-modal--touch .table-modal__filters:has(>div:nth-child(3):last-child){grid-template-columns:minmax(0,2fr) minmax(0,1.5fr) minmax(0,1fr)!important}.table-modal--touch .table-modal__filters:has(>div:nth-child(4):last-child){grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr)!important}.table-modal--touch .table-modal__filters:has(>div:only-child){grid-template-columns:1fr!important}.table-modal--touch .table-modal__list,.table-modal--touch .sales-table-modal__list{flex:1 1 0!important;min-height:0!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y}.table-modal--touch .module-list-card--modal .module-list-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-height: 900px){.table-modal-host:has(.table-modal--phone),.table-modal-host:has(.table-modal--touch),.modal-overlay:has(.table-modal--phone),.modal-overlay:has(.sales-table-modal--phone),.modal-overlay:has(.table-modal--touch){align-items:stretch!important;padding:0!important}.table-modal--phone,.sales-table-modal--phone,.table-modal.table-modal--touch,.modal-content.table-modal--phone,.modal-content.sales-table-modal--phone,.modal-content.sales-table-modal.table-modal--touch,.modal-content.table-modal.table-modal--touch,.table-modal-host>.table-modal--phone,.table-modal-host>.table-modal--touch{display:flex!important;flex-direction:column!important;overflow:hidden!important;height:100dvh!important;max-height:100dvh!important;width:100%!important;max-width:100%!important;border-radius:0!important;padding:8px!important;box-sizing:border-box!important}.table-modal--phone .table-modal__header,.sales-table-modal--phone .sales-table-modal__header,.table-modal--touch .table-modal__header,.table-modal--touch .sales-table-modal__header,.table-modal--phone .table-modal__stats,.sales-table-modal--phone .sales-table-modal__stats,.table-modal--touch .table-modal__stats,.table-modal--touch .sales-table-modal__stats,.table-modal--phone .table-modal__filters,.sales-table-modal--phone .sales-table-modal__filters,.table-modal--touch .table-modal__filters,.table-modal--touch .sales-table-modal__filters,.table-modal--phone .kpi-grid--modal-stats,.table-modal--touch .kpi-grid--modal-stats{flex-shrink:0!important}.table-modal--phone .table-modal__stats,.sales-table-modal--phone .sales-table-modal__stats,.table-modal--touch .table-modal__stats,.table-modal--touch .sales-table-modal__stats{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;margin-bottom:6px!important}.sales-table-modal--phone .sales-table-modal__stats,.table-modal--touch .sales-table-modal__stats{grid-template-columns:repeat(5,minmax(0,1fr))!important}.table-modal--phone .kpi-grid--modal-stats,.table-modal--touch .kpi-grid--modal-stats{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:4px!important;margin-bottom:6px!important}.table-modal--phone .table-modal__stats>div,.sales-table-modal--phone .sales-table-modal__stats>div,.table-modal--touch .table-modal__stats>div,.table-modal--touch .sales-table-modal__stats>div{padding:6px 4px!important}.table-modal--phone .table-modal__stat-value,.sales-table-modal--phone .sales-table-modal__stat-value,.table-modal--touch .table-modal__stat-value,.table-modal--touch .sales-table-modal__stat-value{font-size:12px!important}.table-modal--phone .table-modal__stat-label,.sales-table-modal--phone .sales-table-modal__stat-label,.table-modal--touch .table-modal__stat-label,.table-modal--touch .sales-table-modal__stat-label{font-size:8px!important}.table-modal--phone .table-modal__filters,.sales-table-modal--phone .sales-table-modal__filters,.table-modal--touch .table-modal__filters,.table-modal--touch .sales-table-modal__filters,.table-modal--phone .module-filter-bar,.table-modal--touch .module-filter-bar{padding:8px!important;margin-bottom:6px!important;gap:6px!important}.table-modal--phone .table-modal__filters label,.sales-table-modal--phone .sales-table-modal__filters label,.table-modal--touch .table-modal__filters label,.table-modal--touch .sales-table-modal__filters label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.table-modal--phone .table-modal__filters,.sales-table-modal--phone .sales-table-modal__filters,.table-modal--touch .table-modal__filters,.table-modal--touch .sales-table-modal__filters{display:grid!important;align-items:end!important}.sales-table-modal--phone .sales-table-modal__filters,.table-modal--touch .sales-table-modal__filters{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) auto!important}.sales-table-modal--phone .sales-table-modal__filters>*,.table-modal--touch .sales-table-modal__filters>*{grid-row:1!important;min-width:0!important}.sales-table-modal--phone .sales-table-modal__reset-btn,.table-modal--touch .sales-table-modal__reset-btn{width:auto!important;min-width:48px!important;padding:6px 8px!important;font-size:10px!important;height:34px!important}.table-modal--phone .table-modal__filters:has(>div:nth-child(2):last-child),.table-modal--touch .table-modal__filters:has(>div:nth-child(2):last-child){grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}.table-modal--phone .table-modal__filters:has(>div:nth-child(3):last-child),.table-modal--touch .table-modal__filters:has(>div:nth-child(3):last-child){grid-template-columns:minmax(0,2fr) minmax(0,1.5fr) minmax(0,1fr)!important}.table-modal--phone .table-modal__filters:has(>div:nth-child(4):last-child),.table-modal--touch .table-modal__filters:has(>div:nth-child(4):last-child){grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1fr)!important}.table-modal--phone .table-modal__filters>*,.table-modal--phone .table-modal__filters:has(>div:nth-child(2):last-child)>*,.table-modal--phone .table-modal__filters:has(>div:nth-child(3):last-child)>*,.table-modal--phone .table-modal__filters:has(>div:nth-child(4):last-child)>*,.table-modal--touch .table-modal__filters>*,.table-modal--touch .table-modal__filters:has(>div:nth-child(2):last-child)>*,.table-modal--touch .table-modal__filters:has(>div:nth-child(3):last-child)>*,.table-modal--touch .table-modal__filters:has(>div:nth-child(4):last-child)>*{grid-row:1!important;min-width:0!important}.table-modal--phone .table-modal__list,.sales-table-modal--phone .sales-table-modal__list,.table-modal--touch .table-modal__list,.table-modal--touch .sales-table-modal__list{flex:1 1 0!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y;overscroll-behavior:contain}.table-modal--phone .table-modal__list .modal-list-panel,.table-modal--touch .table-modal__list .modal-list-panel,.table-modal--phone .table-modal__list .module-list-card--modal,.table-modal--touch .table-modal__list .module-list-card--modal{max-height:none!important;overflow:visible!important}}
