/* Position the button to the right */
.btn {
  align-items: right;
}

/* Add a little space around the button */
.btn img {
  margin-right: 5px;
}

body {
  font-family: Arial, sans-serif;
}

.sidebar_ds {
  display: flex;
  border-bottom: 2px solid #ccc;
}

.sidebar_ds div {
  padding: 12px 20px;
  background-color: #ececec;
  border: 1px solid #ccc;
  border-bottom: none;
  cursor: pointer;
  color: #000;
  font-weight: bold;
  margin-right: 5px;
  border-radius: 8px 8px 0 0;
}

.sidebar_ds div.active {
  background-color: #fff;
  border-top: 3px solid #0078d4;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  color: #0a0909;
}

.tab-content {
  border: 1px solid #ccc;
  padding: 20px;
  background-color: #fff;
  border-radius: 0 0 8px 8px;
}

.tab-item {
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  color: #333;
  border-right: 2px solid #ccc;
  transition: background-color 0.3s ease;
}

/* Remove the border on the last tab */
.tab-item:last-child {
  border-right: none;
}

/* Active tab styling */
.tab-item.active {
  font-weight: bold;
  color: white;
  background-color: #007bff;
}

/* Hover effect for tabs */
.tab-item:hover {
  background-color: #e0e0e0;
}

.sidebar_ds div i {
  margin-bottom: 5px;
  font-size: 18px;
}


/* Content layout */
.content-container {
  margin-left: 55px;
  padding: 20px;
}

/* Section Borders */
.section {
  background: white;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #c1a5a5;
}

.section-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  border-bottom: 2px solid #ccc;
  padding-bottom: 5px;
}

.query-output {
  background: #e9ecef;
  padding: 10px;
  border: 2px solid #ccc;
  font-family: monospace;
}

.checkbox-container,
.selected-checkboxes {
  height: 250px;
  overflow-y: scroll;
  margin-bottom: 1px;
  scrollbar-width: thin;
  scrollbar-color: darkgray lightgray;
}

.checkbox-container::-webkit-scrollbar {
  width: 12px;
}

.checkbox-container::-webkit-scrollbar-thumb {
  background-color: darkgray;
  border-radius: 10px;
}

.checkbox-container::-webkit-scrollbar-track {
  background-color: lightgray;
}

.checkbox-container:hover::-webkit-scrollbar-thumb {
  background-color: gray;
}

/* Add a style for selected checkboxes */
.selected {
  background-color: lightgray;
}

tr.highlight {
  background-color: #cccccc;
}

.text-center {
  padding: 1px;
}

#dynamic-container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

/* For small to medium screens */
@media (max-width: 1500px) {
  #dynamic-container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
}
