﻿.Title {
    font-family: "微軟正黑體";
}

.Desc {
    font-family: "微軟正黑體";
}

.Tab_Title {
    font-family: "微軟正黑體";
    font-size: 2.5vh;
    font-weight: bold;
}

.QueryTitle {
    text-align: center;
    font-weight: bolder;
    color: #476616;
}

.Span_FontSize {
    font-size: 2.5vh;
}

.ColorOrange {
    color: #FF6600;
}

.FontBold {
    font-weight: bold;
}

.pointer {
    cursor: pointer;
}

.cssSelect {
    font-size: 2.5vh;
    padding: 8px;
    width: 70%;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

/*--ProcessDetail--*/

/* 字體極致加粗類別 */
.fw-extrabold {
    font-weight: 800;
}

/* 讓看診卡片在滑鼠移上去時有稍微放大與陰影加深的效果 */
.transition-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.transition-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}

/* 輔助小字 */
.fs-7 {
    font-size: 0.85rem;
}


.c_table {
    height: 220px;
    /*display: block;*/
    float: left;
    /*border: 4px solid rgb(180, 180, 180);*/
}

.SeqDeptTitle {
    height: 65px;
}

.SeqInnerBorder {
    border: solid 1px #ffffff;
}

.SeqDept {
    font-size: 23px;
    font-weight: bold;
    /*color:#000080;*/
    word-break: break-all;
    white-space: pre-wrap;
}

.DocTitle {
    font-weight: bold;
    font-size: 16px;
}

.DocName {
    font-size: 2.2rem;
    font-weight: bolder;
    font-family: EUDC !important;
    vertical-align: central;
}

.TakeDocName {
    font-size: 2.2rem;
    font-weight: bolder;
    font-family: EUDC !important;
}

.OrderStatus {
    font-size: 18px;
    line-height: 20px;
    font-weight: bold;
}

.CurrentSeq {
    line-height: 98px;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    word-break: break-all;
    white-space: pre-wrap;
    font-size: var(--size);
}

.SeqNumber {
    margin-left: 5px;
    margin-right: 5px;
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 32px;
}

/*--ProcessDetail--*/

/*--ClinicProcessBlock--*/

/* 看診大字號加粗 */
.fw-extrabold {
    font-weight: 850;
}

/* 號碼磚專用樣式與懸停動態 */
.number-badge-box {
    transition: all 0.15s ease-in-out;
}

.number-badge-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 .25rem .5rem rgba(0,0,0,.15) !important;
    border-color: #6c757d !important;
}

/* 精細輔助小字 */
.fs-7 {
    font-size: 0.85rem;
}

.cursor-pointer {
    cursor: pointer;
}

/* 看診結束閃爍動畫 */
.animate-pulse {
    animation: blink-animation 1.8s infinite ease-in-out;
}

