@charset "utf-8";

/* 프리텐다드 폰트 */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

/* 전체 폰트 적용 */
:root {
  --bs-body-font-family: "Pretendard", -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;
}

/* 컨테이너 너비 설정 */
.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl {
  max-width: 1200px !important;
  margin: 0 auto;
  padding-left: 15px !important;
  padding-right: 15px !important;
  width: 100%;
}

/* 컨테이너 타이틀 영역 */
#container_title {
  /* 숨김처리
    padding: 0 15px;
    */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (min-width: 1400px) {
  .container,
  .container-fluid,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl {
    max-width: 1200px !important;
  }
}

@media (min-width: 1200px) {
  .container,
  .container-fluid,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl {
    max-width: 1200px !important;
  }
}

body {
  font-family: var(--bs-body-font-family);
}

/* 헤더 스타일 */
.navbar {
  padding: 0;
  margin-bottom: 0 !important;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.navbar .container-fluid {
  height: 80px;
  display: flex;
  align-items: center;
}

#logo {
  padding: 0 0 0 15px;
  margin: 0;
}

#logo a {
  font-size: 24px;
  font-weight: bold;
  color: #1e1e1e;
  text-decoration: none;
  letter-spacing: -0.5px;
}

#gnb {
  margin-left: 50px;
  position: relative;
}

#gnb h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

#gnb .navbar-nav {
  display: flex;
  gap: 10px;
}

#gnb .navbar-nav > li {
  position: relative;
}

#gnb .navbar-nav > li > a {
  display: block;
  padding: 0 20px;
  font-size: 1rem;
  height: 45px;
  line-height: 45px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 3px;
  transition: all 0.3s ease;
}

#gnb .navbar-nav > li > a:hover,
#gnb .navbar-nav > li.active > a {
  color: #e83e8c;
  border-color: #e83e8c;
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(232, 62, 140, 0.1);
}

#gnb .navbar-nav > li > a:active {
  transform: translateY(0);
}

.hd_right {
  margin-left: auto;
  padding-right: 15px;
}

.hd-login {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.hd-login li {
  position: relative;
}

.hd-login li:after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: #ddd;
}

.hd-login li:last-child:after {
  display: none;
}

.hd-login li a {
  color: #666;
  font-size: 14px;
  text-decoration: none;
}

.hd-login li a:hover {
  color: #000;
}

.skip-to-content {
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  text-align: center;
  background: #333;
  color: #fff;
  padding: 8px 0;
  transition: top 0.3s;
  z-index: 100000;
}

.skip-to-content:focus {
  top: 0;
}

@media (max-width: 991px) {
  .navbar .container-fluid {
    height: auto;
    padding: 15px;
  }

  #gnb {
    margin-left: 0;
    margin-top: 15px;
  }

  #gnb .navbar-nav {
    flex-direction: column;
    gap: 5px;
  }

  #gnb .navbar-nav > li > a {
    width: 100%;
    text-align: center;
  }

  .hd_right {
    margin-top: 15px;
  }
}

/* 그누보드 */
.msg_sound_only,
.sound_only {
  display: inline-block !important;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0;
  line-height: 0;
  border: 0 !important;
  overflow: hidden !important;
}
.btn_admin {
  display: none;
}

/* input-group 영역 스타일 수정 */
.input-group {
  display: table;
  border-collapse: separate;
}

.input-group-addon,
.input-group-btn,
.input-group .form-control {
  display: table-cell;
}

.input-group .form-control {
  float: left;
  width: 100%;
  margin-bottom: 0;
}

.input-group-addon {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: normal;
  line-height: 1;
  color: #555555;
  text-align: center;
  background-color: #eeeeee;
  border: 1px solid #ccc;
  width: 1%;
  white-space: nowrap;
  vertical-align: middle;
}

.input-group .form-control:first-child,
.input-group-addon:first-child,
.input-group-btn:first-child > .btn {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}

.input-group .form-control:last-child,
.input-group-addon:last-child,
.input-group-btn:last-child > .btn {
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}

.input-group-addon:first-child {
  border-right: 0;
}

