/* =========================================
   IFU 페이지 스타일 (고객센터 > IFU) - 수정본
========================================= */

/* 상단 안내 박스 */
.ifu-guide-wrap {
  display: flex;
  justify-content: center;
  align-items: stretch;
  margin: 60px auto 80px;
  position: relative;
  width: 100%;
  max-width: 900px;
}
.ifu-guide-wrap::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1px;
  height: 80%;
  background-color: #ddd;
}
.guide-box {
  flex: 1;
  text-align: center;
  padding: 0 40px;
}
.guide-box .icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #999;
  color: #fff;
  font-size: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
}
.guide-box h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}
.guide-box .guide-text {
  display: inline-block;
  text-align: left;
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}
.guide-box .guide-text strong {
  color: #222;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 리스트 상단 (총 건수 및 통합 검색창) */
.board-top-info {
  display: flex;
  justify-content: space-between;
  align-items: center; /* 하단 정렬에서 중앙 정렬로 변경 */
  width: 100%; /* 강제 100% 확장 */
  padding-bottom: 15px;
  margin-bottom: 0;
}
.board-top-info .total {
  font-size: 18px;
  color: #222;
  font-weight: 600;
}

/* 하나의 둥근 박스로 합쳐진 검색창 디자인 */
.board-top-info .search-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 40px;
  padding: 0 25px 0 20px;
  background: #fff;
  height: 50px;
  width: 440px; /* 검색창 전체 넓이 */
}
.search-wrap .custom-select {
  border: none;
  background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23333"><path d="M12 16L6 10H18L12 16Z"></path></svg>') no-repeat right center;
  background-size: 16px;
  padding-right: 20px;
  font-size: 15px;
  color: #555;
  outline: none;
  appearance: none;
  cursor: pointer;
}
.search-wrap .divider {
  width: 1px;
  height: 16px;
  background-color: #ddd;
  margin: 0 15px;
}
.search-wrap .search-input-box {
  display: flex;
  align-items: center;
  flex: 1;
  background: transparent;
}
.search-input-box input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: #333;
}
.search-input-box input::placeholder {
  color: #aaa;
}
.search-input-box button {
  background: none;
  border: none;
  font-size: 22px;
  color: #333;
  cursor: pointer;
  padding: 0;
  display: flex;
}

/* IFU 리스트 넓이 꽉 차게 수정 */
.ifu-list-wrap {
  width: 100%; 
}
.ifu-list {
  width: 100%;
  border-top: 2px solid #222; /* 굵은 선 위치 리스트 최상단으로 변경 */
  border-bottom: 1px solid #222;
}
.ifu-list li {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e1e1e1;
  padding: 10px 0;
}
.ifu-list li:hover {
  background-color: #fcfcfc;
}
.ifu-list .num {
  width: 10%;
  text-align: center;
  font-size: 18px;
  color: #333;
}
.ifu-list .category {
  width: 20%;
  font-size: 18px;
  color: #11259d;
  /* font-weight: 500; */
  padding-left: 30px;
}
.ifu-list .subject {
  flex: 1;
  font-size: 18px;
  color: #333;
  font-weight: 500;
  padding-left: 30px;
}
.ifu-list .btn-area {
  width: 15%;
  text-align: right;
  padding-right: 20px;
}
.ifu-list .btn-download {
  display: inline-block;
  background-color: #f1f3f8;
  color: #555;
  padding: 8px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.ifu-list .btn-download:hover {
  background-color: #0054A7;
  color: #fff;
}

/* 페이지네이션 */
/*
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 60px;
}
.pagination a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  color: #999;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s;
}
.pagination a.num:hover {
  color: #222;
}
.pagination a.num.active {
  background-color: #333;
  color: #fff;
  border-radius: 4px;
}
.pagination .btn-page i {
  font-size: 20px;
  color: #ccc;
}
.pagination .btn-page:hover i {
  color: #333;
}
*/
/* 모바일 반응형 처리 */
@media (max-width: 768px) {
  .ifu-guide-wrap {
    flex-direction: column;
    gap: 40px;
  }
  .ifu-guide-wrap::after {
    display: none;
  }
  .guide-box {
    padding: 0 20px;
  }
  
  .board-top-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .board-top-info .search-wrap {
    width: 100%;
  }
  
  .ifu-list .num {
    display: none; 
  }
  .ifu-list .subject {
    padding-left: 10px;
    font-size: 16px;
  }
  .ifu-list .btn-area {
    width: auto;
    padding-right: 10px;
  }
  .ifu-list .btn-download {
    padding: 6px 16px;
    font-size: 13px;
  }
}