/* ============================================================
   File: css/today-shift-filter.css
   ------------------------------------------------------------
   TODAY SHIFT：絞り込みUI 専用CSS（最終完成版）
   ------------------------------------------------------------
   設計仕様：
   ・HTML / JS 構造は絶対基準（変更禁止）
   ・見た目のみ調整
   ・BASIC / OPT 見出しのみゴールド
   ・チェック項目：
     - 少し角丸の四角枠
     - テキストは常に白
     - レ点チェック表示（枠は白）
   ・OPT は BASIC との間に余白を持たせる
============================================================ */


/* ============================================================
   フィルター全体
============================================================ */
.gw-todayshift-filter {
  margin-top: 32px;
}


/* ============================================================
   ステータス＋ボタン
============================================================ */
.gw-todayshift-filter-tools {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.gw-filter-status {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #ccc;
}

.gw-filter-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
}


/* ============================================================
   ボタン（リセット／絞り込み）
============================================================ */
.gw-filter-reset,
.gw-filter-apply {
  background: linear-gradient(135deg, #D4AF37, #B8962E);
  color: #111;
  border: none;
  border-radius: 999px;
  padding: 10px 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: opacity .25s ease, transform .25s ease;
}

.gw-filter-reset:hover,
.gw-filter-apply:hover {
  opacity: .85;
  transform: translateY(-1px);
}


/* ============================================================
   BASIC / OPT 見出し（ゴールド）
============================================================ */
.gw-todayshift-filter-label {
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #D4AF37;
  text-align: center;
}

/* OPT は上に余白 */
.gw-todayshift-filter-group + .gw-todayshift-filter-group {
  margin-top: 26px;
}


/* ============================================================
   チェックチップ群
============================================================ */
.gw-todayshift-filter-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
}


/* ============================================================
   チェックチップ（角丸四角・白文字）
============================================================ */
.gw-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid #D4AF37;
  border-radius: 6px;
  font-size: 13px;
  color: #fff;
  background: transparent;
  cursor: pointer;
  transition: background .25s ease, box-shadow .25s ease;
}

.gw-filter-chip:hover {
  box-shadow: 0 0 0 1px rgba(212,175,55,.35);
}


/* ============================================================
   レ点チェック（枠：白）
============================================================ */
.gw-filter-chip input[type="checkbox"] {
  appearance: none;
  width: 14px;
  height: 14px;
  border: 1px solid #fff;   /* ← 枠を白に */
  border-radius: 3px;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.gw-filter-chip input[type="checkbox"]:checked {
  background: #D4AF37;
}

.gw-filter-chip input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 4px;
  width: 4px;
  height: 7px;
  border: solid #111;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}


/* ============================================================
   一致なしメッセージ
============================================================ */
.gw-todayshift-filter-empty {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #ccc;
}


/* ============================================================
   キャストカード高さ統一（凸凹防止）
============================================================ */
.gw-todayshift .swiper-slide {
  height: auto;
}

.gw-todayshift .gw-newcast-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gw-todayshift .gw-newcast-meta {
  flex: 1;
}


/* ============================================================
   スマホ微調整
============================================================ */
@media (max-width: 768px) {

  .gw-filter-reset,
  .gw-filter-apply {
    padding: 9px 24px;
    font-size: 13px;
  }

  .gw-filter-chip {
    font-size: 12px;
    padding: 5px 10px;
  }
}
