
.cs-tooltip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20000;
  max-width: 280px;
  padding: 8px 11px;
  border-radius: 7px;
  background: #101720;
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #e2e8f0;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  white-space: pre-line;
  overflow-wrap: anywhere;
  word-break: break-word;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.12s ease, transform 0.12s ease;
}

.cs-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.cs-tooltip::after {
  content: "";
  position: absolute;
  left: var(--arrow-x, 50%);
  bottom: -5px;
  width: 8px;
  height: 8px;
  background: #101720;
  border-right: 1px solid rgba(245, 158, 11, 0.45);
  border-bottom: 1px solid rgba(245, 158, 11, 0.45);
  transform: translateX(-50%) rotate(45deg);
}

.cs-tooltip.below::after {
  bottom: auto;
  top: -5px;
  transform: translateX(-50%) rotate(225deg);
}

[data-tip] {
  cursor: help;
}

button[data-tip],
a[data-tip],
label[data-tip] {
  cursor: pointer;
}
