import { css } from 'lit';
export default css `
  :host {
    display: inline-block;
    vertical-align: middle;
    box-sizing: content-box;
    outline: none;
    writing-mode: horizontal-tb !important;
    text-rendering: auto;
    cursor: default;
    user-select: none;
    height: 40px;
    width: fit-content;
    -webkit-tap-highlight-color: transparent;

    position: relative;

    border-radius: 20px;

    --_label-text-font: var(
      --ui-button-label-text-font,
      var(--md-sys-typescale-label-large-font, var(--md-ref-typeface-plain, Roboto))
    );
    --_label-text-weight: var(
      --ui-button-label-text-weight,
      var(--md-sys-typescale-label-large-weight, var(--md-ref-typeface-weight-medium, 500))
    );
    --_label-text-line-height: var(
      --ui-button-label-text-line-height,
      var(--md-sys-typescale-label-large-height, 1.25rem)
    );
    --_label-text-size: var(--ui-button-label-text-size, var(--md-sys-typescale-label-large-size, 0.875rem));
    --_icon-size: var(--md-elevated-button-icon-size, 18px);
    --_content-padding: 0px 24px;
    --_content-opacity: 1;
    --_content-background-color: initial;
    --_content-color: inherit;
    --_container-background-color: initial;
    --_container-opacity: 1;
    --_container-elevation: var(--md-sys-elevation-0);
    --_surface-color: inherit;
    --_state-opacity: 0;
    --_state-background-color: initial;

    letter-spacing: var(--md-sys-typescale-label-large-tracking);
    font-family: var(--_label-text-font);
    font-size: var(--_label-text-size);
    line-height: var(--_label-text-line-height);
    font-weight: var(--_label-text-weight);
    text-overflow: ellipsis;
  }

  :host([disabled]) {
    --_content-opacity: 0.38;
  }

  .surface {
    width: inherit;
    height: inherit;
    position: relative;
    border-radius: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--_surface-color);
  }

  .container,
  .state {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
  }

  .container {
    z-index: 1;
    transition:
      box-shadow 160ms cubic-bezier(0.4, 0, 0.2, 1),
      background-color 230ms cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--_container-background-color);
    opacity: var(--_container-opacity);
    box-shadow: var(--_container-elevation);
  }

  .state {
    z-index: 2;
    opacity: var(--_state-opacity);
    background-color: var(--_state-background-color);
    transition: opacity 260ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .content {
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: var(--_content-padding);
    opacity: var(--_content-opacity);
    white-space: nowrap;
    color: var(--_content-color);
    background-color: var(--_content-background-color);
  }

  .content slot::slotted(*) {
    color: var(--_content-color);
    fill: var(--_content-color);
  }

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

  .surface.withIcon {
    --_content-padding: 0px 24px 0px 16px;
  }

  :host([trailingIcon]) .surface.withIcon {
    --_content-padding: 0px 16px 0px 24px;
  }

  .surface.withIcon slot[name='icon']::slotted(*) {
    margin-right: 8px;
    margin-left: 0px;
    font-size: var(--_icon-size);
    inline-size: var(--_icon-size);
    block-size: var(--_icon-size);
  }

  :host([trailingIcon]) .surface.withIcon slot[name='icon']::slotted(*) {
    margin-left: 8px;
    margin-right: 0px;
  }

  :host([disabled]) {
    pointer-events: none;
  }
`;
//# sourceMappingURL=button-styles.js.map