/* Enhanced Stepper Design */
.step-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 50px;
    position: relative;
    padding: 0 20px;
    max-width: 600px;
}

/* Progress line container */
.step-indicator-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 3;
    flex: 1;
}

/* Progress line between steps - only between first and second, second and third */
.step-indicator-wrapper:not(:last-of-type)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

/* Hide line after the last step indicator wrapper */
.step-indicator-wrapper:nth-child(3)::after {
    display: none;
}

.step-indicator-wrapper.completed:not(:last-of-type)::after,
.step-indicator-wrapper.active:not(:last-of-type)::after {
    background-color: #00466A;
}

/* Step circle */
.step-indicator {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #999;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid #e0e0e0;
    margin-bottom: 12px;
    font-family: 'Figtree', sans-serif;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Active state */
.step-indicator.active {
    background-color: #00466A;
    color: white;
    border-color: #00466A;
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 70, 106, 0.25);
}

/* Completed state with checkmark */
.step-indicator.completed {
    background-color: #22c55e;
    color: white;
    border-color: #22c55e;
    font-size: 1.3rem;
}

.step-indicator.completed::before {
    content: '✓';
    font-weight: 900;
}

.step-indicator.completed span {
    display: none;
}

/* Hover effect for clickable steps */
.step-indicator-wrapper.clickable .step-indicator {
    cursor: pointer;
}

.step-indicator-wrapper.clickable:hover .step-indicator {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Step labels */
.step-indicator-label {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0;
    font-weight: 500;
    max-width: 120px;
    text-align: center;
    font-family: 'Figtree', sans-serif;
    transition: all 0.3s ease;
    line-height: 1.3;
}

.step-indicator-wrapper.active .step-indicator-label {
    color: #00466A;
    font-weight: 600;
    transform: translateY(-2px);
}

.step-indicator-wrapper.completed .step-indicator-label {
    color: #22c55e;
    font-weight: 500;
}

/* Remove old progress bar */
.step-progress-bar {
    display: none;
}

/* Mobile responsiveness */
@media (max-width: 640px) {
    .step-indicators {
        padding: 0 10px;
    }
    
    .step-indicator {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-indicator-label {
        font-size: 0.75rem;
        max-width: 80px;
    }
    
    .step-indicator-wrapper:not(:last-child)::after {
        top: 20px;
    }
}

/* Add subtle animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 70, 106, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 70, 106, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 70, 106, 0);
    }
}

.step-indicator.active {
    animation: pulse 2s infinite;
}

/* Optional: Add step numbers for accessibility */
.step-indicator::after {
    content: attr(data-step);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: #999;
    font-weight: 400;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-indicator-wrapper:hover .step-indicator::after {
    opacity: 1;
}