/***
 *** PAGE LEVEL COMPONENT
 ***
 *** - -- LOG-IN UI
 *** - -- FORGET PW UI
 *** - -- ADMIN__SYS MAIN
 *** - -- ADMIN__SYS PRIVILEGE INSERT UI
 *** - -- HOME
 *** - -- CASE REPORT
 *** - -- CASE REPORTED
 *** - -- CASE SEARCH
 ***
 ***/



/***
 *** BEGIN PAGE LEVEL COMPONENT
 ***/

/*** BEGIN PAGE LEVEL COMPONENT -- LOG-IN UI ***/
#mhw-logo-area {
    width: 45%;
    overflow: hidden;
    margin: 1.5% auto 2.5%;
    padding: 0;
}
    #mhw-logo-area img {
        width: 30%;
        overflow: hidden;
        margin: 0;
        padding: 0;
    }
.login-area {
    width: 45%;
    overflow: hidden;
    margin: 0 auto;
    padding: 0 0 3%;
}
    .login-area > h1 {
        color: #FFF;
        font-size: 1.2rem;
        font-weight: 500;
        letter-spacing: 0.25rem;
        text-align: center;
        text-shadow: 2px 2px 6px #666;
    }
    .login-area > .login-ui-deco-pic {
        float: left;
        width: 45%;
        overflow: hidden;
        margin: 2% 0 0;
        padding: 0;
    }
        .login-area > .login-ui-deco-pic img {
            width: 100%;
        }
    .login-area > .login-ui-outter-frame {
        /*position: relative;
        float: right;*/
        clear: both;
        width: 55%;
        /*overflow: hidden;*/
        margin: 3% auto 0;
        padding: 0;
    }
        .login-area > .login-ui-outter-frame > .ui-title {
            position: relative;
            width: 68%;
            overflow: hidden;
            background: #6C6969;
            color: #FFF;
            font-size: 1.35rem;
            font-weight: 500;
            letter-spacing: 0.35rem;
            text-align: center;
            margin: 0 auto;
            padding: 1.5% 0;
            border-radius: 6px;
        }
            .login-area > .login-ui-outter-frame > .ui-title-decoline {
                position: relative;
                width: 63%;
                height: 3px;
                overflow: hidden;
                background: #E3D7A6;
                margin: 0 auto;
                vertical-align: baseline;
            }
        #loginForm > .login-ui-block {
            width: 96%;
            overflow: hidden;
            background: #FFF;
            margin: -5% auto 0;
            padding: 6% 0 3%;
            border-radius: 8px;
            box-shadow: 1px 1px 6px #CCC;
        }
            #loginForm > .login-ui-block > label {
                display: block;
                width: 75%;
                color: #002D29;
                font-size: 0.875rem;
                font-weight: 300;
                letter-spacing: 0.25rem;
                margin: 0 auto;
                padding: 0;
            }
                #loginForm > .login-ui-block > .login-first-label {
                    margin-top: 6%;
                }
            #loginForm > .login-ui-block > .input-text {
                display: block;
                width: 75%;
                color: #002D29;
                font-size: 0.875rem;
                font-weight: 300;
                margin: 1.5% auto 2.5%;
                padding: 2%;
                border: #C9CACA 1px solid;
                border-radius: 6px;
            }
            #loginForm > .login-ui-block > .input-pw {
                display: block;
                width: 75%;
                color: #002D29;
                font-size: 0.875rem;
                font-weight: 300;
                margin: 1.5% auto 2.5%;
                padding: 2%;
                border: #C9CACA 1px solid;
                border-radius: 6px;
            }
            #loginForm > .login-ui-block > .captcha-area {
                display: block;
                width: 83.5%;
                overflow: hidden;
                margin: 5% auto 0;
                padding: 0;
            }
                #loginForm > .login-ui-block > .captcha-area > label {
                    float: right;
                    width: 45%;
                    color: #002D29;
                    font-size: 0.875rem;
                    font-weight: 300;
                    letter-spacing: 0.25rem;
                    margin: 0;
                    padding: 0;
                }
                .input-captcha {
                    float: right;
                    width: 48.5%;
                    color: #002D29;
                    font-size: 0.875rem;
                    font-weight: 300;
                    margin: 0;
                    padding: 2%;
                    border: #C9CACA 1px solid;
                    border-radius: 6px;
                }
            #loginForm > .login-ui-block > .link-sw-account-apply {
                float: left;
                width: 35%;
                color: #002D29;
                font-size: 0.813rem;
                font-weight: 300;
                margin: 0 0 2% 7.5%;
                padding: 2%;
            }
            #loginForm > .login-ui-block > .link-forget-pw {
                float: right;
                width: 35%;
                color: #002D29;
                font-size: 0.813rem;
                font-weight: 300;
                text-align: right;
                margin: 0 7.5% 2% 0;
                padding: 2%;
            }
            #loginForm > .login-ui-block > .input-submit {
                display: block;
                width: 68%;
                overflow: hidden;
                background: #777575DB;
                color: #FFF;
                font-size: 1rem;
                font-weight: 500;
                margin: 5% auto 3%;
                padding: 2% 0;
                border: none;
                border-radius: 23px;
            }
            #loginForm > .login-ui-block > .back-to-home {
                display: block;
                width: 68%;
                overflow: hidden;
                background: #BCBCBC;
                color: #FFF;
                font-size: 1rem;
                font-weight: 500;
                text-align: center;
                margin: 5% auto 3%;
                padding: 2% 0;
                border: none;
                border-radius: 23px;

                a:link, a:visited, a:hover {
                    color: #FFF;
                    text-decoration: none;
                }
            }
            #loginForm > .login-ui-block > .div-sub-funcs {
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: flex-end;
                width: 60%;
                overflow: hidden;
                color: #656565;
                font-size: 0.875rem;
                margin: 5% auto 3%;
                padding: 0;

                a:link, a:visited, a:hover {
                    width: 45%;
                    color: #656565;
                    text-decoration: none;
                }

                img {
                    width: 18%;
                    margin-right: 1%;
                    vertical-align: middle;
                }
            }
        .login-area > .login-ui-outter-frame > .login-ui-block-02 {
            width: 96%;
            overflow: hidden;
            background: #FFF;
            font-size: 1rem;
            font-weight: 500;
            letter-spacing: 0.15rem;
            text-align: center;
            margin: 5% auto 0;
            padding: 3% 0 2%;
            border-radius: 8px;
            box-shadow: 1px 1px 6px #000;
        }
            .login-area > .login-ui-outter-frame > .login-ui-block-02 a:link, .login-area > .login-ui-outter-frame > .login-ui-block-02 a:visited, .login-area > .login-ui-outter-frame > .login-ui-block-02 a:hover {
                color: #002D29;
            }
            .login-area > .login-ui-outter-frame > .login-ui-block-02 img {
                width: 8%;
                margin: -1.25% 2% 0 0;
                vertical-align: middle;
            }
        .login-area > .login-ui-outter-frame > .login-ui-block-qrcode {
            width: 96%;
            overflow: hidden;
            background: #FFF;
            margin: 5% auto 0;
            padding: 3% 0 2%;
            border-radius: 8px;
            box-shadow: 1px 1px 6px #000;
        }
            .login-area > .login-ui-outter-frame > .login-ui-block-qrcode img {
                width: 85%;
            }

