/* Journey Progress Bar - Compact Version */
.journey-progress-bar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 30px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.journey-progress-bar__header {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.journey-progress-bar__message {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
}

.journey-progress-bar__message p {
    margin: 0 0 var(--spacing-sm) 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-dark);
}

.journey-progress-bar__message p:first-child {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
}

.journey-progress-bar__message p:last-child {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.journey-progress-bar__track {
    position: relative;
    height: 75px;
}

/* Progress Line */
.journey-progress-bar__track::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 24px;
    right: 24px;
    height: 3px;
    background: #e5e7eb;
    border-radius: 2px;
    z-index: 1;
}

.journey-progress-bar__fill {
    position: absolute;
    top: 20px;
    left: 24px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    z-index: 2;
    transition: width 0.6s ease;
}

/* Important: Ensure steps container doesn't interfere with flex-direction */
.journey-progress-bar__steps {
    align-items: flex-start;
}

/* Step Markers Container */
.journey-progress-bar__steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
}

/* Individual Step Marker */
.journey-progress-bar__step-marker {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    gap: 6px;
}

.journey-progress-bar__icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
}

.journey-progress-bar__icon i {
    font-size: 16px;
    color: #9ca3af;
    transition: all 0.3s ease;
}

/* Clickable links */
.journey-progress-bar__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.journey-progress-bar__link:hover {
    text-decoration: none;
    color: inherit;
}

.journey-progress-bar__link:hover .journey-progress-bar__icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* Completed Step */
.journey-progress-bar__step-marker.completed .journey-progress-bar__icon {
    background: #10b981;
    border-color: #10b981;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.journey-progress-bar__step-marker.completed .journey-progress-bar__icon i {
    color: #ffffff;
}

/* Current Step (Active) */
.journey-progress-bar__step-marker.current .journey-progress-bar__icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    transform: scale(1.15);
    animation: pulse 2s ease-in-out infinite;
}

.journey-progress-bar__step-marker.current .journey-progress-bar__icon i {
    color: #ffffff;
    font-size: 18px;
}

/* Pulse Animation for Current Step */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    }
    50% {
        box-shadow: 0 6px 16px rgba(59, 130, 246, 0.6);
    }
}

/* Upcoming Step */
.journey-progress-bar__step-marker.upcoming .journey-progress-bar__icon {
    background: #f9fafb;
    border-color: #e5e7eb;
}

.journey-progress-bar__step-marker.upcoming .journey-progress-bar__icon i {
    color: #d1d5db;
}

/* Step Labels */
.journey-progress-bar__label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-align: center;
    color: #9ca3af;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Completed Step Label */
.journey-progress-bar__step-marker.completed .journey-progress-bar__label {
    color: var(--primary-color);
}

/* Current Step Label */
.journey-progress-bar__step-marker.current .journey-progress-bar__label {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.75rem;
}

/* Upcoming Step Label */
.journey-progress-bar__step-marker.upcoming .journey-progress-bar__label {
    color: #d1d5db;
}

/* Responsive Design */
@media (min-width: 576px) {
    .journey-progress-bar {
        padding: 18px 24px;
    }
    
    .journey-progress-bar__track {
        height: 80px;
    }
    
    .journey-progress-bar__icon {
        width: 46px;
        height: 46px;
    }
    
    .journey-progress-bar__icon i {
        font-size: 18px;
    }
    
    .journey-progress-bar__step-marker.current .journey-progress-bar__icon i {
        font-size: 20px;
    }
    
    .journey-progress-bar__label {
        font-size: 0.75rem;
    }
    
    .journey-progress-bar__step-marker.current .journey-progress-bar__label {
        font-size: 0.8125rem;
    }
}

@media (min-width: 768px) {
    .journey-progress-bar {
        padding: 20px 28px;
    }
    
    .journey-progress-bar__track {
        height: 85px;
    }
    
    .journey-progress-bar__title {
        font-size: 0.9375rem;
    }
    
    .journey-progress-bar__step {
        font-size: 0.8125rem;
    }
    
    .journey-progress-bar__label {
        font-size: 0.8125rem;
    }
    
    .journey-progress-bar__step-marker.current .journey-progress-bar__label {
        font-size: 0.875rem;
    }
}

/* Hover effect for better UX (subtle, non-interactive) */
.journey-progress-bar__step-marker .journey-progress-bar__icon:hover {
    transform: scale(1.05);
}

.journey-progress-bar__step-marker.current .journey-progress-bar__icon:hover {
    transform: scale(1.2);
}

