/* Progress Tracking Styles */
.smm-progress-widget {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.progress-header h4 {
    margin: 0;
    color: #343a40;
}

.progress-percentage {
    font-size: 18px;
    font-weight: bold;
    color: #007cba;
}

.progress-bar-container {
    margin-bottom: 15px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007cba 0%, #00a0d2 100%);
    transition: width 0.5s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.2) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.2) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
    animation: progressShine 2s linear infinite;
}

@keyframes progressShine {
    0% { background-position: 0 0; }
    100% { background-position: 20px 0; }
}

.progress-details {
    margin-bottom: 15px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.detail-row:last-child {
    border-bottom: none;
}

.label {
    font-weight: 600;
    color: #495057;
}

.value {
    color: #6c757d;
}

.status-pending { color: #ffc107; }
.status-processing { color: #007cba; }
.status-in-progress { color: #007cba; }
.status-completed, .status-complete, .status-finished { color: #28a745; }
.status-partial { color: #fd7e14; }
.status-canceled, .status-cancelled { color: #dc3545; }

.completion-message {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.completion-icon {
    font-size: 20px;
}

.progress-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.refresh-progress-btn, .view-detailed-progress {
    padding: 8px 16px;
    border: 1px solid #007cba;
    background: white;
    color: #007cba;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.refresh-progress-btn:hover, .view-detailed-progress:hover {
    background: #007cba;
    color: white;
}

.refresh-progress-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .progress-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .progress-actions {
        flex-direction: column;
    }
    
    .refresh-progress-btn, .view-detailed-progress {
        width: 100%;
        text-align: center;
    }
}