@charset "UTF-8";

/* Project-specific corrections layered on top of the publishing stylesheet. */
/* 상단 배너가 main 밖에 있으므로 접수기간 안내는 본문 제목 높이에 맞춘다. */
main > aside.rightFloating {
  top: 6rem;
}

/* Keep the white-header icon filter from blackening the count badge. */
header[data-theme="white"] nav > .right > button.cart {
  filter: none;
}
header[data-theme="white"] nav > .right > button.cart i {
  filter: brightness(0);
}
header[data-theme="white"] nav > .right > button.cart .num,
header.isActive nav > .right > button.cart .num,
section.siteMap > .wrapper .topHeader .right .btnCont > button.cart .num {
  color: #fff;
  background: #000;
}

.periodCont.rentNotice .innerWrap,
.periodCont.cabinNotice .innerWrap {
  padding: 2rem 3rem;
  font-size: 1.6rem;
  line-height: 1.7;
}

/* FullCalendar's dot-event title grows to the full button width. */
.monthArea .fc-daygrid-event.fcBtn.fc-daygrid-dot-event .fc-event-title {
  flex: 0 1 auto;
  text-align: center;
}

.cabinSelectionDate {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.4rem;
  margin-left: auto;
  padding: 0 1.6rem;
  border-left: 1px solid #ddd;
  font-size: 1.5rem;
}

.cabinEmpty {
  padding: 6rem 2rem;
  border-top: 2px solid #222;
  border-bottom: 1px solid #ddd;
  color: #666;
  font-size: 1.8rem;
  text-align: center;
}

.reservation-payment .stepCont {
  display: none;
}
.reservation-payment .grayBox dd,
.reservation-payment .whiteBox dd {
  min-width: 0;
  overflow-wrap: anywhere;
}

.reservation-payment[data-step="step1"] .stepCont.step1,
.reservation-payment[data-step="step2"] .stepCont.step2,
.reservation-payment[data-step="step3"] .stepCont.step3 {
  display: block;
}

.applyCont > .right .reservation-payment .stepCont .grayBox > dl.type2 {
  gap: 1.2rem;
  flex-wrap: wrap;
}
.applyCont > .right .reservation-payment .stepCont .grayBox > dl.type2 > dt {
  flex: 1 1 18rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.applyCont > .right .reservation-payment .stepCont .grayBox > dl.type2 > dd {
  flex: 0 0 auto;
  margin-left: auto;
  min-height: 3.4rem;
}
.reservation-payment .agreementComplete {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  white-space: nowrap;
}
.reservation-payment .agreementComplete img { width: 2rem; }
.applyCont > .right .reservation-payment .termsBox .innerWrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.applyCont > .right .reservation-payment .termsBox .innerWrap > button {
  flex: 1 1 10rem;
  min-width: 0;
  height: auto;
  min-height: 5rem;
  padding: 1rem .8rem;
  white-space: normal;
}
.reservationAgreementModal > .wrapper {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 4rem);
}
.reservationAgreementModal > .wrapper > .tit { padding: 0 3rem; }
.reservationAgreementModal > .wrapper > .content { min-height: 0; overflow: hidden; }
.reservationAgreementModal > .wrapper .contArea {
  max-height: max(8rem, calc(100dvh - 32rem));
  overscroll-behavior: contain;
}
.reservationAgreementModal .termsArea { overflow-wrap: anywhere; }
.reservationAgreementModal .modalFooter { flex-shrink: 0; }
.reservationAgreementModal .modalFooter button {
  height: auto;
  min-height: 5rem;
  padding: 1rem 2rem;
  white-space: normal;
}

@media (max-width: 768px) {
  .cabinSelectionDate {
    width: 100%;
    margin: 0;
    border-top: 1px solid #ddd;
    border-left: 0;
  }
}

.headerAuth,
.siteMapAuth {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 0 0 auto;
}

.headerAuth .header-btn,
.siteMapAuth .header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.4rem 0.9rem;
  border-radius: 0.3rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.headerAuth .header-btn.area,
.siteMapAuth .header-btn.area {
  background: #168c78;
}

.headerAuth .header-btn.area.none,
.siteMapAuth .header-btn.area.none {
  background: #5b6670;
}

.headerAuth .header-btn.reduction,
.siteMapAuth .header-btn.reduction {
  background: #1264c5;
}

.expire-badge-wrap {
  position: relative;
  display: inline-flex;
}

