:host {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: var(--color-select-text);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5714285714;
  list-style: none;
  position: relative;
  display: inline-block;
  cursor: pointer;
  background-color: var(--color-select-bg);
  border: 1px solid var(--color-select-border);
  border-radius: 4px;
}

:host(.open) {
  display: block;
}

:host(:hover) {
  border-color: var(--color-select-hover);
  transition: border 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}

:host(.focused) {
  border-color: var(--color-select-focus);
  transition: border 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}

:host(.small) {
  font-size: 12px;
  border-radius: 3px;
}

:host(.small) .--c-select-wrapper {
  padding: 2px 8px;
  min-height: 28px;
}

:host(.large) {
  font-size: 16px;
  border-radius: 5px;
}

:host(.large) .--c-select-wrapper {
  padding: 5px 12px;
  min-height: 42px;
}

.--c-select-wrapper {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  height: 100%;
  padding: 3px 11px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
  min-height: 36px;
}

.--c-select-text-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  overflow: auto;
}

.--c-select-text {
  transition: all 0.3s, visibility 0s;
  align-self: center;
  word-break: break-word;
}

.--c-select-placeholder {
  color: var(--color-select-placeholder);
  font-weight: 500;
}

.--c-select-tag {
  background-color: var(--color-select-tag-bg);
  font-weight: 600;
  color: var(--color-select-tag-text);
  padding: 3px 6px;
  border-radius: 5px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 3px;
}

.--c-select-tag-value {
  display: flex;
  justify-content: center;
  align-items: center;
}

.--c-select-tag-close {
  display: flex;
  justify-content: center;
  align-items: center;
}

.--c-select-tag-close:hover {
  background-color: var(--color-select-tag-close-hover);
  border-radius: 4px;
}

.--c-select-icon {
  display: flex;
  align-items: center;
  color: rgba(0, 0, 0, 0.25);
  font-style: normal;
  line-height: 1;
  text-align: center;
  text-transform: none;
  pointer-events: none;
}

input {
  outline: 0 !important;
  height: 1px;
  padding: 0;
  border: 0;
  /* opacity: 0; */
  height: 100%;
  min-width: 1px;
  width: 1px;
}