.tab-component .tabs {
  display: flex;
  margin-bottom: 24px;
}

.tab-component .tab {
  padding: 12px 24px;
  background-color: #0054b8;
  border: none;
  cursor: pointer;
}

.tab-component .tab.active {
  background-color: #002e6d;
}

.tab-component .tab-content {
  display: none;
}

.tab-component .tab-content.active {
  display: block;
}

.case-header {
  color: #fff;
}

.case-header.Critical {
  background: #ff0000;
}

.case-header.High {
  background: #ff9900;
}

.case-header.Medium,
.case-header.Medium strong {
  background: #ffff00;
  color: #000000;
}

.checkbox-tabs form {
  display: flex;
  flex-direction: column;
  /* Stack checkbox groups and button vertically */
  gap: 20px;
  /* Adds spacing between groups and button */
  align-items: center;
  /* Centers everything */
  width: 100%;
}




.checkbox-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 10px !important;
  /* border: 2px solid blue !important; */
  /* Debugging border */
  min-width: 200px !important;
  flex: 1 !important;
}

.checkbox-item {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.checkbox-groups-container {
  display: flex;
  flex-direction: row;
  /* Keep checkboxes in a row */
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  /* Center the groups */
  width: 100%;
}


.submit-container {
  display: flex;
  justify-content: center;
  width: 100%;
}


.submit-button {
  background-color: #3b82f6;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.submit-button:hover {
  background-color: #2563eb;
}

.select-all-btn,
.deselect-all-btn,
.toggle-select-btn {
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.2s;
}

.select-all-btn:hover,
.toggle-select-btn:hover {
  background-color: rgba(59, 130, 246, 0.1);
}

.deselect-all-btn:hover {
  background-color: rgba(239, 68, 68, 0.1);
}

/* Selection count style */
.selection-count {
  font-size: 0.75rem;
  color: #6b7280;
}

/* Tom Select container spacing */
.select-group {
  margin-bottom: 15px;
  width: 100%;
}


.ts-control {
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  padding: 8px 12px;
  background-color: white;
  width: 100%;
}

.ts-control input {
  color: #718096;
}

/* Style for the Tom Select items */
.ts-control .item {
  background-color: #edf2f7;
  border-radius: 4px;
  padding: 2px 8px;
  margin: 2px;
}

.ts-control .item .remove {
  border-left: 1px solid #cbd5e0;
  padding-left: 6px;
  margin-left: 6px;
}

/* Make Tom Select containers full width */
.ts-wrapper {
  width: 100% !important;
}

/* Match the width of the dropdown to the container */
.ts-dropdown {
  width: 100% !important;
  max-width: 100% !important;
}

.select-groups-container {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}

.submit-filter-btn {
  background-color: #4299e1;
  /* Match your blue button */
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-weight: 500;
}
