/**
 * @license
 * Copyright (c) 2017 - 2026 Vaadin Ltd.
 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
 */
@media lumo_components_multi-select-combo-box-select-all-button {
  :host {
    display: block;
    flex: none;
    box-sizing: border-box;
    /* Do not let the label affect the width of the overlay */
    contain: inline-size;
    height: var(--lumo-size-s);
    margin: var(--vaadin-item-overlay-padding, 4px);
    padding: 0.5em calc(var(--lumo-space-l) + var(--lumo-border-radius-m) / 4) 0.5em
      var(--_lumo-list-box-item-padding-left, calc(var(--lumo-border-radius-m) / 4));
    border-radius: var(--lumo-border-radius-m);
    color: var(--lumo-primary-text-color);
    font-family: var(--lumo-font-family);
    font-size: var(--lumo-font-size-s);
    font-weight: 500;
    line-height: var(--lumo-line-height-xs);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: start;
    cursor: var(--lumo-clickable-cursor);
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* Reserve the same space as the item checkmark icon */
  :host::before {
    content: '';
    display: inline-block;
    font-size: var(--lumo-font-size-m);
    width: var(--lumo-icon-size-m);
  }

  @media (any-hover: hover) {
    :host(:hover) {
      background: var(--lumo-primary-color-10pct);
    }
  }

  :host([focused]) {
    outline: none;
    box-shadow: inset 0 0 0 var(--vaadin-focus-ring-width, 2px)
      var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct));
  }
}
