/* Guided Tour Styling */
.tour-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9998; /* Just below the tooltip */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.tour-overlay.active {
    opacity: 1;
}

.tour-tooltip {
    position: absolute;
    background-color: #3b4261;
    color: var(--text-primary);
    padding: 15px;
    border-radius: 8px;
    z-index: 9999;
    width: 300px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    border: 1px solid var(--primary-color);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.tour-tooltip.active {
    opacity: 1;
    transform: translateY(0);
}

.tour-tooltip h4 {
    margin: 0 0 10px 0;
    color: var(--primary-color);
}

.tour-tooltip p {
    margin: 0 0 15px 0;
    font-size: 0.9em;
    line-height: 1.6;
}

.tour-tooltip-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tour-tooltip-step-counter {
    font-size: 0.8em;
    color: var(--text-secondary);
}

.tour-tooltip-nav button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
}

.tour-tooltip-nav button.tour-skip-btn {
    background-color: transparent;
    color: var(--text-secondary);
    padding: 0;
    margin-right: 15px;
}

/* Highlight the element for the tour step */
.tour-highlight {
    position: relative;
    z-index: 9999;
    box-shadow: 0 0 0 4px var(--primary-color);
    border-radius: 8px; /* Optional: adds a nice rounded corner to the highlight */
    transition: box-shadow 0.3s ease-in-out;
}