.custom-dropdown {
  position: relative;
  display: inline-block;
  width: 100%;
}
.custom-select {
  width: 100%;
  padding: 5px 15px;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* Custom dropdown arrow to mimic native select icon */
.custom-select::after {
  content: "";
  position: absolute;
  right: 10px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #888; /* Adjust color as needed */
  pointer-events: none;
}
/* Dropdown arrow */
.dropdown-arrow {
  font-size: 12px;
  color: #888;
}

/* Options styling */
.custom-options {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: white;
  border: 1px solid #ccc;
  z-index: 10;
  display: none;
  max-height: 200px;
  overflow-y: auto; 
}

.custom-dropdown.open .custom-options {
  display: block;
}

.custom-options.open{
  display: block;
}

.custom-search-type-selector {
  background: var(--light-grey-color);
  border: none;
  border-radius: 4px;
  box-shadow: 2px 2px 4px 0px var(--grey-color);
  top: 48px;
  z-index: 100;
  cursor: pointer;
}

/* Option item styling */
.custom-option {
  padding: 5px 15px;
  cursor: pointer;
  width: 100%;
  display: block;
}

.custom-search-option.selected {
  font-weight: bold;
  color: var(--blue-color)
}

.custom-search-option.selected::after {
  content: ' ✓';
}

.custom-search-option-label {
  padding: 5px 10px;
  display: block;
  cursor: not-allowed;
}

.custom-search-option-value {
  padding: 5px 25px;
  display: block;
  font-weight: bold;
}

.custom-search-option:hover {
  color: black;
  background-color: var(--emphasized-light-grey-color);
}

/* Hover and selected styles */
.custom-option:hover {
  color: #fff;
  background-color: var(--blue-color);
}
.custom-option.selected {
  color: #fff;
  background-color: var(--blue-color);
}

.custom-buffer-dropdown {
  width: auto;
}

.custom-buffer-select {
  height: 22px;
  width: 80px;
  padding: 5px 5px;
  background: var(--light-grey-color);
  border: 1px solid var(--graphite-color);
}

.custom-buffer-option {
  padding: 5px 5px;
  font-weight: bold;
}

.custom-buffer-option:hover {
  color: black;
  background-color: var(--emphasized-light-grey-color);
}

.custom-buffer-option.selected {
  font-weight: bold;
  color: var(--blue-color);
  background-color: var(--light-grey-color);
}

.custom-buffer-option.selected:hover {
  color: black;
  background-color: var(--emphasized-light-grey-color);
}

.custom-buffer-option.selected::after {
  content: ' ✓';
}

.custom-buffer-options {
  background: var(--light-grey-color);
  border: none;
  border-radius: 4px;
  box-shadow: 2px 2px 4px 0px var(--grey-color);
  top: 25px;
  z-index: 100;
  cursor: pointer;
}