:root {
    --spot-color: #40a629;
}

.vehicle-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.vehicle-img-container {
    position: relative;
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
}

.vehicle-img {
    width: 100%;
    height: auto;
    display: block;
}

.spot {
    position: absolute;
    cursor: pointer;
    z-index: 100;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.spot i {
    color: var(--spot-color);
    font-size: 1.8rem;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.7));
}

.spot:hover i {
    transform: scale(1.2);
}

.tooltip-container {
    position: fixed; 
    background-color: var(--spot-color); 
    border-radius: 8px;
    padding: 15px;
    width: 250px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    text-align: center;
    pointer-events: none;
    left: 20px; 
    top: 50%; 
    transform: translateY(-50%); 
}

.tooltip-container.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tooltip-container h3 {
    color: #ffffff; 
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}

.tooltip-container p {
    margin: 0;
    padding: 10px;
    background-color: #ffffff; 
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    color: #000; 
}

@media (max-width: 992px) {
    .spot i {
        font-size: 1.5rem;
    }
    .tooltip-container {
        width: 220px;
        left: 10px; 
    }
}

@media (max-width: 768px) {
    .spot i {
        font-size: 1.5rem;
    }
    .tooltip-container {
        width: 200px;
        left: 10px; 
    }
    .tooltip-container h3 {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .spot i {
        font-size: 1.2rem;
    }
    .tooltip-container {
        width: 180px;
        left: 5px; 
    }
    .tooltip-container h3 {
        font-size: 14px;
    }
    .tooltip-container p {
        font-size: 12px;
    }
}