@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.running-pulse {
    animation: pulse 2s infinite;
}

.node-success {
    background-color: #10b981;
    color: white;
}

.node-failed {
    background-color: #ef4444;
    color: white;
}

.node-running {
    background-color: #3b82f6;
    color: white;
}

.node-pending {
    background-color: #9ca3af;
    color: white;
}

.flow-line {
    height: 4px;
    flex-grow: 1;
    background-color: #e5e7eb;
    position: relative;
    margin: 0 -10px;
    z-index: 1;
}

.flow-line.active {
    background-color: #3b82f6;
}

.flow-line.completed {
    background-color: #10b981;
}

.flow-line.failed {
    background-color: #ef4444;
}

.node-container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.node {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.json-viewer {
    background-color: #f3f4f6;
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: monospace;
    max-height: 300px;
    overflow-y: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .node {
        width: 40px;
        height: 40px;
        font-size: 0.75rem;
    }
    
    .flow-line {
        margin: 0 -5px;
    }
}