.stepper-container {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Better vertical alignment */
    width: 100%;
    margin-bottom: 2rem;
}

.stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.stepper-item:hover .stepper-circle {
    border-color: var(--bs-primary);
    transform: scale(1.1);
}

.stepper-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #dee2e6;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.stepper-item.active .stepper-circle {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

.stepper-item.completed .stepper-circle {
    background-color: #198754;
    color: white;
    border-color: #198754;
}

.stepper-connector {
    flex: 1;
    height: 2px;
    background-color: #dee2e6;
    margin: 0 -15px; /* Pulls connectors under the circles */
    transform: translateY(-10px); /* Adjust based on circle height */
}

.stepper-connector.completed {
    background-color: #198754;
}

.stepper-title {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
    position: absolute;
    top: 40px;
    white-space: nowrap;
}