.custom-select-container {
  position: relative;
  width: 300px;
  margin-bottom: 15px;
  border-radius: 0.375rem;
  display: flex;
  gap: 0.5rem;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.375rem;
}

.custom-select-container input[type="text"] {
  margin-top: 5px;
  box-sizing: border-box;
  border: 0 solid #e5e7eb;
  border-collapse: separate;
  box-shadow: none;
  min-height: auto;
  min-width: 30%;
  flex: 1 1 0%;
  margin-left: 0.25rem;
  border-radius: 0.375rem;
  border-style: none;
  background-image: none;
  outline: 2px solid transparent;
  outline-offset: 2px;
  padding: 0.125rem;
  line-height: 1.25rem;
}
.custom-select-container:focus-within {
  box-shadow: 0 0 0 transparent;
  border-radius: 4px;
  border: 1px solid #8c8f94;
  background-color: #fff;
  color: #2c3338;
  border-color: #2271b1;
  box-shadow: 0 0 0 1px #2271b1;
  outline: 2px solid transparent;
}
.selected-items:empty {
  display: none;
}

.custom-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  overflow-y: auto;
  background-color: #fff;
  border: 1px solid #ddd;
  border-top: none;
  z-index: 1000;
  margin-top: 0.5rem;
  box-shadow: 0 0 #0000, 0 0 #0000, 0 4px 6px -1px rgb(0 0 0 / 0.1),
    0 2px 4px -2px rgb(0 0 0 / 0.1);
  border-radius: 0.75rem;
  padding: 0.25rem;
  width: 100%;
  max-height: 20rem;
  overflow: auto;
}

.option {
  padding: 10px;
  cursor: pointer;
}

.option:hover {
  background-color: #f5f5f5;
}

.selected-items {
  box-sizing: border-box;
  border: 0 solid #e5e7eb;
  border-collapse: separate;
  border-radius: 0.375rem;
  display: flex;
  flex: none;
  justify-content: space-between;
  gap: 0.5rem;
  line-height: 1.25rem;
  height: 100%;
  cursor: pointer;
  padding: 0.25rem;
  background-color: rgb(243 244 246 / 1);
}

.selected-item {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.remove-item {
  cursor: pointer;
  font-weight: bold;
  box-sizing: border-box;
  border: 0 solid #e5e7eb;
}

.table-container {
  width: 100%;
  overflow-x: auto;
}

.cb-table {
  width: 100%;
  border-collapse: collapse;
}

.cb-table th,
.cb-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.cb-table th {
  background-color: #f2f2f2;
}

.switch {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

#advanced-options {
  margin-top: 10px;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:checked + .slider:before {
  transform: translateX(14px);
}
