/* Progress Bar Styles - Organization Theme */
.progress-container {
    position: relative;
    margin: 2rem 0;
    padding: 1rem 0;
}

.progress-track {
    position: relative;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1680fb, #185abd);
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Stage Markers */
.stage-marker {
    position: absolute;
    top: -20px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.stage-marker:hover {
    transform: translateX(-50%) scale(1.1);
}

.stage-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.stage-icon.completed {
    background: #1680fb;
    border: 3px solid #185abd;
}

.stage-icon.current {
    background: #185abd;
    border: 3px solid #1680fb;
    animation: pulse 2s infinite;
}

.stage-icon.pending {
    background: #6c757d;
    border: 3px solid #adb5bd;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(22, 128, 251, 0.3); }
    50% { box-shadow: 0 4px 20px rgba(22, 128, 251, 0.6); }
}

.stage-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #495057;
    text-align: center;
    max-width: 120px;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.stage-marker:hover .stage-label {
    color: #1680fb;
}

/* Progress Info */
.progress-info {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.progress-stat {
    text-align: center;
    flex: 1;
}

.progress-stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #1680fb;
    margin-bottom: 0.5rem;
}

.progress-stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

/* Current Stage Info */
.current-stage-info {
    background: linear-gradient(135deg, #1680fb 0%, #185abd 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    box-shadow: 0 8px 25px rgba(22, 128, 251, 0.2);
}

.current-stage-info h5 {
    color: white;
    margin-bottom: 0.5rem;
}

.current-stage-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.current-stage-info small {
    color: rgba(255, 255, 255, 0.8);
}

/* Stage Details Grid */
.stage-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stage-detail-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.stage-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.stage-detail-card.completed {
    border-color: #1680fb;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
}

.stage-detail-card.current {
    border-color: #185abd;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f2ff 100%);
    box-shadow: 0 8px 25px rgba(22, 128, 251, 0.15);
}

.stage-detail-card.pending {
    border-color: #dee2e6;
    background: #f8f9fa;
}

.stage-detail-card h6 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stage-detail-card p {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.stage-detail-card small {
    color: #adb5bd;
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .progress-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .progress-stat {
        padding: 1rem;
        border-bottom: 1px solid #e9ecef;
    }
    
    .progress-stat:last-child {
        border-bottom: none;
    }
    
    .stage-details-grid {
        grid-template-columns: 1fr;
    }
    
    .stage-marker {
        top: -15px;
    }
    
    .stage-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .stage-label {
        font-size: 0.7rem;
        max-width: 100px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in {
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(-30px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Loading Animation */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
} 
