body {
    font-family: 'Noto Sans TC', sans-serif;
    background-color: white;
    margin: 0;
}

/* 國家篩選外框區塊 */
.filter-box {
    background-color: #f7f8ff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
}

/* 標籤文字樣式 */
.filter-label {
    font-weight: bold;
    color: #1a202c;
    margin-bottom: 10px;
}

/* 國家按鈕排列方式為橫向間距 */
.filter-options {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

/* 每個國家按鈕樣式 */
.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 8px;
    background-color: transparent;
    box-shadow: 0 0 0 1px #ccc;
    cursor: pointer;
}

/* checkbox 樣式 */
.filter-option input[type="checkbox"] {
    appearance: auto;
    width: 16px;
    height: 16px;
    accent-color: #4f8bff;
}

/* 已選疾病區域：高度、多行靠上排列 */
.selected-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 12px;
    border-radius: 12px;
    background-color: #f9f9f9;
    /* height: 96px; */
    border: 1px solid #e0e0e0;
    margin-bottom: 16px;
    align-content: flex-start;
    max-height: 180px;
    overflow-y: auto;
}

/* 每個已選 tag 的樣式 */
.selected-tags span {
    background-color: #e2e8f0;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 14px;
}

/* 疾病選單區塊 */
.disease-box {
    background-color: #f7f8ff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 疾病區塊中元素垂直間距 */
.disease-box > * + * {
    margin-top: 8px;
}

/* 搜尋框樣式 */
.disease-input {
    background-color: white !important;
    display: block;
    width: 100%;
    max-width: 600px;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    color: #456BE6 !important;
    font-size: 14px;
    margin-top: 16px;
    margin-bottom: 12px;
    box-shadow: none;
    outline: none;
}

.disease-input::placeholder {
    color: #456BE6;
    opacity: 1;
}

/* 疾病按鈕列表區域：可滾動 */
.scroll-list {
    max-height: 240px;
    overflow-y: auto;
    border: 1px solid #cce;
    border-radius: 6px;
    background-color: #eef2ff;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* 單一疾病按鈕樣式 */
.disease-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #C4D4EC;
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    width: 100%;
    cursor: pointer;
    font-weight: 500;
    position: relative;
}

/* 加號圖示樣式，位於右側 */
.disease-button .icon {
    width: 24px;
    height: 24px;
    /*background-color: #456BE6;   藍底 */
    color: #456BE6;             /* 藍字 */
    /*border-radius: 50%;          圓形 */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20pt;
    margin-left: auto;
}

/* 送出表單的主按鈕 */
#generate-button {
    display: block;
    margin: 20px auto 0 auto;
    padding: 12px 24px;
    border: none;
    border-radius: 24px;
    background-color: #FFEDE0;
    color: #7f7f7f;
    font-weight: bold;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* 滑鼠滑過按鈕時的樣式 */
#generate-button:hover {
    background-color: #FFDBC1;
    color: #1D3659;
    font-family: 'Noto Sans TC', sans-serif;
    font-weight: 500;
}
