/* 橫向進度條樣式 */
.progress-container {
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.95), rgba(196, 30, 58, 0.85));
    border-radius: 20px;
    padding: 25px;
    margin: 25px 0;
    text-align: center;
    box-shadow: 0 8px 32px rgba(196, 30, 58, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.progress-text {
    color: white;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffffff, #f0f0f0, #ffffff);
    border-radius: 3px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 20%; /* 默認第1步 */
    position: relative;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.progress-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.step-number {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.step-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-number:hover::before {
    opacity: 1;
}

.step-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 活動狀態 */
.progress-step.active .step-number {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    color: #c41e3a;
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 0 40px rgba(196, 30, 58, 0.3);
    border-color: white;
    animation: pulse-active 2s infinite;
}

@keyframes pulse-active {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 0 40px rgba(196, 30, 58, 0.3);
    }
    50% { 
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.8), 0 0 50px rgba(196, 30, 58, 0.5);
    }
}

.progress-step.active .step-label {
    color: white;
    font-weight: bold;
    transform: scale(1.05);
}

/* 完成狀態 */
.progress-step.completed .step-number {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border-color: #28a745;
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.4);
}

.progress-step.completed .step-number::after {
    content: '✓';
    position: absolute;
    font-size: 12px;
    font-weight: bold;
}

.progress-step.completed .step-label {
    color: white;
    font-weight: 600;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .progress-container {
        padding: 20px 15px;
        margin: 20px 0;
        border-radius: 15px;
    }
    
    .progress-text {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .progress-steps {
        gap: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .step-label {
        font-size: 12px;
    }
    
    .progress-step.active .step-number {
        transform: scale(1.1);
    }
}

@media (max-width: 480px) {
    .progress-container {
        padding: 15px 10px;
        margin: 15px 0;
    }
    
    .progress-text {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .progress-steps {
        gap: 15px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
        border-width: 1px;
    }
    
    .step-label {
        font-size: 11px;
    }
    
    .progress-step.active .step-number {
        transform: scale(1.05);
    }
    
    .progress-bar {
        height: 4px;
    }
}
