/**
 * Hand-written CSS for cases Tailwind utility classes (CDN build) can't
 * cover, plus small quality-of-life rules for the dashboard.
 */

/* Prevent number input spinners from shrinking tap targets on mobile */
.cit-qty-input::-webkit-outer-spin-button,
.cit-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.cit-qty-input {
	-moz-appearance: textfield;
}

/* Smooth theme transitions without flashing on toggle */
html.dark, html:not(.dark) {
	color-scheme: dark light;
}

/* Sticky filter bar offset safety on very small screens */
@media (max-width: 380px) {
	#cit-tab-panel-stock .sticky {
		top: 96px;
	}
}

/* Audit log + overview table horizontal scroll shadow cue */
.overflow-x-auto {
	-webkit-overflow-scrolling: touch;
}

/* Toast entrance */
#cit-toast {
	transition: opacity 0.2s ease, transform 0.2s ease;
}
