/* Custom styles for PrintSync to complement Tailwind CSS */
:root {
  --primary: #00aeef;
  --primary-dark: #008bc2;
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
}

/* Ensure smooth transitions for interactive elements */
button, input, select {
  transition: all 0.2s ease-in-out;
}

/* Enhance glassmorphism effect */
.shadow-glass {
  box-shadow: 0 8px 24px rgba(31, 38, 135, 0.1);
}

/* Adjust table row hover for compact design */
table tr:hover {
  background-color: var(--neutral-50);
}

/* Fine-tune modal inputs for smaller size */
input[type="number"],
input[type="text"],
select {
  font-size: 0.875rem; /* Matches Tailwind's text-sm */
  line-height: 1.25rem;
}

/* Ensure icons scale appropriately */
svg {
  transition: color 0.2s ease-in-out;
}

/* Custom focus ring for accessibility */
:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--primary);
}

/* Compact modal content */
.max-h-\[90vh\] {
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--neutral-200) transparent;
}

/* Webkit scrollbar for compact modals */
.max-h-\[90vh\]::-webkit-scrollbar {
  width: 6px;
}

.max-h-\[90vh\]::-webkit-scrollbar-track {
  background: transparent;
}

.max-h-\[90vh\]::-webkit-scrollbar-thumb {
  background-color: var(--neutral-200);
  border-radius: 3px;
}