﻿.spin-container {
    position: relative;
        width: 850px;
    height: 700px;
    margin: auto;
}
#bike360-wrapper {
    position: relative;
    width: 700px;
    height: 650px;
    margin: auto;
}
.lightning-dot {
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: #ffcc00;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(255, 204, 0, 0.4);
    animation: pulse 2s infinite;
    z-index: 10;
    transition: top 0.1s ease, left 0.1s ease;
}
#spot-2 .custom-tooltip {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
}
    #spot-2 .custom-tooltip::after {
        border-color: rgba(0, 0, 0, 0.5) transparent transparent transparent;
    }

.custom-tooltip {
    visibility: hidden;
    /*  width: 180px;*/
    white-space: nowrap;
    background-color: #fff;
    color: #000;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 100;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 19px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    pointer-events: none;
}

    .custom-tooltip::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: #fff transparent transparent transparent;
    }

.lightning-dot:hover .custom-tooltip {
    visibility: visible;
    opacity: 1;
}
.lightning-dot:hover .custom-tooltip {
    display: block;
}

/* Show tooltip on click */
.lightning-dot.show-tooltip .custom-tooltip {
    display: block;
}
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 204, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 204, 0, 0);
    }
}
@media screen and (max-width:769px){
    .custom-tooltip {
        font-size: 14px;
    }
}