﻿/* Step items with loading animations */
.task-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(30, 30, 50, 0.6);
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.step-item.status-pending {
    border-left-color: rgba(255, 255, 255, 0.3);
}

.step-item.status-in_progress {
    border-left-color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.step-item.status-active {
    border-left-color: #40e0d0;
    background: rgba(64, 224, 208, 0.1);
}

.step-item.status-completed {
    border-left-color: #64ffda;
    background: rgba(100, 255, 218, 0.1);
}

.step-item.status-failed {
    border-left-color: #ef5350;
    background: rgba(239, 83, 80, 0.1);
}

.step-item.status-cancelled {
    border-left-color: #ff9800;
    background: rgba(255, 152, 0, 0.1);
}

.step-item.status-skipped {
    border-left-color: #9e9e9e;
    background: rgba(158, 158, 158, 0.1);
    opacity: 0.6;
}

.step-item.status-failed .step-title {
    color: #ef5350;
}

.step-item.status-cancelled .step-title {
    color: #ff9800;
}

.step-item.status-skipped .step-title {
    color: #9e9e9e;
}

.step-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #64ffda;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-spinner.active {
    border-top-color: #ffd700;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.step-icon .fas {
    color: #64ffda;
    font-size: 12px;
}

.step-title {
    color: #ffffff;
    font-size: 13px;
    flex: 1;
}

.step-item.status-completed .step-title {
    color: #64ffda;
}

.step-item.status-in_progress .step-title {
    color: #ffd700;
}