@keyframes blink-animation {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/*--ClinicProcessBlock--*/

/*--VstBlock--*/

/* 1. 全面徹底禁止字體與容器出現立體陰影或發光 */
.card,
.card-header,
.btn,
.alert,
.badge,
.number-badge-box,
span, div, h2, h3, button {
    text-shadow: none !important;
    box-shadow: none !important;
}

/* 2. 平面大字極致加粗 */
.fw-extrabold {
    font-weight: 850;
    letter-spacing: -0.02em;
}

/* 3. 號碼磚純平面無立體設定 */
.number-badge-box {
    border: 2px solid #dee2e6 !important;
    transition: border-color 0.15s ease-in-out;
}

.number-badge-box:hover {
    border-color: #6c757d !important; /* 滑鼠懸停改用平面線條加深，不使用浮起陰影 */
}

/* 4. 精細設定與輔助 */
.fs-7 {
    font-size: 0.85rem;
}

.cursor-pointer {
    cursor: pointer;
}

/* 5. 叫號狀態平面閃爍動畫 */
.animate-pulse {
    animation: blink-flat 1.8s infinite ease-in-out;
}

@keyframes blink-flat {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}



.modalSize {
    width: 98%;
    height: 80%;
}

.modal-dialog {
    overflow-y: initial !important;
    max-width: none !important;
}

.modal-body {
    height: 80vh;
    overflow-y: auto;
}

.nBlock {
    background-color: var(--bgcolor);
    border-radius: 0.25rem;
    height: 154px;
    padding: 15px;
    text-align: center;
    margin-top: 1px;
    margin-bottom: 1px;
}

.nBlock .nTitle {
    display: block;
    font-size: 3vh;
    font-weight: bold;
    color: var(--color);
}

.nBlock .nDesc {
    display: block;
    font-size: var(--size);
    font-weight: bold;
    color: var(--color);
}

.sBlock {
    display: inline-block;
    background-color: var(--bgcolor);
    width: 72px;
    height: 70px;
    border-radius: 0.25rem;
    margin: 6px 3px;
    text-align: center;
    font-size: 1.5rem;
    width: calc(6% - 8px);
    cursor: pointer;
}

.sBlock .sNumber {
    text-align: center;
    font-size: 2rem;
    margin-top: 10px;
    margin-bottom: 10px;
}

.sBlock .sDesc {
    width: 62px;
    height: 28px;
    border-radius: 0.25rem;
    background-color: var(--bgcolor);
    color: var(--color);
    display: inline-block;
    margin: 0 auto;
    text-align: center;
    font-size: 1rem;
    align-content: center;
}


.fBtn {
    width: 100%;
    height: auto;
    font-size: 2.5vh;
    color: white;
    margin-top: 2px;
    margin-bottom: 2px;
    border: 1px solid white;
    border-radius: 10px;
    background-color: var(--bgcolor);
}

.descBtn {
    border-radius: 8px;
    color: white;
    background-color: var(--bgcolor);
    font-size: 2vh;
    font-weight: bold;
    padding: 10px 5px;
    margin: 5px 2px;
}

/*--VstBlock--*/

/*--RWD Table--*/

@media(max-width:576px) {

    .DeptTitle {
        font-size: 24px;
        color: white;
    }

    .modalSize {
        width: 98%;
        height: 95%;
    }

    .modal-body {
        height: 95vh;
        overflow-y: auto;
    }

    .bBlock_Doc {
        width: 100%;
        padding-left: 2px;
        padding-right: 2px;
    }

    .bBlock_num {
        width: 50%;
        padding-left: 2px;
        padding-right: 2px;
    }

    .bBlock_btn {
        width: 100%;
        padding-left: 2px;
        padding-right: 2px;
    }

    .sBlock {
        display: inline-block;
        background-color: var(--bgcolor);
        width: 72px;
        height: 70px;
        border-radius: 0.25rem;
        margin: 6px 3px;
        text-align: center;
        font-size: 1.5rem;
        width: calc(25% - 8px);
        cursor: pointer;
    }

    .fBtn {
        width: 49%;
        height: auto;
        font-size: 2.5vh;
        color: white;
        margin-top: 2px;
        margin-bottom: 2px;
        border: 1px solid white;
        border-radius: 10px;
        background-color: var(--bgcolor);
    }

    .dBlock {
        width: 100%;
        padding-left: 2px;
        padding-right: 2px;
        margin-top: 5px;
        margin-bottom: 5px;
    }
}

@media(min-width:576px) {

    .DeptTitle {
        font-size: 24px;
        color: white;
    }

    .modalSize {
        width: 95%;
        height: 98%;
    }

    .title-desc {
        font-size: 24px;
    }

    .rwdtable {
        border: 0;
    }

    .rwdtable caption {
        font-size: 1.3em;
    }

    .rwdtable .th-bg {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .rwdtable tr {
        /*background-color: #15b7b9;*/
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }

    .rwdtable td {
        /*background-color:#15b7b9;*/
        /*color: #D20B2A;*/
        border-bottom: 1px solid #ddd;
        display: block;
        /*font-size: 1.2em;*/
        /*text-align: right;*/
    }

    .rwdtable td:before {
        color: black;
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    .rwdtable td:last-child {
        border-bottom: 0;
    }

    /*/*.rwdtable input{
                max-width:180px;
            }

            .rwdtable select{
                max-width:180px;
            }*/

    .rwdQuestion {
        display: block !important;
    }

    .bBlock_Doc {
        width: 100%;
        padding-left: 2px;
        padding-right: 2px;
    }

    .bBlock_num {
        width: 25%;
        padding-left: 2px;
        padding-right: 2px;
    }

    .bBlock_btn {
        width: 100%;
        padding-left: 2px;
        padding-right: 2px;
    }


    .sBlock {
        display: inline-block;
        background-color: var(--bgcolor);
        width: 72px;
        height: 70px;
        border-radius: 0.25rem;
        margin: 6px 3px;
        text-align: center;
        font-size: 1.5rem;
        width: calc(15% - 1px);
        cursor: pointer;
    }

    .fBtn {
        width: 49%;
        height: auto;
        font-size: 2.5vh;
        color: white;
        margin-top: 2px;
        margin-bottom: 2px;
        border: 1px solid white;
        border-radius: 10px;
        background-color: var(--bgcolor);
    }

    .dBlock {
        width: 50%;
        margin-top: 10px;
        margin-bottom: 10px;
    }
}




@media (min-width:768px) {
    .DeptTitle {
        font-size: 24px;
        color: white;
    }

    .UpdateTimeTitle {
        font-size: 14px;
        color: white;
    }

    .bBlock_Doc {
        width: 100%;
        padding-left: 2px;
        padding-right: 2px;
    }

    .sBlock {
        display: inline-block;
        background-color: var(--bgcolor);
        width: 72px;
        height: 70px;
        border-radius: 0.25rem;
        margin: 6px 3px;
        text-align: center;
        font-size: 1.5rem;
        width: calc(10% - 1px);
        cursor: pointer;
    }


    .fBtn {
        width: 49%;
        height: auto;
        font-size: 2.5vh;
        color: white;
        margin-top: 2px;
        margin-bottom: 2px;
        border: 1px solid white;
        border-radius: 10px;
        background-color: var(--bgcolor);
    }
}

@media (min-width:992px) {
    .DeptTitle {
        font-size: 24px;
        color: white;
    }

    .UpdateTimeTitle {
        font-size: 14px;
        color: white;
    }

    .CurrentSeq {
        line-height: 98px;
        font-weight: bold;
        text-align: center;
        vertical-align: middle;
        word-break: break-all;
        white-space: pre-wrap;
        font-size: var(--size);
    }

    .bBlock_Doc {
        width: 24%;
        padding-left: 2px;
        padding-right: 2px;
    }

    .bBlock_num {
        width: 15%;
        padding-left: 2px;
        padding-right: 2px;
    }

    .bBlock_btn {
        width: 12%;
        padding-left: 2px;
        padding-right: 2px;
    }

    .sBlock {
        display: inline-block;
        background-color: var(--bgcolor);
        width: 72px;
        height: 70px;
        border-radius: 0.25rem;
        margin: 6px 3px;
        text-align: center;
        font-size: 1.5rem;
        width: calc(8% - 1px);
        cursor: pointer;
    }

    .fBtn {
        width: 100%;
        height: auto;
        font-size: 2.5vh;
        color: white;
        margin-top: 2px;
        margin-bottom: 2px;
        border: 1px solid white;
        border-radius: 10px;
        background-color: var(--bgcolor);
    }
}

@media (min-width:1200px) {
    .DeptTitle {
        font-size: 28px;
        color: white;
    }

    .UpdateTimeTitle {
        font-size: 16px;
        color: white;
    }

    .bBlock_Doc {
        width: 24%;
        padding-left: 2px;
        padding-right: 2px;
    }

    .bBlock_num {
        width: 15%;
        padding-left: 2px;
        padding-right: 2px;
    }

    .bBlock_btn {
        width: 12%;
        padding-left: 2px;
        padding-right: 2px;
    }

    .sBlock {
        display: inline-block;
        background-color: var(--bgcolor);
        width: 72px;
        height: 70px;
        border-radius: 0.25rem;
        margin: 6px 3px;
        text-align: center;
        font-size: 1.5rem;
        width: calc(6% - 1px);
        cursor: pointer;
    }

    .fBtn {
        width: 100%;
        height: auto;
        font-size: 2.5vh;
        color: white;
        margin-top: 2px;
        margin-bottom: 2px;
        border: 1px solid white;
        border-radius: 10px;
        background-color: var(--bgcolor);
    }
}

/*--RWD Table--*/

/*閃爍字*/
.blink_text {
    animation: blink 1s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
