
/* =========================================
   CAMERA TRACK ADDITIONAL STYLES
   ========================================= */

.camera-track {
    min-height: 55px;
    background: rgba(59, 130, 246, 0.05);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    position: relative;
}

.camera-clip {
    position: absolute;
    height: 50px;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.08) 100%);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 6px;
    cursor: grab;
    overflow: hidden;
    user-select: none;
    transition: border-color 0.15s;
}

.camera-clip:hover {
    border-color: rgba(59, 130, 246, 0.7);
}

.camera-clip.selected {
    border-color: #3b82f6;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}

.camera-clip .clip-name {
    position: absolute;
    top: 2px;
    right: 6px;
    font-size: 10px;
    color: #60a5fa;
    pointer-events: none;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.camera-kf-dot {
    position: absolute;
    /* FIX v2: keyframes sit at the BOTTOM of the track, not the middle. */
    bottom: 2px;
    top: auto;
    transform: translate(-50%, 0);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #60a5fa;
    border: 2px solid #fff;
    cursor: pointer;
    z-index: 5;
    transition: transform 0.1s, background 0.1s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.camera-kf-dot:hover {
    transform: translate(-50%, 0) scale(1.3);
    background: #93c5fd;
}

.camera-kf-dot.selected {
    background: #fbbf24;
    border-color: #fff;
    transform: translate(-50%, 0) scale(1.4);
    box-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

#cameraPropsPanel {
    background: rgba(59, 130, 246, 0.03);
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
}

#cameraPropsPanel input[type="number"] {
    transition: border-color 0.15s;
}

#cameraPropsPanel input[type="number"]:focus {
    border-color: #3b82f6;
}

