@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --font-inter: 'Inter', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
  direction: rtl;
  font-family: var(--font-inter);
}

body {
  color: #000000;
  background: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

/* تم سبز و مشکی */
@layer utilities {
  .bg-primary {
    background-color: #00FF00;
  }
  
  .bg-dark {
    background-color: #1a5d1a; /* سبز تیره برای sidebar */
  }
  
  .bg-dark-green {
    background-color: #0d4a0d; /* سبز خیلی تیره */
  }
  
  .text-primary {
    color: #00FF00;
  }
  
  .text-dark {
    color: #000000;
  }
  
  .border-primary {
    border-color: #00FF00;
  }
}

/* استایل‌های سفارشی برای پنل */
.container-custom {
  @apply max-w-7xl mx-auto px-4 sm:px-6 lg:px-8;
}

.btn-primary {
  @apply bg-primary text-dark font-bold py-2 px-6 rounded-lg hover:bg-primary-dark transition-colors duration-200;
}

.btn-secondary {
  @apply bg-dark text-primary font-bold py-2 px-6 rounded-lg hover:bg-dark-light transition-colors duration-200;
}

.card {
  @apply bg-white rounded-lg shadow-lg p-6 border border-gray-200;
}

.input-field {
  @apply w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent;
}

