#drop-zone {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 50px;
    text-align: center;
    color: #aaa;
    transition: all 0.3s ease;
    cursor: pointer;
}

#drop-zone.drag-over {
    border-color: #0d6efd;
    color: #0d6efd;
    background-color: #f0f8ff;
}

/*
 * 【!! 核心修正 !!】
 * 讓所有 .bootstrap-table-managed 表格中的 <td> 儲存格
 * 都能作為 Bootstrap "stretched-link" 的定位容器。
 */

/* 強制 DataTables 表頭不換行 */
table.dataTable thead th,
table.dataTable thead td {
    white-space: nowrap !important;
}
/* 
   讓 DataTables 的儲存格支援 .stretched-link 
   這樣 titleLink 就可以填滿整個 td，讓使用者點擊整格都有效
*/
table.dataTable tbody td {
    position: relative;
}

/* (選用) 滑鼠移過去時，讓整格變色，增加互動感 */
table.dataTable tbody tr:hover td {
    /* 這裡可以自訂顏色，或是依賴 Bootstrap table-hover 的預設效果 */
    /* background-color: rgba(0, 0, 0, 0.075); */ 
}

/*
 * gform 填報表單 項目管理 (Builder)
*/
.gform-builder-sortable-area {
    min-height: 400px;
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
    padding: 1rem;
}

/* (未來步驟二的卡片樣式) */
.gform-field-card .card-header {
    cursor: move;
    /* 提示使用者這裡是可拖曳的 */
}
/* 焦點卡片樣式 (Active Card) - 【必須保留】 */
.gform-field-card {
    border-left: 5px solid transparent;
    transition: border-left-color 0.2s;
}

/* 當卡片被選中時，顯示藍色左邊框，提示使用者插入位置 */
.gform-field-card.active-card {
    border-left-color: #0d6efd; 
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}
/* =========================================
   表單 Placeholder (提示文字) 樣式優化
   ========================================= */

/* 1. 設定顏色與樣式 */
.form-control::placeholder {
    color: #adb5bd !important; /* 淺灰色 (Bootstrap gray-500) */
    font-style: italic;        /* 斜體 (增加辨識度) */
    opacity: 1;                /* 修正 Firefox 預設透明度問題 */
}

/* 2. 針對 Webkit 瀏覽器 (Chrome, Safari, Edge) */
.form-control::-webkit-input-placeholder {
    color: #adb5bd !important;
    font-style: italic;
}

/* 3. 針對 Firefox */
.form-control::-moz-placeholder {
    color: #adb5bd !important;
    font-style: italic;
    opacity: 1;
}

/* 4. (選用) 針對唯讀或禁用欄位，讓 Placeholder 更淡一點 */
.form-control:disabled::placeholder,
.form-control[readonly]::placeholder {
    color: #d1d5db !important; /* 更淺的灰色 */
}
/* =========================================
   Summernote 全螢幕修正
   ========================================= */

/* 1. 強制提高全螢幕編輯器的層級 (Z-Index) */
/* 設定 10000 通常足夠蓋過 Bootstrap 的 Navbar (1030) 和 Modal (1055) */
.fullscreen, .modal-fullscreen, .modal {
    z-index: 100000 !important; 
}

/* 2. (選用) 全螢幕時，修正遮罩層級 */
/* 如果有開啟 dialogsInBody: true，遮罩層也需要提高 */
.note-modal-backdrop {
    z-index: 99999 !important;
}

/* =========================================
   表單高度填滿修正 (取代 JS profile_layout.js)
   ========================================= */

/* 當欄位容器加上此 class 時 */
.col-full-height {
    display: flex;
    flex-direction: column;
}

/* 修正 renderField 產生的中間層 wrapper */
.col-full-height > .mb-3 {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin-bottom: 0 !important; /* 視情況移除底部邊距 */
}

/* 修正 textarea 本身 */
.col-full-height textarea.form-control {
    height: 100% !important; /* 強制填滿高度 */
    min-height: 150px;       /* 設定最小高度，避免太扁 */
}
section{
    background-color: #dfe0e2;
}

