/* Searchable Multi-Select Dropdown */
.ss-wrapper {
  position: relative;
  width: 100%;
}
.ss-wrapper.ss-open {
  margin-bottom: 328px;
}

.ss-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 10px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  min-height: 31px;
  transition: border-color .15s;
}
.ss-trigger:hover {
  border-color: #86b7fe;
}
.ss-open .ss-trigger {
  border-color: #86b7fe;
  box-shadow: 0 0 0 .2rem rgba(13,110,253,.15);
}

.ss-trigger-text {
  color: #999;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.ss-trigger-text.ss-has-value {
  color: #333;
}

.ss-chevron {
  font-size: 11px;
  color: #999;
  margin-left: 6px;
  transition: transform .2s;
}
.ss-open .ss-chevron {
  transform: rotate(180deg);
}

.ss-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1050;
  background: #fff;
  border: 1px solid #ced4da;
  border-top: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  max-height: 320px;
  display: flex;
  flex-direction: column;
}

.ss-search-wrap {
  position: relative;
  padding: 8px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}
.ss-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 13px;
}
.ss-search-input {
  width: 100%;
  padding: 5px 10px 5px 30px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 13px;
  outline: none;
}
.ss-search-input:focus {
  border-color: #86b7fe;
}

.ss-select-all {
  border-bottom: 1px solid #eee;
  font-weight: 600;
  color: #555;
  flex-shrink: 0;
}

.ss-options-list {
  overflow-y: auto;
  max-height: 220px;
  flex: 1;
}

.ss-remote-footer {
  border-top: 1px solid #eee;
  padding: 4px 8px;
  text-align: center;
}

.ss-load-more {
  font-size: 12px;
  text-decoration: none;
}

.ss-option {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 13px;
  gap: 6px;
  margin: 0;
  transition: background .1s;
}
.ss-option:hover {
  background: #f0f4ff;
}

.ss-checkbox {
  width: 15px;
  height: 15px;
  margin: 0;
  cursor: pointer;
  accent-color: #0d6efd;
  flex-shrink: 0;
}

.ss-flag {
  font-size: 16px;
  line-height: 1;
}

.ss-option-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ss-hidden-inputs {
  display: none;
}
