.myModal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999999999;
  width: 100%;
  height: 100%;
  background: rgba(59, 130, 246, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content-wrapper {
  width: 95%;
  max-width: 1200px;
}

.modal-box {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #ccc;
  background: #f5f5f5;
}

.btn-close {
  font-size: 1.5rem;
  border: none;
  background: none;
  cursor: pointer;
}

.modal-body {
  padding: 16px;
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tab-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.tab-btn {
  padding: 8px 16px;
  cursor: pointer;
  background: #eee;
  border: none;
  border-radius: 4px;
}

.tab-btn.active {
  background: #4285f4;
  color: white;
}

.tab-content {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.tab-pane {
  display: none;
  height: 100%;
}

.tab-pane.active {
  display: block;
}

.scrollable-table-wrapper {
  max-height: 350px;
  overflow-y: auto;
  border: 1px solid #ddd;
}

.table-bordered {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; /* ✅ ensures column widths are consistent */
}



.table-bordered td,
.table-bordered th {
  padding: 8px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  overflow: visible; /* ✅ important for checkbox alignment */
}

.table-bordered td {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  max-width: 150px; /* adjust to your needs */
}


.table-bordered input[type="checkbox"] {
  margin: 0 auto;
  display: block;
  position: static; /* ✅ remove any floaty behavior */
}

.table-bordered input[type="text"],
.table-bordered input[type="number"],
.table-bordered select {
  width: 100%;
  box-sizing: border-box;
}
/* 
.table-bordered input[type="checkbox"] {
  display: block;
  margin: auto;
} */

.modal-footer {
  padding: 16px;
  border-top: 1px solid #ccc;
  text-align: right;
  background: #f5f5f5;
}

.save-btn {
  padding: 8px 16px;
  background: #4caf50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.synonym-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.tagify {
  height: fit-content;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