/*** BEGIN PAGE LEVEL COMPONENT -- FORGET PW UI ***/
#fpw-area {
    width: 45%;
    overflow: hidden;
    margin: 0 auto;
    padding: 0;
}
    #fpw-area > h1 {
        color: #FFF;
        font-size: 1.2rem;
        font-weight: 500;
        letter-spacing: 0.25rem;
        text-align: center;
    }
    #fpw-area > .login-ui-deco-pic {
        float: left;
        width: 45%;
        overflow: hidden;
        margin: 2% 0 0;
        padding: 0;
    }
        #fpw-area > .login-ui-deco-pic img {
            width: 100%;
        }
    #fpw-area > .login-ui-outter-frame {
        position: relative;
        float: right;
        width: 50%;
        /*overflow: hidden;*/
        margin: 6% auto 0;
        padding: 0;
    }
        #fpw-area > .login-ui-outter-frame > .ui-title {
            position: relative;
            width: 68%;
            overflow: hidden;
            background: #36ACAE;
            color: #FFF;
            font-size: 1.35rem;
            font-weight: 500;
            letter-spacing: 0.35rem;
            text-align: center;
            margin: 0 auto;
            padding: 1.5% 0;
            border-radius: 6px;
        }
            #fpw-area > .login-ui-outter-frame > .ui-title-decoline {
                position: relative;
                width: 63%;
                height: 3px;
                overflow: hidden;
                background: #E3D7A6;
                margin: 0 auto;
                vertical-align: baseline;
            }
        #fpwForm > .login-ui-block {
            width: 96%;
            overflow: hidden;
            background: #FFF;
            margin: -5% auto 0;
            padding: 6% 0 3%;
            border-radius: 8px;
            box-shadow: 1px 1px 6px #000;
        }
            #fpwForm > .login-ui-block > label {
                display: block;
                width: 80%;
                color: #002D29;
                font-size: 0.875rem;
                font-weight: 300;
                letter-spacing: 0.25rem;
                margin: 0 auto;
                padding: 0;
            }
                #fpwForm > .login-ui-block > .login-first-label {
                    margin-top: 6%;
                }
            #fpwForm > .login-ui-block > .input-text {
                display: block;
                width: 80%;
                color: #002D29;
                font-size: 0.875rem;
                font-weight: 300;
                margin: 1.5% auto 2.5%;
                padding: 2%;
                border: #C9CACA 1px solid;
                border-radius: 6px;
            }
            #queryMessage {
                display: block;
                width: 80%;
                font-size: 0.813rem;
                text-align: right;
                margin: 1% auto 0;
                padding: 2%;
            }
            #fpwForm > .login-ui-block > .input-submit {
                display: block;
                width: 85%;
                overflow: hidden;
                background: #80CBCF;
                color: #FFF;
                font-size: 1rem;
                font-weight: 500;
                margin: 2.5% auto 6%;
                padding: 2% 0;
                border: none;
                border-radius: 6px;
            }

/*** BEGIN PAGE LEVEL COMPONENT -- ADMIN__SYS MAIN ***/
.sys-main-ui-title {
    width: 85%;
    overflow: hidden;
    background: #459985;
    color: #FFF;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.15rem;
    margin: 1% 0 0;
    padding: 1% 1.5%;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
}
.sys-main-ui-content {
    width: 85%;
    overflow: hidden;
    background: #FFF;
    margin: 0 0 1%;
    padding: 1% 1.5%;
    border-bottom-left-radius: 9px;
    border-bottom-right-radius: 9px;
}
    .sys-main-ui-content ul {
        width: 100%;
        overflow: hidden;
        margin: 0 auto;
        padding: 0;
    }
        .sys-main-ui-content ul li {
            width: 100%;
            overflow: hidden;
            margin: 0.5% auto 1%;
            padding: 0;
        }
            .sys-main-ui-content ul li a:link, .sys-main-ui-content ul li a:visited, .sys-main-ui-content ul li a:hover {
                color: #333;
                font-size: 0.875rem;
            }
