/* 호텔관리자 */

/* 폰트 */
/* 프리텐다드 */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");

/* 초기화 코드 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
ul, li {
  list-style: none;
}
a {
  text-decoration: none;
}
body {
  width: 100%;
  font-family: "Pretendard Variable",'Pretendard', Pretendard, 'Noto Sans KR', -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}
body::-webkit-scrollbar {
  background-color: #d6d6d6;
  width: 10px;
}
body::-webkit-scrollbar-thumb {
  background-color: var(--subColor);
}
img {
  width: 100%;
}
input {
  outline: none;
  font-family: 'Pretendard', "Pretendard Variable";
}
textarea {
  outline: none;
  resize: none;
  font-family: 'Pretendard', "Pretendard Variable";
}
select {
  outline: none;
  font-family: 'Pretendard', "Pretendard Variable";
}

/* 색상변수 */
:root {
  --mainColor: #FBD122;
  --subColor: #695D52;
  --pointColor: #ff9900;

  /* 기본 */
  --whiteColor: #fff;
  --blackColor: #000;

  /* 텍스트 색상 */
  --titColor: #222;
  --txtColor: #333;
  --txt6Color: #666;
  --txt9Color: #999;
  --txtBrColor: #9C8F83;
  --txtBDColor: #695D52;
  --txtGColor: #B6B6B6;

  --redColor: #ED2024;
  --orangeColor: #ff7b00;
  --blueColor: #4B3EFC;

  --redBtn: #FC5F64;
  --blueBtn: #1A6DFF;
  --yellowBtn: #ff9900;

  /* 배경 */
  --backColor1: #E7E7E7;
  --backColor2: #F6F6F6;
  --backColor3: #FFF8EA;
  --backColor4: #fff7de;
  --backBlue: #d8e6ff;
  --tableBack: #F6F6F6;
  --borderLine: #D4D8DD;
  --borderLineB: #9C8F834D;

  --excelBack: #107C41;
}

/* 공통 요소 */
/* 페이지별 전체 영역 */
.frame {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 헤더영역 */
header {
  width: 95%;
  height: 60px;
  background-color: #231F20;
  margin: 20px auto 0;
  border-radius: 50px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 9;
}

.headerPC {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 0 15px 0 40px;
}

/* 로고 */
.logo {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
}
.hoverOn {
  display: none;
}

.logoImg {
  width: 140px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logoAdmin {
  font-size: 17px;
  color: var(--whiteColor);
  font-weight: 500;
}

.allMenuTop .logoAdmin {
  color: var(--txtColor);
}


/* 메뉴 영역 */

.headerMenus {
  display: flex;
  gap: 10px;
}

.headerMenu {
  width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px
}
.headerMenu > a {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--whiteColor);
  font-weight: 700;
  font-size: 17px;
}


.headerMenu:hover .subMenus {
  display: block;
}

.subMenus {
  background-color: var(--whiteColor);
  border-radius: 10px;
  display: none;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
}
.subMenu {
  width: 140px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.subMenu > a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--titColor);
  font-weight: 600;
}

.subMenu:hover > a {
  color: var(--pointColor);
}

/* 추가항목 */
.headerSide {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

/* 알림 영역 */
.headerAlarm {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.headerAlarm:hover > svg {
  fill: var(--mainColor) !important;
  transition: 0.2s;
}

/* 알림 표시 */
.alarmNumBox {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--redColor);
  width: 10px;
  height: 10px;
  border-radius: 20px;
  display: flex;
  /* display: none; */ /* 알림이 없을 경우 display:none, 있을 경우 display: flex */
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--whiteColor);
  font-weight: 500;
}

