/* Timeline Component Styles */

.timeline-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-top: 1.5rem;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: timelineFadeIn 0.6s ease forwards;
}

.timeline-step:nth-child(1) { animation-delay: 0.1s; }
.timeline-step:nth-child(3) { animation-delay: 0.2s; }
.timeline-step:nth-child(5) { animation-delay: 0.3s; }
.timeline-step:nth-child(7) { animation-delay: 0.4s; }

@keyframes timelineFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: 2px solid #cbd5e1;
    margin-bottom: 0.75rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.timeline-icon svg {
    width: 28px;
    height: 28px;
    color: #94a3b8;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-step.completed .timeline-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    animation: timelinePulse 0.6s ease;
}

.timeline-step.completed .timeline-icon svg {
    color: #fff;
    transform: scale(1.1);
}

@keyframes timelinePulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.timeline-content {
    text-align: center;
}

.timeline-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.timeline-step.completed .timeline-title {
    color: #1e293b;
}

.timeline-date {
    font-size: 0.75rem;
    color: #94a3b8;
}

.timeline-step.completed .timeline-date {
    color: #64748b;
}

.timeline-connector {
    flex: 1;
    height: 3px;
    background: #e2e8f0;
    margin-top: -2rem;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.timeline-connector.completed {
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    animation: timelineConnectorFill 0.8s ease;
}

@keyframes timelineConnectorFill {
    from {
        background: #e2e8f0;
    }
    to {
        background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .timeline-connector {
        width: 2px;
        height: 2rem;
        margin-top: 0;
        margin-left: -2rem;
    }

    .timeline-step {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }

    .timeline-icon {
        margin-bottom: 0;
        margin-right: 1rem;
    }

    .timeline-content {
        text-align: left;
    }
}

