.btn-read {
    display: none;
}

.btn-read {
    display: none;
}
.input-read {
    display: none;
}


.text-red {
    color: #FF0000 !important;
}

.text-purple {
    color: #A020F0 !important;
}

.text-orange {
    color: #FF991C !important;
}

.text-weight {
    font-weight: bold !important;
}

.v-center {
    vertical-align: middle; /* 垂直置中 */
    text-align: center; /*水平置中 */
}

/*--- 機具養護週期維護 cycle_modal --*/
#cycle_modal .hidden, #transfer_modal .hidden {
    display: none;
}

#cycle_modal.show, #transfer_modal.show {
    display: inline;
}

#cycle_modal input:disabled, #cycle_modal select:disabled,
#transfer_modal input:disabled, #transfer_modal select:disabled {
    text-align: center;
    background-color: transparent;
    border: none;
    cursor: not-allowed;
    opacity: 1; /* 防止 iOS 變淡 */
    -webkit-text-fill-color: #333; /* 明確指定文字顏色，避免瀏覽器預設灰字 */
    color: #333;
}

#transfer_modal select:disabled {
    /* 隱藏 <select> 預設的箭頭樣式 */
    appearance: none; /* For modern browsers */
    -webkit-appearance: none; /* For Safari and Chrome */
    -moz-appearance: none; /* For Firefox */
    background: transparent; /* 讓背景透明以防止顯示預設的箭頭背景 */

    padding-right: 10px !important;
}

    #transfer_modal input[type=file]:disabled {
        display: none;
    }


/*--- 參數維護 cycle_modal --*/
#parm_modal .hidden {
    display: none;
}

#parm_modal.show {
    display: inline;
}


#parm_modal input:disabled, #parm_modal select:disabled {
    text-align: center;
    background-color: transparent;
    border: none;
    cursor: not-allowed;
    opacity: 1; /* 防止 iOS 變淡 */
    -webkit-text-fill-color: #333; /* 明確指定文字顏色，避免瀏覽器預設灰字 */
    color: #333;
}

#parm_modal select:disabled {
    /* 隱藏 <select> 預設的箭頭樣式 */
    appearance: none; /* For modern browsers */
    -webkit-appearance: none; /* For Safari and Chrome */
    -moz-appearance: none; /* For Firefox */
    background: transparent; /* 讓背景透明以防止顯示預設的箭頭背景 */

    padding-right: 10px !important;
}


/*--- 保養及維修 maintain_modal --*/
#maintain_modal .hidden {
    display: none;
}

#maintain_modal.show {
    display: inline;
}


/* 基礎樣式重置 */
.maintain-radio input {
    display: none;
}

.maintain-radio label {
    display: inline-block;
    padding: .25rem .25rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

    .maintain-radio .status1 {
        color: #198754;
    }
    .maintain-radio .status2 {
        color: #FF0000;
    }

.maintain-radio input:checked + label {
    background-color: #ADADAD;
    color: white;
    border-color: #ADADAD;
}

    .maintain-radio input:checked + label.status1 {
        background-color: #198754;
        color: white;
        border-color: #198754;
    }

    .maintain-radio input:checked + label.status2 {
        background-color: #FF0000;
        color: white;
        border-color: #FF0000;
    }


/*--- 庫存線維護 warm_modal --*/
#warm_modal .hidden {
    display: none;
}

#warm_modal.show {
    display: inline;
}

#warm_modal input:disabled, #warm_modal select:disabled {
    text-align: center;
    background-color: transparent;
    border: none;
    cursor: not-allowed;
    opacity: 1; /* 防止 iOS 變淡 */
    -webkit-text-fill-color: #333; /* 明確指定文字顏色，避免瀏覽器預設灰字 */
    color: #333;
}

#warm_modal select:disabled {
    /* 隱藏 <select> 預設的箭頭樣式 */
    appearance: none; /* For modern browsers */
    -webkit-appearance: none; /* For Safari and Chrome */
    -moz-appearance: none; /* For Firefox */
    background: transparent; /* 讓背景透明以防止顯示預設的箭頭背景 */

    padding-right: 10px !important;
}

#warm_modal input[type=file]:disabled {
    display: none;
}
