#minimap-container {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 200px;
    height: 200px;
    pointer-events: none; /* Container doesn't block clicks */
    overflow: hidden;
}

#minimap {
    position: relative;
    width: 180px;
    height: 180px;
    background: rgba(0, 30, 30, 0.6);
    border: 2px solid #00ffff;
    border-radius: 50%;
    margin: 10px; /* Center it within the container */
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    transition: transform 0.1s linear;
}

#minimap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 10px solid #ff4081; /* Player icon */
    transform: translate(-50%, -50%);
    z-index: 2;
}

#minimap-waypoint {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background-color: #ff8c00;
    border: 2px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px #ff8c00;
    display: none; /* Initially hidden */
    z-index: 1;
}
#minimap-traffic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Below player and waypoint */
}
.minimap-traffic-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #00aaff;
    border-radius: 50%;
    box-shadow: 0 0 5px #00aaff;
}