﻿/* ==========================================================================
   申請流程專屬樣式 (phase-modal.css)
   注意：本檔案處理垂直時間軸與流程步驟，需搭配 shared-components.css 使用
   ========================================================================== */

/* --- 1. 頂部引言區塊 --- */
.phase-intro {
    text-align: center;
    margin-bottom: 30px;
}

    .phase-intro h4 {
        color: #0056b3;
        font-weight: bold;
        margin-top: 0;
        margin-bottom: 10px;
        font-size: 1.3rem;
    }

    .phase-intro p {
        color: #555;
        line-height: 1.6;
        font-size: 0.95em;
        margin: 0;
    }

/* --- 2. 時間軸容器 --- */
.phase-timeline {
    padding-left: 10px;
}

/* --- 3. 每個步驟的共同樣式 --- */
.timeline-item {
    margin-bottom: 25px;
    padding-left: 15px;
    border-left-width: 4px;
    border-left-style: solid;
}

.timeline-title {
    color: #333;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

/* STEP 標籤膠囊 */
.step-badge {
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    margin-right: 8px;
    vertical-align: middle;
}

.timeline-desc {
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 0.95em;
    text-align: justify;
}

/* --- 4. 步驟個別顏色設定 (邊框與膠囊同色) --- */
.timeline-item.step-1 {
    border-color: #4CAF50;
}

    .timeline-item.step-1 .step-badge {
        background-color: #4CAF50;
    }

.timeline-item.step-2 {
    border-color: #2196F3;
}

    .timeline-item.step-2 .step-badge {
        background-color: #2196F3;
    }

.timeline-item.step-3 {
    border-color: #FF9800;
}

    .timeline-item.step-3 .step-badge {
        background-color: #FF9800;
    }

.timeline-item.step-4 {
    border-color: #E91E63;
}

    .timeline-item.step-4 .step-badge {
        background-color: #E91E63;
    }

.timeline-item.step-5 {
    border-color: #9C27B0;
}

    .timeline-item.step-5 .step-badge {
        background-color: #9C27B0;
    }

.timeline-item.step-6 {
    border-color: #009688;
}

    .timeline-item.step-6 .step-badge {
        background-color: #009688;
    }

/* --- 5. 步驟內的附註小字 --- */
.timeline-hint, .timeline-note {
    color: #777;
    font-size: 0.9em;
    display: inline-block;
    margin-top: 5px;
}

.timeline-note {
    margin-top: 8px;
    margin-bottom: 0;
}

/* --- 6. 線上送件黃色警告框 --- */
.timeline-alert {
    display: block;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #fff3cd;
    border-left: 3px solid #ffc107;
    color: #856404;
    font-weight: bold;
    border-radius: 0 4px 4px 0;
    line-height: 1.5;
    font-size: 0.95em;
}

.alert-note {
    font-weight: normal;
    font-size: 0.9em;
}

/* --- 7. 底部藍色大提示框 --- */
.phase-footer-box {
    background-color: #e3f2fd;
    border-left: 4px solid #0d47a1;
    color: #0d47a1;
    padding: 15px 20px;
    border-radius: 0 6px 6px 0;
    margin-top: 35px;
}

    .phase-footer-box strong {
        display: block;
        margin-bottom: 8px;
        font-size: 1.05em;
    }

    .phase-footer-box span {
        line-height: 1.6;
        font-size: 0.95em;
        display: block;
        text-align: justify;
    }

/* --- 8. 手機版 RWD 微調 (⭐ 新增) --- */
@media (max-width: 600px) {
    .phase-intro h4 {
        font-size: 1.15rem;
    }

    .timeline-item {
        padding-left: 10px; /* 手機版左側邊距縮小，爭取更多文字空間 */
        margin-bottom: 20px;
    }

    .phase-footer-box {
        padding: 12px 15px; /* 手機版內距微調 */
        margin-top: 25px;
    }
}
