/* Suros Tour Styles */
.tour-overlay {
    position: fixed;
    z-index: 10000;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.6);
    border-radius: 4px;
    pointer-events: none; /* The shadow doesn't block clicks, but the element does. */
    transition: all 0.3s ease-in-out;
}

.tour-tooltip {
    position: fixed;
    z-index: 10001;
    background-color: #ffffff;
    color: #333;
    width: 300px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    font-family: 'Segoe UI', sans-serif;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
}

.tour-tooltip.active {
    opacity: 1;
    transform: translateY(0);
}

.tour-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.tour-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
    color: #0d6efd;
}

.tour-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

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

.tour-content {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #555;
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tour-progress {
    font-size: 0.8rem;
    color: #999;
}

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

.tour-btn {
    padding: 6px 12px;
    border-radius: 4px;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.tour-btn-secondary {
    background-color: #e9ecef;
    color: #333;
}

.tour-btn-secondary:hover {
    background-color: #dde2e6;
}

.tour-btn-primary {
    background-color: #0d6efd;
    color: white;
}

.tour-btn-primary:hover {
    background-color: #0b5ed7;
}

.tour-tooltip::after {
    content: '';
    position: absolute;
    border-width: 8px;
    border-style: solid;
    border-color: #fff transparent transparent transparent; 
    left: 50%;
    margin-left: -8px;
}

.tour-tooltip.top::after {
    top: 100%;
    border-color: #fff transparent transparent transparent;
}

.tour-tooltip.bottom::after {
    bottom: 100%;
    border-color: transparent transparent #fff transparent;
}

.tour-tooltip.left::after {
    left: 100%;
    top: 50%;
    margin-top: -8px;
    margin-left: 0;
    border-color: transparent transparent transparent #fff;
}

.tour-tooltip.right::after {
    right: 100%;
    left: auto;
    top: 50%;
    margin-top: -8px;
    margin-left: 0;
    border-color: transparent #fff transparent transparent;
}
