@tailwind base;@tailwind components;@tailwind utilities;@layer base{:root{--color-primary: 59 130 246;--color-primary-hover: 37 99 235;--color-secondary: 107 114 128}html{@apply scroll-smooth;}body{@apply font-sans antialiased text-gray-900 dark:text-gray-100;font-family:Inter,Noto Sans Hebrew,system-ui,sans-serif;direction:rtl}*{@apply border-gray-200 dark:border-gray-700;}::-webkit-scrollbar{@apply w-2 h-2;}::-webkit-scrollbar-track{@apply bg-gray-100 dark:bg-gray-800;}::-webkit-scrollbar-thumb{@apply bg-gray-300 dark:bg-gray-600 rounded-full;}::-webkit-scrollbar-thumb:hover{@apply bg-gray-400 dark:bg-gray-500;}*:focus-visible{@apply outline-none ring-2 ring-blue-500 ring-offset-2 ring-offset-white dark:ring-offset-gray-900;}::selection{@apply bg-blue-500/20 text-blue-900 dark:text-blue-100;}}@layer components{.btn{@apply inline-flex items-center justify-center gap-2 px-4 py-2.5 rounded-lg font-medium text-sm transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed;}.btn-primary{@apply btn bg-blue-600 text-white hover:bg-blue-700 focus:ring-blue-500 shadow-sm;}.btn-secondary{@apply btn bg-gray-100 text-gray-700 hover:bg-gray-200 focus:ring-gray-500 dark:bg-gray-700 dark:text-gray-200 dark:hover:bg-gray-600;}.btn-outline{@apply btn border-2 border-gray-300 text-gray-700 hover:bg-gray-50 focus:ring-gray-500 dark:border-gray-600 dark:text-gray-200 dark:hover:bg-gray-800;}.btn-danger{@apply btn bg-red-600 text-white hover:bg-red-700 focus:ring-red-500 shadow-sm;}.btn-ghost{@apply btn text-gray-600 hover:bg-gray-100 focus:ring-gray-500 dark:text-gray-300 dark:hover:bg-gray-800;}.btn-sm{@apply px-3 py-1.5 text-xs;}.btn-lg{@apply px-6 py-3 text-base;}.input{@apply w-full px-4 py-2.5 bg-white border border-gray-300 rounded-lg text-gray-900 placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all duration-200 dark:bg-gray-800 dark:border-gray-600 dark:text-gray-100 dark:placeholder-gray-500;}.input-error{@apply border-red-500 focus:ring-red-500;}.label{@apply block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1.5;}.card{@apply bg-white dark:bg-gray-800 rounded-xl border border-gray-200 dark:border-gray-700 shadow-sm;}.card-hover{@apply card hover:shadow-md hover:border-gray-300 dark:hover:border-gray-600 transition-shadow duration-200;}.badge{@apply inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium;}.badge-blue{@apply badge bg-blue-100 text-blue-700 dark:bg-blue-900/30 dark:text-blue-300;}.badge-green{@apply badge bg-green-100 text-green-700 dark:bg-green-900/30 dark:text-green-300;}.badge-yellow{@apply badge bg-yellow-100 text-yellow-700 dark:bg-yellow-900/30 dark:text-yellow-300;}.badge-red{@apply badge bg-red-100 text-red-700 dark:bg-red-900/30 dark:text-red-300;}.badge-purple{@apply badge bg-purple-100 text-purple-700 dark:bg-purple-900/30 dark:text-purple-300;}.badge-gray{@apply badge bg-gray-100 text-gray-700 dark:bg-gray-700 dark:text-gray-300;}.table-container{@apply overflow-x-auto rounded-xl border border-gray-200 dark:border-gray-700;}.table{@apply w-full text-sm text-right;}.table th{@apply px-4 py-3 text-gray-500 font-medium uppercase tracking-wider bg-gray-50 dark:bg-gray-800 border-b border-gray-200 dark:border-gray-700;}.table td{@apply px-4 py-3 border-b border-gray-100 dark:border-gray-700;}.table tbody tr{@apply hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors;}.dropdown{@apply absolute right-0 mt-2 w-56 bg-white dark:bg-gray-800 rounded-xl border border-gray-200 dark:border-gray-700 shadow-lg py-1 z-50;}.dropdown-item{@apply w-full px-4 py-2 text-sm text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-700 flex items-center gap-2;}.modal-overlay{@apply fixed inset-0 bg-black/50 backdrop-blur-sm z-50 flex items-center justify-center p-4;}.modal-content{@apply bg-white dark:bg-gray-800 rounded-2xl shadow-xl max-w-lg w-full max-h-[90vh] overflow-hidden;}.modal-header{@apply px-6 py-4 border-b border-gray-200 dark:border-gray-700 flex items-center justify-between;}.modal-body{@apply px-6 py-4 overflow-y-auto max-h-[60vh];}.modal-footer{@apply px-6 py-4 border-t border-gray-200 dark:border-gray-700 flex justify-end gap-3;}.tabs{@apply flex border-b border-gray-200 dark:border-gray-700;}.tab{@apply px-4 py-3 text-sm font-medium text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 border-b-2 border-transparent transition-colors;}.tab-active{@apply text-blue-600 dark:text-blue-400 border-blue-600 dark:border-blue-500;}.tooltip{@apply absolute z-50 px-3 py-2 text-xs font-medium text-white bg-gray-900 dark:bg-gray-700 rounded-lg shadow-lg pointer-events-none opacity-0 invisible transition-all duration-200;}.tooltip-visible{@apply opacity-100 visible;}}@layer utilities{.text-balance{text-wrap:balance}.animate-slide-in{animation:slideIn .3s ease-out}.animate-fade-in{animation:fadeIn .2s ease-out}.animate-scale-in{animation:scaleIn .2s ease-out}@keyframes slideIn{0%{opacity:0;transform:translate(20px)}to{opacity:1;transform:translate(0)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes scaleIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.rtl{direction:rtl}.ltr{direction:ltr}}
