.flowMainTitle {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.flowMainTitleText {
    color: #7f8c8d;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.flowGroups {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.flowGroup {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.groupTitle {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.trainingFlowWrapper {
    overflow: hidden;
    margin-bottom: 20px;
}

.flowStages {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 8px;
}

.stagesContainer {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    min-width: 100%;
}

.stageGroup {
    flex-shrink: 0;
    margin-right: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stageGroupContent {
    display: flex;
    gap: 12px;
}

.flowStage {
    flex-shrink: 0;
    padding: 8px;
    min-width: 180px; /* è¨­å®šæœ€å°å¯¬åº¦é¿å…å…§å®¹æ“ å£“ */
    border-radius: 8px;
    border: 1px solid #eee;
}

.training-group {
    padding: 12px;
    background: #fff;
    border-radius: 10px;
    border-top: 4px solid #77c7f0;
}

.career-group {
    padding: 12px;
    background: #fff;
    border-top: 4px solid #428bca;
    border-radius: 10px;
}

.stageGroupTitle {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.stageTitle {
    font-size: 16px;
    font-weight: bold;
    color: #666;
    margin-bottom: 12px;
    position: relative;
    padding: 4px 0;
}

.stageItems {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1; /* å¡«å……å‰©é¤˜ç©ºé–“ */
    justify-content: center; /* åž‚ç›´å±…ä¸­é …ç›® */
}

.outerLink{
    text-decoration: none;
    font-size: 12px;
    margin-top: 8px;
}

.stageItems .item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    padding: 4px;
    border-bottom: 1px solid #b3b3b3;
}

.stageItems .item i {
    color: #ddd;
    font-size: 16px;
    margin-top: 2px;
}

.stageItems .item.completed i {
    color: #f68b60;
}

.stageItems .item-content {
    flex: 1;
}

.stageItems .item-text {
    font-size: 14px;
    margin-bottom: 4px;
}

.stageItems .item-time {
    font-size: 12px;
    color: #666;
}

.finished {
    background: #fff7d2;
}

@media screen and (max-width: 767px) {
    /* å®¹å™¨æ”¹ç‚ºåž‚ç›´æŽ’åˆ— */
    .stagesContainer {
        flex-direction: column;
    }

    /* ç§»é™¤åŽŸæœ¬çš„å¯¬åº¦é™åˆ¶ */
    .stageGroup {
        width: 100%;
        margin-bottom: 20px;
    }

    .flowStages {
        margin-bottom: 8px;
    }

    .flowStage{
        margin-bottom: 12px;
    }

    /* æ·»åŠ æ”¶åˆæŒ‰éˆ•æ¨£å¼ */
    .stageGroupTitle {
        position: relative;
        padding: 12px;
        background: #f5f5f5;
        cursor: pointer;
    }

    .stageGroupTitle:after {
        content: '';
        position: absolute;
        right: 15px;
        top: 50%;
        width: 10px;
        height: 10px;
        border-right: 2px solid #666;
        border-bottom: 2px solid #666;
        transform: translateY(-50%) rotate(45deg);
        transition: transform 0.3s;
    }

    .stageGroupTitle.active:after {
        transform: translateY(-50%) rotate(-135deg);
    }

    /* å…§å®¹å€å¡Šé è¨­éš±è— */
    .stageGroupContent {
        display: none;
        padding: 12px;
    }

    .stageGroupContent.show {
        display: block;
    }
}

/* è¨“å‰å°±æ¥­é¡¯ç¤ºåˆ‡æ› */
.trainingToggle {
    display: flex;
    margin: 10px 0;
    text-align: center;
    align-items: center;
    flex-direction: column;
}

.trainingToggle span {
    font-size: 14px;
}

.toggleBtn {
    line-height: 1.75;
    margin: 4px;
    padding: 5px 15px;
    width: 100%;
}

.toggleBtn.active {
    background-color: #007bff;
    color: white;
}

.stageItems .item.training-employment {
    display: none;
}

.stageItems .item.training-employment.showup {
    display: flex;
}

.explanation {
    font-size: 14px;
    color: #666;
    width: 154px;
}

@media screen and (max-width: 767px) {
    .explanation {
        width: 100%;
    }
}

.moreTrainingFlowBtnWrapper{
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    justify-content: space-around;
}

.trainingFlowWrapper.hidden {
    display: none;
}

/* æ»¾å‹•æŒ‰éˆ•æ¨£å¼ */
.scroll-button {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-button.prev {
    left: 0;
    background: rgba(255,255,255,0.9);
    display: none;
}

.scroll-button.next {
    right: 0;
    background: rgba(255,255,255,0.9);
}

/* æŒ‰éˆ•åœ–æ¨™æ¨£å¼ */
.scroll-button i {
    font-size: 32px;
    color: #666;
}

.scroll-button:hover i {
    color: #333;
}

@media screen and (max-width: 767px) {
    .scroll-button.prev {
        display: none;
    }
    
    .scroll-button.next {
        display: none;
    }
    
}