/* Language-specific styles */

/* Arabic RTL styles */
body.lang-ar {
  direction: rtl;
  text-align: right;
}

/* English LTR styles */
body.lang-en {
  direction: ltr;
  text-align: left;
}

/* Fix RTL issues with forms and inputs */
body.lang-ar input,
body.lang-ar textarea,
body.lang-ar select {
  text-align: right;
  direction: rtl;
}

body.lang-en input,
body.lang-en textarea,
body.lang-en select {
  text-align: left;
  direction: ltr;
}

/* Fix flex layouts for RTL */
body.lang-ar .flex-row,
body.lang-ar [style*="flex"],
body.lang-ar .action-buttons {
  flex-direction: row-reverse;
}

body.lang-en .flex-row,
body.lang-en [style*="flex"],
body.lang-en .action-buttons {
  flex-direction: row;
}

/* Language button styling */
.language-switcher-btn {
  background: linear-gradient(135deg, rgba(140, 176, 255, 0.25), rgba(90, 126, 201, 0.2)) !important;
  border: 1px solid rgba(140, 176, 255, 0.4) !important;
  color: #8cb0ff !important;
  transition: all 0.3s ease !important;
}

.language-switcher-btn:hover {
  background: linear-gradient(135deg, rgba(140, 176, 255, 0.4), rgba(90, 126, 201, 0.3)) !important;
  box-shadow: 0 4px 12px rgba(140, 176, 255, 0.3) !important;
}
