#car-damage-svg-container {
    border: 1px solid var(--bbb-border, #e4eaf5);
    background: #fff;
    display: flex;
    justify-content: center;
    padding: 12px;
    border-radius: 10px;
}

svg path[data-selectable="true"] {
    cursor: pointer;
    pointer-events: all;
    transition: fill 0.2s ease, opacity 0.15s ease;
}

svg path[data-selectable="true"]:hover {
    opacity: 0.82;
}

.damage-buttons {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.damage-menu {
    position: absolute;
    z-index: 1085;
    min-width: 230px;
    border-radius: 14px;
    border: 1px solid #e4eaf5;
}

.damage-menu .card-header {
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.damage-menu .list-group-item {
    border: 0;
    border-radius: 8px;
    margin-bottom: 2px;
    font-size: 14px;
}

.damage-menu .list-group-item:hover {
    background-color: #f4f7fc;
}

.damage-menu .list-group-item.active {
    background-color: #18458B;
    color: #fff;
    font-weight: 600;
}

.damage-1 { fill: #f0f0f0 !important; } /* Belirtilmemiş */
.damage-2 { fill: #4caf50 !important; } /* Orijinal */
.damage-3 { fill: #ff9800 !important; } /* Boyalı */
.damage-4 { fill: url(#localPaintPattern) !important; } /* Lokal Boyalı */
.damage-5 { fill: #f44336 !important; } /* Değişmiş */

.damage-legend {
    max-width: 320px;
    border-radius: 0.75rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 14px;
}

.legend-item:last-child {
    margin-bottom: 0;
}

.legend-color {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.legend-color.damage-1 { background: #e9ecef; }
.legend-color.damage-2 { background: #4caf50; }
.legend-color.damage-3 { background: #ff9800; }
.legend-color.damage-4 {
    background: repeating-linear-gradient(45deg, #0dcaf0, #0dcaf0 6px, #ffffff 6px, #ffffff 10px);
}
.legend-color.damage-5 { background: #f44336; }

@media (max-width: 1200px) {
    .damage-legend {
        max-width: 100%;
    }
}
