/* --- Tour Overlay --- */
#tour-overlay {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    max-width: 90vw;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(76, 201, 240, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: opacity 0.3s, transform 0.3s;
}

#tour-overlay.hidden {
    opacity: 0;
    transform: translate(-50%, 20px);
    pointer-events: none;
}

.tour-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.tour-header h3 {
    margin: 0;
    color: #4cc9f0;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.tour-content {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ddd;
    min-height: 80px;
}

.tour-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

#tour-progress {
    font-size: 0.8rem;
    color: #888;
    font-family: monospace;
}

.tour-buttons {
    display: flex;
    gap: 10px;
}

.secondary-btn.small {
    padding: 5px 12px;
    font-size: 0.8rem;
}

.primary-btn.small {
    background: rgba(76, 201, 240, 0.2);
    border: 1px solid #4cc9f0;
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s;
}

.primary-btn.small:hover {
    background: rgba(76, 201, 240, 0.4);
    box-shadow: 0 0 10px rgba(76, 201, 240, 0.3);
}
