/*
 * SPDX-FileCopyrightText: 2025 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.
 */
.dialog {
  margin: 0;
  padding: 0;
  border: none;
  max-width: 18.25rem;
  width: -moz-max-content;
  width: max-content;
  background-color: transparent;
  overflow-wrap: break-word;
  box-shadow: none;
  overflow: visible;
}

.tooltip-container {
  display: block;
  position: relative;
  width: auto;
  height: -moz-fit-content;
  height: fit-content;
  background: var(--theme-tootlip--background);
  color: var(--theme-color-std-text);
  padding: 0.375rem 0.75rem;
  box-shadow: var(--theme-shadow-4);
  border-radius: 0.25rem;
}

.content-wrapper {
  overflow: auto;
}

.tooltip-title {
  display: flex;
}
.tooltip-title ::slotted(ix-icon) {
  margin: 0.125rem 0.25rem 0.125rem 0;
}

.arrow,
.arrow::before {
  position: absolute;
  width: 12px;
  height: 12px;
  background: inherit;
}

.arrow {
  visibility: hidden;
}

.arrow::before {
  visibility: visible;
  content: "";
  transform: rotate(45deg);
  background-color: var(--theme-tootlip--background);
}