
path[class^="arrow-for-"] {
    pointer-events: auto;
    cursor: pointer;
    transition: stroke 0.2s, fill 0.2s;
}

path[class^="arrow-for-"].highlighted {
    stroke: orange !important;
    fill: orange !important;
}

#tour-panel {
    position: absolute;
    bottom: 38px;
    right: 56px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 8px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    display: none;
    z-index: 1000;
}

#tour-panel button {
    margin-top: 4px;
    margin-right: 4px;
    padding: 4px 8px;
    font-size: 12px;
    border: none;
    border-radius: 5px;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    cursor: pointer;
    background-color: #007bff;
}

#tour-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0; /* zero left/right padding */
}

/* Left group: buttons */
#tour-controls > div:first-child {
    display: flex;
    cursor: pointer;
    gap: 8px;
    justify-content: flex-start;
}

/* Right group: tool buttons */
#tour-controls > div:last-child {
    display: flex;
    gap: 8px;
    cursor: pointer;
    justify-content: flex-end;
}

.tour-row { position: relative; transition: background 140ms ease; }
.tour-row.reveal-delete { background: rgba(176, 0, 32, 0.06); }

.tour-row-control { position: relative; width: 56px; min-width: 56px; }

.tour-row-highlight {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 20px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(0,0,0,0.08), rgba(0,0,0,0.18));
  cursor: pointer;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
}
.tour-row-highlight:hover { box-shadow: 0 0 0 2px rgba(0,0,0,0.1); }
.tour-row-highlight:focus-visible { outline: 2px solid #000; outline-offset: 2px; }

.tour-delete-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 0;
  background: #b00020;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.tour-row.reveal-delete .tour-delete-btn { display: inline-flex; }
.tour-delete-btn:focus-visible { outline: 2px solid #000; outline-offset: 2px; }

.tour-delete-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
}

.tour-delete-label { white-space: nowrap; }
