.map-animation-container {
    width: 100%;
    max-width: 400px;
    position: relative;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.road {
    width: 100%;
    height: 50px;
    background: linear-gradient(to right, #333 20%, #666 20%, #666 40%, #333 40%, #333 60%, #666 60%, #666 80%, #333 80%);
    background-size: 100px 100%;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.car {
    width: 50px;
    height: 30px;
    position: absolute;
    left: 0;
    bottom: 0;
    animation: drive 3s ease-out forwards;
    transform: scale(1);
    transition: transform 0.5s ease-in-out;
}

.car-body {
    width: 100%;
    height: 20px;
    background: #2196F3;
    border-radius: 10px 10px 0 0;
    position: absolute;
    bottom: 0;
}

.car-wheel {
    width: 10px;
    height: 10px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    bottom: -5px;
    animation: rotate 0.5s linear infinite;
    transform-origin: center center;
}

.car-wheel:nth-child(2) {
    left: 35px;
}

.car-wheel:nth-child(3) {
    left: 5px;
}

.destination {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 10px;
    text-align: center;
}

.marker {
    width: 20px;
    height: 20px;
    background: #4CAF50;
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.marker::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #4CAF50;
}

.marker-text {
    position: absolute;
    bottom: -1px;
    left: 2%;
    font-size: 6spx;
    font-weight: bold;
    color: #fff;
    background: #107acc;
    padding: 8px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    display: flex;
    align-content: center;
    align-items: center;
    gap: 8px;
    z-index: 1;
    visibility: hidden;
   
}

.marker-text::before {
    content: "\f72f"; /* Ícone do Bootstrap Icons - bi-geo-alt */
    font-family: "bootstrap-icons";
    font-size: 18px;
    color: rgb(216, 28, 28);
    background: #dc3545;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-weight: 500;
    z-index: 1;
}

@keyframes drive {
    0% { left: 0; }
    100% { left: calc(100% - 50px); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
