/* Custom CSS for tables alignment */
.MuiTableCell-root {
  text-align: right !important;
}

/* Exception for specific columns that should be left-aligned (like actions buttons) */
.MuiTableCell-root.align-left {
  text-align: left !important;
}

/* Fix for table header cells */
.MuiTableCell-head {
  text-align: right !important;
  font-weight: bold;
}

/* Make sure any custom right-to-left settings are properly applied */
[dir="rtl"] .MuiTableCell-root {
  text-align: right !important;
}

/* Fix for Material-UI specific alignment issues */
.MuiTableCell-alignRight {
  text-align: right !important;
}

.MuiTableCell-alignLeft {
  text-align: left !important;
}

/* תיקון למיקום תוויות שדות בעברית */
.MuiInputLabel-root {
  right: 0 !important;
  left: auto !important;
  transform-origin: right !important;
}

/* תיקון לסגנון של תוויות שדות - מיישר את הטקסט לימין בתוך התווית */
.MuiInputLabel-root .MuiInputLabel-formControl {
  text-align: right !important;
  padding-right: 5px !important; 
}

/* תיקון לתווית כאשר היא במצב מוקטן (למעלה) */
.MuiInputLabel-shrink {
  transform-origin: right top !important;
  right: 0 !important;
  left: auto !important;
}
