.draggable-component.dragging {
    opacity: 0.8;
    z-index: 1000;
    outline: 2px solid var(--accent-color);
}

/* Pin Indicators */
.pin-indicator {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: transparent;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: crosshair;
    z-index: 20;
    pointer-events: auto;
    border: 1px solid transparent;
}

.pin-indicator:hover {
    background-color: var(--accent-color);
    border-color: white;
    box-shadow: 0 0 8px var(--accent-color);
}

.pin-indicator.active {
    background-color: #ffeb3b;
    box-shadow: 0 0 10px #ffeb3b;
}

/* Wire Styles */
.wire {
    fill: none;
    stroke: #f44336;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: auto !important;
    cursor: pointer;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
}

.wire:hover {
    stroke-width: 5;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.wire.active {
    stroke: #ffeb3b;
}

.wire.selected {
    stroke-width: 5 !important;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5)) !important;
}

/* Color Palette UI */
.wire-palette {
    position: absolute;
    background: #252526;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 8px;
    display: flex;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    pointer-events: auto;
}

.palette-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s;
}

.palette-color:hover {
    transform: scale(1.2);
    border-color: white;
}

.palette-color.active {
    outline: 2px solid white;
}

/* Pin Labels */
.pin-label {
    position: absolute;
    background: #333;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    pointer-events: none;
    z-index: 100;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    transform: translate(-50%, -120%);
    display: none;
    border: 1px solid #555;
}

.pin-indicator:hover .pin-label {
    display: block;
}