.hint-css {
  font-size: 13px;
  position: absolute;
  padding: 0;
  z-index: 100000;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.hint-css-inner {
  background-color: #eee;
  color: #2c3e50;
  border: 1px solid #eee;
  max-width: 200px;
  padding: 12px 16px;
  text-align: left;
  overflow: auto;
  height: 100%;
  line-height: 1.5;
  letter-spacing: 0.2px;
}

.hint-css-inner.hint-css-inner-html {
  max-width: 300px;
  padding: 14px 18px;
}

.hint-object .hint-css-inner.hint-css-inner-html {
  max-width: 800px;
}

/* Rounded corners */
.hint-css-inner {
  border-radius: 6px;
}

/* Arrow styling */
.hint-css-arrow {
  position: absolute;
  width: 0;
  height: 0;
  line-height: 0;
  border: 10px dashed transparent;
}

/* Rules to colour arrows */
.hint-css-arrow-n { 
  border-bottom-color: #eee;
}
.hint-css-arrow-s { 
  border-top-color: #eee;
}
.hint-css-arrow-e { 
  border-left-color: #eee;
}
.hint-css-arrow-w { 
  border-right-color: #eee;
}

.hint-css-n .hint-css-arrow {
  top: -10px;
  left: 50%;
  margin-left: -10px;
  border-bottom-style: solid;
  border-top: none;
  border-left-color: transparent;
  border-right-color: transparent;
}

.hint-css-nw .hint-css-arrow {
  top: -10px;
  left: 10px;
  border-bottom-style: solid;
  border-top: none;
  border-left-color: transparent;
  border-right-color: transparent;
}

.hint-css-ne .hint-css-arrow {
  top: -10px;
  right: 10px;
  border-bottom-style: solid;
  border-top: none;
  border-left-color: transparent;
  border-right-color: transparent;
}

.hint-css-s .hint-css-arrow {
  bottom: -10px;
  left: 50%;
  margin-left: -10px;
  border-top-style: solid;
  border-bottom: none;
  border-left-color: transparent;
  border-right-color: transparent;
}

.hint-css-sw .hint-css-arrow {
  bottom: -10px;
  left: 10px;
  border-top-style: solid;
  border-bottom: none;
  border-left-color: transparent;
  border-right-color: transparent;
}

.hint-css-se .hint-css-arrow {
  bottom: -10px;
  right: 10px;
  border-top-style: solid;
  border-bottom: none;
  border-left-color: transparent;
  border-right-color: transparent;
}

.hint-css-e .hint-css-arrow {
  right: -10px;
  top: 50%;
  margin-top: -10px;
  border-left-style: solid;
  border-right: none;
  border-top-color: transparent;
  border-bottom-color: transparent;
}

.hint-css-w .hint-css-arrow {
  left: -10px;
  top: 50%;
  margin-top: -10px;
  border-right-style: solid;
  border-left: none;
  border-top-color: transparent;
  border-bottom-color: transparent;
}

.hint--top:hover,
.hint--right:hover,
.hint--bottom:hover,
.hint--left:hover {
  opacity: 1;
}

.hint-css-inner .detail-root {
  padding: 1em;
  min-width: 20em;
  max-width: 50em;
  text-align: left;
}

.hint-css-inner .detail-li-level0 {
  padding: 6px 0;
}

.hint-css-inner .detail-li-level0 .detail-key {
  width: auto;
  max-width: 15em;
  min-width: 5em;
  font-weight: 500;
  color: #34495e;
  padding-right: 12px;
}

.hint-css-inner .detail-li-level0 .detail-value {
  width: auto;
  min-width: 5em;
  color: #2c3e50;
  padding-left: 12px;
}

.hint-css-inner tr.detail-li-level0:hover {
  background-color: #f0f0f0;
  transition: background-color 0.2s ease;
}

/* Animation classes */
.hint-css {
  transition: all 0.15s cubic-bezier(0, 0, 0.2, 1);
}

.hint-css.hint-css-show {
  opacity: 1;
  transform: translateY(0);
}

.hint-css.hint-css-hide {
  opacity: 0;
  transform: translateY(5px);
  pointer-events: none;
  transition: all 0.1s cubic-bezier(0.4, 0, 1, 1);
}
