/* Approval Steps Styling */
.approval-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 20px;
    background: #fafafa;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.approval-step {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: #f5f5f5;
    border: 3px solid #e0e0e0;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.step-number {
    font-size: 12px;
    color: #999;
    font-weight: 600;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.step-info {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.step-details {
    margin-top: 10px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 6px;
    border-left: 3px solid #e0e0e0;
}

.step-detail-item {
    font-size: 13px;
    color: #555;
    margin-bottom: 5px;
}

.step-detail-item:last-child {
    margin-bottom: 0;
}

.step-detail-item strong {
    color: #333;
    margin-right: 5px;
}

/* Step States */
.step-completed .step-icon {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border-color: #4CAF50;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.step-completed .step-number {
    color: #4CAF50;
}

.step-completed .step-details {
    border-left-color: #4CAF50;
    background: #f1f8f4;
}

.step-rejected .step-icon {
    background: linear-gradient(135deg, #F44336 0%, #E53935 100%);
    border-color: #F44336;
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.3);
}

.step-rejected .step-number {
    color: #F44336;
}

.step-rejected .step-details {
    border-left-color: #F44336;
    background: #ffebee;
}

.step-reject-reason {
    margin-top: 10px;
    padding: 12px;
    background: #ffebee;
    border-radius: 6px;
    border-left: 3px solid #F44336;
}

.step-current .step-icon {
    background: linear-gradient(135deg, #FF6B35 0%, #E85A2A 100%);
    border-color: #FF6B35;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.step-current .step-number {
    color: #FF6B35;
}

.step-current .step-details {
    border-left-color: #FF6B35;
    background: #fff5f2;
}

.step-current {
    box-shadow: 0 2px 12px rgba(255, 107, 53, 0.15);
}

.step-pending .step-icon {
    background: #f5f5f5;
    border-color: #e0e0e0;
}

.step-pending .step-number {
    color: #999;
}

/* Connector Line */
.step-connector {
    width: 3px;
    height: 30px;
    margin-left: 39px;
    background: #e0e0e0;
    transition: all 0.3s ease;
}

.connector-completed {
    background: linear-gradient(to bottom, #4CAF50, #45a049);
}

.connector-rejected {
    background: linear-gradient(to bottom, #F44336, #E53935);
}

.connector-pending {
    background: #e0e0e0;
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(255, 107, 53, 0.5);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .approval-steps {
        padding: 15px;
    }
    
    .approval-step {
        padding: 12px;
        gap: 12px;
    }
    
    .step-indicator {
        min-width: 50px;
    }
    
    .step-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .step-title {
        font-size: 14px;
    }
    
    .step-info,
    .step-detail-item {
        font-size: 12px;
    }
    
    .step-connector {
        height: 25px;
        margin-left: 34px;
    }
}
