﻿body {
    font-family: "微軟正黑體", Arial, Helvetica, sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    min-width: 460px;
}

.header {
    background-color: #4c4c4c;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 2.5rem;
}

    .header .logo {
        margin-right: 5px;
        width: 45px;
        border-radius: 30px;
    }

.loading-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.spinner {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.breadcrumb {
    padding: 10px 20px;
    margin: 10px 20px;
    background-color: #f2f2f2;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
}

.progress-note {
    padding: 0px 20px;
    margin: 10px 20px;
    background-color: #fff8db;
    border: 1px solid #ffd36b;
    color: #444;
    font-size: 1.5rem;
    line-height: 2.5rem;
    border-radius: 8px;
}

.progress-message {
    text-align: center;
    padding: 0px 10px;
    margin: 40px 20px;
    color: #000000;
    font-size: 1.6rem;
    font-weight: bold;
}

.progress-list-section {
    padding: 20px;
    margin: 20px auto;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    max-width: 645px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 1.5rem;
}

    .progress-list-section .clinic-data table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
    }

    .progress-list-section .clinic-data th,
    .progress-list-section .clinic-data td {
        border: 1px solid #ddd;
        padding: 8px;
        text-align: center;
        font-weight: bold;
    }

    .progress-list-section .clinic-data th {
        background-color: #ffc1d7;
    }

    .progress-list-section .clinic-data td {
        background-color: #fce8ef;
    }

    .progress-list-section .clinic-data .eng {
        font-size: 1.2rem;
        color: #555;
    }

    .progress-list-section .clinic-number {
        display: flex;
        justify-content: space-between;
        margin-top: 20px;
    }

        .progress-list-section .clinic-number .item-block {
            display: table;
            flex-direction: column;
            align-items: center;
            border: 1px solid #ddd;
            border-radius: 5px;
            background-color: #fce8ef;
            width: 50%;
        }

            .progress-list-section .clinic-number .item-block .item-title {
                font-weight: bold;
                margin-top: 10px;
                margin-bottom: 10px;
                text-align: center;
            }

                .progress-list-section .clinic-number .item-block .item-title .eng {
                    font-size: 1.2rem;
                    color: #555;
                }


.item-value-number {
    font-size: 3em;
    font-weight: bold;
    text-align: center;
    background-color: #fff;
}

    .item-value-number.number-current {
        color: #ff0000; /* 目前號顏色 */
    }

    .item-value-number.number-next {
        color: #000000; /* 下一號顏色 */
    }

.show-data-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #4c8bf5;
    color: white;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    width: 150px;
    font-size: 1.1rem;
    cursor: pointer;
}

    .show-data-button:hover {
        background-color: #357ae8;
    }

.progress-detail-content-block {
    margin: 20px 0px 0px 0px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

    .progress-detail-content-block table {
        width: 100%;
        border-collapse: collapse;
    }

    .progress-detail-content-block th,
    .progress-detail-content-block td {
        padding: 10px;
        text-align: center;
        border: 1px solid #ddd;
    }

    .progress-detail-content-block th {
        font-size: 1.5rem;
        color: #fff;
    }

        .progress-detail-content-block th .eng {
            font-size: 1.2rem;
        }

    .progress-detail-content-block .progress-detail-content-call-numbers {
        display: flex;
        flex-wrap: wrap;
        justify-content: left;
        padding: 10px;
        background-color: #f9f9f9;
    }

        .progress-detail-content-block .progress-detail-content-call-numbers .progress-detail-content-call-number {
            width: 40px;
            height: 40px;
            margin: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            font-weight: bold;
            color: #fff;
        }

.completed-number {
    background-color: #4caf50; /* 完成號顏色 */
}

.current-number {
    background-color: #ff9800; /* 目前號顏色 */
}

.check-in-number {
    background-color: #2196f3; /* 已報到號顏色 */
}

.no-check-in-number {
    background-color: #f44336; /* 未報到號顏色 */
}

#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    border: 0px;
    outline: none;
    background-color: #ff9800;
    color: white;
    cursor: pointer;
    padding: 0px 20px;
    border-radius: 50%;
    font-size: 1.5rem;
    text-align: center;
    line-height: 50px;
    font-weight: bold;
    box-sizing: border-box;
}

    #scrollToTopBtn:hover {
        background-color: #555;
    }
