.ewss-container{
  position: relative;
  width: 100%;
}

.ewss-form{
  position: relative;
  width: 100%;
}

.ewss-wrap{
  position: relative;
  width: 100%;

  display: flex;
  align-items: center;

  /* DEFAULTS REQUESTED */
  background: #000;
  border-style: solid;
  border-width: 1px;
  border-color: #fff;
  border-radius: 2px;
  padding: 10px 12px;
}

/* Icon inside the input box, shown only when empty (acts like placeholder icon) */
.ewss-icon{
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .12s ease;
}

.ewss-container.ewss-empty .ewss-icon{
  opacity: 1;
}

.ewss-icon svg{
  width: 18px;
  height: 18px;
  stroke: #fff;
}

.ewss-input{
  border: 0;
  outline: none;
  box-shadow: none;
  background: transparent;
  width: 100%;
  padding: 0;
  margin: 0;

  /* leave room for icon + gap */
  padding-left: 40px;

  color: #fff;
  font-size: 16px;
}

.ewss-input::placeholder{
  color: #fff;
  opacity: 0.9;
}

/* Dropdown: white bg, black text */
.ewss-dropdown{
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 9999;

  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.ewss-loading,
.ewss-empty-state{
  padding: 12px;
  font-size: 14px;
  color: #111827;
}

.ewss-list{
  display: block;
}

.ewss-item{
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 10px 12px;
  text-decoration: none;
  color: #111827;
  background: transparent;
}

.ewss-item:hover,
.ewss-item.is-active{
  background: #f3f4f6;
}

.ewss-thumb{
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
  background: #f3f4f6;
}

.ewss-thumb-fallback{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  color: #111827;
}

.ewss-item-text{
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ewss-item-label{
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ewss-item-type{
  font-size: 12px;
  color: #6b7280;
  line-height: 1.2;
}

.ewss-footer{
  border-top: 1px solid #e5e7eb;
  padding: 10px 12px;
  background: #fff;
}

.ewss-see-all{
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #111827;
}

.ewss-see-all:hover{
  text-decoration: underline;
}
