// MARK: Mixin
@mixin core() {
  // Shared pickable styles (migrated from the removed formly _pickable.scss). Bare input styling
  // is provided by the .dbx-forge-bare-input class applied directly in the pickable templates.
  .dbx-pickable-item-field-filter {
    margin-bottom: 4px;
  }

  .dbx-pickable-item-field-list-content {
    max-height: var(--dbx-pickable-item-field-list-content-max-height, 400px);
    overflow: auto;
  }

  // List variant styling
  .dbx-pickable-item-field-list {
    .dbx-pickable-item-field-list-content {
      max-height: var(--dbx-pickable-item-field-list-content-max-height, 300px);
      overflow-y: auto;
    }

    .dbx-pickable-item-field-select-all {
      padding: 4px 0;
    }

    .dbx-pickable-select-all-button {
      background: none;
      border: none;
      cursor: pointer;
      padding: 4px 16px;
      font-size: 0.875rem;
      color: var(--mat-sys-primary, inherit);

      &:hover {
        text-decoration: underline;
      }
    }
  }
}

@mixin theme($theme-config) {
  // No theme-specific styles for the pickable field at present.
}
