.stepper {
    position: relative;
}

.stepper-item {
    position: relative;
    padding: 0 1rem;
}

.stepper-item:not(:last-child):after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e9ecef;
    z-index: 0;
}

.step-counter {
    position: relative;
    z-index: 1;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.3s ease;
}

.stepper-item.active .step-counter {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.step-name {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.stepper-item.active .step-name {
    color: #0d6efd;
    font-weight: 500;
}

.pic-holder {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto;
    border: 2px solid #e9ecef;
    overflow: hidden;
}

.pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-file-block {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
}

.pic-holder:hover .upload-file-block {
    opacity: 1;
}

@media (max-width: 768px) {
    .stepper-item:not(:last-child):after {
        display: none;
    }
    
    .stepper-item {
        margin-bottom: 1rem;
    }
}
