/* Lilly White feature help tooltips */

.lw-help-wrap {
  display: inline-flex;
  align-items: center;
  position: relative;
  margin-left: 8px;
  vertical-align: middle;
}

.lw-help-dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(184,138,45,0.32);
  background: rgba(214,183,106,0.14);
  color: var(--lw-ink, #111827);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  cursor: help;
  line-height: 1;
}

.lw-help-pop {
  position: absolute;
  z-index: 9999;
  right: 0;
  top: calc(100% + 10px);
  width: min(320px, 80vw);
  padding: 16px;
  border-radius: 18px;
  background: #111827;
  color: #fff;
  box-shadow: 0 18px 55px rgba(0,0,0,0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  pointer-events: none;
}

.lw-help-pop strong {
  display: block;
  color: var(--lw-champagne, #d6b76a);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 6px;
}

.lw-help-pop span {
  display: block;
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.lw-help-wrap:hover .lw-help-pop,
.lw-help-dot:focus + .lw-help-pop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .lw-help-pop {
    right: auto;
    left: 0;
  }
}