.sys-main-ui-content-sbb {
    width: 88%;
    overflow: hidden;
    background: #FFF;
    margin: 0 0 1%;
    padding: 0%;
    border-bottom-left-radius: 9px;
    border-bottom-right-radius: 9px;
}
    .sys-main-ui-content-sbb > table {
        width: 100%;
    }
    .sys-main-ui-content-sbb td.td_func_content_column_title {
        background: #D8D8D8;
        border: #B6B6B6 1px solid !important;
    }
    .sys-main-ui-content-sbb td.td_func_content_content {
        border: #D6D6D6 1px solid !important;
    }
    .sys-main-ui-content-sbb > .see-more {
        width: 97%;
        overflow: hidden;
        font-size: 0.813rem;
        text-align: right;
        margin: 0 auto;
        padding: 1% 1.5%;
    }
        .sys-main-ui-content-sbb > .see-more a:link, .sys-main-ui-content-sbb > .see-more a:visited, .sys-main-ui-content-sbb > .see-more a:hover {
            color: #459985;
        }
.sys-main-ui-func-block {
    display: inline-block;
    width: 12%;
    overflow: hidden;
    background: #FFF;
    color: #459985;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.15rem;
    text-align: center;
    margin: 1% 1.5% 1% 0;
    padding: 3% 1.5%;
    border-radius: 9px;
}
    .sys-main-ui-func-block a:link, .sys-main-ui-func-block a:visited, .sys-main-ui-func-block a:hover {
        color: #459985;
    }

#admin-container {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0;
}
    #admin-container > .main-ui {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 90%;
        margin: 1.5% auto 0;
        padding: 0;
    }
        #admin-container > .main-ui > .ui-title {
            width: 97%;
            overflow: hidden;
            background-color: #FFF;
            color: #121212;
            font-size: 1rem;
            font-weight: 700;
            margin: 0 auto 1.5%;
            padding: 1% 1.5%;
            border-bottom: #C4DCA6 8px solid;
            border-top-left-radius: 6px;
            border-top-right-radius: 6px;
        }
        #admin-container > .main-ui > .ui-search-block {
            width: 96%;
            overflow: hidden;
            background-color: #FFF;
            margin: 0 auto 1.5%;
            padding: 1% 2%;
            border-radius: 6px;
            box-shadow: 1px 1px 6px #CCC;
        }
            #admin-container > .main-ui > .ui-search-block .note-condition {
                padding: 0;
            }
                #admin-container > .main-ui > .ui-search-block .note-condition .note-condition-text {
                    font-size: 1.15rem;
                    margin: 0.75% 0 0.75% 2%;
                }
            #admin-container > .main-ui > .ui-search-block table {
                width: 100%;
                margin: 1.5% auto;
                border-collapse: collapse;
            }
                #admin-container > .main-ui > .ui-search-block table td {
                    padding: 0.75%;
                    border: #BCBCBC 1px solid;
                }
                    #admin-container > .main-ui > .ui-search-block table td.td-title {
                        width: 18%;
                        background-color: #E6E6E6;
                        color: #121212;
                        font-size: 0.938rem;
                        text-align: center;
                    }
                        #admin-container > .main-ui > .ui-search-block input[type="text"] {
                            flex-shrink: 0;
                            width: 75%;
                            color: #494949;
                            font-size: 1.1rem;
                            font-style: normal;
                            font-weight: 400;
                            line-height: normal;
                            letter-spacing: 0.1rem;
                            margin-left: 1.5%;
                            padding: 2.25% 2%;
                            border: none;
                            border-radius: 5px;
                            box-shadow: 0px 1px 4.8px rgba(0, 0, 0, 0.25) inset;
                            
                        }
                            #admin-container > .main-ui > .ui-search-block input[type="text"]::placeholder {
                                color: #A8A8A8;
                                font-size: 1.1rem;
                                font-style: normal;
                                font-weight: 400;
                                line-height: normal;
                                letter-spacing: 0.1rem;
                            }
                        #admin-container > .main-ui > .ui-search-block select {
                            width: 78.5%;
                            background: #FFF;
                            color: #494949;
                            font-size: 1rem;
                            margin-left: 1.5%;
                            padding: 2.25% 2%;
                            border: 1px solid #C1C1C1;
                            border-radius: 5px;
                        }
            #admin-container > .main-ui > .ui-search-block > .ui-block-title {
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
                width: 100%;
                overflow: hidden;
                margin: 0 auto;
                padding: 0;
            }
                #admin-container > .main-ui > .ui-search-block > .ui-block-title > h1 {
                    color: #494949;
                    font-size: 2rem;
                    margin: 0.5% 0 1.5% 1.5%;
                }
                #admin-container > .main-ui > .ui-search-block > .ui-block-title > .ui-block-sub-func {
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    justify-content: flex-end;
                    width: 45%;
                    overflow: hidden;
                    margin: 0 2% 0 0;
                    padding: 0;
                }
                    #admin-container > .main-ui > .ui-search-block > .ui-block-title > .ui-block-sub-func > .search-btn {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        flex-shrink: 0;
                        width: 23%;
                        background-color: #46BC88;
                        color: #FFF;
                        font-size: 0.938rem;
                        font-style: normal;
                        font-weight: 400;
                        line-height: normal;
                        letter-spacing: 0.1rem;
                        margin: 0 5% 0 1.5%;
                        padding: 1.65% 0;
                        border: none;
                        border-radius: 8px;
                        cursor: pointer;
                    }
                        #admin-container > .main-ui > .ui-search-block > .ui-block-title > .ui-block-sub-func > .search-btn img {
                            width: 20px;
                            /* 調整圖片大小 */
                            height: 19px;
                            margin-right: 6px;
                            /* 圖片與文字的間距 */
                        }
            #admin-container > .main-ui > .ui-search-block .table-header {
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
                width: 100%;
                overflow: hidden;
                background: #E7F4E4;
                margin: 0 auto;
                padding: 0;
            }
                #admin-container > .main-ui > .ui-search-block .table-header .header-cell {
                    color: #12240F;
                    font-size: 0.938rem;
                    font-weight: 700;
                    text-align: center;
                    padding: 1.5% 0;
                    border-right: #CCC 1px solid;
                }
            #admin-container > .main-ui > .ui-search-block .table-row {
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
                width: 100%;
                overflow: hidden;
                margin: 0 auto;
                padding: 0;
            }
                /* 讓表格偶數資料列變色 (Zebra-striping) */
                #admin-container > .main-ui > .ui-search-block .table-row:nth-child(odd) {
                    background-color: #F3F3F3;
                }
                #admin-container > .main-ui > .ui-search-block .table-row .row-cell {
                    color: #12240F;
                    font-size: 0.938rem;
                    font-weight: 400;
                    text-align: center;
                    padding: 1.5% 0;
                }
                #admin-container > .main-ui > .ui-search-block .table-row .row-cell > .btn-view {
                    display: inline-block;
                    width: 30%;
                    background-color: #7E7C7C;
                    color: #FFF;
                    font-size: 0.938rem;
                    font-style: normal;
                    font-weight: 400;
                    line-height: normal;
                    letter-spacing: 0.1rem;
                    margin: 0 5% 0 1.5%;
                    padding: 2.5% 0;
                    border: none;
                    border-radius: 8px;
                    cursor: pointer;

                    a:link, a:visited, a:hover {
                        color: #FFF;
                    }
                }
                #admin-container > .main-ui > .ui-search-block .table-row .row-cell > .btn-accept {
                    display: inline-block;
                    width: 30%;
                    background-color: #3E71C4;
                    color: #FFF;
                    font-size: 0.938rem;
                    font-style: normal;
                    font-weight: 400;
                    line-height: normal;
                    letter-spacing: 0.1rem;
                    margin: 0 5% 0 1.5%;
                    padding: 2.5% 0;
                    border: none;
                    border-radius: 8px;
                    cursor: pointer;

                    a:link, a:visited, a:hover {
                        color: #FFF;
                    }
                }

