.ss-wrapper {
  position: relative;
  width: 100%;
}

.ss-native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.ss-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  background: #fff;
  font: inherit;
  color: inherit;
}

.ss-display.ss-placeholder .ss-label {
  color: #9ca3af;
}

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

.ss-caret {
  font-size: 0.75rem;
  color: #9ca3af;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.ss-wrapper.ss-open .ss-caret {
  transform: rotate(180deg);
}

.ss-wrapper.ss-disabled {
  opacity: 0.6;
}

.ss-display:disabled {
  cursor: not-allowed;
}

.ss-panel {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.ss-wrapper.ss-open .ss-panel {
  display: block;
}

.ss-search {
  width: 100%;
  border: none;
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 12px;
  font: inherit;
  outline: none;
  box-sizing: border-box;
}

.ss-list {
  max-height: 240px;
  overflow-y: auto;
}

.ss-item {
  padding: 9px 12px;
  cursor: pointer;
  font-size: 0.95rem;
}

.ss-item:hover {
  background: #f3f4f6;
}

.ss-item.ss-selected {
  background: #fee2e2;
  color: #b91c1c;
  font-weight: 600;
}

.ss-empty {
  padding: 12px;
  text-align: center;
  color: #9ca3af;
  font-size: 0.9rem;
}
