/* ==========================================================================
   lostfind.css
   模組：lostfind（lostfind.html）
   作用範圍：.lostfindpage
   排序原則：由上到下（骨架 → 標題 → 主要元件 → 資料顯示格式 → RWD）
   ========================================================================== */

/* --------------------------------------------------------------------------
   主要樣式（含版面骨架 / 標題 / 元件樣式）
   -------------------------------------------------------------------------- */
.lostfindpage main{
  padding: 18px 24px 30px;
}


.lostfindpage .lostfind-title{
  margin: 12px 0 18px;
  padding-left: 14px;
  font-size: 50px;
  font-weight: 900;
  color: blue;
  text-align: center;
}


.lostfindpage .lostfind-board{
  border-radius: 18px;
  padding: 10px;
  background: rgba(255,255,255,.18);
  box-shadow: 0 16px 30px rgba(0,0,0,.18);
}

.lostfindpage .lostfind-result-title{
  text-align: center;
  font-size: 36px;
  font-weight: 600;
  color: blue;
  margin: 10px 0 8px;
  letter-spacing: 2px;
}


.lostfindpage .lostfind-board-inner{
  position: relative;
  border-radius: 14px;
  padding: 26px;
  background: antiquewhite;
  min-height: 520px;
  overflow-x: auto;
}


.lostfindpage .lostfind-table{
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}


.lostfindpage .lostfind-table thead th{
  font-size: 36px;
  font-weight: 400;
  color: blue;
  text-align: center;
  padding: 14px 10px;
}


.lostfindpage .lostfind-table tbody td{
  font-size: 30px;
  font-weight: 400;
  color: black;
  text-align: center;
  padding: 16px 10px;
}


.lostfindpage .lostfind-divider{
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  height: 2px;
  background: rgba(0,160,170,.7);
}


.lostfindpage .lostfind-footer{
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lostfindpage .lostfind-count{
  font-size: 25px;
  font-weight: 400;
  color: blue;
}

.lostfindpage .lostfind-btn{
  min-width: 130px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255,255,255,.25);
  border: 2px solid rgba(255,255,255,.7);
  font-weight: 400;
  font-size: 20px;
  color: blue;
}
.lostfindpage .lostfind-btn:hover{
  background: rgba(255,255,255,.4);
  border-color: rgba(255,255,255,1);
  cursor: pointer;
}
/* --------------------------------------------------------------------------
   篩選查詢列
   -------------------------------------------------------------------------- */
.lostfindpage .lostfind-filter{
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  padding: 20px 16px 10px;  /* 框內上下留白 */
  margin-bottom: 0;          /* 在框內不需要外部 margin */
}

.lostfindpage .lostfind-filter__group{
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 180px;
}

.lostfindpage .lostfind-filter__label{
  font-size: 36px;
  font-weight: 600;
  color: blue;
  text-align: center;
}

.lostfindpage .lostfind-filter__input-wrap{
  position: relative;
  display: flex;
  align-items: center;
}

.lostfindpage .lostfind-filter__input{
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: none;
  outline: none;

  background: rgba(255,255,255,.88);
  font-size: 25px;
  font-weight: 900;
  cursor: text;
}

/* placeholder 顏色 */
.lostfindpage .lostfind-filter__input::placeholder{
  color: rgba(0,0,200,.40);
  font-weight: 700;
}

/* date input：字體顏色大小與其他欄位一致，顯示 yyyy/mm/dd */
.lostfindpage .lostfind-filter__input[type="date"]{
  padding: 0 12px;
  color-scheme: light;
  font-size: 25px;
  font-weight: 400;
  color: black !important;   /* 強制：日期選好後也是藍色 */
}

/* 空白時淡色 */
.lostfindpage .lostfind-filter__input[type="date"]:not([data-has-value="true"]){
  color: rgba(0,0,200,.45) !important;
}

.lostfindpage .lostfind-filter__input:focus{
  box-shadow: 0 0 0 3px rgba(0,0,200,.25);
}

/* 查詢/重置按鈕群組 */
.lostfindpage .lostfind-filter__group--btn{
  flex-direction: row;
  align-items: flex-end;
  gap: 10px;
  min-width: unset;
}

/* 按鈕樣式：仿 busnewssingle .back-btn 風格 */
.lostfindpage .lostfind-filter__search-btn,
.lostfindpage .lostfind-filter__reset-btn{
  display: inline-block;
  padding: 10px 20px;
  border-radius: 12px;
  border: none;
  font-size: 20px;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .15s ease;
}

.lostfindpage .lostfind-filter__search-btn{
  background: rgba(255,255,255,.65);
  color: blue;
}

.lostfindpage .lostfind-filter__reset-btn{
  background: rgba(255,255,255,.65);
  color: blue;
}

.lostfindpage .lostfind-filter__search-btn:hover,
.lostfindpage .lostfind-filter__reset-btn:hover{
  text-decoration: underline;
}

/* 查無紀錄列 */
.lostfindpage .lostfind-empty{
  font-size: 30px;
  font-weight: 400;
  color: black;
  text-align: center;
  padding: 40px 0;
}

.pager-btn:disabled{
  opacity: .35;
  cursor: not-allowed;
  pointer-events: none;
}