/* SiteSim Tour Styles */

.tour-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99998;
}

.tour-tooltip {
    position: fixed;
    background: #1a1a2e;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px 24px;
    max-width: 360px;
    z-index: 99999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tour-tooltip.tour-visible {
    opacity: 1;
}

.tour-tooltip-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border: 10px solid transparent;
}

.tour-tooltip-right .tour-tooltip-arrow {
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    border-right-color: #333;
}

.tour-tooltip-left .tour-tooltip-arrow {
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    border-left-color: #333;
}

.tour-tooltip-bottom .tour-tooltip-arrow {
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-color: #333;
}

.tour-tooltip-top .tour-tooltip-arrow {
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-top-color: #333;
}

.tour-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    color: #666;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.tour-close:hover {
    color: #fff;
}

.tour-progress {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.tour-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.tour-content {
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.tour-content strong {
    color: #4da6ff;
}

.tour-buttons {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.tour-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.tour-btn-skip {
    background: transparent;
    border: 1px solid #444;
    color: #888;
}

.tour-btn-skip:hover {
    border-color: #666;
    color: #fff;
}

.tour-btn-next {
    background: #0066cc;
    border: none;
    color: #fff;
    flex: 1;
}

.tour-btn-next:hover {
    background: #0077ee;
}

/* Highlighted element */
.tour-highlight {
    position: relative;
    z-index: 99997 !important;
    box-shadow: 0 0 0 4px rgba(77, 166, 255, 0.5), 0 0 20px rgba(77, 166, 255, 0.3) !important;
    border-radius: 4px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .tour-tooltip {
        max-width: calc(100% - 40px);
        margin: 0 20px;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }

    .tour-tooltip-arrow {
        display: none;
    }

    .tour-title {
        font-size: 16px;
    }

    .tour-content {
        font-size: 13px;
    }

    .tour-buttons {
        flex-direction: column;
    }

    .tour-btn {
        width: 100%;
        padding: 12px;
    }

    .tour-btn-skip {
        order: 2;
    }
}
