.centered-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: center;
  direction: ltr;
  overflow-y: scroll;
}

.centered-table th,
.centered-table td {
  padding: 8px;
  direction: ltr;
  font-size: 16px;
  line-height: 23px;
  font-family: 'osh_regular'; 
 text-align: center;  
}

.centered-table .anchor {
  background-color: #333;
  color: #fff;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
}

.centered-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: center;
}

.centered-table td {
  padding: 12px 0;
  font-size: 16px;
}

.bigTitle {
  font-weight: bold;
  font-size: 28px;
}

.left-cell {
  color: lime;
  background-color: #000;
}

.anchor-cell {
  background-color: #000;
  color: #fff;
  font-size:13px !important;
  line-height: 16px !important;
  cursor: pointer; 
}

.right-cell {
  color: red;
  font-weight: bold;
  font-size: 42px;
  background-color: #000;
}

.smallfilter_radio .active {
 color: #F7941F;
 font-weight: bold;
}


.menu-bar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.sideframe {
 flex: 1;
 padding: 10px;
 
}
.menu-box {
  flex: 0 1 auto;
  border: 1px solid #ddd;
  padding: 4px 6px;   /* פחות padding – יקטין את הגובה */
  margin: 0;          /* בלי מרווח חיצוני */
  box-sizing: border-box;
  background-color: #EFEFEF;  
  font-family: 'osh_regular'; 
}

.menu-title {
  font-weight: bold;
  margin-bottom: 2px; /* פחות רווח מתחת לכותרת */
  text-align: right;
  font-size:14px;
}


.menu-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end; /* הצמדה לצד ימין */
  align-items: center;
  direction: rtl;
  margin: 0;                 /* ביטול מרווח חיצוני */
  padding: 0;                /* ביטול רווח פנימי */
}

.portfolio-options { flex-direction: column; align-items: stretch; gap: 8px; }
.portfolio-select { font-size:16px; width: 100%; padding: 4px; border: 1px solid #ccc; direction: rtl; }
.portfolio-buttons { font-family: 'osh_regular' !important;  font-size:16px; display: flex; gap: 4px; justify-content: space-between; }
.portfolio-but
{ text-align: center; font-family: 'osh_regular'; height:25px; flex: 1; padding: 2px 6px; background-color: black; color: white; border: none; border-radius: 3px; cursor: pointer; font-size: 16px; }
.chart-but
{ text-align: center; font-family: 'osh_regular'; height:25px; flex: 1; padding: 2px 6px; background-color: gray; color: white; border: none; border-radius: 3px; cursor: pointer; font-size: 16px; }

.chart-but .active
{  }

.smallfilter_maof {
  border: none !important;
  padding: 0 !important;
  margin: 0 0 5px !important;
}

.dark-mode-wrapper {
  background-color: #2a2a2a !important;
}

.dark-mode-table {
  background-color: #2a2a2a !important;
  color: #ffffff !important;
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
  text-align: center;
  direction: ltr;
}

.dark-mode-table th {
  background-color: #f1f1f1 !important;
  color: black !important;
   border: none; /* הכי פשוט – בלי גבולות בכלל */
}

.dark-mode-table td {
  background-color: #2a2a2a !important;
  color: #ffffff !important;
   border: none; /* הכי פשוט – בלי גבולות בכלל */
}

.dark-mode-table tbody tr:hover {
  background-color: #666 !important; /* אפור בינוני */
}

.dark-mode-table tbody tr:hover td {
  background-color: #444 !important; /* אפור כהה יחסית */
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.dark-mode-table .anchor {
  background-color: #1a1a1a !important;
  color: #fff !important;
  font-weight: bold;
}

.smlchg { font-size: 12px; }

/* גלילה פנימית לטבלה - כותרות קבועות */
.dataTable_wrapper {
  position: relative;
  max-height: 80vh; /* גובה מקסימלי של 70% מגובה המסך */
  overflow-y: auto; /* גלילה אנכית */
  border: 1px solid #ccc;
  border-radius: 4px;
}

.dataTable_wrapper table {
  width: 100%;
  margin: 0;
}

.dataTable_wrapper thead {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #f8f9fa;
}

.dataTable_wrapper thead th {
  border-bottom: 2px solid #dee2e6 !important;
  position: sticky;
  top: 0;

}

.dark-mode-wrapper .dataTable_wrapper thead {
  background-color: #2a2a2a !important;
}

.dark-mode-wrapper .dataTable_wrapper thead th {
  background-color: #2a2a2a !important;
  color: #ffffff !important;
  border-bottom: 2px solid #555 !important;
}

.title-table-wrapper {
  overflow-x: auto; /* הוספת גלילה אפקית */
  overflow-y: scroll; /* מניעת גלילה אנכית */
  direction : ltr;
}

.plusLeft, .plusRight {
margin: 0 6px 0 6px;
cursor:pointer; 
font-size: 12px;
color: silver;
}

.options-table-container {
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid #ddd;
  border-radius: 3px;
  background-color: #ACABAC;  
  padding: 2px;
}

.options-table-container  span{
 padding: 5px;
}

.options-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;

}

.options-table .option-name {
 text-align: left;
}

.options-table button {
 border: 0;
 cursor: pointer; 
}

.options-table th {
  background-color: #f5f5f5;
  padding: 4px;
  text-align: center;
  border-bottom: 1px solid #ddd;
  font-weight: bold;
  position: sticky;
  top: 0;
}

.options-table td:first-child {
  padding: 2px;
  border-bottom: 1px solid #eee;
  text-align: center;
  white-space: nowrap; /* מונע שבירת שורה */
}

.options-table td {
  padding: 2px;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.options-table input[type="text"] {
  border: none;
  padding: 2px;
}

.quantity-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.quantity-btn {
  width: 18px;
  height: 18px;
  border: 1px solid #ccc;
  background: #f9f9f9;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-input {
  width: 35px !important;
  text-align: center !important;
  border: 1px solid #ccc !important;
}

.cost-input {
  width: 50px !important;
  text-align: right !important;
  border: 1px solid #ccc !important;
  direction: ltr;
}

.cost-input-dis {
  width: 70px !important;
  text-align: right !important;
  border: 1px solid #ccc !important;
  direction: ltr;
}


.add-option-btn {
  width: 100%;
  padding: 4px;
  color: white;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  margin-top: 5px;
}

.summary-table-wrapper {
  margin-top: 10px;
  direction: rtl;
  width: 100%;
  direction: ltr;
 
  
}

.summary-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 16px;
  background-color: #fff;
  table-layout: fixed; /* מבטיח שכל עמודה תיקח 25% */
  background-color: #ACABAC;
}

.summary-table th,
.summary-table td {
  border: 1px solid #ddd;
  padding: 6px 8px;
  text-align: center;
  vertical-align: middle;
  width: 25%;
  font-weight: bold;
}

.summary-table thead {
  background-color: #f5f5f5;
  font-weight: bold;
}

.summary-title {
 font-size:16px;  
 width: 100%; 
 padding: 4px; 
 border: 1px solid #ccc; 
 direction: rtl; box-sizing: border-box;
}

.input-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.index-input {
  float: right;
  width: 80px;
  font-size: 13px;
  padding: 2px 4px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.check-btn {
  background: none;
  border: none;
  color: green;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
}

#maofTable i { 
 margin: 0; 
 color: black;
}