/* ============================================================
   List 4 — ページング / data-list-4.css
   ============================================================ */

/* ---- 件数表示 ---- */
.lst4-count {
  font-size: 13px;
  color: #64748B;
  margin: 0 0 10px;
}

/* ---- リスト ---- */
.lst4-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.lst4-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid #E2E8F0;
  flex-wrap: wrap;
}

.lst4-item:last-child { border-bottom: none; }

.lst4-name {
  font-size: 15px;
  font-weight: 600;
  color: #1A2332;
  min-width: 100px;
}

.lst4-meta {
  font-size: 13px;
  color: #64748B;
  flex: 1;
}

/* ---- ステータスバッジ ---- */
.lst4-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.lst4-badge--active  { background: #D1FAE5; color: #065F46; }
.lst4-badge--leave   { background: #FEF3C7; color: #92400E; }
.lst4-badge--retired { background: #F3F4F6; color: #6B7280; }

/* ---- ページング ---- */
.lst4-pager {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.lst4-pager-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid #CBD5E1;
  background: #fff;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.1s, color 0.1s;
}

.lst4-pager-btn:hover:not(:disabled):not(.is-active) {
  background: #F1F5F9;
}

.lst4-pager-btn.is-active {
  background: #2B7FE8;
  color: #fff;
  border-color: #2B7FE8;
  font-weight: 700;
}

.lst4-pager-btn:disabled {
  color: #CBD5E1;
  cursor: not-allowed;
}

.lst4-pager-prev,
.lst4-pager-next {
  padding: 0 14px;
}

/* ---- デモコントロール（リセットボタン配置エリア） ---- */
.demo-controls {
  margin-top: 16px;
}

/* ---- リセットボタン ---- */
.reset-btn {
  padding: 6px 16px;
  font-size: 13px;
  color: #5A6A7A;
  background: #fff;
  border: 1.5px solid #D0D7E0;
  border-radius: 6px;
  cursor: pointer;
  font-family: sans-serif;
  transition: background 0.15s, border-color 0.15s;
}

.reset-btn:hover {
  background: #F4F6F9;
  border-color: #9AA5B4;
}
