:root{--success-light:#d1fae5;--warning-light:#fef3c7;--info-light:#dbeafe;--bg-darker:#111827;--text-white:#fff;--border-dark:#374151;--box-shadow-xl:0 12px 32px #0003;--transition-slow:all 0.5s ease;--transition-fast:all 0.15s ease;--spacing-xs:0.25rem;--spacing-sm:0.5rem;--spacing-md:1rem;--spacing-lg:1.5rem;--spacing-xl:2rem;--spacing-2xl:3rem;--font-family:"Cairo",-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;--font-size-xs:0.75rem;--font-size-sm:0.875rem;--font-size-base:1rem;--font-size-lg:1.125rem;--font-size-xl:1.25rem;--font-size-2xl:1.5rem;--font-size-3xl:1.875rem;--font-size-4xl:2.25rem}*,:after,:before{box-sizing:border-box;margin:0;padding:0}html{font-size:16px;scroll-behavior:smooth}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:linear-gradient(135deg,#f3f4f6,#f9fafb);background:linear-gradient(135deg,var(--bg-lighter) 0,var(--bg-light) 100%);direction:rtl;font-family:Cairo,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-family:var(--font-family);font-weight:400;line-height:1.6;margin:0;min-height:100vh}body,h1,h2,h3,h4,h5,h6{color:#1f2937;color:var(--text-primary)}h1,h2,h3,h4,h5,h6{font-weight:700;line-height:1.3;margin-bottom:1rem;margin-bottom:var(--spacing-md)}h1{font-size:2.25rem;font-size:var(--font-size-4xl)}h2{font-size:1.875rem;font-size:var(--font-size-3xl)}h3{font-size:1.5rem;font-size:var(--font-size-2xl)}h4{font-size:1.25rem;font-size:var(--font-size-xl)}h5{font-size:1.125rem;font-size:var(--font-size-lg)}h6{font-size:1rem;font-size:var(--font-size-base)}p{color:#6b7280;color:var(--text-secondary);margin-bottom:1rem;margin-bottom:var(--spacing-md)}a{color:#667eea;color:var(--primary-color);text-decoration:none;transition:all .3s ease;transition:var(--transition)}a:hover{color:#764ba2;color:var(--primary-dark)}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar-track{background:#f3f4f6;background:var(--bg-lighter)}::-webkit-scrollbar-thumb,::-webkit-scrollbar-track{border-radius:8px;border-radius:var(--border-radius-sm)}::-webkit-scrollbar-thumb{background:#9ca3af;background:var(--text-light);-webkit-transition:all .3s ease;transition:all .3s ease;-webkit-transition:var(--transition);transition:var(--transition)}::-webkit-scrollbar-thumb:hover{background:#6b7280;background:var(--text-secondary)}::selection{background:#667eea1a;background:var(--primary-light);color:#764ba2;color:var(--primary-dark)}::-moz-selection{background:#667eea1a;background:var(--primary-light);color:#764ba2;color:var(--primary-dark)}:focus{outline:2px solid #667eea;outline:2px solid var(--primary-color);outline-offset:2px}:focus:not(:focus-visible){outline:none}button{align-items:center;border:none;border-radius:12px;border-radius:var(--border-radius);cursor:pointer;display:inline-flex;font-family:inherit;font-weight:600;gap:.5rem;gap:var(--spacing-sm);justify-content:center;overflow:hidden;position:relative;transition:all .3s ease;transition:var(--transition)}button:disabled{cursor:not-allowed;opacity:.6;transform:none!important}input,select,textarea{background-color:#fff;background-color:var(--bg-white);border:2px solid #e5e7eb;border:2px solid var(--border-color);border-radius:12px;border-radius:var(--border-radius);color:#1f2937;color:var(--text-primary);direction:rtl;font-family:inherit;font-size:1rem;font-size:var(--font-size-base);padding:.75rem 1rem;transition:all .3s ease;transition:var(--transition)}input:focus,select:focus,textarea:focus{border-color:#667eea;border-color:var(--primary-color);box-shadow:0 0 0 3px #667eea1a;outline:none}input:hover,select:hover,textarea:hover{border-color:#9ca3af;border-color:var(--text-light)}.container{margin:0 auto;max-width:1200px;padding:0 1rem;padding:0 var(--spacing-md);width:100%}.flex{display:flex}.flex-center{justify-content:center}.flex-between,.flex-center{align-items:center;display:flex}.flex-between{justify-content:space-between}.flex-column{display:flex;flex-direction:column}.grid{display:grid}.body-no-scroll{overflow:hidden}.custom-toast-container{max-width:500px;min-width:380px;width:auto}.custom-toast{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid #fff3;border-radius:16px!important;border-radius:var(--border-radius-lg)!important;box-shadow:0 8px 24px #00000026!important;box-shadow:var(--box-shadow-lg)!important;font-family:Cairo,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif!important;font-family:var(--font-family)!important;font-weight:600!important;overflow:hidden;padding:1.5rem 2rem!important;padding:var(--spacing-lg) var(--spacing-xl)!important;position:relative}.custom-toast:before{content:"";height:100%;position:absolute;right:0;top:0;width:4px}.Toastify__progress-bar{background:linear-gradient(90deg,#0000,#fffc 50%,#0000)!important;height:3px!important}.Toastify__toast--success.custom-toast{background:linear-gradient(135deg,#10b981,#059669)!important;background:linear-gradient(135deg,var(--success-color) 0,#059669 100%)!important;color:#fff!important;color:var(--text-white)!important}.Toastify__toast--success.custom-toast:before{background:#d1fae5;background:var(--success-light)}.Toastify__toast--error.custom-toast{background:linear-gradient(135deg,#ef4444,#dc2626)!important;background:linear-gradient(135deg,var(--danger-color) 0,#dc2626 100%)!important;color:#fff!important;color:var(--text-white)!important}.Toastify__toast--error.custom-toast:before{background:#fee2e2;background:var(--danger-light)}.Toastify__toast--info.custom-toast{background:linear-gradient(135deg,#3b82f6,#2563eb)!important;background:linear-gradient(135deg,var(--info-color) 0,#2563eb 100%)!important;color:#fff!important;color:var(--text-white)!important}.Toastify__toast--info.custom-toast:before{background:#dbeafe;background:var(--info-light)}.Toastify__toast--warning.custom-toast{background:linear-gradient(135deg,#f59e0b,#d97706)!important;background:linear-gradient(135deg,var(--warning-color) 0,#d97706 100%)!important;color:#1f2937!important;color:var(--text-primary)!important}.Toastify__toast--warning.custom-toast:before{background:#fef3c7;background:var(--warning-light)}@keyframes slideInRight{0%{opacity:0;transform:translateX(30px)}to{opacity:1;transform:translateX(0)}}@keyframes slideInLeft{0%{opacity:0;transform:translateX(-30px)}to{opacity:1;transform:translateX(0)}}@keyframes scaleIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.loading-shimmer{animation:shimmer 2s linear infinite;background:linear-gradient(90deg,#f3f4f6 4%,#f9fafb 25%,#f3f4f6 36%);background:linear-gradient(to right,var(--bg-lighter) 4%,var(--bg-light) 25%,var(--bg-lighter) 36%);background-size:1000px 100%}@media (max-width:1200px){.container{max-width:992px}}@media (max-width:992px){.container{max-width:768px;padding:0 1.5rem;padding:0 var(--spacing-lg)}html{font-size:15px}}@media (max-width:768px){.container{max-width:576px;padding:0 1rem;padding:0 var(--spacing-md)}html{font-size:14px}.custom-toast-container{left:50%;min-width:0;transform:translateX(-50%);width:90vw}.custom-toast{font-size:.875rem!important;font-size:var(--font-size-sm)!important;padding:1rem 1.5rem!important;padding:var(--spacing-md) var(--spacing-lg)!important}}@media (max-width:576px){.container{max-width:100%;padding:0 .5rem;padding:0 var(--spacing-sm)}html{font-size:14px}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}.sr-only{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}@media print{*{background:#0000!important;box-shadow:none!important;color:#000!important;text-shadow:none!important}body{background:#fff!important}.no-print{display:none!important}}:root{--toastify-color-light:#fff;--toastify-color-dark:#121212;--toastify-color-info:#3498db;--toastify-color-success:#07bc0c;--toastify-color-warning:#f1c40f;--toastify-color-error:#e74d3c;--toastify-color-transparent:#ffffffb3;--toastify-icon-color-info:var(--toastify-color-info);--toastify-icon-color-success:var(--toastify-color-success);--toastify-icon-color-warning:var(--toastify-color-warning);--toastify-icon-color-error:var(--toastify-color-error);--toastify-container-width:fit-content;--toastify-toast-width:320px;--toastify-toast-offset:16px;--toastify-toast-top:max(var(--toastify-toast-offset),env(safe-area-inset-top));--toastify-toast-right:max(var(--toastify-toast-offset),env(safe-area-inset-right));--toastify-toast-left:max(var(--toastify-toast-offset),env(safe-area-inset-left));--toastify-toast-bottom:max(var(--toastify-toast-offset),env(safe-area-inset-bottom));--toastify-toast-background:#fff;--toastify-toast-padding:14px;--toastify-toast-min-height:64px;--toastify-toast-max-height:800px;--toastify-toast-bd-radius:6px;--toastify-toast-shadow:0px 4px 12px #0000001a;--toastify-font-family:sans-serif;--toastify-z-index:9999;--toastify-text-color-light:#757575;--toastify-text-color-dark:#fff;--toastify-text-color-info:#fff;--toastify-text-color-success:#fff;--toastify-text-color-warning:#fff;--toastify-text-color-error:#fff;--toastify-spinner-color:#616161;--toastify-spinner-color-empty-area:#e0e0e0;--toastify-color-progress-light:linear-gradient(90deg,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55);--toastify-color-progress-dark:#bb86fc;--toastify-color-progress-info:var(--toastify-color-info);--toastify-color-progress-success:var(--toastify-color-success);--toastify-color-progress-warning:var(--toastify-color-warning);--toastify-color-progress-error:var(--toastify-color-error);--toastify-color-progress-bgo:0.2}.Toastify__toast-container{box-sizing:border-box;color:#fff;display:flex;flex-direction:column;position:fixed;-webkit-transform:translateZ(9999);-webkit-transform:translateZ(var(--toastify-z-index));width:-webkit-fit-content;width:fit-content;width:var(--toastify-container-width);z-index:9999;z-index:var(--toastify-z-index)}.Toastify__toast-container--top-left{left:max(16px,env(safe-area-inset-left));left:var(--toastify-toast-left);top:max(16px,env(safe-area-inset-top));top:var(--toastify-toast-top)}.Toastify__toast-container--top-center{align-items:center;left:50%;top:max(16px,env(safe-area-inset-top));top:var(--toastify-toast-top);transform:translateX(-50%)}.Toastify__toast-container--top-right{align-items:end;right:max(16px,env(safe-area-inset-right));right:var(--toastify-toast-right);top:max(16px,env(safe-area-inset-top));top:var(--toastify-toast-top)}.Toastify__toast-container--bottom-left{bottom:max(16px,env(safe-area-inset-bottom));bottom:var(--toastify-toast-bottom);left:max(16px,env(safe-area-inset-left));left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{align-items:center;bottom:max(16px,env(safe-area-inset-bottom));bottom:var(--toastify-toast-bottom);left:50%;transform:translateX(-50%)}.Toastify__toast-container--bottom-right{align-items:end;bottom:max(16px,env(safe-area-inset-bottom));bottom:var(--toastify-toast-bottom);right:max(16px,env(safe-area-inset-right));right:var(--toastify-toast-right)}.Toastify__toast{--y:0;align-items:center;border-radius:6px;border-radius:var(--toastify-toast-bd-radius);box-shadow:0 4px 12px #0000001a;box-shadow:var(--toastify-toast-shadow);box-sizing:border-box;display:flex;flex:1 1 auto;font-family:sans-serif;font-family:var(--toastify-font-family);margin-bottom:1rem;max-height:800px;max-height:var(--toastify-toast-max-height);min-height:64px;min-height:var(--toastify-toast-min-height);padding:14px;padding:var(--toastify-toast-padding);position:relative;touch-action:none;width:320px;width:var(--toastify-toast-width);word-break:break-word;z-index:0}@media only screen and (max-width:480px){.Toastify__toast-container{left:env(safe-area-inset-left);margin:0;width:100vw}.Toastify__toast-container--top-center,.Toastify__toast-container--top-left,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translateX(0)}.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translateX(0)}.Toastify__toast-container--rtl{left:auto;right:env(safe-area-inset-right)}.Toastify__toast{--toastify-toast-width:100%;border-radius:0;margin-bottom:0}}.Toastify__toast-container[data-stacked=true]{width:320px;width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s;width:100%}.Toastify__toast--stacked[data-collapsed] .Toastify__close-button,.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{bottom:100%;content:"";height:calc(var(--g)*1px);left:0;position:absolute;right:0}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{bottom:0;content:"";height:100%;left:0;position:absolute;right:0;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{-webkit-margin-end:10px;display:flex;flex-shrink:0;margin-inline-end:10px;width:22px}.Toastify--animate{animation-duration:.5s;animation-fill-mode:both}.Toastify--animate-icon{animation-duration:.3s;animation-fill-mode:both}.Toastify__toast-theme--dark{background:#121212;background:var(--toastify-color-dark);color:#fff;color:var(--toastify-text-color-dark)}.Toastify__toast-theme--colored.Toastify__toast--default,.Toastify__toast-theme--light{background:#fff;background:var(--toastify-color-light);color:#757575;color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{background:#3498db;background:var(--toastify-color-info);color:#fff;color:var(--toastify-text-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{background:#07bc0c;background:var(--toastify-color-success);color:#fff;color:var(--toastify-text-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{background:#f1c40f;background:var(--toastify-color-warning);color:#fff;color:var(--toastify-text-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{background:#e74d3c;background:var(--toastify-color-error);color:#fff;color:var(--toastify-text-color-error)}.Toastify__progress-bar-theme--light{background:linear-gradient(90deg,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55);background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:#bb86fc;background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:#3498db;background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:#07bc0c;background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:#f1c40f;background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:#e74d3c;background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning{background:#ffffffb3;background:var(--toastify-color-transparent)}.Toastify__close-button{background:#0000;border:none;color:#fff;cursor:pointer;opacity:.7;outline:none;padding:0;position:absolute;right:6px;top:6px;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:auto}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:focus,.Toastify__close-button:hover{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{bottom:0;height:100%;left:0;opacity:.7;position:absolute;transform-origin:left;width:100%;z-index:1}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{border-bottom-left-radius:0;left:auto;right:0;transform-origin:right}.Toastify__progress-bar--wrp{border-bottom-left-radius:6px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:6px;border-bottom-right-radius:var(--toastify-toast-bd-radius);bottom:0;height:5px;left:0;overflow:hidden;position:absolute;width:100%}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{height:100%;opacity:.2;opacity:var(--toastify-color-progress-bgo);width:100%}.Toastify__spinner{animation:Toastify__spin .65s linear infinite;border:2px solid #e0e0e0;border-color:var(--toastify-spinner-color-empty-area);border-radius:100%;border-right-color:#616161;border-right-color:var(--toastify-spinner-color);box-sizing:border-box;height:20px;width:20px}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--bottom-left,.Toastify__bounce-enter--top-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--bottom-right,.Toastify__bounce-enter--top-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--bottom-left,.Toastify__bounce-exit--top-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--bottom-right,.Toastify__bounce-exit--top-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{animation-timing-function:ease-in;opacity:0;transform:perspective(400px) rotateX(90deg)}40%{animation-timing-function:ease-in;transform:perspective(400px) rotateX(-20deg)}60%{opacity:1;transform:perspective(400px) rotateX(10deg)}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{opacity:1;transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg)}to{opacity:0;transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg)}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(110%,var(--y),0);visibility:hidden}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(-110%,var(--y),0);visibility:hidden}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(0,500px,0);visibility:hidden}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(0,-500px,0);visibility:hidden}}.Toastify__slide-enter--bottom-left,.Toastify__slide-enter--top-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--bottom-right,.Toastify__slide-enter--top-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--bottom-left,.Toastify__slide-exit--top-left{animation-duration:.3s;animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in}.Toastify__slide-exit--bottom-right,.Toastify__slide-exit--top-right{animation-duration:.3s;animation-name:Toastify__slideOutRight;animation-timing-function:ease-in}.Toastify__slide-exit--top-center{animation-duration:.3s;animation-name:Toastify__slideOutUp;animation-timing-function:ease-in}.Toastify__slide-exit--bottom-center{animation-duration:.3s;animation-name:Toastify__slideOutDown;animation-timing-function:ease-in}@keyframes Toastify__spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}:root{--header-height:70px;--header-bg:#fff;--header-shadow:0 2px 12px #00000014;--box-shadow:0 4px 12px #0000001a}.app-header{background:linear-gradient(135deg,#fff,#fafbfc);background:linear-gradient(135deg,var(--header-bg) 0,#fafbfc 100%);border-bottom:1px solid #e5e7eb;border-bottom:1px solid var(--border-color);box-shadow:0 2px 12px #00000014;box-shadow:var(--header-shadow);direction:rtl;height:70px;height:var(--header-height);left:0;padding:0 2rem;position:fixed;right:0;top:0;z-index:900}.header-content{align-items:center;display:flex;height:100%;justify-content:space-between;margin:0 auto;max-width:1600px}.page-title{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);background:var(--primary-gradient);-webkit-background-clip:text;background-clip:text;color:#1f2937;color:var(--text-primary);font-size:1.5rem;font-weight:700;letter-spacing:.3px;margin:0;position:absolute;right:50%;transform:translateX(50%)}.desktop-nav{align-items:center;display:flex;gap:.5rem}.desktop-nav a{border-radius:12px;border-radius:var(--border-radius);color:#6b7280;color:var(--text-secondary);font-size:1rem;font-weight:600;overflow:hidden;padding:.6rem 1.25rem;position:relative;text-decoration:none;transition:all .3s ease;transition:var(--transition)}.desktop-nav a:before{background:linear-gradient(135deg,#667eea,#764ba2);background:var(--primary-gradient);bottom:0;content:"";height:3px;position:absolute;right:0;transition:width .3s ease;width:0}.desktop-nav a:hover{background-color:#f3f4f6;background-color:var(--bg-lighter);color:#1f2937;color:var(--text-primary)}.desktop-nav a:hover:before{width:100%}.desktop-nav a.active{background:linear-gradient(135deg,#667eea,#764ba2);background:var(--primary-gradient);box-shadow:0 4px 12px #667eea4d;color:#fff}.desktop-nav a.active:before{display:none}.user-menu{position:relative}.user-menu-trigger{align-items:center;background:linear-gradient(135deg,#f3f4f6,#fff);background:linear-gradient(135deg,var(--bg-lighter) 0,var(--bg-white) 100%);border:2px solid #e5e7eb;border:2px solid var(--border-color);border-radius:12px;border-radius:var(--border-radius);box-shadow:0 2px 6px #0000000d;color:#1f2937;color:var(--text-primary);cursor:pointer;display:flex;font-size:1rem;font-weight:600;gap:.75rem;padding:.6rem 1.25rem;transition:all .3s ease;transition:var(--transition)}.user-menu-trigger:hover{border-color:#667eea;border-color:var(--primary-color);box-shadow:0 4px 12px #667eea26;transform:translateY(-2px)}.user-menu-trigger span{font-family:Cairo,sans-serif}.user-menu-trigger svg{color:#667eea;color:var(--primary-color);font-size:1.4rem}.user-menu-dropdown{animation:dropdownSlideIn .3s ease-out;background:linear-gradient(135deg,#fff,#f9fafb);background:linear-gradient(135deg,var(--bg-white) 0,var(--bg-light) 100%);border:2px solid #e5e7eb;border:2px solid var(--border-color);border-radius:12px;border-radius:var(--border-radius);box-shadow:0 8px 24px #00000026;box-shadow:var(--box-shadow-lg);left:0;overflow:hidden;padding:.5rem;position:absolute;top:calc(100% + 15px);width:240px;z-index:901}@keyframes dropdownSlideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.user-menu-dropdown:before{border-bottom:8px solid #e5e7eb;border-bottom:8px solid var(--border-color);border-left:8px solid #0000;border-right:8px solid #0000;content:"";height:0;left:20px;position:absolute;top:-8px;width:0}.user-menu-dropdown:after{border-bottom:7px solid #fff;border-bottom:7px solid var(--bg-white);border-left:7px solid #0000;border-right:7px solid #0000;content:"";height:0;left:21px;position:absolute;top:-6px;width:0}.dropdown-header{background:#f3f4f6;background:var(--bg-lighter);border-bottom:2px solid #e5e7eb;border-bottom:2px solid var(--border-color);border-radius:12px;border-radius:var(--border-radius);color:#6b7280;color:var(--text-secondary);font-size:.95rem;margin-bottom:.5rem;padding:1rem 1.25rem}.dropdown-header strong{color:#667eea;color:var(--primary-color);font-weight:700}.dropdown-item{align-items:center;background:none;border:none;border-radius:12px;border-radius:var(--border-radius);color:#1f2937;color:var(--text-primary);cursor:pointer;display:flex;font-family:Cairo,sans-serif;font-size:.95rem;font-weight:600;gap:.75rem;padding:.85rem 1.25rem;text-align:right;text-decoration:none;transition:all .3s ease;transition:var(--transition);width:100%}.dropdown-item:hover{background:linear-gradient(135deg,#f3f4f6,#f9fafb);background:linear-gradient(135deg,var(--bg-lighter) 0,var(--bg-light) 100%);padding-right:1.5rem;transform:translateX(-4px)}.dropdown-item svg{color:#667eea;color:var(--primary-color);font-size:1.1rem}.dropdown-item.logout{border-top:2px solid #e5e7eb;border-top:2px solid var(--border-color);color:#ef4444;color:var(--danger-color);margin-top:.5rem;padding-top:1rem}.dropdown-item.logout:hover{background:linear-gradient(135deg,#fee2e2,#fecaca)}.dropdown-item.logout svg{color:#ef4444;color:var(--danger-color)}@media (max-width:992px){.app-header{padding:0 1.5rem}.desktop-nav{gap:.25rem}.desktop-nav a{font-size:.9rem;padding:.5rem 1rem}.page-title{font-size:1.3rem}}@media (max-width:768px){.app-header{height:60px;padding:0 1rem}.desktop-nav{display:none}.page-title{font-size:1.2rem;margin-left:auto;position:static;transform:none}.header-content{gap:1rem;justify-content:flex-end}.user-menu-trigger{font-size:.9rem;padding:.5rem 1rem}.user-menu-trigger span{display:none}.user-menu-trigger svg{font-size:1.5rem}.user-menu-dropdown{left:auto;right:0;width:220px}.user-menu-dropdown:before{left:auto;right:15px}.user-menu-dropdown:after{left:auto;right:16px}}@media (max-width:576px){.app-header{height:55px;padding:0 .75rem}.page-title{font-size:1rem}.user-menu-dropdown{width:200px}.dropdown-header{font-size:.85rem;padding:.75rem 1rem}.dropdown-item{font-size:.9rem;padding:.7rem 1rem}}:root{--bottom-nav-height:70px;--bottom-nav-bg:#fff;--bottom-nav-shadow:0 -4px 12px #00000014;--primary-light:#667eea1a}.bottom-nav{background:linear-gradient(180deg,#fff,#fafbfc);background:linear-gradient(180deg,var(--bottom-nav-bg) 0,#fafbfc 100%);border-top:2px solid #e5e7eb;bottom:0;box-shadow:0 -4px 12px #00000014;box-shadow:var(--bottom-nav-shadow);display:none;height:70px;height:var(--bottom-nav-height);left:0;padding:.5rem .5rem .75rem;position:fixed;right:0;z-index:900}.bottom-nav a{align-items:center;border-radius:12px;color:#6b7280;color:var(--text-secondary);display:flex;flex:1 1;flex-direction:column;gap:.35rem;justify-content:center;overflow:hidden;padding:.5rem;position:relative;text-decoration:none;transition:all .3s ease;transition:var(--transition)}.bottom-nav a:before{background:linear-gradient(135deg,#667eea,#764ba2);background:var(--primary-gradient);border-radius:0 0 3px 3px;content:"";height:3px;left:50%;position:absolute;top:0;transform:translateX(-50%);transition:width .3s ease;width:0}.bottom-nav a:hover{background-color:#667eea1a;background-color:var(--primary-light);color:#1f2937;color:var(--text-primary)}.bottom-nav a:hover:before{width:80%}.bottom-nav a.active{background:linear-gradient(135deg,#667eea1a,#667eea0d);background:linear-gradient(135deg,var(--primary-light) 0,#667eea0d 100%);color:#667eea;color:var(--primary-color)}.bottom-nav a.active:before{width:80%}.bottom-nav a svg{transition:all .3s ease;transition:var(--transition)}.bottom-nav a:hover svg{transform:scale(1.15)}.bottom-nav a.active svg{filter:drop-shadow(0 2px 4px rgba(102,126,234,.3));transform:scale(1.2)}.bottom-nav a span{font-family:Cairo,sans-serif;font-size:.7rem;font-weight:600;letter-spacing:.2px}@media (max-width:768px){.bottom-nav{display:flex}}@media (max-width:576px){.bottom-nav{height:65px;padding:.4rem .25rem .6rem}.bottom-nav a{gap:.25rem;padding:.35rem}.bottom-nav a svg{font-size:20px}.bottom-nav a span{font-size:.65rem}}@media (max-width:768px){@keyframes slideUp{0%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}.bottom-nav{animation:slideUp .4s ease-out}}.bottom-nav a:focus{outline:2px solid #667eea;outline:2px solid var(--primary-color);outline-offset:2px}.bottom-nav a:focus:not(:focus-visible){outline:none}@supports (padding-bottom:env(safe-area-inset-bottom)){.bottom-nav{height:calc(70px + env(safe-area-inset-bottom));height:calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));padding-bottom:calc(.75rem + env(safe-area-inset-bottom))}}.main-layout-new{background-color:var(--bg-light);min-height:100vh}.content-area-new{padding-bottom:65px;padding-top:70px}.content-wrapper-new{margin:0 auto;max-width:1400px;padding:1.5rem}@media (min-width:769px){.content-area-new{padding-bottom:0}.content-wrapper-new{padding:2rem}}.main-layout-new.full-page .content-area-new{padding-bottom:0;padding-top:0}.main-layout-new.full-page .content-wrapper-new{max-width:100%;padding:0}.login-container{align-items:center;background:linear-gradient(135deg,#f3f4f6,#f9fafb);background:linear-gradient(135deg,var(--bg-lighter) 0,var(--bg-light) 100%);direction:rtl;display:flex;font-family:Cairo,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;justify-content:center;min-height:100vh;padding:1rem}.login-card{background:linear-gradient(135deg,#fff,#fafbfc);background:linear-gradient(135deg,var(--bg-white) 0,#fafbfc 100%);border:1px solid #e5e7eb;border:1px solid var(--border-color);border-radius:16px;border-radius:var(--border-radius-lg);box-shadow:0 8px 24px #00000026;box-shadow:var(--box-shadow-lg);max-width:420px;overflow:hidden;padding:3rem 2.5rem;position:relative;text-align:center;width:100%}.login-card:before{background:linear-gradient(135deg,#667eea,#764ba2);background:var(--primary-gradient);content:"";height:5px;left:0;position:absolute;right:0;top:0}.login-card h2{color:#1f2937;color:var(--text-primary);font-size:2rem;font-weight:700;letter-spacing:.3px;margin-bottom:.75rem}.login-card p{color:#6b7280;color:var(--text-secondary);font-size:1.1rem;font-weight:500;line-height:1.6;margin-bottom:2.5rem}.input-group{margin-bottom:1.75rem;text-align:right}.input-group label{display:block;font-weight:700;margin-bottom:.75rem}.input-group input,.input-group label{color:#1f2937;color:var(--text-primary);font-size:1rem}.input-group input{background-color:#fff;background-color:var(--bg-white);border:2px solid #e5e7eb;border:2px solid var(--border-color);border-radius:12px;border-radius:var(--border-radius);box-sizing:border-box;direction:rtl;font-family:inherit;padding:1rem 1.25rem;transition:all .3s ease;transition:var(--transition);width:100%}.input-group input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.input-group input:hover{border-color:#9ca3af}.login-button{background:linear-gradient(135deg,#667eea,#764ba2);background:var(--primary-gradient);border:none;border-radius:12px;border-radius:var(--border-radius);box-shadow:0 4px 12px #667eea4d;color:#fff;cursor:pointer;font-family:Cairo,sans-serif;font-size:1.1rem;font-weight:700;overflow:hidden;padding:1rem 2rem;position:relative;transition:all .3s ease;transition:var(--transition);width:100%}.login-button:before{background:#fff3;border-radius:50%;content:"";height:0;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .6s,height .6s;width:0}.login-button:hover:not(:disabled){box-shadow:0 6px 16px #667eea66;transform:translateY(-3px)}.login-button:hover:not(:disabled):before{height:300px;width:300px}.login-button:active:not(:disabled){transform:translateY(-1px)}.login-button:disabled{background:linear-gradient(135deg,#9ca3af,#6b7280);box-shadow:0 2px 8px #0000001a;cursor:not-allowed;transform:none}.error-message{border:1px solid #fecaca;border-right:4px solid #ef4444;margin-bottom:1.5rem;padding:1rem 1.25rem;text-align:right}@media (max-width:768px){.login-container{padding:.75rem}.login-card{max-width:380px;padding:2.5rem 2rem}.login-card h2{font-size:1.75rem}.login-card p{font-size:1rem}.input-group input{padding:.9rem 1.1rem}.login-button{font-size:1.05rem;padding:.9rem 1.5rem}}@media (max-width:576px){.login-card{padding:2rem 1.5rem}.login-card h2{font-size:1.5rem}.input-group input{padding:.85rem 1rem}}.login-card{animation:fadeInUp .6s ease-out}.case-card{background:linear-gradient(135deg,#fff,#fafbfc);background:linear-gradient(135deg,var(--bg-white) 0,#fafbfc 100%);border-radius:12px;border-radius:var(--border-radius);border-top:5px solid #6b7280;border-top:5px solid var(--text-secondary);box-shadow:0 2px 8px #00000014;box-shadow:var(--box-shadow);display:flex;flex-direction:column;overflow:hidden;position:relative;transition:all .3s ease;transition:var(--transition)}.case-card:before{animation:shimmer 2s infinite;background:linear-gradient(90deg,#0000,#ffffff80 50%,#0000);content:"";height:5px;left:0;position:absolute;right:0;top:0}@keyframes shimmer{0%,to{transform:translateX(-100%)}50%{transform:translateX(100%)}}.case-card:hover{box-shadow:0 8px 24px #0000001f;box-shadow:var(--box-shadow-hover);transform:translateY(-8px)}.card-header{align-items:flex-start;background:linear-gradient(135deg,#f3f4f6,#fff);background:linear-gradient(135deg,var(--bg-lighter) 0,var(--bg-white) 100%);border-bottom:2px solid #e5e7eb;border-bottom:2px solid var(--border-color);display:flex;justify-content:space-between;padding:1.25rem}.header-left{display:flex;flex:1 1;flex-direction:column;gap:.75rem}.header-left h3{align-items:center;color:#1f2937;color:var(--text-primary);display:flex;font-size:1.4rem;font-weight:700;gap:.75rem;line-height:1.3;margin:0}.case-id{background:#f9fafb;background:var(--bg-light);border:2px solid #e5e7eb;border:2px solid var(--border-color);border-radius:20px;color:#9ca3af;color:var(--text-light);font-size:.85rem;font-weight:600;padding:.35rem .75rem}.status-badge{border-radius:20px;box-shadow:0 2px 8px #00000026;color:#fff;font-size:.8rem;font-weight:700;letter-spacing:.5px;padding:.5rem 1rem;text-transform:uppercase;width:-webkit-fit-content;width:fit-content}.header-right{align-items:center;display:flex}.price-tag{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#10b981,#059669);background:var(--success-gradient);-webkit-background-clip:text;background-clip:text;font-size:1.3rem;font-weight:800}.card-body{flex-grow:1;padding:1.25rem}.info-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(2,1fr);margin-bottom:1rem}.info-item{background:#f3f4f6;background:var(--bg-lighter);border-radius:12px;border-radius:var(--border-radius);display:flex;flex-direction:column;gap:.35rem;padding:.75rem;transition:all .3s ease;transition:var(--transition)}.info-item:hover{background:#f9fafb;background:var(--bg-light);transform:translateY(-2px)}.info-item.wide{grid-column:1/-1}.info-label{color:#6b7280;color:var(--text-secondary);font-size:.8rem;font-weight:600;letter-spacing:.3px;text-transform:uppercase}.info-value{color:#1f2937;color:var(--text-primary);font-size:1.05rem;font-weight:700}.initial-notes{background:linear-gradient(135deg,#fef3c7,#fde68a);border-radius:12px;border-radius:var(--border-radius);border-right:4px solid #f59e0b;color:#92400e;font-size:.95rem;font-weight:500;margin:0;padding:1rem}.initial-notes strong{color:#78350f}.card-tracking-info{background:linear-gradient(135deg,#f3f4f6,#f9fafb);background:linear-gradient(135deg,var(--bg-lighter) 0,var(--bg-light) 100%);border-top:2px solid #e5e7eb;border-top:2px solid var(--border-color);display:flex;flex-direction:column;gap:.75rem;padding:1rem 1.25rem}.tracking-item{align-items:center;background:#fff;background:var(--bg-white);border-radius:12px;border-radius:var(--border-radius);display:flex;font-size:.85rem;justify-content:space-between;padding:.5rem .75rem}.tracking-item span{color:#1f2937;color:var(--text-primary);font-weight:500}.tracking-item strong{color:#1f2937;color:var(--text-primary);font-weight:700}.tracking-item small{color:#6b7280;color:var(--text-secondary);font-size:.75rem;font-weight:600}.tracking-item.last-action{border-right:3px solid linear-gradient(135deg,#3b82f6,#2563eb);border-right:3px solid var(--info-gradient)}.card-footer{align-items:center;background:linear-gradient(135deg,#f9fafb,#f3f4f6);background:linear-gradient(135deg,var(--bg-light) 0,var(--bg-lighter) 100%);border-bottom-left-radius:12px;border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:12px;border-bottom-right-radius:var(--border-radius);display:flex;padding:1rem 1.25rem}.action-buttons,.card-footer{justify-content:flex-end}.action-buttons button{border:none;border-radius:12px;border-radius:var(--border-radius);box-shadow:0 2px 6px #0000001a;color:#fff;cursor:pointer;font-size:.9rem;font-weight:700;padding:.65rem 1.25rem;transition:all .3s ease;transition:var(--transition)}.action-buttons button:hover:not(:disabled){box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.action-buttons button:active:not(:disabled){transform:translateY(0)}.action-buttons button:disabled{cursor:not-allowed;opacity:.5;transform:none}.btn-transfer{background:linear-gradient(135deg,#10b981,#059669);background:var(--success-gradient)}.btn-transfer:hover:not(:disabled){box-shadow:0 4px 12px #10b9814d}.btn-reject{background:linear-gradient(135deg,#ef4444,#dc2626);background:var(--danger-gradient)}.btn-reject:hover:not(:disabled){box-shadow:0 4px 12px #ef44444d}.btn-edit{background:linear-gradient(135deg,#f59e0b,#d97706);background:var(--warning-gradient);color:#1f2937;color:var(--text-primary)}.btn-edit:hover:not(:disabled){box-shadow:0 4px 12px #f59e0b4d}.btn-action{background:linear-gradient(135deg,#3b82f6,#2563eb);background:var(--info-gradient)}.btn-action:hover:not(:disabled){box-shadow:0 4px 12px #3b82f64d}.btn-archive{background:linear-gradient(135deg,#6b7280,#4b5563)}.btn-archive:hover:not(:disabled){box-shadow:0 4px 12px #6b72804d}.status-scanner{border-top-color:#3b82f6}.status-scanner .status-badge{background:linear-gradient(135deg,#3b82f6,#2563eb);background:var(--info-gradient)}.status-design{border-top-color:#8b5cf6}.status-design .status-badge{background:linear-gradient(135deg,#8b5cf6,#7c3aed)}.status-production_phase{border-top-color:#f59e0b}.status-production_phase .status-badge{background:linear-gradient(135deg,#f59e0b,#d97706);background:var(--warning-gradient);color:#fff}.status-buildup{border-top-color:#fbbf24}.status-buildup .status-badge{background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#78350f}.status-delivery{border-top-color:#14b8a6}.status-delivery .status-badge{background:linear-gradient(135deg,#14b8a6,#0d9488)}.status-reception{border-top-color:#a855f7}.status-reception .status-badge{background:linear-gradient(135deg,#a855f7,#9333ea)}.status-completed{border-top-color:#10b981}.status-completed .status-badge{background:linear-gradient(135deg,#10b981,#059669);background:var(--success-gradient)}.status-rejected{border-top-color:#ef4444}.status-rejected .status-badge{background:linear-gradient(135deg,#ef4444,#dc2626);background:var(--danger-gradient)}.action-modal-overlay{align-items:center;animation:overlayFadeIn .3s ease-out;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:linear-gradient(135deg,#0009,#1f2937b3);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1050}.action-modal-content{animation:modalSlideIn .3s ease-out;background:linear-gradient(135deg,#fff,#f9fafb);background:linear-gradient(135deg,var(--bg-white) 0,var(--bg-light) 100%);border:2px solid #e5e7eb;border:2px solid var(--border-color);border-radius:12px;border-radius:var(--border-radius);box-shadow:0 12px 32px #00000026;box-shadow:var(--box-shadow-lg);max-width:450px;padding:2.5rem;text-align:center;width:90%}.action-modal-content h4{color:#1f2937;color:var(--text-primary);font-size:1.5rem;font-weight:700;margin-bottom:1.5rem;margin-top:0}.confirm-message{color:#6b7280;color:var(--text-secondary);font-size:1.1rem;font-weight:500;line-height:1.6;margin-bottom:2rem}.action-modal-buttons{display:flex;gap:1rem;justify-content:center}.action-modal-buttons button{border:none;border-radius:12px;border-radius:var(--border-radius);cursor:pointer;flex:1 1;font-size:1rem;font-weight:700;max-width:180px;padding:.85rem 2rem;transition:all .3s ease;transition:var(--transition)}.btn-confirm{background:linear-gradient(135deg,#667eea,#764ba2);background:var(--primary-gradient);box-shadow:0 4px 12px #667eea4d;color:#fff}.btn-confirm:hover:not(:disabled){box-shadow:0 6px 16px #667eea66;transform:translateY(-2px)}.btn-confirm:disabled{background:linear-gradient(135deg,#9ca3af,#6b7280);cursor:not-allowed;transform:none}@media (max-width:992px){.case-card{border-top-width:4px}.card-header{padding:1rem}.header-left h3{font-size:1.2rem}.price-tag{font-size:1.1rem}.info-grid{gap:.75rem}}@media (max-width:768px){.case-card{border-top-width:4px;box-shadow:0 2px 8px #0000001a}.case-card:hover{transform:translateY(-4px)}.card-header{flex-direction:column;gap:1rem;padding:1rem}.header-left{width:100%}.header-left h3{flex-wrap:wrap;font-size:1.15rem}.case-id{font-size:.8rem;padding:.3rem .6rem}.header-right{justify-content:flex-start;width:100%}.price-tag{font-size:1.2rem}.card-body{padding:1rem}.info-grid{gap:.75rem;grid-template-columns:1fr}.info-item{padding:.75rem}.card-tracking-info{padding:.75rem 1rem}.tracking-item{align-items:flex-start;flex-direction:column;gap:.35rem}.card-footer{padding:1rem}.action-buttons{justify-content:stretch;width:100%}.action-buttons button{flex:1 1;font-size:.85rem;min-width:0;padding:.75rem 1rem}.action-modal-content{margin:1rem;padding:2rem}.action-modal-content h4{font-size:1.3rem}.confirm-message{font-size:1rem}.action-modal-buttons{flex-direction:column}.action-modal-buttons button{max-width:none;width:100%}}@media (max-width:576px){.case-card{border-top-width:3px}.card-header{padding:.85rem}.header-left h3{font-size:1.05rem}.status-badge{font-size:.7rem;padding:.4rem .8rem}.card-body{padding:.85rem}.info-label{font-size:.75rem}.info-value{font-size:.95rem}.initial-notes{font-size:.85rem;padding:.75rem}.tracking-item{font-size:.8rem}.action-buttons button{font-size:.8rem;padding:.65rem .85rem}}.department-card{align-items:center;border-top:5px solid #ccc;display:flex;flex-direction:column;justify-content:space-between;min-height:200px;padding:2rem 1.5rem;text-align:center}.department-name{color:#1f2937;color:var(--text-primary);font-size:1.4rem;font-weight:700}.case-count,.department-name{margin:0;position:relative;z-index:1}.case-count{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);background:var(--primary-gradient);-webkit-background-clip:text;background-clip:text;font-size:3.5rem;font-weight:800;line-height:1}.card-footer-text{color:#6b7280;color:var(--text-secondary);font-size:.9rem;font-weight:600;position:relative;z-index:1}.department-card.status-scanner{border-top-color:#3b82f6}.department-card.status-scanner:hover{border-top-color:#2563eb}.department-card.status-design{border-top-color:#8b5cf6}.department-card.status-design:hover{border-top-color:#7c3aed}.department-card.status-milling{border-top-color:#f59e0b}.department-card.status-milling:hover{border-top-color:#d97706}.department-card.status-printing{border-top-color:#06b6d4}.department-card.status-printing:hover{border-top-color:#0891b2}.department-card.status-buildup{border-top-color:#fbbf24}.department-card.status-buildup:hover{border-top-color:#f59e0b}.department-card.status-delivery{border-top-color:#14b8a6}.department-card.status-delivery:hover{border-top-color:#0d9488}.department-card.status-reception{border-top-color:#a855f7}.department-card.status-reception:hover{border-top-color:#9333ea}@media (max-width:768px){.department-card{min-height:180px;padding:1.75rem 1.25rem}.department-name{font-size:1.25rem}.case-count{font-size:3rem}.card-footer-text{font-size:.85rem}}@media (max-width:576px){.department-card{min-height:160px;padding:1.5rem 1rem}.department-name{font-size:1.1rem}.case-count{font-size:2.5rem}}.department-card{animation:fadeInUp .5s ease-out backwards}:root{--box-shadow-lg:0 12px 32px #00000026}.modal-overlay{animation:overlayFadeIn .3s ease-out;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:linear-gradient(135deg,#0009,#1f2937b3);z-index:1050}@keyframes overlayFadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:linear-gradient(135deg,#fff,#f9fafb);background:linear-gradient(135deg,var(--bg-white) 0,var(--bg-light) 100%);border:1px solid #e5e7eb;border:1px solid var(--border-color);box-shadow:0 12px 32px #00000026;direction:rtl;max-width:520px;overflow:hidden;padding:2.5rem;position:relative;width:90%}.modal-content:before{background:linear-gradient(135deg,#667eea,#764ba2);background:var(--primary-gradient);content:"";height:4px;left:0;position:absolute;right:0;top:0}.modal-content h2{border-bottom:3px solid #e5e7eb;border-bottom:3px solid var(--border-color);font-size:1.75rem;margin-bottom:2rem;margin-top:0;position:relative;text-align:center}.modal-content h2:after{background:linear-gradient(135deg,#667eea,#764ba2);background:var(--primary-gradient);border-radius:2px;bottom:-3px;content:"";height:3px;position:absolute;right:50%;transform:translateX(50%);width:80px}.form-group{margin-bottom:1.5rem}.form-group label{display:block;font-size:1rem;font-weight:700;margin-bottom:.75rem;text-align:right}.form-group input,.form-group select,.form-group textarea{background-color:#fff;background-color:var(--bg-white);border:2px solid #e5e7eb;border:2px solid var(--border-color);border-radius:12px;border-radius:var(--border-radius);box-sizing:border-box;color:#1f2937;color:var(--text-primary);direction:rtl;font-family:Cairo,sans-serif;font-size:1rem;padding:1rem 1.25rem;transition:all .3s ease;transition:var(--transition);width:100%}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none;transform:translateY(-1px)}.form-group input:hover,.form-group select:hover,.form-group textarea:hover{border-color:#9ca3af}.form-group input:disabled,.form-group select:disabled,.form-group textarea:disabled{background-color:#f3f4f6;background-color:var(--bg-lighter);color:#9ca3af;color:var(--text-light);cursor:not-allowed;opacity:.7}.form-group textarea{line-height:1.6;min-height:100px;resize:vertical}.form-group-row{display:flex}.form-group-row .form-group{flex:1 1}.price-override-field{background:linear-gradient(135deg,#fef2f2,#fecaca .5%);border-radius:12px;border-radius:var(--border-radius);border-top:2px dashed #e5e7eb;border-top:2px dashed var(--border-color);margin-top:2rem;padding:1.5rem;position:relative}.price-override-field:before{background:linear-gradient(135deg,#ef4444,#dc2626);background:var(--danger-gradient);border-radius:20px;color:#fff;content:"تعديل إداري";font-size:.8rem;font-weight:700;letter-spacing:.5px;padding:.3rem 1rem;position:absolute;right:1rem;text-transform:uppercase;top:-10px}.price-override-field label{color:#dc2626;font-size:1.05rem;font-weight:800}.price-override-field input{background-color:#fef2f2;border:2px solid #ef4444;color:#dc2626;font-weight:700}.price-override-field input:focus{background-color:#fecaca;border-color:#dc2626;box-shadow:0 0 0 3px #dc26261a}.form-group select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:left 1rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-left:3rem}.form-group input[type=number]{font-weight:600;text-align:center}.form-group input[type=number]:focus{background-color:#f0f9ff;border-color:#3b82f6}.modal-actions{border-top:2px solid #e5e7eb;border-top:2px solid var(--border-color);justify-content:flex-end;margin-top:2.5rem;padding-top:1.5rem}.modal-actions button{border:none;border-radius:12px;border-radius:var(--border-radius);cursor:pointer;font-family:Cairo,sans-serif;font-size:1rem;font-weight:700;min-width:120px;overflow:hidden;padding:1rem 2rem;position:relative;transition:all .3s ease;transition:var(--transition)}.modal-actions button:before{background:#fff3;border-radius:50%;content:"";height:0;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .6s,height .6s;width:0}.modal-actions button:hover:not(:disabled):before{height:300px;width:300px}.btn-primary{background:linear-gradient(135deg,#10b981,#059669);background:var(--success-gradient);box-shadow:0 4px 12px #10b9814d}.btn-primary:hover:not(:disabled){box-shadow:0 6px 16px #10b98166}.btn-primary:disabled{background:linear-gradient(135deg,#9ca3af,#6b7280);box-shadow:0 2px 8px #0000001a}.btn-secondary{background:linear-gradient(135deg,#f3f4f6,#f9fafb);background:linear-gradient(135deg,var(--bg-lighter) 0,var(--bg-light) 100%)}.btn-secondary:hover:not(:disabled){background:#f9fafb;background:var(--bg-light);box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.modal-actions button:disabled{cursor:not-allowed;opacity:.7;transform:none}@media (max-width:768px){.modal-overlay{padding:.75rem}.modal-content{border-radius:12px;border-radius:var(--border-radius);max-width:450px;padding:2rem 1.5rem}.modal-content h2{font-size:1.5rem;margin-bottom:1.5rem}.form-group-row{flex-direction:column;gap:0}.modal-actions{flex-direction:column-reverse;gap:.75rem}.modal-actions button{min-width:0;width:100%}.price-override-field{margin-top:1.5rem;padding:1.25rem}}@media (max-width:576px){.modal-content{padding:1.75rem 1.25rem}.modal-content h2{font-size:1.3rem}.form-group input,.form-group select,.form-group textarea{font-size:.95rem;padding:.85rem 1rem}.form-group select{background-position:left .75rem center;padding-left:2.5rem}.price-override-field{padding:1rem}.price-override-field:before{font-size:.7rem;padding:.25rem .75rem}}.modal-content:focus{outline:none}.form-group input:focus-visible,.form-group select:focus-visible,.form-group textarea:focus-visible{outline:2px solid #667eea;outline-offset:2px}@keyframes shake{0%,to{transform:translateX(0)}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}.form-group input:invalid{animation:shake .5s ease-in-out}.form-group select option{direction:rtl;font-family:Cairo,sans-serif;padding:.5rem}.form-group select option:checked{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}:root{--secondary-gradient:linear-gradient(135deg,#6b7280,#4b5563);--box-shadow-hover:0 8px 24px #0000001f}.dashboard-page-container{direction:rtl;margin:0 auto;max-width:1600px;padding:2rem;width:100%}.page-header{gap:1.5rem;overflow:hidden;position:relative}.page-header:before{background:radial-gradient(circle,#ffffff1a 0,#0000 70%);border-radius:50%;content:"";height:300px;position:absolute;right:-10%;top:-50%;width:300px}.page-header h1{color:#fff;letter-spacing:.3px;position:relative;z-index:1}.btn{border:none;border-radius:12px;border-radius:var(--border-radius);box-shadow:0 2px 8px #00000026;cursor:pointer;font-family:Cairo,sans-serif;font-size:1rem;font-weight:700;overflow:hidden;padding:.85rem 1.75rem;position:relative;transition:all .3s ease;transition:var(--transition)}.btn:before{background:#ffffff4d;border-radius:50%;content:"";height:0;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .6s,height .6s;width:0}.btn:hover:before{height:300px;width:300px}.btn:hover{box-shadow:0 6px 16px #0003;transform:translateY(-3px)}.btn:active{transform:translateY(-1px)}.btn:disabled{cursor:not-allowed;opacity:.5;transform:none}.btn-primary-action{background:linear-gradient(135deg,#10b981,#059669);background:var(--success-gradient);color:#fff}.btn-primary-action:hover{box-shadow:0 6px 16px #10b9814d}.btn-secondary-action{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff40;border:2px solid #ffffff4d;color:#fff}.btn-secondary-action:hover{background:#ffffff59;border-color:#ffffff80}.tabs-container{background:#fff;background:var(--bg-white);border-radius:12px;border-radius:var(--border-radius);box-shadow:0 2px 8px #00000014;box-shadow:var(--box-shadow);display:flex;gap:1rem;margin-bottom:2rem;padding:1rem}.tabs-container .btn{flex:1 1;padding:.75rem 1.5rem}.departments-grid{grid-gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.case-list,.departments-grid{display:grid;gap:1.5rem;margin-top:1.5rem}.case-list{grid-gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(380px,1fr))}.no-cases{background:linear-gradient(135deg,#fff,#f9fafb);background:linear-gradient(135deg,var(--bg-white) 0,var(--bg-light) 100%);border:2px dashed #e5e7eb;border:2px dashed var(--border-color);border-radius:12px;border-radius:var(--border-radius);box-shadow:0 2px 8px #00000014;box-shadow:var(--box-shadow);grid-column:1/-1;padding:4rem 2rem;text-align:center}.no-cases p{color:#6b7280;color:var(--text-secondary);font-size:1.2rem;font-weight:600;margin:0}.error-message{box-shadow:0 2px 8px #00000014;box-shadow:var(--box-shadow);font-size:1.1rem;grid-column:1/-1;padding:2rem}.dashboard-page-container>p{color:#6b7280;color:var(--text-secondary);font-size:1.2rem;font-weight:600;padding:3rem;text-align:center}.loading-state{align-items:center;display:flex;justify-content:center;min-height:50vh}.loading-state p{color:#6b7280;color:var(--text-secondary);font-size:1.3rem;font-weight:600}@media (max-width:992px){.dashboard-page-container,.page-header{padding:1.5rem}.page-header h1{font-size:1.6rem}.btn{font-size:.95rem;padding:.75rem 1.5rem}.departments-grid{gap:1.25rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.case-list{gap:1.25rem;grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}}@media (max-width:768px){.dashboard-page-container{padding:1rem}.page-header{align-items:stretch;flex-direction:column;gap:1rem;padding:1.25rem}.page-header:before{display:none}.page-header h1{font-size:1.4rem;text-align:center}.btn{font-size:.95rem;padding:.85rem;width:100%}.tabs-container{flex-direction:column;padding:.75rem}.tabs-container .btn{padding:.85rem}.departments-grid{gap:1rem;grid-template-columns:1fr}.case-list{gap:1.25rem;grid-template-columns:1fr}.no-cases{padding:3rem 1.5rem}.no-cases p{font-size:1.05rem}.error-message{font-size:1rem;padding:1.5rem}}@media (max-width:576px){.dashboard-page-container{padding:.75rem}.page-header{border-radius:10px;padding:1rem}.page-header h1{font-size:1.2rem}.btn{font-size:.9rem;padding:.75rem}.tabs-container{gap:.75rem;padding:.5rem}.case-list{gap:1rem}.no-cases{padding:2rem 1rem}.no-cases p{font-size:1rem}}.department-card{background:linear-gradient(135deg,#fff,#f9fafb);background:linear-gradient(135deg,var(--bg-white) 0,var(--bg-light) 100%);border-radius:12px;border-radius:var(--border-radius);border-top:4px solid linear-gradient(135deg,#667eea,#764ba2);border-top:4px solid var(--primary-gradient);box-shadow:0 2px 8px #00000014;box-shadow:var(--box-shadow);cursor:pointer;overflow:hidden;padding:2rem;position:relative}.department-card,.department-card:before{transition:all .3s ease;transition:var(--transition)}.department-card:before{background:radial-gradient(circle,#667eea0d 0,#0000 70%);content:"";height:200%;position:absolute;right:-50%;top:-50%;transform:scale(0);width:200%}.department-card:hover{box-shadow:0 8px 24px #0000001f;box-shadow:var(--box-shadow-hover);transform:translateY(-8px)}.department-card:hover:before{transform:scale(1)}.department-card-title{color:#1f2937;color:var(--text-primary);font-size:1.3rem;font-weight:700;margin-bottom:1rem;position:relative;z-index:1}.department-card-count{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);background:var(--primary-gradient);-webkit-background-clip:text;background-clip:text;font-size:2.5rem;font-weight:800;position:relative;z-index:1}@keyframes fadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.case-list>*,.departments-grid>*{animation:fadeIn .5s ease-out backwards}.case-list>:first-child,.departments-grid>:first-child{animation-delay:.05s}.case-list>:nth-child(2),.departments-grid>:nth-child(2){animation-delay:.1s}.case-list>:nth-child(3),.departments-grid>:nth-child(3){animation-delay:.15s}.case-list>:nth-child(4),.departments-grid>:nth-child(4){animation-delay:.2s}.case-list>:nth-child(n+5),.departments-grid>:nth-child(n+5){animation-delay:.25s}@media print{.btn,.page-header button,.tabs-container{display:none}.page-header{background:#fff;box-shadow:none;color:#000}.page-header h1{color:#000;text-shadow:none}.case-list,.departments-grid{display:block}.case-card,.department-card{margin-bottom:1rem;page-break-inside:avoid}}*{box-sizing:border-box;margin:0;padding:0}.user-management-container{background-color:#f9fafb;background-color:var(--bg-light);direction:rtl;font-family:Cairo,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;margin:0 auto;max-width:1400px;min-height:100vh;padding:2rem}.page-header{border-radius:12px;border-radius:var(--border-radius);text-align:center}.content-layout{grid-gap:2rem;align-items:start;display:grid;gap:2rem;grid-template-columns:2fr 1fr}.users-list-section{background-color:#fff;background-color:var(--bg-white);border-radius:12px;border-radius:var(--border-radius);box-shadow:0 2px 8px #00000014;box-shadow:var(--box-shadow);overflow:hidden;padding:2rem}.users-list-section h3{border-bottom:3px solid #667eea;border-bottom:3px solid var(--primary-color);color:#1f2937;color:var(--text-primary);font-size:1.5rem;font-weight:700;margin-bottom:1.5rem;padding-bottom:1rem;position:relative}.users-list-section h3:after{background:linear-gradient(135deg,#667eea,#764ba2);background:var(--primary-gradient);border-radius:2px;bottom:-3px;content:"";height:3px;position:absolute;right:0;width:80px}.users-table-container{background-color:#fff;background-color:var(--bg-white);border:1px solid #e5e7eb;border:1px solid var(--border-color);border-radius:12px;border-radius:var(--border-radius);overflow-x:auto}.users-table{border-collapse:initial;border-radius:12px;border-radius:var(--border-radius);border-spacing:0;overflow:hidden;width:100%}.users-table thead{background:linear-gradient(135deg,#667eea,#764ba2);background:var(--primary-gradient)}.users-table thead th{border:none;color:#fff;font-size:.9rem;font-weight:600;letter-spacing:.5px;padding:1.2rem 1rem;text-align:right;text-transform:uppercase;white-space:nowrap}.users-table tbody tr{background-color:#fff;background-color:var(--bg-white);border-bottom:1px solid #f3f4f6;border-bottom:1px solid var(--border-light);transition:all .3s ease;transition:var(--transition)}.users-table tbody tr:last-child{border-bottom:none}.users-table tbody tr:hover{background-color:#f9fafb;background-color:var(--bg-light);box-shadow:0 4px 12px #00000014;transform:translateY(-2px)}.users-table tbody td{color:#1f2937;color:var(--text-primary);font-size:1rem;padding:1rem;text-align:right;vertical-align:middle}.users-table tbody td:first-child{color:#667eea;color:var(--primary-color);font-weight:600}.actions-cell{text-align:center!important}.action-buttons{align-items:center;display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center}.btn-edit{background:linear-gradient(135deg,#3b82f6,#2563eb);background:var(--info-gradient);border:none;border-radius:8px;border-radius:var(--border-radius-sm);box-shadow:0 2px 6px #3b82f64d;color:#fff;cursor:pointer;font-size:.9rem;font-weight:600;padding:.6rem 1.25rem;transition:all .3s ease;transition:var(--transition)}.btn-edit:hover{box-shadow:0 4px 12px #3b82f666;transform:translateY(-2px)}.btn-password{background:linear-gradient(135deg,#667eea,#764ba2);background:var(--primary-gradient);border:none;border-radius:8px;border-radius:var(--border-radius-sm);box-shadow:0 2px 6px #667eea4d;color:#fff;cursor:pointer;font-size:.9rem;font-weight:600;padding:.6rem 1.25rem;transition:all .3s ease;transition:var(--transition)}.btn-password:hover{box-shadow:0 4px 12px #667eea66;transform:translateY(-2px)}.add-user-section{background:linear-gradient(135deg,#f9fafb,#fff);background:linear-gradient(135deg,var(--bg-light) 0,var(--bg-white) 100%);border-radius:12px;border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;box-shadow:var(--box-shadow-md);padding:2rem;position:-webkit-sticky;position:sticky;top:2rem}.add-user-section h3{color:#1f2937;color:var(--text-primary);font-size:1.4rem;font-weight:700;margin-bottom:1.5rem;padding-bottom:.75rem;position:relative}.add-user-section h3:after{background:linear-gradient(135deg,#667eea,#764ba2);background:var(--primary-gradient);border-radius:2px;bottom:0;content:"";height:3px;position:absolute;right:0;width:60px}.add-user-section form{display:flex;flex-direction:column;gap:1.25rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{color:#1f2937;color:var(--text-primary);font-size:.95rem;font-weight:600}.form-group input,.form-group select{background-color:#fff;background-color:var(--bg-white);border:2px solid #e5e7eb;border:2px solid var(--border-color);border-radius:8px;border-radius:var(--border-radius-sm);color:#1f2937;color:var(--text-primary);font-family:inherit;font-size:1rem;padding:.85rem 1rem;transition:all .3s ease;transition:var(--transition);width:100%}.form-group input:focus,.form-group select:focus{border-color:#667eea;border-color:var(--primary-color);box-shadow:0 0 0 3px #667eea1a;outline:none}.form-group input::placeholder{color:#9ca3af;color:var(--text-light)}.form-group-row{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr 1fr}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);background:var(--primary-gradient);border:none;border-radius:8px;border-radius:var(--border-radius-sm);box-shadow:0 4px 12px #667eea4d;color:#fff;cursor:pointer;font-size:1rem;font-weight:700;letter-spacing:.5px;padding:1rem 2rem;text-transform:uppercase;transition:all .3s ease;transition:var(--transition);width:100%}.btn-primary:hover:not(:disabled){box-shadow:0 6px 16px #667eea66;transform:translateY(-2px)}.btn-primary:active:not(:disabled){transform:translateY(0)}.btn-primary:disabled{cursor:not-allowed;opacity:.6;transform:none}.modal-overlay{align-items:center;bottom:0;display:flex;justify-content:center;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:1000}.modal-content{background-color:#fff;background-color:var(--bg-white);border-radius:var(--border-radius-lg);box-shadow:0 8px 24px #00000026;box-shadow:var(--box-shadow-lg);max-height:90vh;max-width:500px;overflow-y:auto;padding:2rem;width:100%}.modal-content h2{border-bottom:2px solid var(--border-color);color:var(--text-primary);font-weight:700}.modal-content form{display:flex;flex-direction:column;gap:1.25rem}.btn-secondary{background:#f3f4f6;background:var(--bg-lighter);border:2px solid #e5e7eb;border:2px solid var(--border-color);border-radius:8px;border-radius:var(--border-radius-sm);color:#1f2937;color:var(--text-primary);cursor:pointer;flex:1 1;font-size:1rem;font-weight:600;padding:.85rem 1.5rem;transition:all .3s ease;transition:var(--transition)}.btn-secondary:hover:not(:disabled){background:#e5e7eb;background:var(--border-color);border-color:#6b7280;border-color:var(--text-secondary)}.btn-secondary:disabled{cursor:not-allowed;opacity:.5}.users-list-section>p{color:#6b7280;color:var(--text-secondary);font-size:1.1rem;padding:2rem;text-align:center}.error-message{background-color:#fee2e2;border-left:4px solid #dc2626;padding:1rem}@media (max-width:1200px){.content-layout{grid-template-columns:1fr}.add-user-section{order:-1;position:static}}@media (max-width:992px){.user-management-container{padding:1rem}.page-header{margin-bottom:1.5rem;padding:1.5rem}.page-header h1{font-size:1.5rem}.content-layout{gap:1.5rem}.users-table-container{background-color:initial;border:none;box-shadow:none}.users-table thead{display:none}.users-table,.users-table tbody,.users-table td,.users-table tr{display:block;width:100%}.users-table tbody tr{background:linear-gradient(135deg,#fff,#f9fafb);background:linear-gradient(135deg,var(--bg-white) 0,var(--bg-light) 100%);border:1px solid #e5e7eb;border:1px solid var(--border-color);border-radius:16px;border-radius:var(--border-radius-lg);box-shadow:0 4px 12px #0000001a;box-shadow:var(--box-shadow-md);margin-bottom:1.5rem;overflow:hidden;padding:0;transition:all .3s ease;transition:var(--transition)}.users-table tbody tr:hover{box-shadow:0 8px 24px #00000026;box-shadow:var(--box-shadow-lg);transform:translateY(-4px)}.users-table tbody td{align-items:center;border-bottom:1px solid #f3f4f6;border-bottom:1px solid var(--border-light);display:flex;justify-content:space-between;padding:1rem 1.25rem;text-align:right}.users-table tbody tr td:last-child{border-bottom:none}.users-table tbody td:first-child{background:linear-gradient(135deg,#667eea,#764ba2);background:var(--primary-gradient);border-radius:0;color:#fff;font-size:1.3rem;font-weight:700;justify-content:center;padding:1.25rem 1.5rem}.users-table tbody td:first-child:before{display:none!important}.users-table tbody td:nth-child(2){background-color:#f9fafb;background-color:var(--bg-light);color:#1f2937;color:var(--text-primary);font-weight:600}.users-table tbody td:nth-child(3){color:#6b7280;color:var(--text-secondary);font-weight:500}.users-table tbody td.actions-cell{background:linear-gradient(135deg,#f9fafb,#f3f4f6);background:linear-gradient(135deg,var(--bg-light) 0,var(--bg-lighter) 100%);padding:1rem 1.25rem}.users-table tbody td.actions-cell:before{display:none!important}.action-buttons{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:1fr 1fr;width:100%}.action-buttons button{font-size:1rem;padding:.85rem 1rem;width:100%}.users-table tbody td:before{color:#1f2937;color:var(--text-primary);content:attr(data-label);font-size:.9rem;font-weight:600}.add-user-section{padding:1.5rem}.form-group-row{grid-template-columns:1fr}.modal-content{margin:1rem;padding:1.5rem}.modal-actions{flex-direction:column}.modal-actions button{width:100%}}@media (max-width:576px){.user-management-container{padding:.75rem}.page-header{padding:1rem}.page-header h1{font-size:1.25rem}.add-user-section,.users-list-section{padding:1rem}.users-table tbody td{font-size:.95rem;padding:.85rem 1rem}.users-table tbody td:first-child{font-size:1.15rem;padding:1rem 1.25rem}}@media print{.action-buttons,.add-user-section,.page-header{display:none}.users-table tbody tr{page-break-inside:avoid}}.user-management-container .users-table{border-collapse:initial;border-radius:12px;border-spacing:0;box-shadow:0 2px 8px #00000014;overflow:hidden}.user-management-container .users-table thead{background:linear-gradient(135deg,#667eea,#764ba2)}.user-management-container .users-table thead th{border:none;color:#fff;font-size:.85rem;font-weight:600;letter-spacing:.5px;padding:1rem .75rem;text-transform:uppercase}.user-management-container .users-table tbody tr{border-bottom:1px solid #e5e7eb;transition:all .3s ease}.user-management-container .users-table tbody tr:hover{background-color:#f9fafb;box-shadow:0 4px 12px #00000014;transform:translateY(-2px)}.user-management-container .users-table tbody td{padding:1rem .75rem;vertical-align:middle}.user-management-container .status-active{background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 2px 8px #10b9814d}.user-management-container .status-active,.user-management-container .status-frozen{border-radius:20px;color:#fff;display:inline-block;font-size:.85rem;font-weight:600;padding:.4rem 1rem}.user-management-container .status-frozen{background:linear-gradient(135deg,#6b7280,#4b5563);box-shadow:0 2px 8px #6b72804d}.user-management-container .action-buttons{display:flex;flex-wrap:wrap;gap:.5rem}.user-management-container .btn-edit{background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:8px;box-shadow:0 2px 6px #3b82f64d;color:#fff;cursor:pointer;font-weight:500;padding:.5rem 1rem;transition:all .3s ease}.user-management-container .btn-edit:hover{box-shadow:0 4px 12px #3b82f666;transform:translateY(-2px)}.user-management-container .btn-password{align-items:center;background:linear-gradient(135deg,#8b5cf6,#7c3aed);border:none;border-radius:8px;box-shadow:0 2px 6px #8b5cf64d;color:#fff;cursor:pointer;display:inline-flex;justify-content:center;padding:.5rem .75rem;transition:all .3s ease}.user-management-container .btn-password:hover:not(:disabled){box-shadow:0 4px 12px #8b5cf666;transform:translateY(-2px)}.user-management-container .btn-password:disabled{cursor:not-allowed;opacity:.4}.user-management-container .btn-freeze{background:linear-gradient(135deg,#ef4444,#dc2626);border:none;border-radius:8px;box-shadow:0 2px 6px #ef44444d;color:#fff;cursor:pointer;font-weight:500;padding:.5rem 1rem;transition:all .3s ease}.user-management-container .btn-freeze:hover{box-shadow:0 4px 12px #ef444466;transform:translateY(-2px)}.user-management-container .btn-activate{background:linear-gradient(135deg,#10b981,#059669);border:none;border-radius:8px;box-shadow:0 2px 6px #10b9814d;color:#fff;cursor:pointer;font-weight:500;padding:.5rem 1rem;transition:all .3s ease}.user-management-container .btn-activate:hover{box-shadow:0 4px 12px #10b98166;transform:translateY(-2px)}.user-management-container .users-table tbody td:not(.actions-cell):not(:first-child):not(:nth-child(2)):not(:nth-child(3)):not(:nth-child(4)){color:#374151;cursor:pointer;font-weight:500;transition:all .2s ease}.user-management-container .users-table tbody td:not(.actions-cell):hover{background-color:#fef3c7;color:#92400e}.user-management-container .users-table tbody td input[type=number]{border:2px solid #3b82f6;border-radius:6px;box-shadow:0 0 0 3px #3b82f61a;font-size:1rem;font-weight:500;outline:none;padding:.5rem;width:100%}.user-management-container .users-table tbody tr.frozen-doctor{background-color:#f3f4f6;opacity:.6}.user-management-container .users-table tbody tr.frozen-doctor:hover{opacity:.8}.user-management-container .add-user-section{background:linear-gradient(135deg,#f9fafb,#fff);border-radius:12px;box-shadow:0 4px 12px #00000014;padding:2rem}.user-management-container .add-user-section h3{color:#1f2937;font-size:1.5rem;margin-bottom:1.5rem;padding-bottom:.75rem;position:relative}.user-management-container .add-user-section h3:after{background:linear-gradient(90deg,#667eea,#764ba2);border-radius:2px;bottom:0;content:"";height:3px;position:absolute;right:0;width:60px}.user-management-container .form-group label{color:#374151;font-size:.95rem;font-weight:600;margin-bottom:.5rem}.user-management-container .form-group input{border:2px solid #e5e7eb;border-radius:8px;font-size:1rem;padding:.75rem 1rem;transition:all .3s ease}.user-management-container .form-group input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.user-management-container .btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;box-shadow:0 4px 12px #667eea4d;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:.875rem 2rem;transition:all .3s ease;width:100%}.user-management-container .btn-primary:hover:not(:disabled){box-shadow:0 6px 16px #667eea66;transform:translateY(-2px)}.user-management-container .btn-primary:disabled{cursor:not-allowed;opacity:.6;transform:none}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#0009}.modal-content{animation:modalSlideIn .3s ease-out;border-radius:16px;box-shadow:0 20px 60px #0000004d}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-content h2{border-bottom:2px solid #e5e7eb;color:#1f2937;font-size:1.5rem;margin-bottom:1.5rem;padding-bottom:1rem}.modal-actions{display:flex;gap:1rem;margin-top:2rem}.modal-content .btn-secondary{background:#f3f4f6;border:2px solid #e5e7eb;border-radius:8px;color:#374151;cursor:pointer;flex:1 1;font-weight:600;padding:.75rem 1.5rem;transition:all .3s ease}.modal-content .btn-secondary:hover:not(:disabled){background:#e5e7eb;border-color:#d1d5db}.modal-content .btn-primary{flex:1 1}@media (max-width:992px){.user-management-container .users-list-section .instructions{display:none}.user-management-container .users-table-container{background-color:initial;border:none;box-shadow:none}.user-management-container .users-table thead{display:none}.user-management-container .users-table,.user-management-container .users-table tbody,.user-management-container .users-table td,.user-management-container .users-table tr{box-sizing:border-box;display:block;width:100%}.user-management-container .users-table tbody tr{background:linear-gradient(135deg,#fff,#f9fafb);border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 4px 16px #0000001a;margin-bottom:1.5rem;overflow:hidden;padding:0;transition:all .3s ease}.user-management-container .users-table tbody tr:hover{box-shadow:0 8px 24px #00000026;transform:translateY(-4px)}.user-management-container .users-table tbody td{border:none;border-bottom:1px solid #f3f4f6;display:flex;padding:.9rem 1.25rem;text-align:right}.user-management-container .users-table tbody tr td:last-child{border-bottom:none}.user-management-container .users-table tbody td:before{display:none}.user-management-container .users-table tbody td:first-child{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:0;color:#fff;display:flex;flex-wrap:wrap;font-size:1.3rem;font-weight:700;gap:1rem;justify-content:space-between;order:1;padding:1.25rem 1.5rem}.user-management-container .users-table tbody td:first-child .status-active,.user-management-container .users-table tbody td:first-child .status-frozen{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff40;border:1px solid #ffffff4d;border-radius:20px;box-shadow:0 2px 8px #00000026;font-size:.85rem;font-weight:600;padding:.4rem 1rem}.user-management-container .users-table tbody td:nth-child(2){background-color:#f9fafb;color:#6b7280;font-size:1.05rem;font-weight:500;justify-content:center;order:2;padding:.75rem 1.25rem}.user-management-container .users-table tbody td:nth-child(3){display:none}.user-management-container .users-table tbody td.actions-cell{background:linear-gradient(135deg,#f9fafb,#f3f4f6);order:3;padding:1rem 1.25rem}.user-management-container .users-table tbody td.actions-cell .action-buttons{grid-gap:.75rem;display:grid;gap:.75rem;grid-template-columns:1fr auto 1fr;width:100%}.user-management-container .users-table tbody td.actions-cell .action-buttons button{border-radius:10px;font-size:1rem;font-weight:600;padding:.75rem 1rem}.user-management-container .users-table tbody td.actions-cell .btn-password{align-items:center;display:flex;justify-content:center;padding:.75rem}.user-management-container .users-table tbody td:not(:first-child):not(:nth-child(2)):not(:nth-child(3)):not(.actions-cell){font-size:1.05rem;justify-content:space-between;order:4;padding:1rem 1.25rem;transition:all .2s ease;white-space:normal}.user-management-container .users-table tbody td:not(:first-child):not(:nth-child(2)):not(:nth-child(3)):not(.actions-cell):hover{background-color:#fef3c7}.user-management-container .users-table tbody td:not(:first-child):not(:nth-child(2)):not(:nth-child(3)):not(.actions-cell):before{color:#374151;content:attr(data-label);display:inline;font-size:.95rem;font-weight:600}.user-management-container .users-table tbody td:not(:first-child):not(:nth-child(2)):not(:nth-child(3)):not(.actions-cell):after{color:#059669;content:"";font-size:1.1rem;font-weight:700}.user-management-container .users-table tbody tr.frozen-doctor{background:linear-gradient(135deg,#f3f4f6,#e5e7eb);opacity:.75}.user-management-container .users-table tbody tr.frozen-doctor td:first-child{background:linear-gradient(135deg,#6b7280,#4b5563)}.user-management-container .users-table tbody td input[type=number]{border:2px solid #3b82f6;border-radius:8px;font-size:1.05rem;font-weight:600;padding:.5rem;width:100%}}.stats-container{direction:rtl;margin:0 auto;max-width:1600px;padding:2rem}.stats-container .page-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);background:var(--primary-gradient);border-radius:12px;border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;box-shadow:var(--box-shadow-md);display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:space-between;margin-bottom:2rem;overflow:hidden;padding:2rem;position:relative}.stats-container .page-header:before{background:radial-gradient(circle,#ffffff1a 0,#0000 70%);border-radius:50%;content:"";height:300px;position:absolute;right:-10%;top:-50%;width:300px}.stats-container .page-header h1{font-size:2rem;letter-spacing:.3px;margin:0;text-shadow:0 2px 4px #0000001a}.stats-container .page-header h1,.view-details-button{color:#fff;font-weight:700;position:relative;z-index:1}.view-details-button{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff40;border:2px solid #ffffff4d;border-radius:12px;border-radius:var(--border-radius);box-shadow:0 4px 12px #00000026;font-size:1rem;padding:.85rem 1.75rem;text-decoration:none;transition:all .3s ease;transition:var(--transition)}.view-details-button:hover{background:#ffffff59;border-color:#ffffff80;box-shadow:0 6px 16px #0003;transform:translateY(-3px)}.filters-bar{background:linear-gradient(135deg,#fff,#f9fafb);background:linear-gradient(135deg,var(--bg-white) 0,var(--bg-light) 100%);border-radius:12px;border-radius:var(--border-radius);box-shadow:0 2px 8px #00000014;box-shadow:var(--box-shadow);display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:2rem;padding:1.5rem}.filters-bar input[type=date]{border:2px solid #e5e7eb;border:2px solid var(--border-color);border-radius:12px;border-radius:var(--border-radius);color:#1f2937;color:var(--text-primary);flex:1 1;font-family:Cairo,sans-serif;font-size:1rem;min-width:200px;padding:.85rem 1rem;transition:all .3s ease;transition:var(--transition)}.filters-bar input[type=date]:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.filter-button{align-items:center;background:linear-gradient(135deg,#3b82f6,#2563eb);background:var(--info-gradient);border:none;border-radius:12px;border-radius:var(--border-radius);box-shadow:0 2px 8px #3b82f64d;color:#fff;cursor:pointer;display:flex;font-size:1rem;font-weight:700;gap:.5rem;padding:.85rem 1.75rem;transition:all .3s ease;transition:var(--transition)}.filter-button:hover:not(:disabled){box-shadow:0 6px 16px #3b82f666;transform:translateY(-3px)}.filter-button:disabled{cursor:not-allowed;opacity:.6;transform:none}.stats-cards-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));margin-bottom:3rem}.stat-card{background:linear-gradient(135deg,#fff,#f9fafb);background:linear-gradient(135deg,var(--bg-white) 0,var(--bg-light) 100%);border-radius:12px;border-radius:var(--border-radius);border-top:4px solid linear-gradient(135deg,#667eea,#764ba2);border-top:4px solid var(--primary-gradient);box-shadow:0 2px 8px #00000014;box-shadow:var(--box-shadow);overflow:hidden;padding:2rem;position:relative;text-align:center}.stat-card,.stat-card:before{transition:all .3s ease;transition:var(--transition)}.stat-card:before{background:radial-gradient(circle,#667eea0d 0,#0000 70%);content:"";height:200%;position:absolute;right:-50%;top:-50%;transform:scale(0);width:200%}.stat-card:hover{box-shadow:0 8px 24px #0000001f;transform:translateY(-8px)}.stat-card:hover:before{transform:scale(1)}.stat-card h4{color:#6b7280;color:var(--text-secondary);font-size:1rem;font-weight:600;letter-spacing:.5px;margin:0 0 1rem;text-transform:uppercase}.stat-card h4,.stat-card p{position:relative;z-index:1}.stat-card p{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);background:var(--primary-gradient);-webkit-background-clip:text;background-clip:text;font-size:2.8rem;font-weight:800;margin:0}.stat-card p span{color:#6b7280;color:var(--text-secondary);font-size:1.1rem;font-weight:600;margin-right:.5rem}.charts-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:1fr 1fr}.chart-container{background:linear-gradient(135deg,#fff,#f9fafb);background:linear-gradient(135deg,var(--bg-white) 0,var(--bg-light) 100%);border-radius:12px;border-radius:var(--border-radius);box-shadow:0 2px 8px #00000014;box-shadow:var(--box-shadow);padding:2rem;transition:all .3s ease;transition:var(--transition)}.chart-container:hover{box-shadow:0 4px 12px #0000001a;box-shadow:var(--box-shadow-md)}.chart-container h3{border-bottom:3px solid #e5e7eb;border-bottom:3px solid var(--border-color);color:#1f2937;color:var(--text-primary);font-size:1.3rem;font-weight:700;margin:0 0 1.5rem;padding-bottom:1rem;position:relative;text-align:center}.chart-container h3:after{background:linear-gradient(135deg,#667eea,#764ba2);background:var(--primary-gradient);border-radius:2px;bottom:-3px;content:"";height:3px;position:absolute;right:50%;transform:translateX(50%);width:80px}.charts-grid .full-width{grid-column:1/-1}.stats-container>p{color:#6b7280;color:var(--text-secondary);font-size:1.2rem;font-weight:600;padding:3rem;text-align:center}.error-message{background:linear-gradient(135deg,#fee2e2,#fecaca);border-radius:12px;border-radius:var(--border-radius);color:#dc2626;font-weight:700;padding:1.5rem}@media (max-width:992px){.stats-container,.stats-container .page-header{padding:1.5rem}.stats-container .page-header h1{font-size:1.6rem}.charts-grid{grid-template-columns:1fr}.stats-cards-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}}@media (max-width:768px){.stats-container{padding:1rem}.stats-container .page-header{align-items:stretch;flex-direction:column;padding:1.25rem}.stats-container .page-header:before{display:none}.stats-container .page-header h1{font-size:1.4rem;text-align:center}.view-details-button{padding:1rem;text-align:center;width:100%}.filters-bar{flex-direction:column;padding:1rem}.filter-button,.filters-bar input[type=date]{min-width:0;width:100%}.stats-cards-grid{gap:1.25rem;grid-template-columns:1fr}.stat-card{padding:1.5rem}.stat-card p{font-size:2.3rem}.chart-container{padding:1.5rem}.chart-container h3{font-size:1.1rem}}@media (max-width:576px){.stats-container{padding:.75rem}.stats-container .page-header{padding:1rem}.stats-container .page-header h1{font-size:1.2rem}.stat-card{padding:1.25rem}.stat-card h4{font-size:.9rem}.stat-card p{font-size:2rem}.chart-container{padding:1rem}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.chart-container,.stat-card{animation:fadeInUp .5s ease-out backwards}.stat-card:first-child{animation-delay:.05s}.stat-card:nth-child(2){animation-delay:.1s}.stat-card:nth-child(3){animation-delay:.15s}.stat-card:nth-child(4){animation-delay:.2s}.chart-container:first-child{animation-delay:.25s}.chart-container:nth-child(2){animation-delay:.3s}.chart-container:nth-child(3){animation-delay:.35s}:root{--bg-dark:#1f2937}.revenue-details-container{direction:rtl;margin:0 auto;max-width:1600px;padding:2rem}.revenue-details-container .page-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);background:var(--primary-gradient);border-radius:12px;border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;box-shadow:var(--box-shadow-md);display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:space-between;margin-bottom:2rem;overflow:hidden;padding:2rem;position:relative}.revenue-details-container .page-header:before{background:radial-gradient(circle,#ffffff1a 0,#0000 70%);border-radius:50%;content:"";height:300px;left:-10%;position:absolute;top:-50%;width:300px}.page-header-title-group{align-items:center;display:flex;gap:1rem;position:relative;z-index:1}.back-button-header{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff40;border:2px solid #ffffff4d;border-radius:50%;box-shadow:0 2px 8px #00000026;color:#fff;cursor:pointer;display:flex;height:45px;justify-content:center;transition:all .3s ease;transition:var(--transition);width:45px}.back-button-header:hover{background:#ffffff59;border-color:#ffffff80;box-shadow:0 4px 12px #0003;transform:translateY(-3px) scale(1.05)}.page-header-title-group h1{color:#fff;font-size:2rem;font-weight:700;letter-spacing:.3px;margin:0;text-shadow:0 2px 4px #0000001a}.export-button{background:linear-gradient(135deg,#10b981,#059669);background:var(--success-gradient);border:none;border-radius:12px;border-radius:var(--border-radius);box-shadow:0 4px 12px #10b9814d;font-weight:700;padding:.85rem 1.75rem;position:relative;z-index:1}.export-button:hover:not(:disabled){box-shadow:0 6px 16px #10b98166;transform:translateY(-3px)}.filters-container{display:flex;flex-wrap:wrap}.filters-container input,.filters-container select{border:2px solid #e5e7eb;border:2px solid var(--border-color);border-radius:12px;border-radius:var(--border-radius);color:#1f2937;color:var(--text-primary);flex:1 1;font-family:Cairo,sans-serif;font-size:1rem;min-width:220px;padding:.85rem 1rem;transition:all .3s ease;transition:var(--transition)}.filters-container input:focus,.filters-container select:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.details-table-container{background:linear-gradient(135deg,#fff,#fafbfc);background:linear-gradient(135deg,var(--bg-white) 0,#fafbfc 100%);max-height:70vh;overflow:auto}.details-table{border-collapse:collapse}.details-table td,.details-table th{border-bottom:1px solid #e5e7eb;border-bottom:1px solid var(--border-color);padding:1rem;text-align:right;white-space:nowrap}.details-table thead th{background:linear-gradient(135deg,#667eea,#764ba2);background:var(--primary-gradient);font-size:.9rem;font-weight:700;position:-webkit-sticky;position:sticky;top:0;z-index:10}.details-table tbody tr:hover{box-shadow:0 2px 8px #0000000d}.details-table tbody td{font-weight:500}.details-table tfoot td{background:linear-gradient(135deg,#f3f4f6,#f9fafb);background:linear-gradient(135deg,var(--bg-lighter) 0,var(--bg-light) 100%);border-top:3px solid #667eea;bottom:0;color:#1f2937;color:var(--text-primary);font-size:1.15rem;font-weight:800;position:-webkit-sticky;position:sticky;z-index:10}.details-table .btn-archive{background:linear-gradient(135deg,#ef4444,#dc2626);background:var(--danger-gradient);border:none;border-radius:12px;border-radius:var(--border-radius);box-shadow:0 2px 6px #ef44444d;color:#fff;cursor:pointer;font-size:.85rem;font-weight:700;padding:.5rem 1rem;transition:all .3s ease;transition:var(--transition)}.details-table .btn-archive:hover{box-shadow:0 4px 12px #ef444466;transform:translateY(-2px)}.table-actions-footer{display:flex;justify-content:flex-end;margin-top:2rem}.print-button{align-items:center;background:linear-gradient(135deg,#3b82f6,#2563eb);background:var(--info-gradient);border:none;border-radius:12px;border-radius:var(--border-radius);box-shadow:0 4px 12px #3b82f64d;color:#fff;cursor:pointer;display:flex;font-size:1rem;font-weight:700;gap:.75rem;padding:.85rem 1.75rem;transition:all .3s ease;transition:var(--transition)}.print-button:hover{box-shadow:0 6px 16px #3b82f666;transform:translateY(-3px)}.details-table-container>p{font-size:1.2rem;font-weight:600;padding:3rem}@media print{.content-area-new .filters-container,.content-area-new .page-header,.content-area-new .table-actions-footer,.main-layout-new>:not(.content-area-new),body>:not(.main-layout-new){display:none}.content-wrapper-new{margin:0!important;max-width:100%!important;padding:0!important}.details-table-container{border:none;box-shadow:none;max-height:none;overflow:visible}.details-table tfoot td,.details-table thead th{background:#fff;color:#000;position:static}}@media (max-width:768px){.revenue-details-container{padding:1rem}.revenue-details-container .page-header{align-items:stretch;flex-direction:column;padding:1.25rem}.revenue-details-container .page-header:before{display:none}.page-header-title-group{justify-content:center;width:100%}.page-header-title-group h1{font-size:1.4rem}.export-button{padding:1rem;width:100%}.filters-container{flex-direction:column;padding:1rem}.filters-container input,.filters-container select{min-width:0;width:100%}.details-table-container{background-color:initial;box-shadow:none;max-height:none;padding:.5rem}.details-table thead{display:none}.details-table,.details-table tbody,.details-table td,.details-table tr{display:block;width:100%}.details-table tbody tr{background:linear-gradient(135deg,#fff,#f9fafb);background:linear-gradient(135deg,var(--bg-white) 0,var(--bg-light) 100%);border:none;border-radius:12px;border-radius:var(--border-radius);border-top:5px solid linear-gradient(135deg,#667eea,#764ba2);border-top:5px solid var(--primary-gradient);box-shadow:0 2px 8px #00000014;box-shadow:var(--box-shadow);margin-bottom:1.5rem;overflow:hidden;padding:1rem}.details-table tbody td{align-items:center;border-bottom:1px solid #e5e7eb;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;padding:.75rem 0;white-space:normal}.details-table tbody tr td:last-child{border-bottom:none}.details-table tbody td:before{color:#6b7280;color:var(--text-secondary);content:attr(data-label);font-size:.85rem;font-weight:700;letter-spacing:.3px;text-transform:uppercase}.details-table td.actions-cell{border-top:2px solid #e5e7eb;border-top:2px solid var(--border-color);margin-top:.5rem;padding:1rem 0 0}.details-table td.actions-cell:before{display:none}.details-table .btn-archive{font-size:1rem;padding:.85rem;width:100%}.details-table tfoot{position:static}.details-table tfoot tr{background:linear-gradient(135deg,#fff,#f3f4f6);background:linear-gradient(135deg,var(--bg-white) 0,var(--bg-lighter) 100%);border:2px solid #e5e7eb;border:2px solid var(--border-color);border-radius:12px;border-radius:var(--border-radius);border-top:5px solid #667eea;box-shadow:0 4px 12px #0000001a;box-shadow:var(--box-shadow-md);display:block;margin-top:2rem;overflow:hidden;padding:1.25rem}.details-table tfoot td{align-items:center;background:#0000;border:none;border-bottom:1px solid #e5e7eb;border-bottom:1px solid var(--border-color);color:#1f2937;color:var(--text-primary);display:flex;font-size:1.15rem;justify-content:space-between;padding:.85rem 0}.details-table tfoot td:last-child{border-bottom:none}.details-table tfoot td[colSpan="5"]{background:linear-gradient(135deg,#667eea,#764ba2);background:var(--primary-gradient);border:none;border-radius:12px;border-radius:var(--border-radius);color:#fff;font-size:1.3rem;font-weight:800;justify-content:center;margin-bottom:.75rem;padding:1rem}.details-table tfoot tr td:nth-child(3),.details-table tfoot tr td:nth-child(5){display:none}.details-table tfoot tr td:nth-child(2):before{color:#6b7280;color:var(--text-secondary);content:"إجمالي الوحدات:";font-size:.9rem;font-weight:600}.details-table tfoot tr td:nth-child(4):before{color:#6b7280;color:var(--text-secondary);content:"إجمالي المبلغ:";font-size:.9rem;font-weight:600}.table-actions-footer{margin-top:1.5rem}.print-button{justify-content:center;padding:1rem;width:100%}}@media (max-width:576px){.revenue-details-container{padding:.75rem}.revenue-details-container .page-header{padding:1rem}.page-header-title-group h1{font-size:1.2rem}.back-button-header{height:40px;width:40px}.details-table tbody tr{padding:.85rem}.details-table tfoot tr{padding:1rem}}:root{--primary-gradient:linear-gradient(135deg,#667eea,#764ba2);--primary-color:#667eea;--primary-dark:#764ba2;--success-gradient:linear-gradient(135deg,#10b981,#059669);--success-color:#10b981;--danger-gradient:linear-gradient(135deg,#ef4444,#dc2626);--danger-color:#ef4444;--danger-light:#fee2e2;--info-gradient:linear-gradient(135deg,#3b82f6,#2563eb);--info-color:#3b82f6;--warning-gradient:linear-gradient(135deg,#f59e0b,#d97706);--warning-color:#f59e0b;--bg-white:#fff;--bg-light:#f9fafb;--bg-lighter:#f3f4f6;--bg-card:#fafbfc;--text-primary:#1f2937;--text-secondary:#6b7280;--text-light:#9ca3af;--border-color:#e5e7eb;--border-light:#f3f4f6;--border-radius:12px;--border-radius-sm:8px;--border-radius-lg:16px;--box-shadow:0 2px 8px #00000014;--box-shadow-md:0 4px 12px #0000001a;--box-shadow-lg:0 8px 24px #00000026;--transition:all 0.3s ease}.department-reports-container{background-color:#f9fafb;background-color:var(--bg-light);direction:rtl;font-family:Cairo,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;margin:0 auto;max-width:1600px;min-height:100vh;padding:2rem}.page-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);background:var(--primary-gradient);border-radius:16px;border-radius:var(--border-radius-lg);box-shadow:0 4px 12px #0000001a;box-shadow:var(--box-shadow-md);color:#fff;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:2rem;padding:2rem}.page-header h1{font-size:2rem;font-weight:700;letter-spacing:.5px;margin:0;text-shadow:0 2px 4px #0000001a}.export-button{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff3;border:2px solid #ffffff4d;border-radius:8px;border-radius:var(--border-radius-sm);box-shadow:0 4px 12px #00000026;color:#fff;cursor:pointer;display:flex;font-size:1rem;font-weight:600;gap:.5rem;padding:.75rem 1.5rem;transition:all .3s ease;transition:var(--transition)}.export-button:hover:not(:disabled){background:#ffffff4d;border-color:#ffffff80;box-shadow:0 6px 16px #0003;transform:translateY(-2px)}.export-button:disabled{cursor:not-allowed;opacity:.5;transform:none}.export-button svg{font-size:1.2rem}.filters-container{grid-gap:1rem;align-items:end;background:linear-gradient(135deg,#fff,#f9fafb);background:linear-gradient(135deg,var(--bg-white) 0,var(--bg-light) 100%);border-radius:12px;border-radius:var(--border-radius);box-shadow:0 2px 8px #00000014;box-shadow:var(--box-shadow);display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:2rem;padding:1.5rem}.filters-container input[type=date],.filters-container select{background-color:#fff;background-color:var(--bg-white);border:2px solid #e5e7eb;border:2px solid var(--border-color);border-radius:8px;border-radius:var(--border-radius-sm);color:#1f2937;color:var(--text-primary);cursor:pointer;font-family:inherit;font-size:1rem;padding:.85rem 1rem;transition:all .3s ease;transition:var(--transition);width:100%}.filters-container input[type=date]:focus,.filters-container select:focus{border-color:#667eea;border-color:var(--primary-color);box-shadow:0 0 0 3px #667eea1a;outline:none}.filters-container input[type=date]:hover,.filters-container select:hover{border-color:#667eea;border-color:var(--primary-color)}.filter-checkbox{align-items:center;background-color:#f3f4f6;background-color:var(--bg-lighter);border:2px solid #e5e7eb;border:2px solid var(--border-color);border-radius:8px;border-radius:var(--border-radius-sm);cursor:pointer;display:flex;gap:.75rem;padding:.85rem 1rem;transition:all .3s ease;transition:var(--transition)}.filter-checkbox:hover{background-color:#fff;background-color:var(--bg-white);border-color:#667eea;border-color:var(--primary-color)}.filter-checkbox input[type=checkbox]{accent-color:#667eea;accent-color:var(--primary-color);cursor:pointer;height:20px;width:20px}.filter-checkbox label{color:#1f2937;color:var(--text-primary);cursor:pointer;font-weight:600;margin:0;-webkit-user-select:none;user-select:none}.details-table-container{background-color:#fff;background-color:var(--bg-white);border-radius:12px;border-radius:var(--border-radius);box-shadow:0 2px 8px #00000014;box-shadow:var(--box-shadow);overflow:hidden;padding:1.5rem}.details-table-container>p{color:#6b7280;color:var(--text-secondary);font-size:1.1rem;padding:2rem;text-align:center}.details-table{border-collapse:initial;border-radius:12px;border-radius:var(--border-radius);border-spacing:0;overflow:hidden;width:100%}.details-table thead{background:linear-gradient(135deg,#667eea,#764ba2);background:var(--primary-gradient)}.details-table thead th{border:none;color:#fff;font-size:.85rem;font-weight:600;letter-spacing:.5px;padding:1.2rem 1rem;text-align:right;text-transform:uppercase;white-space:nowrap}.details-table tbody tr{background-color:#fff;background-color:var(--bg-white);border-bottom:1px solid #f3f4f6;border-bottom:1px solid var(--border-light);transition:all .3s ease;transition:var(--transition)}.details-table tbody tr:last-child{border-bottom:none}.details-table tbody tr:hover{background-color:#f9fafb;background-color:var(--bg-light);box-shadow:0 4px 12px #00000014;transform:translateY(-2px)}.details-table tbody td{color:#1f2937;color:var(--text-primary);font-size:.95rem;padding:1rem;text-align:right;vertical-align:middle}.details-table tbody td:first-child{color:#6b7280;color:var(--text-secondary);font-weight:700;width:50px}.details-table tbody td:nth-child(6){color:#667eea;color:var(--primary-color);font-weight:600}.details-table tbody td:nth-child(9){color:#10b981;color:var(--success-color);font-size:1rem;font-weight:700}.comment-cell{word-wrap:break-word;color:#6b7280;color:var(--text-secondary);font-size:.9rem;font-style:italic;max-width:250px;white-space:normal}.details-table tbody tr.archived-row{background:linear-gradient(135deg,#fee2e2,#fff5f5);background:linear-gradient(135deg,var(--danger-light) 0,#fff5f5 100%);border-left:4px solid #ef4444;border-left:4px solid var(--danger-color)}.details-table tbody tr.archived-row:hover{background:linear-gradient(135deg,#fecaca,#fee2e2);background:linear-gradient(135deg,#fecaca 0,var(--danger-light) 100%)}.details-table tbody tr.archived-row td{color:#ef4444;color:var(--danger-color);opacity:.8}.details-table tbody tr.archived-row td:nth-child(6),.details-table tbody tr.archived-row td:nth-child(7){text-decoration:line-through}.no-data-message{background:linear-gradient(135deg,#f9fafb,#fff);background:linear-gradient(135deg,var(--bg-light) 0,var(--bg-white) 100%);border:2px dashed #e5e7eb;border:2px dashed var(--border-color);border-radius:12px;border-radius:var(--border-radius);padding:3rem 2rem;text-align:center}.no-data-message p{color:#6b7280;color:var(--text-secondary);font-size:1.2rem;font-weight:500;margin:0}.error-message{background:#fee2e2;background:var(--danger-light);border-left:4px solid #ef4444;border-left:4px solid var(--danger-color);border-radius:8px;border-radius:var(--border-radius-sm);color:#ef4444;color:var(--danger-color);font-weight:600;padding:1rem 1.5rem;text-align:center}@media (max-width:992px){.department-reports-container{padding:1.5rem}.page-header{align-items:stretch;flex-direction:column}.page-header h1{font-size:1.5rem;text-align:center}.export-button{justify-content:center;width:100%}.filters-container{grid-template-columns:1fr 1fr}.details-table{font-size:.9rem}.details-table tbody td,.details-table thead th{padding:.75rem .5rem}}@media (max-width:768px){.department-reports-container{padding:1rem}.page-header{margin-bottom:1.5rem;padding:1.5rem}.page-header h1{font-size:1.3rem}.filters-container{grid-template-columns:1fr;padding:1rem}.details-table-container{background-color:initial;box-shadow:none;padding:.5rem}.details-table thead{display:none}.details-table,.details-table tbody,.details-table td,.details-table tr{display:block;width:100%}.details-table tbody tr{background:linear-gradient(135deg,#fff,#fafbfc);background:linear-gradient(135deg,var(--bg-white) 0,var(--bg-card) 100%);border:none;border-radius:16px;border-radius:var(--border-radius-lg);border-right:5px solid #3b82f6;border-right:5px solid var(--info-color);box-shadow:0 4px 12px #0000001a;box-shadow:var(--box-shadow-md);display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem;overflow:hidden;padding:1.25rem;transition:all .3s ease;transition:var(--transition)}.details-table tbody tr:hover{box-shadow:0 8px 24px #00000026;box-shadow:var(--box-shadow-lg);transform:translateY(-4px)}.details-table tbody td{align-items:center;border:none;display:flex;justify-content:space-between;padding:0;text-align:right}.details-table tbody td:first-child{display:none}.details-table tbody td:nth-child(7){border-bottom:2px solid #f3f4f6;border-bottom:2px solid var(--border-light);color:#1f2937;color:var(--text-primary);font-size:1.3rem;font-weight:700;justify-content:flex-start;margin-bottom:.5rem;order:1;padding-bottom:.75rem}.details-table tbody td:nth-child(7):before{display:none}.details-table tbody td:nth-child(4){background:linear-gradient(135deg,#3b82f6,#2563eb);background:var(--info-gradient);border-radius:20px;box-shadow:0 2px 8px #3b82f64d;color:#fff;font-size:.8rem;font-weight:700;justify-content:flex-start;letter-spacing:.5px;order:2;padding:.4rem .9rem;text-transform:uppercase;width:-webkit-fit-content;width:fit-content}.details-table tbody td:nth-child(4):before{display:none}.details-table tbody td:nth-child(6){color:#667eea;color:var(--primary-color);font-size:1.1rem;font-weight:700;order:3}.details-table tbody td:nth-child(3),.details-table tbody td:nth-child(8){border-bottom:1px solid #f3f4f6;border-bottom:1px solid var(--border-light);font-size:1rem;order:4;padding:.6rem 0}.details-table tbody td:nth-child(9){border-bottom:1px solid #f3f4f6;border-bottom:1px solid var(--border-light);color:#10b981;color:var(--success-color);font-size:1.1rem;font-weight:700;order:5;padding:.6rem 0}.details-table tbody td:nth-child(5){align-items:flex-start;background:linear-gradient(135deg,#f3f4f6,#f9fafb);background:linear-gradient(135deg,var(--bg-lighter) 0,var(--bg-light) 100%);border-radius:8px;border-radius:var(--border-radius-sm);color:#1f2937;color:var(--text-primary);flex-direction:column;font-size:.95rem;font-style:italic;margin-top:.5rem;order:6;padding:1rem;text-align:right;width:100%}.details-table tbody td:nth-child(5):before{color:#1f2937;color:var(--text-primary);content:"التعليق:";display:block;font-size:.85rem;font-style:normal;font-weight:700;letter-spacing:.5px;margin-bottom:.5rem;text-transform:uppercase}.details-table tbody td:nth-child(2){border-top:2px solid #f3f4f6;border-top:2px solid var(--border-light);color:#9ca3af;color:var(--text-light);font-size:.8rem;font-weight:500;justify-content:center;margin-top:.5rem;order:7;padding-top:.75rem}.details-table tbody td:nth-child(2):before{display:none}.details-table tbody td:before{color:#6b7280;color:var(--text-secondary);content:attr(data-label);font-size:.85rem;font-weight:600;letter-spacing:.3px;text-transform:uppercase}.details-table tbody tr.archived-row{background:linear-gradient(135deg,#fee2e2,#fff5f5);background:linear-gradient(135deg,var(--danger-light) 0,#fff5f5 100%);border-right-color:#ef4444;border-right-color:var(--danger-color);border-right-width:5px}.details-table tbody tr.archived-row td:nth-child(4){background:linear-gradient(135deg,#ef4444,#dc2626);background:var(--danger-gradient);box-shadow:0 2px 8px #ef44444d}.details-table tbody tr.archived-row td:nth-child(6),.details-table tbody tr.archived-row td:nth-child(7){color:#ef4444;color:var(--danger-color)}.details-table tbody tr.archived-row td:nth-child(7){border-bottom-color:#ef444433}.no-data-message{padding:2rem 1rem}.no-data-message p{font-size:1rem}}@media (max-width:576px){.department-reports-container{padding:.75rem}.page-header{padding:1rem}.page-header h1{font-size:1.1rem}.export-button{font-size:.9rem;padding:.6rem 1rem}.filters-container{gap:.75rem;padding:.75rem}.details-table tbody tr{gap:.5rem;padding:1rem}.details-table tbody td:nth-child(7){font-size:1.15rem}.details-table tbody td:nth-child(4){font-size:.75rem;padding:.35rem .75rem}}@media print{.export-button,.filters-container,.page-header{display:none}.details-table tbody tr{page-break-inside:avoid}.details-table tbody tr.archived-row{background-color:#fcc!important}}.doctor-header .desktop-nav button{background:#0000;border:none;border-radius:var(--border-radius);color:var(--text-secondary);cursor:pointer;font-family:Cairo,sans-serif;font-size:1rem;font-weight:600;padding:.6rem 1.25rem;transition:var(--transition)}.doctor-header .desktop-nav button:hover{background-color:var(--bg-lighter);color:var(--text-primary)}.doctor-header .desktop-nav button.active{background:var(--primary-gradient);box-shadow:0 4px 12px #667eea4d;color:#fff}@media (max-width:768px){.doctor-header{display:none}}
/*# sourceMappingURL=main.ab872541.css.map*/