/* Placed Item - Visual Enhancement */
.placed-item {
    position: absolute;
    transform-origin: center bottom;
    transition: transform 0.1s;
    z-index: 10; /* Above road lines */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.placed-item img {
    /* Drop shadow to simulate standing sign */
    filter: drop-shadow(3px 5px 4px rgba(0,0,0,0.4));
    /* Slight perspective or brightness boost to pop */
    transition: all 0.2s;
}

.placed-item:hover img {
    filter: drop-shadow(4px 8px 8px rgba(0,0,0,0.5)) brightness(1.1);
    transform: scale(1.05);
}

/* Minimap Styles */
#minimap-container {
    position: absolute;
    right: 20px; /* Offset from right edge of container */
    bottom: 20px; /* Offset from bottom edge of container */
    width: 100px;
    height: 200px;
    background: rgba(30, 30, 30, 0.8);
    border: 2px solid #555;
    border-radius: 8px;
    overflow: hidden;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}

#minimap-canvas {
    width: 100%;
    height: 100%;
    cursor: pointer;
    background: #222;
}

/* Minimap viewport indicator */
.minimap-viewport {
    position: absolute;
    left: 0;
    width: 100%;
    border: 2px solid rgba(255, 255, 0, 0.8);
    background: rgba(255, 255, 0, 0.1);
    pointer-events: none;
    box-sizing: border-box;
}

/* Minimap dots */
.minimap-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #f1c40f;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
