/*
 * SPDX-FileCopyrightText: 2023 Siemens AG
 *
 * SPDX-License-Identifier: MIT
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
/*
* SPDX-FileCopyrightText: 2024 Siemens AG
*
* SPDX-License-Identifier: MIT
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/*
* SPDX-FileCopyrightText: 2024 Siemens AG
*
* SPDX-License-Identifier: MIT
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/*
* SPDX-FileCopyrightText: 2023 Siemens AG
*
* SPDX-License-Identifier: MIT
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
.btn-group ix-button:first-child .btn {
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-right: 0px;
}
.btn-group ix-button:last-child .btn {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}
.btn-group ix-button:not(:first-child):not(:last-child) .btn {
  border-radius: 0px;
  border-right: 0px;
}

:host {
  display: inline-block;
}
:host *,
:host *::after,
:host *::before {
  box-sizing: border-box;
}
:host ::-webkit-scrollbar-button {
  display: none;
}
@-moz-document url-prefix() {
  :host * {
    scrollbar-color: var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);
    scrollbar-width: thin;
  }
}
:host {
  /* width */
}
:host ::-webkit-scrollbar {
  width: 0.5rem;
  height: 0.5rem;
}
:host {
  /* Track */
}
:host ::-webkit-scrollbar-track {
  border-radius: 5px;
  background: var(--theme-scrollbar-track--background);
}
:host ::-webkit-scrollbar-track:hover {
  background: var(--theme-scrollbar-track--background--hover);
}
:host {
  /* Handle */
}
:host ::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: var(--theme-scrollbar-thumb--background);
}
:host {
  /* Handle on hover */
}
:host ::-webkit-scrollbar-thumb:hover {
  background: var(--theme-scrollbar-thumb--background--hover);
}
:host ::-webkit-scrollbar-corner {
  display: none;
}
:host .btn-group {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
  width: 100%;
}
:host .btn-group > ix-button:nth-child(1),
:host .btn-group > ix-icon-button:nth-child(1) {
  width: calc(100% - 2rem);
  --ix-button-border-radius-right: 0;
}
:host .btn-group > ix-icon-button:nth-child(2) {
  width: 2rem;
  --ix-button-border-radius-left: 0;
}
:host .middle-gap {
  gap: 0.125rem;
}
:host .left-button-border {
  border-top-width: 0.125rem;
  border-right-width: 0;
  border-left-width: 0.125rem;
  border-bottom-width: 0.125rem;
}