.category-table.mce-item-table {
    background: white;
}

.transform-table tbody tr.col-content:nth-child(odd) {
  background-color: #ffffff;
}

.transform-table tbody tr.col-content:nth-child(even) {
  background-color: #eeeeee;
}

/* Filter feature */
.main-tab-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.main-tab {
  background: #eee;
  border: 1px solid #ccc;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
  color: black;
}

.main-tab.active {
  background: #990000;
  color: #fff;
  border-color: #990000;
}

.main-tab-panel {
  display: block;
}
		
.search-filter-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  justify-content: center;
  font-family: Arial, sans-serif;
}

.search-filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-filter-group label {
  font-weight: bold;
  white-space: nowrap;
}

.search-filter-group select,
.search-filter-group input[type="text"] {
  padding: 0.4rem;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid #aaa;
  min-width: 200px;
}

.category-divider {
    width: 80%;
    margin: 50px auto;
    border-top: 2px solid #990000;
}

.category-wrapper {
  text-align: center;
  margin-bottom: 2rem;
}

.category-title {
    color: #990000;
    font-size: 26px;
    width: 70%;
    display: block;
    overflow-wrap: break-word; 
	word-break: break-word;
    margin: 0 auto;
    text-align: center;
}

.category-table {
    margin: 0 auto;
    border-collapse: collapse;
    width: 90%;
    max-width: 1300px;
    font-family: Arial, sans-serif;
    overflow-wrap: break-word;
    word-break: break-word;
}

.category-table th,
.category-table td {
  border: 1px solid #ccc;
  padding: 0.75rem;
  text-align: left;
}

.category-table th {
  background-color: #f2f2f2;
  font-weight: bold;
}

.category-wrapper h3 {
  font-size: 1.5rem;
  font-family: museo-slab, "Museo Slab W01", serif;
  color: #990000;
  margin-bottom: 1rem;
}

.category-table {
  table-layout: fixed;
}

.category-table th:first-child,
.category-table td:first-child {
  width: 20%; /* Wider for Agreement Name */
  word-wrap: break-word;
}

.category-table th:last-child,
.category-table td:last-child {
  width: 80%;
}
		
@media screen and (max-width: 768px) {
  .category-table {
    border: 0;
    width: 100%;
  }

  .category-table thead {
    display: none;
  }

  .category-table tr {
    display: block;
    margin: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 0.75rem;
  }

  .category-table td {
    display: block;
    text-align: left;
    padding: 0.5rem 0;
    position: relative;
    font-size: 0.95rem;
    border: none;
    border-bottom: 1px solid #eee;
  }

  .category-table td:last-child {
    border-bottom: none;
  }

  .category-table td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    color: #555;
    margin-bottom: 0.25rem;
  }
}