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

@layer base {
  body {
    @apply text-gray-500 dark:text-gray-400 bg-nafithBlueColor-100 dark:bg-gray-900 leading-normal;
    -webkit-font-smoothing: antialiased;
  }

  h1, .h1 {
    @apply text-4xl font-bold text-gray-900 dark:text-gray-100;
  }

  h2, .h2 {
    @apply text-3xl font-bold text-gray-900 dark:text-gray-100;
  }

  h3, .h3 {
    @apply text-2xl font-semibold text-sky-800 dark:text-gray-100;
  }

  h4, .h4 {
    @apply text-xl font-semibold text-gray-900 dark:text-gray-100;
  }

  h5, .h5 {
    @apply text-lg font-semibold text-gray-900 dark:text-gray-100;
  }

  h6, .h6 {
    @apply text-base font-semibold text-gray-900 dark:text-gray-100;
  }

  hr {
    @apply border-gray-200 dark:border-gray-600;
  }

  .heading-text {
    @apply text-gray-900 dark:text-gray-100;
  }

  /* Scrollbar styling */
  body::-webkit-scrollbar {
    width: 10px;
  }

  body::-webkit-scrollbar-track {
    background: #DCDCDC;
    border-radius: 20px;
  }

  body::-webkit-scrollbar-thumb {
    background: #075985;
    border-radius: 20px;
  }

  /* Dark mode scrollbar styling */
  body.dark-mode::-webkit-scrollbar-track {
    background: #333333;
  }

  body.dark-mode::-webkit-scrollbar-thumb {
    background: #666666;
  }
}
