/* Cross-browser compatibility fixes */
:root {
  color-scheme: light dark;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Fix scrollbar width for all browsers */
* {
  scrollbar-width: thin;
  -webkit-scrollbar-width: thin;
}

/* Fix text alignment inheritance */

body[dir="rtl"], html[dir="rtl"] {
  direction: rtl !important;
  text-align: right !important;
}

.main, .container, .container-xl, .container-fluid {
  direction: inherit;
  text-align: inherit;
}