/*** BEGIN PAGE LEVEL COMPONENT -- ADMIN__SYS USER VIEWLIST ***/
#admin-container > .main-ui > .ui-search-block > .sub-fuction-area {
    display: block;
    width: 98%;
    overflow: hidden;
    margin: 0 auto 0.25%;
    border: none;
}

/*** BEGIN PAGE LEVEL COMPONENT -- ADMIN__SYS USER VIEW BY UID ***/
#admin-container > .main-ui > .ui-search-block > .main-ui-area {
    display: block;
    width: 98%;
    overflow: hidden;
    margin: 0 auto 1.5% !important;
    padding: 0;
}
    #admin-container > .main-ui > .ui-search-block > .main-ui-area table {
        width: 100%;
        margin: 0 auto;
        border-collapse: collapse;
    }
        #admin-container > .main-ui > .ui-search-block > .main-ui-area td.td-func-content-title-v {
            background-color: rgb(231, 244, 228);
            color: rgb(18, 36, 15) !important;
            padding-top: 1.5%;
            padding-bottom: 1.5%;
            border: 1px solid rgb(204, 204, 204) !important;
        }

/*** BEGIN PAGE LEVEL COMPONENT -- ADMIN__SYS USER EDIT UI ***/
#admin-container > .main-ui > .ui-search-block .input-ui-select-01 {
    width: 50%;
    color: #333 !important;
    font-size: 0.875rem;
    margin: 0.5% !important;
    padding: 1.5% 1% !important;
    border: #CCC 1px solid !important;
    border-radius: 3px !important;
    box-shadow: 1px 1px 6px #CCC !important;
}
#admin-container > .main-ui > .ui-search-block .input-ui-text-01 {
    width: 48% !important;
    font-size: 0.875rem !important;
    color: #333;
    margin: 0.5% !important;
    padding: 1% !important;
    border: #CCC 1px solid !important;
    border-radius: 3px !important;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2) inset !important;
}

/*** BEGIN PAGE LEVEL COMPONENT -- ADMIN__SYS PRIVILEGE INSERT UI ***/
.pfl_main_block {
    background: #6ecbb5;
    border: 1px #666 dotted;
    clear: both;
    display: block;
    font-size: 0.938rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    margin: 1.5% 0 0;
    overflow: hidden;
    padding: 1% 0 1% 2%;
    width: 97.5%;
}

.pfl_main_block:first-child {
    margin-top: 0;
}

.pfl_sub_group_block {
    background: #F8F8D8;
    border-bottom: 1px #666 dotted;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    margin: 0;
    overflow: hidden;
    padding: 1% 0 1% 2%;
    width: 97.75%;
}

.pfl-sub-block-outter-frame {
    display: block;
    margin: 0 auto;
    overflow: hidden;
    padding: 1% 0;
    width: 100%;
}

.pfl_sub_block {
    display: inline-block;
    float: left;
    font-size: 0.813rem;
    font-weight: 400;
    margin: 1% 2% 1% 0;
    padding: 0 0 0 2%;
    width: 43%;
}

