:root{--primary-color: #3b82f6;--primary-hover: #2563eb;--secondary-color: #6b7280;--success-color: #10b981;--danger-color: #ef4444;--warning-color: #f59e0b;--bg-color: #f9fafb;--card-bg: #ffffff;--text-primary: #1f2937;--text-secondary: #6b7280;--border-color: #e5e7eb;--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1);--radius-sm: 6px;--radius-md: 8px;--radius-lg: 12px;--spacing-xs: 4px;--spacing-sm: 8px;--spacing-md: 16px;--spacing-lg: 24px;--spacing-xl: 32px;--sidebar-width: 280px;--sidebar-width-mobile: 100%;--header-height: 64px}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--bg-color);color:var(--text-primary);line-height:1.6;font-size:16px}[dir=rtl],[dir=rtl] input,[dir=rtl] textarea,[dir=rtl] select{direction:rtl;text-align:right}body[lang=ar],[lang=ar]{font-family:Segoe UI,Tahoma,Arial,sans-serif}h1,h2,h3,h4,h5,h6{font-weight:600;line-height:1.2;margin-bottom:var(--spacing-md);color:var(--text-primary)}h1{font-size:2rem}h2{font-size:1.5rem}h3{font-size:1.25rem}button{min-height:44px;min-width:44px;padding:12px 20px;font-size:16px;font-weight:500;border:none;border-radius:var(--radius-sm);cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;justify-content:center;gap:8px;-webkit-tap-highlight-color:transparent}button:disabled{opacity:.6;cursor:not-allowed}button:active{transform:scale(.98)}.btn-primary{background-color:var(--primary-color);color:#fff}.btn-primary:hover:not(:disabled){background-color:var(--primary-hover)}.btn-secondary{background-color:var(--secondary-color);color:#fff}.btn-danger{background-color:var(--danger-color);color:#fff}.btn-success{background-color:var(--success-color);color:#fff}.btn-warning{background-color:#f59e0b;color:#fff}.btn-warning:hover:not(:disabled){background-color:#d97706}.btn-outline{background-color:transparent;border:1px solid var(--border-color);color:var(--text-primary)}input[type=text],input[type=password],input[type=email],input[type=number],input[type=date],input[type=datetime-local],textarea,select{width:100%;min-height:44px;padding:12px 16px;font-size:16px;border:1px solid var(--border-color);border-radius:var(--radius-sm);background-color:#fff;color:var(--text-primary);transition:border-color .2s ease,box-shadow .2s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none}input:focus,textarea:focus,select:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #3b82f61a}textarea{min-height:100px;resize:vertical;font-family:inherit}select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23374151' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:40px}[dir=rtl] select{background-position:left 12px center;padding-right:16px;padding-left:40px}label{display:block;margin-bottom:var(--spacing-sm);font-weight:500;color:var(--text-primary);font-size:14px}.card{background-color:var(--card-bg);border-radius:var(--radius-md);padding:var(--spacing-lg);box-shadow:var(--shadow-sm);margin-bottom:var(--spacing-md)}.grid{display:grid;gap:var(--spacing-md)}.grid-1{grid-template-columns:1fr}.grid-2{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:repeat(3,1fr)}.grid-4{grid-template-columns:repeat(4,1fr)}.flex{display:flex}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-sm{gap:var(--spacing-sm)}.gap-md{gap:var(--spacing-md)}.gap-lg{gap:var(--spacing-lg)}.mb-sm{margin-bottom:var(--spacing-sm)}.mb-md{margin-bottom:var(--spacing-md)}.mb-lg{margin-bottom:var(--spacing-lg)}.mb-xl{margin-bottom:var(--spacing-xl)}.mt-sm{margin-top:var(--spacing-sm)}.mt-md{margin-top:var(--spacing-md)}.mt-lg{margin-top:var(--spacing-lg)}.mt-xl{margin-top:var(--spacing-xl)}.p-sm{padding:var(--spacing-sm)}.p-md{padding:var(--spacing-md)}.p-lg{padding:var(--spacing-lg)}.p-xl{padding:var(--spacing-xl)}.spinner{display:inline-block;width:20px;height:20px;border:3px solid rgba(255,255,255,.3);border-radius:50%;border-top-color:#fff;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.alert{padding:var(--spacing-md);border-radius:var(--radius-sm);margin-bottom:var(--spacing-md)}.alert-success{background-color:#d1fae5;color:#065f46;border:1px solid #10b981}.alert-error{background-color:#fee2e2;color:#991b1b;border:1px solid #ef4444}.alert-warning{background-color:#fef3c7;color:#92400e;border:1px solid #f59e0b}.alert-info{background-color:#dbeafe;color:#1e40af;border:1px solid #3b82f6}.mobile-menu-toggle{display:none;position:fixed;top:var(--spacing-md);left:var(--spacing-md);z-index:1001;background-color:var(--primary-color);color:#fff;border:none;border-radius:var(--radius-sm);padding:12px;box-shadow:var(--shadow-lg);min-width:44px;min-height:44px}.mobile-menu-toggle svg{width:24px;height:24px}.mobile-menu-toggle:active{transform:scale(.95)}.mobile-overlay{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;z-index:999}.mobile-overlay.active{display:block}@media (max-width: 768px){:root{font-size:14px}h1{font-size:1.75rem}h2{font-size:1.25rem}h3{font-size:1.125rem}.mobile-menu-toggle{display:flex!important;align-items:center;justify-content:center}.grid-2,.grid-3,.grid-4{grid-template-columns:1fr}.card{padding:var(--spacing-md)}button{width:100%;margin-bottom:var(--spacing-sm)}.btn-group{display:flex;flex-direction:column;gap:var(--spacing-sm)}.btn-group button{margin-bottom:0}main{padding-top:70px!important}a,button,input,select,textarea{-webkit-tap-highlight-color:rgba(59,130,246,.2)}}@media (max-width: 480px){:root{font-size:14px}h1{font-size:1.5rem}.card{padding:var(--spacing-md);border-radius:var(--radius-sm)}}@media print{.mobile-menu-toggle,aside{display:none}main{margin:0;padding:0}}@media (prefers-reduced-motion: reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}*:focus-visible{outline:2px solid var(--primary-color);outline-offset:2px}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--bg-color)}::-webkit-scrollbar-thumb{background:var(--secondary-color);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--text-secondary)}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}
