:root {
    --md-sys-color-primary: #7B59A3;
}

.navbar-content {
    display: flex;
    height: 64px;
    align-items: center;
    justify-content: start;
}

/* bootstrap 手風琴: 隱藏右側狀態按鈕  */
.accordion-reason {
    --bs-accordion-btn-icon: none;
    --bs-accordion-btn-active-icon: none;
}

.accordion-button-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

/* bootstrap 手風琴: 左側顯示 radiobutton 圖示  */
.accordion-button .svg-radio-checked {
    display: block;
}

.collapsed .svg-radio-checked {
    display: none;
}

/* 必填星號 */
.required-star {
    color: red;
    padding-left: 4px;
    display: none;
}

#loader-overlay {
    position: fixed;
    /* 蓋住整個 viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* 半透明黑 */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    color: white;
    font-size: 1.2rem;
}

/* 隱藏時 */
#loader-overlay.hidden {
    display: none;
}

.form-footer {
    /* 設定為 sticky */
    position: sticky;

    /* 黏在 viewport 的底部 */
    bottom: 0;

    /* 確保在最上層 */
    z-index: 10;

    /* 其他美化樣式 */
    background-color: #ffffff;
    width: 100%;
    padding: 16px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    /* 頂部陰影 */
    box-sizing: border-box;
}

.btn-primary {
    /* 重設 disabled 樣式 */
    --bs-btn-disabled-color: #848484;
    --bs-btn-disabled-bg: #cccccc;
    --bs-btn-disabled-border-color: #cacaca;
}


.search-result-problem-form-seq-no {
    font-size: small;
}

.search-result-name {
    font-size: medium;
}

ul.cjk {
    list-style-type: cjk-ideographic;
}