/*** BEGIN PAGE LEVEL COMPONENT -- HOME ***/
#home-ui-block {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1; /* 讓主內容區塊填滿剩餘空間 */
    align-items: center;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0;
}
    #home-ui-block h1 {
        color: #6C6969;
        font-size: 2.75rem;
        letter-spacing: 0.15rem;
        margin: 3% auto 0.5%;
    }
    #home-ui-block h3 {
        color: #6C6969;
        font-size: 1.25rem;
        font-weight: 400;
        letter-spacing: 0rem;
        margin: 0% auto 2.5%;
    }
    #home-ui-block > .home-options-block {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 60%;
        margin: 0 auto;
        padding: 0;
    }
        #home-ui-block > .home-options-block > .home-options-item {
            width: 30%;
            overflow: hidden;
            text-align: center;
            margin: 0 auto;
            padding: 5% 0 3%;
            border-radius: 1rem;
            box-shadow: 1px 3px 6px #CCC;
        }
            #home-ui-block > .home-options-block > .home-options-item .option-title {
                font-size: 1.8rem;
                font-weight: 700;
                margin: 0 auto;
                padding: 0;
            }
            #home-ui-block > .home-options-block > .home-options-item .option-desc {
                width: 80%;
                color: #6C6969;
                font-size: 1.15rem;
                font-weight: 400;
                line-height: 180%;
                margin: 6% auto 8%;
                padding: 0;
            }
            #home-ui-block > .home-options-block > .home-options-item .option-link {
                display: block;
                width: 80%;
                color: #FFF;
                font-size: 1.38rem;
                font-weight: 700;
                margin: 0 auto;
                padding: 2.25% 0;
                border-radius: 1rem;
            }

/*** BEGIN PAGE LEVEL COMPONENT -- CASE TYPE SELECT ***/
#safetyAlert-index > .sub-func-ui {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1.75%;
    width: 60%;
    margin: 1.5% 0 0.25%;
}
    #safetyAlert-index > .sub-func-ui a:link, #safetyAlert-index > .sub-func-ui a:visited, #safetyAlert-index > .sub-func-ui a:hover {
        color: #494949;
    }
    #safetyAlert-index > .sub-func-ui > .tab {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row;
        width: 13.5%;
        background: none;
        cursor: pointer;
        font-size: 1rem;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        letter-spacing: 3px;
        padding: 0;
        margin: 0;
        border: none;
        border-radius: 8px;
    }
        #safetyAlert-index > .sub-func-ui > .tab img {
            width: 10%;
            margin-right: 3%;
        }
        #safetyAlert-index > .sub-func-ui > .tab.search-tab {
            background: #FFF;
            color: #5C9C4C;
            padding: 0.75% 0;
            border: #5C9C4C 1px solid;

            img {
                width: 13%;
            }
        }
        #safetyAlert-index > .sub-func-ui > .tab.report-tab-red {
            background: #C24949;
            color: #FFF;
            padding: 0.75% 0;
            border: #C24949 1px solid;

            img {
                width: 11%;
            }
        }
        #safetyAlert-index > .sub-func-ui > .tab.report-tab-orange {
            background: #D87A1D;
            color: #FFF;
            padding: 0.75% 0;
            border: #D87A1D 1px solid;

            img {
                width: 11%;
            }
        }
        #safetyAlert-index > .sub-func-ui > .tab.report-tab-blue {
            background: #479AC2;
            color: #FFF;
            padding: 0.75% 0;
            border: #BCBCBC 1px solid;

            img {
                width: 11%;
            }
        }
        #safetyAlert-index > .sub-func-ui > .tab.report-tab-gray {
            background: #BCBCBC;
            color: #FFF;
            padding: 0.75% 0;
            border: #BCBCBC 1px solid;

            img {
                width: 11%;
            }
        }
.note-condition .note-condition-text a:link, .note-condition .note-condition-text a:visited, .note-condition .note-condition-text a:hover {
    color: #494949;
    text-decoration: underline;
}
.report-note-finish > .home-options-block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 73%;
    margin: 6% auto 2%;
    padding: 0;
}
    .report-note-finish > .home-options-block > .home-options-item {
        width: 45%;
        overflow: hidden;
        text-align: center;
        margin: 0 auto;
        padding: 8% 0 6%;
        border-radius: 1rem;
        box-shadow: 1px 3px 6px #CCC;
    }
        .report-note-finish > .home-options-block > .home-options-item .option-title {
            font-size: 1.8rem;
            font-weight: 700;
            margin: 0 auto;
            padding: 0;
        }
        .report-note-finish > .home-options-block > .home-options-item .option-desc {
            width: 80%;
            color: #6C6969;
            font-size: 1.15rem;
            font-weight: 400;
            line-height: 180%;
            margin: 6% auto 8%;
            padding: 0;
        }
        .report-note-finish > .home-options-block > .home-options-item .option-link {
            display: block;
            width: 80%;
            color: #FFF;
            font-size: 1.38rem;
            font-weight: 700;
            margin: 0 auto;
            padding: 2.25% 0;
            border-radius: 1rem;
        }

