body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.navbar {
    background-color: #E5DED0;
    padding: 10px 20px;
    display: flex;
}

.navbar-brand img {
    height: 55px;
    margin-right: 10px;
}

.navbar-brand span {
    font-size: 24px;
    color: #C9A16C;
}

.container {
    width: 80%;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

h1 {

    color: #333;
}

p {
    color: #666;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.option-btn {
    padding: 10px 20px;
    background-color: #fff;
    border: 2px solid #C9A16C;
    color: #C9A16C;
    border-radius: 5px;
    cursor: pointer;
}

.option-btn.selected {
    background-color: #C9A16C;
    color: #fff;
}

select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
    border: 2px solid #C9A16C;
    border-radius: 5px;
    background-color: #fff;
    color: #C9A16C;
    appearance: none;
}

select:focus {
    outline: none;
    border-color: #C9A16C;
}

.hidden {
    display: none;
}

#results {
    margin-top: 20px;
}

#resultSummary {
    list-style: none;
    padding: 0;
}

.custom-btn {
    width: 150px;
    height: 50px;
    margin: 5px;
    font-size: 14px;
    white-space: normal;
    word-wrap: break-word;
    color: #C9A16C;
    background-color: white;
    border: 2px solid #C9A16C;
    transition: all 0.3s ease;
}

.custom-btn:hover,
.custom-btn:focus,
.custom-btn.active {
    color: white;
    background-color: #C9A16C;
    border-color: #C9A16C;
}
h2 {
    color: #C9A16C;
    position: relative;
    padding-bottom: 10px;  /* 調整此值以控制文字和線之間的距離 */
    margin-bottom: 20px;   /* 調整此值以控制與下一個元素的距離 */
}


.calc-center h2::after {
    content: '';
    width: 80%;  /* 相對寬度 */
    height: 2px;
    background-color: #C9A16C;
    position: absolute;
    bottom: 0;
    left: calc(50% - 40%);  /* (100% - width) / 2 */
}
.submit-btn {
    width: 200px;
    margin: 20px auto;
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: #C9A16C;
    !important border: none;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.submit-btn:hover,
.submit-btn:focus {
    background-color: #B08A5A;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.centered-heading {
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}



.sequential-labels {
    counter-reset: label-counter;
}

.form-label {
    color: hsl(239, 59%, 58%);
    font-weight: bold;
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    display: block;
}
.numbered-labels {
    counter-reset: form-counter;
}

.numbered-labels .mb-3 > .form-label:first-of-type {
    counter-increment: form-counter;
    position: relative;
    padding-left: 30px;
}

.numbered-labels .mb-3 > .form-label:first-of-type::before {
    content: counter(form-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    color: hsl(239, 59%, 58%);
    font-weight: bold;
    font-size: 1.25rem;        /* h5 的字體大小 */
    font-family: inherit;      /* 繼承父元素字體 */
    line-height: 1.2;         /* h5 的行高 */
    margin: 0;                /* 重置 margin */
}

.centered-heading h2 {
    color: #C9A16C;
    display: inline-block;
    margin: 0;
    position: relative;
}

.centered-heading h2::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 2px;
    background-color: #C9A16C;
    width: 100%;
}

.user-quiz-list {
    background-color: #f8f9fa; /* 淺灰色背景 */
    border-radius: 5px;
    padding: 20px 20px 20px 40px; /* 增加左邊距以容納數字 */
    counter-reset: item; /* 重設計數器 */
    border-top: 3px solid #C9A16C; /* 添加上邊框，顏色為 #C9A16C */
}

.user-quiz-list .injury-name a{
    color: #C9A16C;
    text-decoration: none; /* 移除底線 */
}

.user-quiz-list .trash-icon a{
    color: #C9A16C;
    text-decoration: none; /* 移除底線 */
}

.wound_image_button {
    color: #C9A16C;
    background-color: transparent; /* 透明背景 */
    border: none; /* 移除邊框 */
    box-shadow: none; /* 移除陰影 */
    cursor: pointer; /* 鼠標指針變為手形，表示可點擊 */
    padding: 0; /* 可根據需要調整內邊距 */
    
}

.wound-info-list {
    background-color: #f8f9fa; /* 淺灰色背景 */
    border-radius: 5px;
    padding: 20px 20px 20px 40px; /* 增加左邊距以容納數字 */
    counter-reset: item; /* 重設計數器 */
    border-top: 3px solid #C9A16C; /* 添加上邊框，顏色為 #C9A16C */
}
.wound-info-list li {
    margin-bottom: 15px;
    color: black;
    list-style-type: none; /* 移除默認數字 */
    position: relative; /* 為自定義數字定位 */
}
.wound-info-list li:before {
    content: counter(item) "."; /* 添加數字和點 */
    counter-increment: item; /* 增加計數器 */
    position: absolute;
    left: -25px; /* 將數字放置在內容之前 */
    color: hsl(239, 59%, 58%); /* 數字使用藍色 */
    font-weight: bold;
}
.wound-info-list .label {
    color: hsl(239, 59%, 58%);
    font-weight: bold;
    display: block; /* 使標籤單獨佔一行 */
    margin-bottom: 3px; /* 標籤和內容之間的間距 */
}
.wound-info-list .content {
    display: block; /* 使內容單獨佔一行 */
    padding-left: 15px; /* 內容縮進 */
}

/* 新增的按鈕樣式 */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.action-btn {
    width: 150px;
    height: 50px;
    font-size: 16px;
    font-weight: bold;
    color: #C9A16C;
    background-color: white;
    border: 2px solid #C9A16C;
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.action-btn:hover,
.action-btn:focus {
    color: white;
    background-color: #C9A16C;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.print-btn {
    background-color: #C9A16C;
    color: white;
}

.print-btn:hover,
.print-btn:focus {
    background-color: #B08A5A;
}

@media print {
    .action-buttons {
        display: none;
    }
}


.btn-primary {
    border-color: B08A5A !important;
    background-color: B08A5A !important;
    }
