/* =======================================
   list.css (게시판 목록 전용) 2026.01.10
   ======================================= */

/* 페이지 레이아웃 */
.page-container{
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 페이지 타이틀 */
.page-title{
  font-size: 25px;
  font-weight: 700;
  margin: 0 0 12px 0;
}

/* 상단 버튼 */
.top-buttons{
  text-align: right;
  margin: 12px 0;
}
.top-buttons .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 6px 12px;           /* ✅ 하빈 버튼 규격 */
      background: #3558A8;         /* ✅ 은남색 */
      color: #FFFFFF;
      border-radius: 6px;
      font-size: 15px;             /* ✅ 15px */
      font-weight: 600;
      text-decoration: none;
      margin-left: 6px;
    }
.top-buttons .btn:hover { opacity: 0.92; }
/* 테이블 */
.post-table{
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid #333;
  margin-top: 10px;
}

.post-table th{
  text-align: center;
  padding: 12px 0;
  border-bottom: 2px solid #ddd;
  font-size: 15px;
  color: #333;
  background: #fafafa;
}

.post-table td{
  padding: 6px 10px;
  border-bottom: none;
  font-size: 14px;
  color: #444;
}

.post-table td:nth-child(1),
.post-table td:nth-child(2),
.post-table td:nth-child(3){
  text-align: center;
}

.post-table td:nth-child(4){
  text-align: right;
  color: #777;
  font-size: 14px;
}

/* 제목 링크 */
.title-link{
  display: block;
  text-align: left;
  font-weight: 600;
  color: #2b2b2b;
  transition: 0.2s;
}

.title-link:hover{
  color: #3558A8;
}
 .post-table a,
    .post-table a:visited,
    .post-table a:focus,
    .post-table a:hover {
      text-decoration: none ;
    }
.post-table tbody tr:hover { background: #f2f6ff; }
 .empty {
      text-align: center;
      padding: 18px 0;
      color: #777;
    }

/* 공지 행 */
.notice-row{
  background: #FFF8D1;
}

/* 관리자 전용 열 */
.admin-only{
  display: none;
}
body.is-admin .admin-only{
  display: table-cell;
}

/* 관리자 액션 버튼 */
.admin-actions button{
  padding: 4px 4px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid #9fb0d9;
  background: #fff;
  color: #3558A8;
  cursor: pointer;
  margin: 0 0.2px;
   }

.admin-actions button:hover{
  background: #f2f6ff;
}

/* DEL 버튼 (레드) */
.admin-actions .btn-del{
  border-color: #d93025;
  color: #d93025;
}
.admin-actions .btn-del:hover{
  background: #d93025;
  color: #fff;
}
/* 관리자 액션 - 이동 select */
.admin-actions select {
  padding: 4px 4px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid #9fb0d9;
  background: #fff;
  color: #3558A8;
  cursor: pointer;
  margin: 0 0.2px;
  vertical-align: middle;
  width: 55px;  /* 🔑 가로폭 제한 */ 
}

.admin-actions select:hover {
  background: #f2f6ff;
}
/* ---페이지네이션--- */
.pagination{
  margin: 18px 0 8px;
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}
.page-btn {
      padding: 6px 12px;
      border-radius: 6px;
      background: #fff;
      border: 1px solid #9fb0d9;
      color: #3558A8;
      font-size: 15px;
      font-weight: 600;
      text-decoration: none;
    }
.page-btn.active {
      background: #3558A8;
      color: #fff;
      border-color: #3558A8;
    }
 .pagination a {
  padding: 6px 12px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #9fb0d9;
  color: #3558A8;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.pagination a.active {
  background: #3558A8;
  color: #fff;
  border-color: #3558A8;
}
  /* ----카드뷰 영역 --- */
    .grid-floor {
      margin-top: 28px;
    }
