:host {
  /**
   * @prop --background: Background of the list header
   * @prop --color: Color of the list header text
   *
   * @prop --border-color: Color of the list header border
   * @prop --border-width: Width of the list header border
   * @prop --border-style: Style of the list header border
   *
   * @prop --inner-border-width: Width of the inner list header border
   */
  --border-style: solid;
  --border-width: 0;
  --inner-border-width: 0;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  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: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 40px;
  border-width: var(--border-width);
  border-style: var(--border-style);
  border-color: var(--border-color);
  background: var(--background);
  color: var(--color);
  overflow: hidden;
}

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

.list-header-inner {
  display: flex;
  position: relative;
  flex: 1;
  flex-direction: inherit;
  align-items: inherit;
  align-self: stretch;
  min-height: inherit;
  border-width: var(--inner-border-width);
  border-style: var(--border-style);
  border-color: var(--border-color);
  overflow: inherit;
  box-sizing: border-box;
}

::slotted(gasco-label) {
  flex: 1 1 auto;
}

:host(.list-header-lines-inset),
:host(.list-header-lines-none) {
  --border-width: 0;
}

:host(.list-header-lines-full),
:host(.list-header-lines-none) {
  --inner-border-width: 0;
}

:host {
  --background: transparent;
  --color: var(--gasco-text-color, #000);
  --border-color: var(--gasco-color-light-contrast, #CCCCCC);
  padding-left: calc(var(--gasco-safe-area-left, 0) + 16px);
  min-height: 45px;
  font-size: 14px;
  box-shadow: 0px 2px 4px rgba(171, 190, 209, 0.6);
  border-radius: 4px;
}
@supports (margin-inline-start: 0) or (-webkit-margin-start: 0) {
  :host {
    padding-left: unset;
    -webkit-padding-start: calc(var(--gasco-safe-area-left, 0) + 16px);
    padding-inline-start: calc(var(--gasco-safe-area-left, 0) + 16px);
  }
}

:host(.list-header-lines-full) {
  --border-width: 1px 0 0 0;
}

:host(.list-header-lines-inset) {
  --inner-border-width: 1px 0 0 0;
}