@layer components {
.balloon__close {
  border: 1px solid var(--dt-color-on-surface-muted);
  border-radius: 6px;
  color: var(--dt-color-on-surface-muted);
  cursor: pointer;
  font-size: 13px;
  height: 24px;
  line-height: 24px;
  position: absolute;
  right: 8px;
  text-align: center;
  top: 8px;
  width: 24px;
}
.balloon__close--no-border {
  border: 0;
  height: auto;
  width: auto;
  color: var(--dt-palette-gray-500);
  right: 10px;
  top: 10px;
}
.balloon__close .svg-icon svg {
  height: 1em;
  width: 1em;
}
.balloon__close .svg-icon svg path {
  fill: currentColor !important;
}
.balloon__content {
  z-index: 70;
}

.floater__trigger--active .balloon-button {
  background-color: var(--dt-color-surface-muted);
  color: var(--portal-accent, var(--dt-color-primary));
}
.floater__trigger:hover .balloon-button {
  background-color: var(--dt-color-surface-muted);
}

.balloon-button {
  border-radius: var(--dt-radius-md);
  font-size: 1.75rem;
  height: 40px;
  line-height: 40px;
  text-align: center;
  width: 40px;
}
.balloon-button .svg-icon {
  line-height: 40px;
}
.balloon-button .svg-icon svg {
  height: 1em;
  width: 1em;
}
.balloon-button .svg-icon svg path {
  fill: currentColor !important;
}

.balloon-content {
  background-color: var(--dt-color-surface);
  border: 1px solid var(--dt-color-border);
  border-radius: var(--dt-radius-md);
  box-shadow: 0 0.5rem 1.5rem 0.5rem rgba(63, 66, 84, 0.075);
}

.balloon-content-item {
  border-radius: var(--dt-radius-md);
  color: var(--dt-color-on-surface);
  padding: 4px;
}
.balloon-content-item__inner {
  align-items: center;
  border-radius: var(--dt-radius-md);
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
}
.balloon-content-item__inner:where(a:hover *) {
  background-color: var(--dt-color-surface-muted);
}
.balloon-content-item__main {
  flex-grow: 1;
}
.balloon-content-item__main:where(.balloon-content-item__left ~ *) {
  margin-left: 16px;
}
.balloon-content-item__right {
  margin-left: 26px;
}
.balloon-content-item .svg-icon svg {
  height: 1em;
  width: 1em;
}
.balloon-content-item .svg-icon svg path {
  fill: currentColor !important;
}

}
