
/* RTL Overrides for Hebrew Language Support */
body {
  direction: rtl;
  text-align: right;
}

h1, h2, h3, h4, h5, h6, p {
  text-align: right;
}

/* Navigation adjustments for RTL */
.navigation-rtl {
  flex-direction: row-reverse;
}

.navigation-rtl .space-x-8 > * + * {
  margin-left: 0;
  margin-right: 2rem;
}

.navigation-rtl .space-x-4 > * + * {
  margin-left: 0;
  margin-right: 1rem;
}

/* Grid adjustments for RTL */
.grid-rtl {
  direction: rtl;
}

/* Flexbox adjustments for RTL */
.flex-rtl {
  flex-direction: row-reverse;
}

/* Text alignment for RTL */
.text-center-rtl {
  text-align: center;
}

.text-right-rtl {
  text-align: right;
}

/* Button spacing adjustments */
.space-x-reverse > * + * {
  margin-left: 0;
  margin-right: 0.5rem;
}

/* Container adjustments */
.container-rtl {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Card content adjustments */
.card-rtl {
  text-align: right;
}

.card-rtl .flex {
  flex-direction: row-reverse;
}

/* Footer adjustments */
.footer-rtl .flex {
  flex-direction: row-reverse;
}

.footer-rtl .space-x-4 > * + * {
  margin-left: 0;
  margin-right: 1rem;
}

/* Form adjustments */
.form-rtl input,
.form-rtl textarea,
.form-rtl select {
  text-align: right;
}

/* Language toggle positioning in RTL */
.language-toggle-rtl {
  left: 0;
  right: auto;
}
