/* 호텔관리자 */

/* 게시판 공통사항 */

/* 버튼 */
.bottomBtns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btnList {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.boardBtn {
  font-size: 14px;
  font-family: 'Pretendard';
  border-radius: 5px;
  cursor: pointer;
}

.moreBtn {
  width: 70px;
  height: 30px;
  margin: 0 auto;
  background-color: var(--txtBDColor);
  color: var(--whiteColor);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* 텍스트 색상 */
.redTxt {
  color: var(--redColor);
}
.orangTxt {
  color: var(--orangeColor);
}
.blueTxt {
  color: var(--blueColor);
}

/* 텍스트만 있는 서브 top */
.subTitArt {
  width: 100%;
  height: 250px;
  background-color: var(--backColor4);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: end;
}
.subTitArt > p {
  font-size: 26px;
  color: var(--txtColor);
  font-weight: 700;
  margin: 0 0 80px 0;
}

/* 경로 있는 서브 top */
.subMenuTitArt {
  width: 100%;
  height: 250px;
  background-color: var(--backColor4);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.subTxtBox {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 60px 0 0 0;
}
.subTxtBox > p:first-child {
  font-size: 26px;
  color: var(--titColor);
  font-weight: 700;
}

.subPageNow {
  display: flex;
  align-items: center;
  gap: 5px;
}
.homeIcon {
  width: 24px;
  height: 24px;
}
.subPageNow span {
  font-size: 14px;
  color: var(--titColor);
  font-weight: 500;
}

/* 메뉴 영역 */
.divMenus {
  display: flex;
  align-items: center;
  margin: 20px auto 0;
  background-color: var(--borderLineB);
  border-radius: 50px;
}
.divMenus > li {
  height: 40px;
  color: var(--txtBDColor);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 50px;
}
.divMenus > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--txtBDColor);
  padding: 0 20px;
}
.divMenus > li.on {
  background-color: var(--txtBDColor);
  color: var(--whiteColor);
}
.divMenus > li.on > a {
  color: var(--whiteColor);
}

/* 내용 영역 */
.contentArt {
  flex: 1;
  margin: 200px auto 160px;
  width: 80%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tableBox {
  width: 100%;
  display: flex;
  border-bottom: 1px solid var(--borderLine);
}
.tableTitBox {
  width: 150px;
  min-height: 40px;
  background-color: var(--backColor2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  gap: 3px;
  color: var(--titColor);
  font-weight: 500;
}
.tableTxtBox {
  flex: 1;
  padding: 5px;
  min-height: 40px;
}
.tableReadBox {
  height: 100%;
  font-size: 14px;
  color: var(--txtColor);
  font-weight: 500;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 10px;
}

.tableTitBox > p {
  display: flex;
  align-items: center;
  gap: 3px;
}

.tableTBox {
  display: flex;
}

/* 아이콘 */

/* 다운 아이콘 */
.downIcon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* 삭제 아이콘 */
.fileDeleteBtn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* 검색 영역 */
.searchBox {
  width: 100%;
  height: 50px;
  background-color: var(--backColor2);
  border: 1px solid var(--backColor1);
  border-radius: 5px;
  display: flex;
  align-items: center;
  padding: 8px 30px;
  justify-content: space-between;
}

.searchList {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.searchDiv {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.searchTit {
  width: 80px;
  text-align: center;
  color: var(--txt6Color);
  font-size: 15px;
  font-weight: 600;
}

.searchDays {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dateInputBox {
  height: 100%;
  display: flex;
  align-items: center;
}
.dateInputBox input {
  width: 110px;
  height: 100%;
  border-top: 1px solid var(--borderLine);
  border-bottom: 1px solid var(--borderLine);
  border-left: 1px solid var(--borderLine);
  border-right: none;
  padding: 0 5px;
  background-color: var(--whiteColor);
  cursor: pointer;
}
.dateIcon {
  border-top: 1px solid var(--borderLine);
  border-bottom: 1px solid var(--borderLine);
  border-right: 1px solid var(--borderLine);
  width: 24px;
  height: 100%;
  padding: 3px;
  background-color: var(--whiteColor);
}

.searchAt {
  color: var(--txtColor);
}

.searchSelect select {
  min-width: 110px;
  max-width: 120px;
  height: 35px;
  border: 1px solid var(--borderLine);
}

/* 구분 */
.searchChecks {
  display: flex;
  align-items: center;
  gap: 15px;
}
.searchCheck label {
  font-size: 15px;
  color: var(--subColor);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 3px;
}
.searchCheck input[type=checkbox] {
  display: none;
}
.searchCheck input[type=checkbox] + label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url(/img/admin/icon/checkBox.png);
  background-size: cover;
}
.searchCheck input[type=checkbox]:checked + label::before {
  content: '';
  background-image: url(/img/admin/icon/checkBoxOn.png);
  background-size: cover;
}

.searchInput > input {
  height: 35px;
  padding: 0 5px;
  border: 1px solid var(--borderLine);
}

.searchBtnList {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
}

.searchBtn {
  background-color: var(--txtBDColor);
  color: var(--whiteColor);
}

.searchBtnList > input {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  width: 80px;
  height: 100%;
  border-radius: 4px;
  gap: 3px;
  border: none;
}

.resetBtn {
  background-color: #dbdbdb;
  color:#555;
  font-weight: 600;
}

/* 목록으로 */
.listBtn {
  width: 100px;
  height: 35px;
  background-color: var(--txtBrColor);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--whiteColor);
}

/* 상품등록 */
.addBtn {
  width: 100px;
  height: 35px;
  background-color: var(--yellowBtn);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--whiteColor);
}

.popCancel {
  width: 100px !important;
  height: 35px !important;
  background-color: var(--backColor1);
}

/* 상세 내역 */
.moreTop {
  width: 100%;
  height: 45px;
  border-bottom: 2px solid var(--txtBrColor);
  display: flex;
  align-items: center;
}

.moreTopTitBox {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 5px;
}

.moreBackIcon {
  width: 24px;
  height: 24px;
}

.moreTopTitBox > span {
  font-size: 17px;
  color: var(--txtBDColor);
  font-weight: 600;
}

















/* 팝업 영역 */

/* 기본 팝업 */
.popupArt {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 9;
  display: none;
  /* display: flex; */
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.3);
}

/* 팝업 */
.popupBox {
  width: 40%;
  background-color: var(--whiteColor);
  max-width: 500px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/* 팝업 헤더 */
.popupHeader {
  background-color: var(--txtColor);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
}

.popupTit {
  color: var(--whiteColor);
  font-size: 14px;
  font-weight: 500;
  cursor: default;
}

.popupClose {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* 팝업 내용 */
.popupContents {
  background-color: var(--whiteColor);
}

.popTit {
  font-size: 14px;
  color: var(--titColor);
  font-weight: 500;
  display: inline-block;
  width: 95px;
  text-align: center;
}

/* 상세 팝업 */
.popupOrderBox {
  width: 60%;
  background-color: var(--whiteColor);
  max-width: 800px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  border-radius: 5px;
}

.popupOrderHeader {
  background-color: var(--backColor2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-radius: 5px 5px 0 0;
  border-bottom: 1px solid var(--borderLine);
}
.popupOrderHeader .popupTit {
  color: var(--txtColor);
  font-weight: 600;
}
.popOrderTit {
  font-size: 16px;
  color: var(--subColor);
  font-weight: 600;
  padding: 0 0 5px 5px;
  border-bottom: 2px solid var(--borderLineB);
}


/* 페이지별 공통 사항 */

/* 선택 영역 */
.choiceDiv {
  display: flex;
  align-items: center;
  gap: 15px;
}

.choiceTit {
  color: var(--txtColor);
  font-weight: 600;
  font-size: 15px;
}

.choiceDiv select {
  min-width: 200px;
  max-width: fit-content;
  height: 35px;
  border: 1px solid var(--borderLine);
}

/* 내용 박스 영역 */
.contentBox {
  border: 1px solid var(--borderLine);
  border-radius: 10px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 총계 영역 */
.totalBox {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
}

.totalTit {
  color: var(--txtColor);
}
.totalNum {
  color: var(--redColor);
}

/* 테이블 */
.boardTable > table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: center;
}

.boardTable > table thead th {
  background-color: var(--tableBack);
  height: 45px;
  font-weight: 500;
  border: 1px solid var(--borderLine);
}

.boardTable > table tbody td {
  height: 45px;
  border: 1px solid var(--borderLine);
  color: var(--txtColor);
  font-weight: 500;
}
.boardTable > table tbody tr:hover {
  background-color: var(--backColor3);
}

/* 페이지네이션 */
.pageNation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
}
.pageMoves {
  display: flex;
  align-items: center;
  gap: 10px;
}

.arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}

.arrows > div {
  width: 26px;
  height: 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--whiteColor);
}
.arrows > div:hover > svg {
  fill: var(--mainColor);
}

.nums {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nums > div {
  width: 26px;
  height: 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--whiteColor);
  font-size: 15px;
  color: var(--txt6Color);
  font-weight: 500;
  border-radius: 30px;
}
.nums > div:hover {
  color: var(--subColor);
  font-weight: 600;
}
.nums > div.on {
  background-color: var(--subColor);
  color: var(--whiteColor);
}
.nums > div.on:hover {
  color: var(--whiteColor);
}

/* 해당 이미지 없음 */
.popPhotoNotBox {
  padding: 5% 0;
  text-align: center;
  font-size: 14px;
  color: var(--titColor);
  font-weight: 500;
}

/* 파일 등록 */
.addFileList {
  display: flex;
  flex-direction: column;
  gap: 5px;
} 
.addFileBox {
  width: 100%;
  display: flex;
  gap: 5px;
}
.addFileBox input[type=file] {
  flex: 1;
  height: 30px;
  border: 1px solid var(--borderLine);
  line-height: 30px;
  padding: 0 5px;
}
.addFileBox label {
  width: 90px;
  height: 30px;
  background-color: var(--subColor);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--whiteColor);
  font-size: 14px;
  cursor: pointer;
  border-radius: 5px;
}
.addFileBox input[type=file]::file-selector-button {
  display: none;
}

.addFileView {
  border: 1px solid var(--borderLine);
  padding: 10px;
  min-height: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fileBox {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}
.addFiles {
  color: var(--txtColor);
  font-weight: 500;
  text-decoration: underline;
}
.fileIcon {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

@media screen and (max-width: 1600px) {  
  .contentArt {
    width: 90%;
  }
  .searchTit {
    width: max-content;
  }

  .popupOrderBox {
    width: 80%;
  }

  .searchList {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 1200px) {  
  .searchBox {
    height: auto;
  }
  .searchDiv {
    height: 35px;
  }
  .searchBtnList > input {
    height: 35px;
  }
}