/*
 * React 改寫版額外樣式（載入順序在 theme.css 之後，見 resources/views/app.blade.php）
 * 原本由 jQuery 外掛（DataTables Responsive）處理的版面，改用 CSS 達成
 */

/* 唯讀模式提示列（React 改寫測試版連正式資料庫，寫入一律擋下） */
.readonly-bar { display: flex; align-items: center; gap: .5rem; padding: .45rem 1rem; background: #fff7e6; border-bottom: 1px solid #f3d19c; color: #8a5a00; font-size: .85rem; }

/* 列表表格：手機（寬度 < 480px）隱藏日期、單位、公告者欄，改在標題下方顯示（.ann-row-meta）
   原本由 DataTables Responsive 的 min-tablet-p 處理 */
@media (max-width: 479.98px) {
  .ann-list .ann-col-meta { display: none; }
}
/* 搜尋框與標籤同一行 */
.dataTables_wrapper .dataTables_filter { text-align: right; }
.dataTables_wrapper .dataTables_filter label { display: inline-flex; align-items: center; gap: .35rem; font-weight: 400; white-space: nowrap; }
.dataTables_wrapper .dataTables_paginate .pagination { justify-content: flex-end; margin: .5rem 0 0; }
@media (max-width: 767.98px) {
  .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info { text-align: center; }
  .dataTables_wrapper .dataTables_paginate .pagination { justify-content: center; }
}

/* 公告內文圖片不超出版面（原本在 detail.blade.php 的 <style>） */
.ann-lang-pane img { max-width: 100%; height: auto; }
