import { css } from 'lit';
export default css `
:host {
  display: inline-block;
  vertical-align: middle;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  height: 32px;

  font-family: var(--md-sys-typescale-label-large-font-family-name);
  font-style: var(--md-sys-typescale-label-large-font-family-style);
  font-weight: var(--md-sys-typescale-label-large-font-weight, 500);
  font-size: var(--md-sys-typescale-label-large-font-size, 14px);
  letter-spacing: var(--md-sys-typescale-label-large-tracking);
  line-height: var(--md-sys-typescale-label-large-height);
  text-transform: var(--md-sys-typescale-label-large-text-transform);
  text-decoration: var(--md-sys-typescale-label-large-text-decoration);

  border-radius: var(--md-sys-shape-corner-small);
  color: var(--md-sys-color-on-surface);
  fill: var(--md-sys-color-primary);

  user-select: none;

  --md-ripple-hover-state-layer-color: var(--md-sys-color-on-surface);
  --md-ripple-focus-state-layer-color: var(--md-sys-color-on-surface);
  --md-ripple-pressed-state-layer-color: var(--md-sys-color-primary);
}

:host([disabled]) {
  pointer-events: none;
}

:host([disabled]) .container {
  border-color: var(--md-sys-color-on-surface);
  opacity: .12;
}

:host([disabled][elevated]) .container {
  background-color: var(--md-sys-color-on-surface);
  opacity: .12;
  box-shadow: none;
}

:host([disabled]) .content {
  color: var(--md-sys-color-on-surface);
  opacity: .38;
}

.surface {
  position: relative;
  height: inherit;
  border-radius: inherit;
}

.ripple {
  z-index: 0;
  border-radius: inherit;
}

.container {
  position: absolute;
  inset: 0;

  box-sizing: border-box;
  border-radius: inherit;
  border: 1px var(--md-sys-color-outline) solid;
  z-index: 0;
}

.content {
  height: inherit;
  display: flex;
  align-items: center;
  justify-content: start;
  box-sizing: border-box;
  padding: 0 16px;
  border-radius: inherit;
  border: 1px transparent solid;
  position: relative;
  z-index: 1;
}

:host([elevated]) .container {
  background-color: var(--md-sys-color-surface);
  box-shadow: var(--md-sys-elevation-1);
  border-width: 0;
}

.withIcon .content,
:host([type=filter][checked]) .content {
  padding-left: 8px;
}

.withAvatar .content {
  padding-left: 4px;
}

:host([closable]) .content,
:host([type="filter"][list]) .content {
  padding-right: 8px;
}

.withIcon slot[name=icon]::slotted(*),
.withAvatar slot[name=avatar]::slotted(*) {
  margin-right: 8px;
}

slot[name=icon]::slotted(*) {
  width: 16px;
  height: 16px;
}

slot[name=avatar]::slotted(*) {
  width: 24px;
  height: 24px;
  border-radius: var(--md-sys-shape-corner-medium);
}

.leading-icon {
  height: 18px;
  width: 0px;
  overflow: hidden;
  transition: width 230ms var(--md-sys-animation-easing-standard);
}

.check-mark.checked {
  width: 18px;
  margin-right: 8px;
}

.trailing-icon {
  margin-left: 8px;
  width: 18px;
  height: 18px;
  fill: var(--md-sys-color-on-surface-variant);
}

:host([elevated]:hover) .container,
:host([elevated]:focus) .container {
  box-shadow: var(--md-sys-elevation-2);
}

:host([elevated][dragged]) .container {
  box-shadow: var(--md-sys-elevation-4);
}

:host([checked]) .container {
  background-color: var(--md-sys-color-secondary-container);
  border-width: 0;
}

:host([type="filter"]),
:host([type="filter"]) .leading-icon {
  color: var(--md-sys-color-on-surface-variant);
  fill: var(--md-sys-color-on-surface-variant);
}

:host([type="filter"][checked]),
:host([type="filter"][checked]) .leading-icon {
  color: var(--md-sys-color-on-secondary-container);
}

:host([type="input"]) .container {
  background-color: var(--md-sys-color-surface);
  color: var(--md-sys-color-on-surface-variant);
}

:host([type="input"]) .leading-icon,
:host([type="input"]) .trailing-icon {
  color: var(--md-sys-color-on-surface-variant);
  fill: var(--md-sys-color-on-surface-variant);
}
`;
//# sourceMappingURL=UiChip.styles.js.map