.expire-badge {
  position: absolute;
  top: -1.2rem;
  right: -0.4rem;
  z-index: 1;
  padding: 0.1rem 0.5rem;
  border-radius: 1rem;
  background: #333;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

.siteMapAuth {
  display: none;
}

@media (max-width: 1600px) {
  .headerAuth {
    gap: 0.4rem;
  }

  .headerAuth .header-btn {
    max-width: 14rem;
    min-height: 3rem;
    padding: 0.3rem 0.7rem;
    overflow: hidden;
    font-size: 1.1rem;
    text-overflow: ellipsis;
  }
}

@media (max-width: 1280px) {
  header nav > .right > .headerAuth {
    display: none;
  }

  .siteMapAuth {
    display: flex;
    padding: 1.6rem 2rem;
    border-bottom: 1px solid #ddd;
  }
}

@media (max-width: 480px) {
  .siteMapAuth {
    align-items: stretch;
  }

  .siteMapAuth > .header-btn,
  .siteMapAuth > .expire-badge-wrap {
    flex: 1 1 0;
    min-width: 0;
  }

  .siteMapAuth .header-btn {
    width: 100%;
    min-height: 4rem;
    padding: 0.5rem 0.8rem;
    white-space: normal;
    word-break: keep-all;
  }
}

@media (max-width: 480px) {
  :root,
  html {
    font-size: 10px !important;
  }
}

@media (max-width: 768px) {
  [data-page="main"] main .sec1 h2.text img {
    display: block;
    width: 100%;
    height: auto;
  }

  [data-page="main"] main .sec1 .btnCont {
    gap: 0.8rem;
    padding: 1.2rem 1rem;
  }

  [data-page="main"] main .sec1 .btnCont > li {
    flex: 1 1 0;
    min-width: 0;
  }

  [data-page="main"] main .sec1 .btnCont > li > a {
    width: 100%;
    min-width: 0;
  }

  [data-page="main"] main .sec1 .btnCont > li > a > i {
    width: 7.2rem;
    height: 7.2rem;
  }

  [data-page="main"] main .sec1 .btnCont > li > a > div {
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  [data-page="main"] main .sec1 .btnCont > li > a > div > strong {
    width: 100%;
    font-size: 1.2rem;
    line-height: 1.3;
    white-space: normal;
    word-break: keep-all;
  }
}

/* Legacy pages use the original 16px rem scale and keep their responsive width. */
html.legacyRoot {
  font-size: 16px !important;
}

html.legacyRoot body {
  font-size: 1rem;
}

html.legacyRoot .legacyPage {
  width: 100%;
  min-width: 0;
}

/* Keep the new shared chrome at its 10px-rem visual scale on legacy pages. */
html.legacyRoot body > .skipMenu,
html.legacyRoot body > header,
html.legacyRoot body > section.siteMap,
html.legacyRoot body > footer {
  width: 100%;
  zoom: 0.625;
}

/* Resident and discount verification dialogs used by the shared footer. */
#g1modal.popup_wrap,
#g2modal.popup_wrap {
  position: fixed;
  top: 0;
  right: auto;
  bottom: auto;
  left: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  padding: 3rem;
  box-sizing: border-box;
}

#g1modal .popup_dimm,
#g2modal .popup_dimm {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.55);
}

#g1modal .popup,
#g2modal .popup {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(66rem, calc(100vw - 6rem));
  min-width: 56rem;
  max-width: 66rem;
  max-height: calc(100vh - 6rem);
  padding: 3rem 1rem 3rem 3rem;
  border: 0.2rem solid #40aa00;
  border-radius: 2rem;
  background: #fff;
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.25);
}

#g1modal .popup_content,
#g2modal .popup_content {
  overflow-y: auto;
  padding-right: 2rem;
}

#g1modal .popup_title,
#g2modal .popup_title {
  margin: 0 0 2rem;
  padding: 0 4rem 1.5rem 0;
  border-bottom: 2px solid #222;
  color: #1a1a1a;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: normal;
}

#g1modal .fm_table,
#g2modal .fm_table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

#g1modal .fm_table th,
#g1modal .fm_table td,
#g2modal .fm_table th,
#g2modal .fm_table td {
  padding: 1rem;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  color: #1a1a1a;
  font-size: 1.5rem;
  text-align: left;
  vertical-align: middle;
}

#g1modal .fm_title,
#g2modal .fm_title {
  width: 15rem;
  background: #f4f4f4;
  font-weight: 700;
}

#g1modal .fm_wrap,
#g2modal .fm_wrap {
  display: block;
}

#g1modal .fm_wrap._wid_160,
#g2modal .fm_wrap._wid_160 {
  width: 16rem;
}

#g1modal .fm_wrap._wid_200,
#g2modal .fm_wrap._wid_200 {
  width: 20rem;
}

#g1modal .form-control,
#g2modal .form-control {
  width: 100%;
  height: 4rem;
  padding: 0 1rem;
  border: 1px solid #ccc;
  border-radius: 0.4rem;
  background: #fff;
  color: #1a1a1a;
  font-size: 1.5rem;
}

#g1modal .form-control[readonly],
#g2modal .form-control[readonly] {
  background: #f5f5f5;
}

#g1modal .fm_flex,
#g2modal .fm_flex {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

#g1modal .personal_info_agree,
#g2modal .personal_info_agree {
  margin-top: 2rem;
  padding: 2rem;
  border-radius: 0.8rem;
  background: #f7f7f7;
  color: #333;
}

