/* char-path.css - Styles for character path system (paths only, markers moved to movement-markers.css) */

/* Character Path Controls */
.character-path-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.character-path-controls h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.character-path-controls .control-group {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.character-path-controls .control-group:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.character-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.character-checkbox:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.character-checkbox input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
    transform: scale(1.1);
}

.character-checkbox label {
    color: #555;
    font-size: 14px;
    cursor: pointer;
    flex: 1;
    font-weight: 500;
}

.character-checkbox.checked label {
    color: #333;
    font-weight: 600;
}

.bulk-controls {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.bulk-btn {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: #f8f9fa;
    color: #555;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.bulk-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #333;
}

.bulk-btn:active {
    transform: translateY(1px);
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .character-path-controls {
        background: rgba(45, 55, 72, 0.95);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .character-path-controls h3 {
        color: #e2e8f0;
    }
    
    .character-path-controls .control-group {
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
    
    .character-checkbox:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }
    
    .character-checkbox label {
        color: #a0aec0;
    }
    
    .character-checkbox.checked label {
        color: #e2e8f0;
    }
    
    .bulk-btn {
        background: #4a5568;
        border-color: #718096;
        color: #a0aec0;
    }
    
    .bulk-btn:hover {
        background: #2d3748;
        border-color: #a0aec0;
        color: #e2e8f0;
    }
}

.dark-mode .character-path-controls {
    background: rgba(45, 55, 72, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .character-path-controls h3 {
    color: #e2e8f0;
}

.dark-mode .character-path-controls .control-group {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .character-checkbox:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .character-checkbox label {
    color: #a0aec0;
}

.dark-mode .character-checkbox.checked label {
    color: #e2e8f0;
}

.dark-mode .bulk-btn {
    background: #4a5568;
    border-color: #718096;
    color: #a0aec0;
}

.dark-mode .bulk-btn:hover {
    background: #2d3748;
    border-color: #a0aec0;
    color: #e2e8f0;
}

/* Responsive design */
@media (max-width: 768px) {
    .character-path-controls {
        position: fixed;
        top: auto;
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-height: 300px;
        min-width: auto;
    }
    
    .bulk-controls {
        flex-direction: column;
    }
    
    .character-checkbox {
        padding: 10px 8px;
    }
    
    .character-checkbox label {
        font-size: 16px;
    }
}

/* Path line styles */
.character-path-line {
    stroke-linecap: round;
    stroke-linejoin: round;
}

.character-path-line.highlighted {
    stroke-width: 4;
    stroke-opacity: 1;
}

/* Path animation */
@keyframes pathDraw {
    from {
        stroke-dashoffset: 1000;
    }
    to {
        stroke-dashoffset: 0;
    }
}

.character-path-line.animated {
    stroke-dasharray: 5, 5;
    animation: pathDraw 2s ease-in-out;
}