/*** BEGIN PAGE LEVEL COMPONENT -- CASE REPORT ***/
#safetyAlert-index {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1920px;
}
    #safetyAlert-index > .report-select {
        display: flex;
        flex-shrink: 0;
        gap: 13px;
        margin: 1.5% 0 0.25%;
    }
        #safetyAlert-index > .report-select .polygon-image {
            width: 26px;
            height: 23px;
            flex-shrink: 0;
            position: absolute;
            top: 19px;
            left: 145px;
        }
        #safetyAlert-index > .report-select > .tab {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: row;
            border: none;
            background: none;
            cursor: pointer;
            padding: 0;
            margin: 0;
            width: 180px;
            height: 50px;
            flex-shrink: 0;
            border-radius: 8px;
            font-size: 20px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
            letter-spacing: 3px;
            box-shadow: 0px 1px 3.9px 0px rgba(0, 0, 0, 0.25);
        }
            #safetyAlert-index > .report-select > .tab img {
                margin-right: 9px;
                width: 23px;
                height: 23px;
            }
            #safetyAlert-index > .report-select > .tab .svg-icon path {
                fill: #057599;
            }
            #safetyAlert-index > .report-select > .tab span {
                margin: 0;
            }
            #safetyAlert-index > .report-select > .tab .case-report-span {
                margin-left: 9px;
            }
            #safetyAlert-index > .report-select > .tab.active {
                background: #FFF;
                color: #057599;
            }
            #safetyAlert-index > .report-select > .tab.active-1 {
                background: #0AB4E9;
                color: #FFF;
            }
            #safetyAlert-index > .report-select > .tab.report-tab {
                background: #0AB4E9;
                color: #FFF;
            }
            #safetyAlert-index > .report-select > .tab.report-tab-1 {
                background: #FFF;
                color: #057599;
            }
    #safetyAlert-index > .form-selection {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
        .report-form {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 65%;
            background: #FFF;
            margin-top: 0.25rem;
            padding: 1% 0.6% 0;
            border-radius: 10px;
            box-shadow: 0px 2px 4.2px 0px rgba(0, 0, 0, 0.25);
        }
            .report-form > div.collapsible-agency, .report-form > div.collapsible-social-worker, .report-form > div.collapsible-case-person, .report-form > div.collapsible-incident-status {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                width: 100%;
            }
        .form-header {
            display: flex;
            flex-direction: row;
            align-items: center;
            width: 93%;
            flex-shrink: 0;
            border-radius: 10px;
            background: #E7F4E4;
            /*padding-top: 10px;
            padding-bottom: 9px;
            padding-left: 20px;
            padding-right: 6px;*/
            padding: 0.25% 3%;
            border: #FFF 6px solid;
            box-shadow: #CCC 1px 1px 6px;
        }
            .form-header > .header-icon {
                margin-right: 5px;
                width: 26px;
                height: 26px;
                flex-shrink: 0;
            }
            .form-header > h3 {
                color: #5C9C4C;
                font-size: 1.35rem;
                font-weight: 700;
                letter-spacing: 2px;
                margin-top: 8px;
                margin-bottom: 10px;
                flex-grow: 1;
            }
            .form-header > .icon-container {
                /* display: flex 和 align-items 對於 absolute 定位的子元素無效，故移除。 */
                position: relative;
                order: 6;
                margin-right: 1.5%;
                margin-left: auto;
                width: 21.39px;
                height: 24px;
            }
            .form-header > .icon-container > img {
                position: absolute;
                left: 0;
                width: 100%;
                height: auto;
            }
            .form-header > .icon-container > .first-icon {
                top: 0;
            }
            .form-header > .icon-container > .second-icon {
                top: 5.25px;
            }
        .form-content-block {
            display: flex;
            flex-direction: column;
            width: 93.3%;
            padding: 0 0 2.25% 4.25%;
        }
            .form-content-block > .cr-input-group {
                width: 100%;
                margin: 1.25% 0;
            }
                .form-content-block > .cr-input-group .text-display-div {
                    width: 30%;
                    background: #F3F3F3;
                    color: #487F3A;
                    font-size: 1rem;
                    margin: 0.5% 0 0;
                    padding: 1% 0.75%;
                    border: none;
                    border-radius: 5px;
                }
                .form-content-block > .cr-input-group span {
                    display: block;
                    color: #494949;
                    font-size: 0.938rem;
                    font-weight: 400;
                    letter-spacing: 1px;
                    padding-left: 0.75%
                }
                    .form-content-block > .cr-input-group span.bold-text {
                        font-size: 1.25rem;
                        font-weight: 700;
                    }
                    .form-content-block > .cr-input-group span.mark-red {
                        display: inline-block !important;
                        color: #F00 !important;
                        font-weight: bold;
                    }
                .form-content-block > .cr-input-group input[type="text"] {
                    width: 30%;
                    color: #494949;
                    font-size: 1rem;
                    margin: 0.5% 0 0;
                    padding: 1% 0.75%;
                    border: 1px solid #C1C1C1;
                    border-radius: 5px;
                }
                    .form-content-block > .cr-input-group .text-read-only {
                        background: #FAFAFA !important;
                        color: #A6A6A6 !important;
                        border: none !important;
                    }
                .form-content-block > .cr-input-group select {
                    width: 20%;
                    background: #FFF;
                    color: #494949;
                    font-size: 1rem;
                    margin: 0.5% 1% 0 0;
                    padding: 1% 0.75%;
                    border: 1px solid #C1C1C1;
                    border-radius: 5px;
                }
                .form-content-block > .cr-input-group input[type="date"], .form-content-block > .cr-input-group input[type="time"] {
                    width: 18.35%;
                    background: #FFF;
                    color: #494949;
                    font-size: 1rem;
                    margin: 0.5% 1% 0 0;
                    padding: 0.8% 0.75%;
                    border: 1px solid #C1C1C1;
                    border-radius: 5px;
                }
                .form-content-block > .cr-input-group > .respondent-block {
                    display: flex;
                    flex-direction: row;
                    justify-content: space-between;
                    align-items: stretch;
                    width: 100%;
                    margin: 1% 0 0;
                    border-radius: 8px;
                }
                    .form-content-block > .cr-input-group > .respondent-block > .rb-label {
                        order: 1;
                        width: 22.5%;
                        background-color: #E7F4E4;
                        margin: 0;
                        padding: 1% 0 0 2.5%;
                        border-radius: 8px;
                    }
                    .form-content-block > .cr-input-group > .respondent-block > .rb-content {
                        order: 2;
                        width: 72.5%;
                        background-color: #FFF;
                        margin: 0;
                        padding: 1% 0 1% 2.5%;
                    }
                        .form-content-block > .cr-input-group > .respondent-block > .rb-content .input-row {
                            margin: 1.75% 0;
                        }
                .form-content-block > .cr-input-group > .dangerous-type-block {
                    display: flex;
                    flex-direction: row;
                    justify-content: space-between;
                    align-items: stretch;
                    width: 100%;
                    margin: 1% 0 0;
                    border-radius: 8px;
                }
                    .form-content-block > .cr-input-group > .dangerous-type-block > .dtb-label {
                        order: 1;
                        width: 22.5%;
                        background-color: #E7F4E4;
                        margin: 0;
                        padding: 1% 0 0 2.5%;
                        border-radius: 8px;
                    }
                        .form-content-block > .cr-input-group > .dangerous-type-block > .dtb-label > span.dtb-label-text {
                            font-size: 0.938rem;
                            font-weight: 400;
                            margin: 5% 0;
                        }
                    .form-content-block > .cr-input-group > .dangerous-type-block > .dtb-content {
                        order: 2;
                        width: 72.5%;
                        background-color: #FFF;
                        margin: 0;
                        padding: 1% 0 1% 2.5%;
                    }
                        .form-content-block > .cr-input-group > .dangerous-type-block > .dtb-content .input-row {
                            margin: 1.75% 0;
                        }
                        .dt-pl, .dt-sa, .dt-rac, .dt-ba, .dt-i, .dt-oi {
                            display: none;
                        }
                    /* 危害型態頁籤樣式 */
                    .dtb-label-text {
                        display: block; /* 確保垂直堆疊且邊框、內距能正常顯示 */
                        cursor: pointer;
                        padding: 10px 15px;
                        transition: background-color 0.3s, color 0.3s;
                        border-right: 3px solid transparent; /* 用於顯示 active 狀態的邊框 */
                        margin-bottom: 5px; /* 增加頁籤之間的間距 */
                    }

                    .dtb-label-text:hover {
                        background-color: #eafcff; /* 滑鼠懸停時的背景色 */
                    }

                    .dtb-label-text.active {
                        background-color: #FFF;
                        color: #10859F; /* 使用您既有樣式中的顏色 */
                        font-weight: 700 !important;
                        padding-left: 5% !important;
                        border: #10859F 1px solid;
                        border-right-color: #FFF;
                    }
                .form-content-block > .cr-input-group textarea {
                    width: 75%;
                    height: 8rem;
                    color: #494949;
                    font-size: 1rem;
                    line-height: 150%;;
                    margin: 0.5% 0 0;
                    padding: 1% 0.75%;
                    border: 1px solid #C1C1C1;
                    border-radius: 5px;
                }
                .form-content-block > .cr-input-group > .two-column-ui-block {
                    display: flex;
                    flex-direction: row;
                    justify-content: space-between;
                    align-items: stretch;
                    width: 100%;
                    margin: 1% 0 0;
                    border-radius: 8px;
                }
                    .form-content-block > .cr-input-group > .two-column-ui-block > .upload-section {
                        width: 35%;
                    }
                    .form-content-block > .cr-input-group > .two-column-ui-block > .level-section {
                        width: 55%;
                    }
        .fc-block-agency {
            display: flex;
            flex-direction: row;
            justify-content: flex-start;
            width: 100%;
            margin: 2% 0 0.75%;
        }
            .fc-block-agency > .w-70-percent {
                width: 31.5%;
            }
            .fc-block-agency > .cr-input-group > .text-display-div {
                width: 90%;
                background: #F3F3F3;
                color: #487F3A;
                font-size: 1rem;
                margin: 0.5% 0 0;
                padding: 3% 0.75%;
                border: none;
                border-radius: 5px;
            }
            .fc-block-agency > .cr-input-group span {
                display: block;
                color: #494949;
                font-size: 0.938rem;
                font-weight: 400;
                letter-spacing: 1px;
                padding-left: 0.75%
            }
                .fc-block-agency > .cr-input-group span.mark-red {
                    display: inline-block !important;
                    color: #F00 !important;
                    font-weight: bold;
                }
            .fc-block-agency > .cr-input-group input[type="text"] {
                width: 90%;
                color: #494949;
                font-size: 1rem;
                margin: 0.5% 0 0;
                padding: 3% 0.75%;
                border: 1px solid #C1C1C1;
                border-radius: 5px;
            }
            .fc-block-agency > .cr-input-group select {
                width: 92.5%;
                background: #FFF;
                color: #494949;
                font-size: 1rem;
                margin: 0.5% 0 0;
                padding: 3% 0.75%;
                border: 1px solid #C1C1C1;
                border-radius: 5px;
            }
    #safetyAlert-index > .submit-ui-block {
        display: flex;
        flex-shrink: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 75%;
    }
        #safetyAlert-index > .submit-ui-block input[type="button"] {
            width: 10%;
            background: #569078;
            margin: 1.25% 0 2%;
            padding: 0.5% 0;
            border-radius: 8px;
        }

