.sm-dropdown-container {
  position: relative;
  width: 100%;
  /* max-width: 260px; */
  font-family: Arial, sans-serif;
}

.sm-dropdown-selected {
  height: 42.46px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.2s ease;
}

.sm-dropdown-selected:hover {
  border-color: #888;
}

.sm-dropdown-arrow {
  border: solid #666;
  border-width: 0 2px 2px 0;
  padding: 4px;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.sm-dropdown-open .sm-dropdown-arrow {
  transform: rotate(-135deg);
}

/* Clear button */
.sm-dropdown-clear {
  font-size: 16px;
  margin-right: 8px;
  cursor: pointer;
  display: none;
  color: #888;
}

.sm-dropdown-clear:hover {
  color: #444;
}

.sm-dropdown-list {
  position: absolute;
  width: 100%;
  top: calc(100% + 6px);
  border: 1px solid #ccc;
  border-radius: 6px;
  background: white;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
  display: none;
  overflow: hidden;
  z-index: 10000;
}

.sm-dropdown-search {
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-bottom: 1px solid #ddd;
  outline: none;
  font-size: 14px;
  box-sizing: border-box;
}

.sm-dropdown-items {
  max-height: 200px;
  overflow-y: auto;
}

.sm-dropdown-item {
  padding: 10px 12px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.sm-dropdown-item:hover {
  background: #f2f2f2;
}

/* Scrollbar */
.sm-dropdown-items::-webkit-scrollbar {
  width: 6px;
}

.sm-dropdown-items::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 4px;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .sm-dropdown-container {
    max-width: 100%;
  }
  .sm-dropdown-selected, .sm-dropdown-search, .sm-dropdown-item {
    padding: 14px;
    font-size: 16px;
  }
}

.sm-dropdown-item.active-item {
    background: #e5e7eb;
}

.smart-dropdown-input {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sm-dropdown-selected.sm-disabled {
    pointer-events: none;   /* disables all click events */
}
.sm-hidden-input {
    opacity:0;height:1px;width:1px;margin:0;border:0;padding:0;
}