﻿div.body {
    background-color: #FFFFFF;
    margin: 0 auto;
    max-width: 1024px;

}
/* ===== 共用 ===== */
.content {
    max-width: 1024px;
    margin: 0 auto;
    padding: 20px;
}

.title {
    text-align: center;
    font-size: 34px;
    font-weight: bold;
    margin: 0;
    color: #333;
}

.subtitle {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin: 10px 0 20px;
    color: #333;
}

.intro {
    font-size: 18px;
    line-height: 1.8;
    text-align:center;
    margin-bottom: 10px;
}

.note {
    color: #C00000;
    font-size: 16px;
    text-align: center;
    margin: 10px 0;
    font-weight: bold;
}

.flow-title {
    text-align: center;
    color: #0070C0;
    font-size: 30px; /* 放大 */
    font-weight: bold;
    margin: 35px 0 18px;
}

.flow {
    text-align: center;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

    .flow .step {
        background: #e9ecef;
        padding: 18px 28px;
        border-radius: 8px;
        font-weight: bold;
    }

    .flow .arrow {
        color: #0070C0;
        font-weight: bold;
        font-size: 20px;
    }

/* ===== 重點色塊 ===== */
.info-blocks {
    margin: 30px 0;
}

.block {
    background: #f8f9fa;
    padding: 16px 16px 16px 95px; /* 左內距留給勾勾+數字 */
    margin: 14px 0;
    border-left: 4px solid #ced4da;
    border-radius: 0 8px 8px 0;
    font-size: 15px;
    line-height: 1.7;
    position: relative;
    transition: all 0.2s ease;
}

    .block.highlight {
        background: #D9E2F3;
        border-left-color: #9BBEE2;
    }

    /* === 勾勾 + 數字（左側水平，偏上對齊）=== */
    .block .icon {
        position: absolute;
        left: 16px;
        top: 14px; /* 固定偏上 */
        display: flex;
        align-items: center;
        gap: 6px;
        font-weight: bold;
        font-size: 16px;
        color: white;
    }

        /* 數字圓圈（保留原樣） */
        .block .icon > span {
            width: 32px;
            height: 32px;
            background: #0070C0;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        /* 紅色勾勾（在數字左邊） */
        .block .icon::before {
            content: "✓";
            color: #e63946;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 35px;
            font-weight: bold;
            flex-shrink: 0;
        }

    /* 只有 highlight 才顯示勾勾 */
    .block:not(.highlight) .icon::before {
        display: none;
    }

    /* 懸停效果 */
    .block:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

/* ===== 自訂 Checkbox ===== */
.agreement {
    text-align: center;
    margin: 40px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    padding: 10px 0;
}

    .checkbox-label input {
        position: absolute;
        opacity: 0;
        height: 0;
        width: 0;
    }

.checkmark {
    width: 28px;
    height: 28px;
    background: #eee;
    border: 2px solid #ccc;
    border-radius: 6px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* 讓 ::after 正確定位 */
    transition: all 0.2s ease;
    flex-shrink: 0;
}

    .checkmark:after {
        content: "✓";
        color: white;
        font-size: 20px;
        font-weight: bold;
        display: none;
    }

.checkbox-label input:checked ~ .checkmark {
    background: #0070C0;
    border-color: #0070C0;
}

    .checkbox-label input:checked ~ .checkmark:after {
        display: block;
    }

.checkbox-label:hover .checkmark {
    border-color: #0070C0;
}
/* ===== 按鈕 ===== */
.action {
    text-align: center;
    margin-top: 20px;
}

#nextBtn {
    background: #0070C0;
    color: white;
    padding: 12px 30px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: not-allowed;
    opacity: 0.5;
    transition: all 0.2s;
}

    #nextBtn:not(:disabled) {
        opacity: 1;
        cursor: pointer;
    }

        #nextBtn:not(:disabled):hover {
            background: #005a9e;
        }