/* Overlay */
.tour-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 999;
}

/* Tooltip */
.tour-tooltip {
  box-sizing: border-box;
  position: absolute;
  width: min(90vw, 280px);
  max-width: 90vw;
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  z-index: 1300;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.tour-tooltip-inner{
	box-sizing:border-box;
	width:100%;
	display:inline-block;
	position:relative;
}
/* Close button */
.tour-close {
  position: absolute;
  top: 2px;
  right: 2px;
  border: none;
  background: none;
  font-size: 13px;
  cursor: pointer;
}

/* Highlighted element */
.tour-highlight {
  position: relative;
  z-index: 1100;
  box-shadow:0 0 0 4px #00aaff, 0 0 0 9999px rgba(0, 0, 0, .6);
  border-radius: 10px;
  background: white;
  padding: 10px !important;
}

/* Navigation */
.tour-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  gap: 10px;
}

.tour-btn {
  background: #0077cc;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 14px;
}

.tour-btn.secondary {
  background: #e0e0e0;
  color: #333;
}

.tour-btn:disabled {
  opacity: .4;
  cursor: default;
}

/* Tooltip arrows */
.tour-arrow {
  position: absolute;
  width: 0;
  height: 0;
}

/* Bottom */
.arrow-top {
  top: -10px;
  left: var(--arrow-x, 20px);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 10px solid #fff;
}

/* Top */
.arrow-bottom {
  bottom: -10px;
  right: var(--arrow-x, 20px);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #fff;
}

/* Right (desktop) */
.arrow-left {
  left: -10px;
  top: var(--arrow-y, 20px);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 10px solid #fff;
}

/* Left (desktop) */
.arrow-right {
  right: -10px;
  top: var(--arrow-y, 20px);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 10px solid #fff;
}