.input-group-addon:last-child {
  border-left: 0;
}

/* 캡챠 자동등록(입력)방지 기본 -pc */
#captcha {
  display: inline-block;
  position: relative;
  max-width: none;
  background: none;
  text-align: left;
}
#captcha legend {
  position: absolute;
  margin: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
  text-indent: -9999em;
  overflow: hidden;
}
#captcha #captcha_img {
  height: 40px;
  border: 1px solid #ccc;
  vertical-align: top;
  padding: 0;
  margin: 0;
  border-radius: 3px;
}
#captcha #captcha_mp3 {
  margin: 0;
  padding: 0;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  vertical-align: middle;
  overflow: hidden;
  cursor: pointer;
  background: url("../../../img/captcha2.png") no-repeat;
  text-indent: -999px;
  border-radius: 3px;
}
#captcha #captcha_reload {
  margin: 0;
  padding: 0;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  vertical-align: middle;
  overflow: hidden;
  cursor: pointer;
  background: url("../../../img/captcha2.png") no-repeat 0 -40px;
  text-indent: -999px;
  border-radius: 3px;
}
#captcha #captcha_key {
  margin: 0 0 0 3px;
  padding: 0 5px;
  width: 90px;
  height: 40px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 1.333em;
  font-weight: bold;
  text-align: center;
  border-radius: 3px;
  vertical-align: top;
}
#captcha #captcha_info {
  display: block;
  margin: 5px 0 0;
  font-size: 80%;
  color: #ff0000;
  letter-spacing: -0.1em;
}
@media (max-width: 575px) {
  #captcha_audio {
    display: none !important;
  }
}

/* 커스텀 */
a {
  text-decoration: none;
}
select {
  font-size: 14px;
}

#footer .logo img {
  filter: grayscale(1);
  top: 0px;
}

#latest h4 a {
  color: #000;
}
#latest h4 a:hover {
  text-decoration: none;
}
#latest li a {
  color: #777;
}

.pagination {
  margin-top: 0rem;
  margin-bottom: 0rem;
}

.ck.ck-editor__editable {
  min-height: 200px !important;
}

/*
.dropdown-item { font-size: 1rem; }
.title { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; width: 100%; }
*/

/* 푸터 스타일 */
#ft {
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid #dde3e6;
  background: #f8f9fa;
  margin-top: 30px;
}

#ft_wr {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 15px;
  text-align: center;
}

#ft_company {
  color: #666;
  font-size: 0.9em;
  line-height: 1.5;
}

.ft_info {
  margin: 0;
}

#top_btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.6);
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

#top_btn.show {
  opacity: 1;
  visibility: visible;
}

#top_btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

@media (max-width: 991px) {
  #ft_wr {
    padding: 20px 15px;
  }
}

/* 달력 스타일 */
.wetoz .tbl-canlendar .saturday,
.wetoz .tbl-canlendar .box-sat {
  background-color: #f6faff;
}

/* 예약확인/취소 화면 스타일 개선 */
.panel .table th {
  width: 120px;
  vertical-align: middle;
  text-align: left;
  padding-right: 15px;
}

.panel .table td {
  vertical-align: middle;
}

/* 폼 컨트롤 스타일 */
.wetoz .form-group-sm .form-control {
  height: 36px !important;
  padding: 5px 10px;
  font-size: 11px;
  line-height: 1.5;
  border-radius: 3px;
}

/* 예약 테이블 스타일 */
/* 인원 필드 숨김처리 - 추후 재사용을 위해 주석으로 남겨둠 */
.table.table-schedule th:last-child,          /* 테이블 헤더의 '인원' 열 */
.table.table-schedule td:last-child,          /* 테이블 데이터의 인원 선택 열 */
.table.table-schedule [data-title="이용인원"] {
  /* 모바일에서 인원 선택 영역 */
  display: none !important;
}

/* 모바일 대응을 위한 미디어쿼리 추가 */
@media (max-width: 768px) {
  .table.table-schedule [data-title="이용인원"] {
    display: none !important;
  }
}
