/* Small overrides that complement Tailwind CDN */

html { scroll-behavior: smooth; }

.font-arabic { font-family: 'IBM Plex Sans Arabic', 'Inter', ui-sans-serif, system-ui; }

/* Smooth tab transitions */
.tab-panel { animation: fadeIn 0.12s ease-out; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* RTL-safe button icon spacing */
[dir="rtl"] svg.ms-auto { margin-right: auto; margin-left: 0; }

/* Hide browser spinners on tabular numeric inputs */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* Focus ring fallback for CDN builds that strip forms plugin */
:focus-visible { outline: 2px solid #2f6af5; outline-offset: 2px; }