/*** BEGIN PAGE LEVEL COMPONENT -- CASE REPORTED ***/
.report-note-finish {
    width: 60%;
    flex-shrink: 0;
    margin-top: 10px;
    border-radius: 10px;
    background-color: #FFF;
    box-shadow: 0px 2px 4.2px rgba(0, 0, 0, 0.25);
    padding: 1% 0.75% 1.5%;
}
    .note-condition {
        width: 100%;
        flex-shrink: 0;
        padding: 0.5% 0;
        border-radius: 10px;
        background-color: #E7F4E4;
    }
        .note-condition .note-condition-text {
            display: inline-block;
            color: #12240F;
            font-size: 1.25rem;
            font-style: normal;
            font-weight: 700;
            line-height: normal;
            letter-spacing: 2px;
            margin: 1% 0 1% 2%;
        }
    .note-content {
        width: 97%;
        margin: 1.5% 0;
        padding: 0 1.5%;
    }
        .note-paragraph {
            color: #000;
            font-size: 1.1rem;
            font-style: normal;
            font-weight: 400;
            line-height: 180%;
            letter-spacing: 1.8px;
            text-indent: -1.3em;
            /* 負值縮進，使第二行開始與第一個字對齊 */
            padding-left: 1.6em;
            /* 第一行字距左邊的間距 */
            margin: 1% 0 0.5%;
        }
            .note-paragraph a {
                text-decoration-line: underline;
                color: #000;
                /* 超連結的顏色 */
                font-family: "Microsoft JhengHei";
                font-size: 18px;
                font-style: normal;
                font-weight: 400;
                line-height: normal;
                letter-spacing: 1.8px;
            }
    .result-table-finish .finish-text {
        color: #167F96;
        font-size: 1.5rem;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        letter-spacing: 2.6px;
        text-align: center;
        margin: 1% 0 1.5%;
    }
    .result-table-finish .table-header {
        display: flex;
        width: 100%;
        flex-shrink: 0;
        padding: 1% 0;
        border-radius: 5px;
        background: #F3F3F3;
    }
        .result-table-finish .table-header .header-cell {
            display: flex;
            align-items: center;
            justify-content: center;
            color: #494949;
            font-size: 1.1rem;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
            letter-spacing: 0.1rem;
        }
            .result-table-finish .table-header .header-cell:nth-child(1) {
                width: 12%;
            }
            .result-table-finish .table-header .header-cell:nth-child(2) {
                width: 22%;
            }
            .result-table-finish .table-header .header-cell:nth-child(3) {
                width: 20%;
            }
            .result-table-finish .table-header .header-cell:nth-child(4) {
                width: 16%;
            }
            .result-table-finish .table-header .header-cell:nth-child(5) {
                width: 12%;
            }
            .result-table-finish .table-header .header-cell:nth-child(6) {
                width: 18%;
            }
            .result-table-finish .table-header .header-cell::after {
                content: "";
                width: 1px;
                height: 97px;
                /* 根據需要調整高度 */
                background: #D8D8D8;
                position: absolute;
                right: 0;
                /* 將分割線放在右邊 */
                top: 2.5px;
                /* 垂直居中調整 */
            }
            .result-table-finish .table-header .header-cell:last-child::after {
                display: none;
                /* 隱藏最後一個標題的分割線 */
            }
    .result-table-finish .table-row {
        display: flex;
        width: 100%;
        flex-shrink: 0;
        background: #FFF;
        padding: 1% 0;
    }
        .result-table-finish .table-row .row-cell {
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
        }
            .result-table-finish .table-row .row-cell:nth-child(1) {
                width: 12%;
            }
            .result-table-finish .table-row .row-cell:nth-child(2) {
                width: 22%;
            }
            .result-table-finish .table-row .row-cell:nth-child(3) {
                width: 20%;
            }
            .result-table-finish .table-row .row-cell:nth-child(4) {
                width: 16%;
            }
            .result-table-finish .table-row .row-cell:nth-child(5) {
                width: 12%;
            }
            .result-table-finish .table-row .row-cell:nth-child(6) {
                width: 18%;
            }
    .result-table-finish .table-row-no-data {
        display: flex;
        width: 100%;
        justify-content: center;
        background: #FFF;
        color: #167F96;
        font-size: 1.15rem;
        font-weight: 700;
        letter-spacing: 0.15rem;
        padding: 3% 0;
    }
    .result-table-finish .table-divider {
        width: 1145px;
        height: 1px;
        background: #D8D8D8;
        margin-top: 9px;
        margin-left: 4px;
        margin-right: 3px;
    }
    .export-report-btn {
        display: flex;
        width: 60%;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
        background-color: #7E7C7C;
        color: #FFF;
        font-family: "Ponnala";
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        letter-spacing: 0.8px;
        border-radius: 8px;
        box-shadow: 0px 1px 3.4px 0px rgba(0, 0, 0, 0.25);
        padding: 2% 0;
    }
