/* Batch Operations Styles */

/* Multi-select mode cursor */
body.multi-select-mode {
    cursor: crosshair;
}

body.multi-select-mode .node-circle {
    cursor: pointer;
}

/* Selected node styling */
.node-selected {
    stroke: #667eea !important;
    stroke-width: 4px !important;
    filter: drop-shadow(0 0 8px rgba(102, 126, 234, 0.6));
}

/* Batch Operation Panel */
.batch-operation-panel {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 1000;
    min-width: 300px;
    transition: all 0.3s ease;
}

.batch-operation-panel.hidden {
    display: none;
}

.batch-panel-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.batch-info {
    text-align: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.batch-count {
    font-size: 14px;
    color: #2d3436;
}

.batch-count strong {
    color: #667eea;
    font-size: 18px;
}

.batch-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.batch-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.batch-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.batch-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.batch-btn-secondary {
    background: #f8f9fa;
    color: #2d3436;
    border: 1px solid #dfe6e9;
}

.batch-btn-secondary:hover {
    background: #e9ecef;
}

/* Batch Progress */
.batch-progress {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.batch-progress.hidden {
    display: none;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    font-size: 12px;
    color: #636e72;
    text-align: center;
}

/* Multi-select hint */
.multi-select-hint {
    position: fixed;
    top: 80px;
    right: 30px;
    background: rgba(102, 126, 234, 0.9);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .batch-operation-panel {
        bottom: 80px;
        right: 20px;
        left: 20px;
        min-width: auto;
    }
    
    .batch-actions {
        flex-direction: row;
    }
    
    .batch-btn {
        flex: 1;
        font-size: 12px;
        padding: 10px;
    }
}
