.table-bordered tbody tr td.bg-light {
    background-color: transparent !important;
}
.success-message {
            background-color: #d4edda;
            border: 1px solid #c3e6cb;
            color: #155724;
            padding: 15px 20px;
            margin-bottom: 20px;
            border-radius: 5px;
            position: relative;
            display: flex;
            align-items: center;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .success-message .icon {
            font-size: 1.5rem;
            margin-right: 10px;
            color: #28a745;
        }
        
        /* 關閉按鈕的 CSS Hack */
        .close-checkbox {
            display: none;
        }
        .close-checkbox:checked + .success-message {
            display: none;
        }
        .close-label {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 1.5rem;
            color: #155724;
            cursor: pointer;
            line-height: 1;
            padding: 5px 10px;
            user-select: none;
        }
        .close-label:hover {
            color: #0c3d1a;
            background-color: rgba(0,0,0,0.05);
            border-radius: 3px;
        }
        .bg-info {
            --bs-bg-opacity: 1;
            background-color: #0077BE !important;
        }
        .contentU tr.warning th {
            background-color: #0077BE !important;
        }
        
.radio-align {
    display: flex;
    align-items: center;
}

.radio-align table {
    margin-bottom: 0 !important;
}

.radio-align .form-check-inline {
    margin-top: 0;
    margin-bottom: 0;
}

.form-select option.option-even,
select option.option-even {
    background-color: #E6E6FA;
}

.form-select option.option-odd,
select option.option-odd {
    background-color: white;
}

.photo-thumbnail {
    width: 100%;
    height: auto;
    cursor: pointer;
    display: block;
}

/* 如果需要限制最大寬度，可以用 max-width */
.photo-thumbnail-limited {
    max-width: 400px;
    width: 100%;
    height: auto;
    cursor: pointer;
}

.uptphoto {
    margin-bottom: 15px;
}

.photo-link {
    display: inline-block;
    transition: opacity 0.3s;
}

.photo-link:hover {
    opacity: 0.8;
}

/* 檔案列表樣式 */
.file-item {
    font-size: 0.875rem; /* 相當於 x-small */
    margin-bottom: 5px;
}

.file-item a {
    text-decoration: none;
}

.file-item a:hover {
    text-decoration: underline;
}

.relate {
    margin-top: 20px;
    margin-bottom: 10px;
}

/* 自訂放大版 CheckBox */
.custom-checkbox-prominent {
    margin-top: 0.5rem; /* 微調垂直置中 */
}

/* 勾選時的樣式 (改為明顯的綠色) */
.custom-checkbox-prominent:checked {
    background-color: #198754 !important; /* Bootstrap 的 success 綠色 */
    border-color: #198754 !important;
}

/* 讓旁邊的文字也能垂直置中並呈現手指游標 */
.custom-checkbox-label {
    cursor: pointer;
    padding-top: 0.2rem; /* 配合放大的 Checkbox 調整文字高度 */
    font-size: 1.05rem; /* 字體稍微放大一點點 */
}


/* --- 個資條款高易讀性專屬 CSS --- */
.policy-container {
    font-size: 1.15rem; /* 整體基礎字體放大 */
    color: #333;
}

.policy-intro {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #212529;
    font-weight: 500;
}

.policy-list {
    padding-left: 0;
    list-style: none;
}

.policy-list > li {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #ced4da; /* 項目之間加上虛線分隔 */
}

/* 消除最後一項的底線 */
.policy-list > li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* 標題獨立一行並改變顏色 */
.policy-title {
    display: block;
    font-size: 1.25rem;
    color: #0056b3; /* 醒目的深藍色 */
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* 內容區塊內縮並拉大行距 */
.policy-content {
    margin-left: 2rem; /* 往右內縮產生層次 */
    line-height: 1.8;
    color: #495057;
    text-align: justify; /* 左右對齊讓邊緣更整齊 */
}

/* 手機版距微調 */
@media (max-width: 768px) {
    .policy-content {
        margin-left: 0.5rem;
    }
}
    