:host {
  /**
   * @prop --background: Background of the searchbar input
   * @prop --box-shadow: Box shadow of the searchbar input
   * @prop --border-radius: Border radius of the searchbar input
   * @prop --cancel-button-color: Color of the searchbar cancel button
   * @prop --clear-button-color: Color of the searchbar clear button
   * @prop --color: Color of the searchbar text
   * @prop --icon-color: Color of the searchbar icon
   * @prop --placeholder-color: Color of the searchbar placeholder
   * @prop --placeholder-font-style: Font style of the searchbar placeholder
   * @prop --placeholder-font-weight: Font weight of the searchbar placeholder
   * @prop --placeholder-opacity: Opacity of the searchbar placeholder
   */
  --box-shadow: 0px 4px 10px rgba(171, 190, 209, 0.4);
  --placeholder-color: var(--gasco-color-medium, #999999);
  --placeholder-font-style: initial;
  --placeholder-font-weight: initial;
  --placeholder-opacity: .5;
  --background: transparent;
  --border-style: solid;
  --border-width: 1px;
  --border-color: var(--gasco-color-medium, #999999);
  --color: var(--gasco-color-medium, #999999);
  border-radius: var(--border-radius);
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: flex;
  position: relative;
  align-items: center;
  width: 100%;
  color: var(--color);
  font-family: var(--gasco-font-family, inherit);
  box-sizing: border-box;
  border-style: var(--border-style);
  border-color: var(--border-color);
  border-width: var(--border-width);
  background: var(--background);
  transition: 300ms;
}

:host(.gasco-color) {
  color: var(--gasco-color-contrast);
}

:host(.gasco-color) .searchbar-input {
  background: var(--gasco-color-base);
}

:host(.gasco-color) .searchbar-clear-button,
:host(.gasco-color) .searchbar-cancel-button,
:host(.gasco-color) .searchbar-search-icon {
  color: inherit;
}

.searchbar-search-icon {
  color: var(--icon-color);
  pointer-events: none;
}

.searchbar-input-container {
  display: block;
  position: relative;
  flex-shrink: 1;
  width: 100%;
}

.searchbar-input {
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: inherit;
  text-indent: inherit;
  text-overflow: inherit;
  text-transform: inherit;
  text-align: inherit;
  white-space: inherit;
  color: inherit;
  transition: 300ms;
  display: block;
  width: 100%;
  border: 0;
  outline: none;
  background: var(--background);
  font-family: inherit;
  box-sizing: border-box;
  appearance: none;
}
.searchbar-input::placeholder {
  color: var(--placeholder-color);
  font-family: inherit;
  font-style: var(--placeholder-font-style);
  font-weight: var(--placeholder-font-weight);
  opacity: var(--placeholder-opacity);
}
.searchbar-input::-webkit-search-cancel-button, .searchbar-input::-ms-clear {
  display: none;
}

.searchbar-cancel-button {
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 0;
  display: none;
  height: 100%;
  border: 0;
  outline: none;
  color: var(--cancel-button-color);
  cursor: pointer;
  appearance: none;
}

.searchbar-cancel-button > div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.searchbar-clear-button {
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  padding-bottom: 0;
  display: none;
  min-height: 0;
  outline: none;
  color: var(--clear-button-color);
  appearance: none;
}

:host(.searchbar-has-value.searchbar-should-show-clear) .searchbar-clear-button {
  display: block;
}

:host(.searchbar-disabled) {
  cursor: default;
  pointer-events: none;
  --border-color: var(--gasco-color-light, #F1F1F1) !important;
  --background: var(--gasco-color-light, #F1F1F1) !important;
  background: var(--gasco-color-light, #F1F1F1) !important;
}

:host(.searchbar-disabled) {
  opacity: 0.8;
}

:host(.searchbar-disabled) .native-input-label {
  --background: var(--gasco-color-light, #F1F1F1);
}

:host(.searchbar-has-focus) {
  pointer-events: none;
  --border-color: var(--gasco-color-primary, #00A3E0) !important;
}
:host(.searchbar-has-focus) .searchbar-input-label, :host(.searchbar-has-focus) .searchbar-input-textHelp, :host(.searchbar-has-focus) .searchbar-input-limit {
  color: var(--gasco-color-primary, #00A3E0);
}

:host(.searchbar-has-focus) [slot=start] {
  color: var(--gasco-color-primary, #00A3E0);
}

:host(.searchbar-has-focus) input,
:host(.searchbar-has-focus) a,
:host(.searchbar-has-focus) button {
  pointer-events: auto;
}

@media (any-hover: hover) {
  :host(:not([disabled]):hover) {
    box-shadow: var(--box-shadow);
    --border-color: var(--gasco-color-dark, #222428);
    border-radius: var(--border-radius);
  }
}
:host {
  --border-radius: 8px;
  --cancel-button-color: var(--gasco-color-step-900, #1a1a1a);
  --clear-button-color: initial;
  --color: var(--gasco-color-step-850, #262626);
  --icon-color: var(--gasco-color-step-600, #666666);
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
  height: 48px;
  background-color: #FFFFFF;
}
@supports (margin-inline-start: 0) or (-webkit-margin-start: 0) {
  :host {
    padding-left: unset;
    padding-right: unset;
    -webkit-padding-start: 16px;
    padding-inline-start: 16px;
    -webkit-padding-end: 16px;
    padding-inline-end: 16px;
  }
}

.searchbar-search-icon {
  right: 8px;
  top: 6px;
  width: 21px;
  height: 21px;
}
[dir=rtl] .searchbar-search-icon, :host-context([dir=rtl]) .searchbar-search-icon {
  left: unset;
  right: unset;
  left: 8px;
}

.searchbar-cancel-button {
  left: 5px;
  top: 0;
  background-color: transparent;
  font-size: 1.6em;
}
[dir=rtl] .searchbar-cancel-button, :host-context([dir=rtl]) .searchbar-cancel-button {
  left: unset;
  right: unset;
  right: 5px;
}

.searchbar-search-icon,
.searchbar-cancel-button {
  position: absolute;
}

.searchbar-search-icon.gasco-activated,
.searchbar-cancel-button.gasco-activated {
  background-color: transparent;
}

.searchbar-input {
  background-position: left 8px center;
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
}
[dir=rtl] .searchbar-input, :host-context([dir=rtl]) .searchbar-input {
  background-position: right 8px center;
}

.searchbar-clear-button {
  right: 8px;
  top: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  padding-bottom: 0;
  position: absolute;
  height: 100%;
  border: 0;
  background-color: transparent;
}
[dir=rtl] .searchbar-clear-button, :host-context([dir=rtl]) .searchbar-clear-button {
  left: unset;
  right: unset;
  left: 8px;
}

.searchbar-clear-button.gasco-activated {
  background-color: transparent;
}

.searchbar-clear-icon {
  width: 22px;
  height: 100%;
}

:host(.searchbar-has-focus) .searchbar-search-icon {
  display: block;
}

:host(.searchbar-has-focus) .searchbar-cancel-button,
:host(.searchbar-should-show-cancel) .searchbar-cancel-button {
  display: block;
}

:host(.searchbar-has-focus) .searchbar-cancel-button + .searchbar-search-icon,
:host(.searchbar-should-show-cancel) .searchbar-cancel-button + .searchbar-search-icon {
  display: none;
}

:host(.searchbar-has-value) gasco-list,
:host(.searchbar-has-focus) gasco-list {
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  max-width: 100%;
  z-index: 10;
  background: #FFFFFF;
  box-shadow: 0px 2px 4px rgba(171, 190, 209, 0.6);
  border-radius: 4px;
}