#g1modal .personal_info_agree .title,
#g2modal .personal_info_agree .title {
  margin-bottom: 1rem;
  font-size: 1.6rem;
  font-weight: 700;
}

#g1modal .personal_info_agree li,
#g1modal .personal_info_agree .text,
#g2modal .personal_info_agree li,
#g2modal .personal_info_agree .text {
  font-size: 1.4rem;
  line-height: 1.7;
}

#g1modal .personal_info_agree .text,
#g2modal .personal_info_agree .text {
  margin-top: 0.8rem;
}

#g1modal .terms-agree-all,
#g2modal .terms-agree-all {
  margin-top: 1.5rem;
  padding: 1.5rem 2rem;
  border: 1px solid #ddd;
  border-radius: 0.8rem;
  background: #f5f5f5;
}

#g1modal .form-check label,
#g2modal .form-check label {
  display: flex;
  align-items: center;
  min-height: 2.4rem;
  padding-left: 3.2rem;
  color: #1a1a1a;
  font-size: 1.5rem;
  cursor: pointer;
}

#g1modal .form-check,
#g2modal .form-check {
  position: relative;
}

#g1modal .form-check input,
#g2modal .form-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

#g1modal .form-check label::before,
#g2modal .form-check label::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid #bbb;
  border-radius: 0.4rem;
  background: #fff;
  transform: translateY(-50%);
  content: '';
}

#g1modal .form-check input:checked + label::before,
#g2modal .form-check input:checked + label::before {
  border-color: #40aa00;
  background: #40aa00 url('/static/publish/img/common/chk.png') center/1.5rem no-repeat;
}

#g1modal .btn_box,
#g2modal .btn_box {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

#g1modal .btn_box .btn,
#g2modal .btn_box .btn {
  min-width: 10rem;
  padding: 1.2rem 2rem;
  border-radius: 0.5rem;
  background: #666;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
}

#g1modal .btn_box .bg-point,
#g2modal .btn_box .bg-point {
  background: #40aa00;
}

#g1modal .popup_close,
#g2modal .popup_close {
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #fff;
}

/* The shared footer uses .blind for close-button labels, but this layout does
   not load resource/css/common.css where that utility is normally defined. */
#g1modal .blind,
#g2modal .blind {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#g1modal .popup_close::before,
#g1modal .popup_close::after,
#g2modal .popup_close::before,
#g2modal .popup_close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2rem;
  height: 0.2rem;
  background: #222;
  content: '';
}

#g1modal .popup_close::before,
#g2modal .popup_close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

#g1modal .popup_close::after,
#g2modal .popup_close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 768px) {
  #g1modal.popup_wrap,
  #g2modal.popup_wrap {
    padding: 1rem;
    width: 100vw;
    height: 100vh;
  }

  #g1modal .popup,
  #g2modal .popup {
    width: calc(100vw - 2rem);
    min-width: 0;
    max-height: calc(100vh - 2rem);
    padding: 2rem 0.5rem 2rem 1.5rem;
    border-radius: 1.2rem;
  }

  #g1modal .popup_content,
  #g2modal .popup_content {
    padding-right: 1rem;
  }

  #g1modal .popup_title,
  #g2modal .popup_title {
    font-size: 1.8rem;
  }

  #g1modal .fm_table,
  #g1modal .fm_table tbody,
  #g1modal .fm_table tr,
  #g1modal .fm_table th,
  #g1modal .fm_table td,
  #g2modal .fm_table,
  #g2modal .fm_table tbody,
  #g2modal .fm_table tr,
  #g2modal .fm_table th,
  #g2modal .fm_table td {
    display: block;
    width: 100%;
  }

  #g1modal .fm_title,
  #g2modal .fm_title {
    border-bottom: 0;
  }

  #g1modal .fm_flex,
  #g2modal .fm_flex {
    flex-wrap: nowrap;
  }

  #g1modal .fm_wrap._wid_160,
  #g2modal .fm_wrap._wid_160 {
    flex: 1;
    width: auto;
    min-width: 0;
  }

  #g1modal .personal_info_agree,
  #g2modal .personal_info_agree {
    padding: 1.5rem;
  }
}

/* Large-waste consent uses the same staged payment component as rentals and cabins. */
.bulkyTerms .applyCont {
  align-items: flex-start;
}

.bulkyTerms .bulkyTermsLead {
  margin: 0 0 1.6rem;
  color: #333;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.6;
}

.bulkyTermsAgreementModal .termsArea {
  color: #555;
  font-size: 1.6rem;
  line-height: 1.7;
}

.bulkyTermsAgreementModal .termsArea > p {
  margin: 0 0 2rem;
}

.bulkyTermsAgreementModal .unitTable th,
.bulkyTermsAgreementModal .unitTable td {
  word-break: keep-all;
}

.bulkyTerms .errorText {
  margin: 0 0 1.6rem;
  color: #d73737;
  font-size: 1.5rem;
  text-align: center;
}

@media (max-width: 768px) {
  .bulkyTerms .bulkyTermsLead { font-size: 1.6rem; }
}
