.segmentedProgressBar * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.segmentedProgressBar {
    font-family: Arial, sans-serif;
    padding: 20px;
}

.segmentedProgressBar .progress-container {
    display: flex;
    align-items: center;
    list-style-type: none;
    position: relative;
}

/* 整行虚线（作为背景） */
.segmentedProgressBar .progress-container::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    border-top: 2px dashed #ccc;
    transform: translateY(-50%);
    z-index: 0;
}

.segmentedProgressBar .progress-item {
    position: relative;
    margin-right: 30px;
    text-align: center;
    flex: 1;
    min-width: 120px;
    z-index: 1;
}

.segmentedProgressBar .progress-box {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-radius: 4px;
    color: white;
    font-weight: bold;
    text-align: center;
    word-break: break-word;
}

.segmentedProgressBar .completed {
    background-color: #27ae60;
}

.segmentedProgressBar .uncompleted {
    background-color: #ccc;
}

.segmentedProgressBar .current .progress-box {
    border: 2px solid #2ecc71;
    position: relative; /* 为箭头定位做准备 */
}

/* 当前进度箭头指示器 */
.segmentedProgressBar .current-arrow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #2ecc71; /* 箭头朝上 */
}

/* 当前进度文字提示 */
.segmentedProgressBar .current-text {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #2ecc71;
    white-space: nowrap;
}