/* 로그인/마이페이지 영역 */
.headerMyMenu {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.headerMyMenu:hover > svg {
  fill: var(--mainColor) !important;
  transition: 0.2s;
}

/* 전체 메뉴 아이콘 */
.headerAllMenus {
  width: 40px;
  height: 40px;
  background-color: var(--whiteColor);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}


/* 헤더 마우스 호버 */
header:hover {
  background-color: #231F20;
  transition: 0.5s;
}
header:hover .hoverOff {
  display: none;
}
header:hover .hoverOn {
  display: block;
}
header:hover .headerMenu > a {
  color: var(--whiteColor);
}

header:hover .headerAlarm svg {
  fill: var(--whiteColor);
}
header:hover .headerMyMenu svg {
  fill: var(--whiteColor);
}

header:hover .headerAllMenus {
  background-color: var(--whiteColor);
}
header:hover .headerAllMenus svg {
  fill: #101535;
}


/* 전체 메뉴 */
.allMenuDiv {
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  background-color: var(--whiteColor);
  display: none;
  flex-direction: column;
}

/* 로고 / X 버튼 */
.allMenuTop {
  width: 95%;
  height: 60px;
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px 0 40px;
}

.allMenuClose {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* 메뉴 영역 */
.allMenus {
  margin: 50px auto 0;
  flex: 1;
}

.allMenuUl {
  height: 80%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.allMenuLi {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.allMenuBox {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.allMenuBox:hover > a {
  color: var(--mainColor);
}


.allMenuBox > a {
  width: 150px;
  font-size: 25px;
  color: var(--titColor);
  flex-shrink: 0;
  font-weight: 600;
}

/* 장식 */
.allMenuLiDec {
  width: 500px;
  position: relative;
  top: 0;
  opacity: 0;
}

.allMenuBox:hover .allMenuLiDec {
  animation-name: decMove;
  animation-duration: 1s;
  opacity: 1;
}

@keyframes decMove {
  0% {
    opacity: 1;
    left: -10%
  } 
  100% {
    opacity: 1;
    left: 0;
  }
}

/* 서브메뉴 */
.allSubMenu {
  display: flex;
  align-items: center;
  gap: 50px;
}
.allSubMenu > li {
  font-size: 17px;
}
.allSubMenu > li > a {
  color: var(--txt6Color);
  font-weight: 500;
}

.allSubMenu > li:hover > a {
  color: var(--mainColor);
}

/* COPY */
.allMenuCopy {
  width: 100%;
  line-height: 45px;
  text-align: center;
  border-top: 1px solid var(--subColor);
  color: var(--subColor);
  font-size: 14px;
}


/* 푸터 */
footer {
  background-color: #150E00;
  display: flex;
  align-items: center;
}
.footInner {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* 푸터 상단 */
.footTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #695D52;
  padding: 20px 280px 10px 280px;
}

.footMenus {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
}
.footMenus a {
  color: var(--txtBrColor);
  font-weight: 500;
}

/* 푸터 로고 */
.logoF {
  width: 120px;
}

.footBottom {
  padding: 20px 280px 0 280px;
}
.footBottomTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footTxts {
  display: flex;
  align-items: center;
  font-size: 13px;
  gap: 10px;
  color: var(--txtBrColor);
  flex-wrap: wrap;
}
.footTxts > span:first-child {
  color: var(--whiteColor);
}

.footBMenus {
  display: flex;
  gap: 15px;
  font-size: 14px;
  flex-shrink: 0;
}
.footBMenus a {
  color: var(--txtBDColor);
  font-weight: 500;
}

.footCopy {
  text-align: center;
  line-height: 60px;
  font-size: 13px;
  color: var(--txtBDColor);
}

.footTxtDiv {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* 로그아웃 */
.logoutBtn {
  font-size: 15px;
  color: var(--backColor4);
  text-decoration: underline;
  font-weight: 500;
}

@media screen and (max-width: 1600px) {  
  .headerNav {
    display: none;
  }

  .footTop {
    padding: 20px 8%;
  }
  .footBottom {
    padding: 10px 8% 0 8%;
  }
}


@media screen and (max-width: 1200px) {
  .footBottomTop {
    flex-direction: column;
    gap: 10px;
  }
  .footTxts {
    flex-wrap: wrap;
  }
}