
/* Timeline Horizontal */
.timeline-container {
    position: relative;
    overflow: hidden;
    padding-top: 20px;
}

.timeline-line {
    position: absolute;
    top: 33%;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #F3F4F6, #E5E7EB, #F3F4F6);
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 3px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1),
                0 1px 0 rgba(255, 255, 255, 0.8);
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #69F0AE 0%, #4CAF50 50%, #2E7D32 100%);
    width: 0%;
    transition: width 2s ease-in-out;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(105, 240, 174, 0.4), 
                0 4px 16px rgba(105, 240, 174, 0.2),
                0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

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

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.timeline-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    border-radius: 3px 3px 0 0;
}

.timeline-step {
    position: relative;
    z-index: 2;
}

.timeline-point {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: 4px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    transition: all 0.6s ease;
    transform: scale(0);
}

.timeline-point.active {
    transform: scale(1);
    border-color: #69F0AE;
    background: linear-gradient(135deg, #69F0AE, #4CAF50);
}

/* When point is active, change icon color */
.timeline-point.active i {
    color: white !important;
}

.timeline-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    padding-top: 8px;
}

.timeline-content.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .timeline-line {
        display: none;
    }
    
    .timeline-point {
        transform: scale(1);
        margin-bottom: 20px;
    }
    
    .timeline-content {
        opacity: 1;
        transform: none;
        margin-bottom: 30px;
    }
    
    .timeline-step {
        margin-bottom: 40px;
    }
}
