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

/* Custom Scrollbar for nicer look in instruction panel if it overflows */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #c7c7c7;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Mobile optimizations */
@media (max-width: 640px) {
  /* Reduce gaps on mobile */
  main {
    gap: 1rem !important;
  }

  /* Ensure container doesn't have excessive padding */
  .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  /* Make sure text doesn't overflow */
  body {
    overflow-x: hidden;
  }
}

/* Touch-friendly buttons on mobile */
@media (max-width: 768px) {
  button {
    min-height: 36px;
  }
}
