/* 📊 헤더 로딩 진행바 스타일 - Version: 1.0.1 */
.header-loading-container {
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.header-loading-info {
    margin-bottom: 25px;
}

.header-loading-title {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.header-loading-attempt {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

.progress-bar-container {
    background-color: #e9ecef;
    border-radius: 12px;
    height: 16px;
    margin: 20px 0 10px 0;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
}

.progress-bar-fill {
    background: linear-gradient(90deg, #007bff 0%, #0056b3 50%, #007bff 100%);
    background-size: 200% 100%;
    height: 100%;
    border-radius: 12px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: gradient-shift 2s ease-in-out infinite alternate;
}

.progress-bar-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loading-shine 2s infinite;
}

.progress-percentage {
    font-size: 12px;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 15px;
}

.header-loading-action {
    margin-top: 20px;
}

.retry-button {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 3px 6px rgba(0,123,255,0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: none;
    letter-spacing: 0.5px;
}

.retry-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,123,255,0.3);
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
}

.retry-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,123,255,0.2);
}

/* 🌟 애니메이션 정의 */
@keyframes loading-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* 📱 반응형 디자인 */
@media (max-width: 768px) {
    .header-loading-container {
        padding: 20px;
    }
    
    .header-loading-title {
        font-size: 14px;
    }
    
    .retry-button {
        padding: 10px 20px;
        font-size: 13px;
    }
}