.status-note {
    color: #494949;
    font-family: "Microsoft JhengHei";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.9px;
    margin-top: 22px;
    margin-left: 21px;

    a:link, a:visited, a:hover {
        color: #0AB4E9;
    }
}

/*** BEGIN PAGE LEVEL COMPONENT -- CASE SEARCH ***/
.search-id-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 95.5%;
  margin: 3% 0 0;
  padding: 0 2.25% 1.5%;
}
    .search-id-container > .div-seperator {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 75%;
    }
        .search-id-container > .div-seperator .input-ui-label {
            color: #494949;
            font-size: 1.1rem;
            font-style: normal;
            font-weight: 400;
            letter-spacing: 0.1rem;
        }
        .search-id-container > .div-seperator > input[type="text"] {
            flex-shrink: 0;
            width: 25%;
            color: #494949;
            font-size: 1.1rem;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
            letter-spacing: 0.1rem;
            margin-left: 1.5%;
            padding: 1.25% 1%;
            border: none;
            border-radius: 5px;
            box-shadow: 0px 1px 4.8px rgba(0, 0, 0, 0.25) inset;
            
        }
            .search-id-container > .div-seperator > input[type="text"]::placeholder {
                color: #A8A8A8;
                font-size: 1.1rem;
                font-style: normal;
                font-weight: 400;
                line-height: normal;
                letter-spacing: 0.1rem;
            }
    .search-id-container > .search-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 15%;
        background-color: #46BC88;
        color: #FFF;
        font-size: 1.1rem;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        letter-spacing: 0.1rem;
        margin-left: 8%;
        padding: 0.85% 0;
        border: none;
        border-radius: 8px;
        cursor: pointer;
    }
        .search-id-container > .search-btn img {
            width: 20px;
            /* 調整圖片大小 */
            height: 19px;
            margin-right: 6px;
            /* 圖片與文字的間距 */
        }

/*** CASES REPORT USE CASENO VIEW ***/
.is-checked .checkbox-label {
    color: #000000;
}
.is-checked .checkmark-checkbox {
    accent-color: #487F3A;
}
.is-unchecked .checkbox-label {
    color: #B3B3B3;
}
.is-unchecked .checkmark-checkbox {
    accent-color: #B3B3B3;
}