.step-container {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.step-item {
    flex: 1;
    position: relative;
    text-align: center;
}

/* garis dasar */
.step-item:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 50%;
    width: 100%;
    height: 6px;
    background: #dcdcdc;
    z-index: 1;
}

/* garis penuh (1 ke 2) */
.step-item.full:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 28px;
    left: 50%;
    width: 100%;
    height: 6px;
    background: #4a7bd6;
    z-index: 2;
}

/* garis 50% (2 ke 3) */
.step-item.half:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 28px;
    left: 50%;
    width: 50%;
    height: 6px;
    background: #4a7bd6;
    z-index: 2;
}

.step-box {
    position: relative;
    z-index: 3;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: #c7ccd6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    margin: auto;
}

.step-box.active {
    background: white;
    border: 4px solid #4a7bd6;
    color: #4a7bd6;
    font-weight: bold;
}

.step-text {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

.upload-box {
    border: 2px dashed #cfd6df;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    background: #fafbfc;
    transition: 0.3s;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.upload-preview {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preview-img {
    max-width: 100%;
    max-height: 320px;
    border-radius: 8px;
    object-fit: contain;
}

.file-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}