@charset "UTF-8";

:root {
  --max-width: 393px;
  --mo-header-height: 59px;
  --mo-main-header-height: 78px;
  --mo-main-header-sdown-height: 62px;
  --mo-bottom-nav-height: 74px;
  --mo-fixed-btn-height: 62px;
  --mo-fixed-btn-padding-height: 73px;
  --mo-fixed-btn-padding-single-height: 101px;
}

@media (min-width: 900px) {
  html {
    max-width: var(--max-width);
    margin: 0 auto;
    background-color: #f8f8f8;
    background-color: var(--tw-color-gray-100);
  }

  body {
    position: relative;
  }

  .wrap {
    background-color: #fff;
    box-shadow: 0px 0px 44px rgb(0 0 0 / 25%);
  }

  #mobile-top-navi,
  #mobile-bottom-navi,
  #content-fixed .fixed-b-btn,
  #content-fixed .fixed-b-p-btn {
    max-width: var(--max-width);
    margin: 0 auto;
  }
}

/* layout */
#mobile-top-navi {
  height: var(--mo-header-height);
}

#mobile-top-navi .container {
  display: flex;
  padding-left: 23px;
  padding-right: 23px;
  padding-top: 14px;
  padding-bottom: 13px;
  justify-content: space-between;
  align-items: center;
}

#mobile-top-navi .iconContainer {
  display: flex;
  flex-direction: row;
  align-items: center;
  column-gap: 14px;
}

#mobile-top-navi .icon {
  width: 29px;
  height: auto;
  aspect-ratio: 1;
}

#mobile-top-navi .profileIconBtn {
  padding: 1px;
}

#mobile-top-navi .profileIcon {
  display: flex;
  width: 27px;
  height: 27px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 1000px;
}

#mobile-top-navi.main-header {
  height: var(--mo-main-header-height);
  transition: all 2s;
}

#mobile-top-navi.main-header.scroll-down {
  height: var(--mo-main-header-sdown-height);
}

#mobile-top-navi>.relative {
  min-height: calc(var(--mo-header-height) - 1px);
}

#mobile-top-navi .title {
  font-size: 21px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  letter-spacing: -0.4px;
  color: #363636;
  margin-right: 1.5px;
}

#mobile-top-navi .title-dot {
  width: 8px;
  height: 25px;
  margin-top: -1px;
}

/* 레이아웃 최소높이 정의 */
.wrap {
  min-height: 100vh;
}

.wrap:has(#mobile-top-navi) {
  padding-top: var(--mo-header-height);
}

.wrap:has(#mobile-top-navi.main-header) {
  padding-top: var(--mo-main-header-height);
}

.wrap:has(#mobile-top-navi):has(.fixed-b-btn) {
  padding-bottom: calc(var(--mo-fixed-btn-height));
}

.wrap:has(#mobile-top-navi):has(.fixed-b-p-btn) {
  padding-bottom: calc(var(--mo-fixed-btn-padding-single-height));
}

.wrap:has(#mobile-bottom-navi) {
  padding-bottom: var(--mo-bottom-nav-height);
}

.wrap:has(#mobile-bottom-navi):has(.fixed-b-btn) {
  padding-bottom: calc(var(--mo-bottom-nav-height) + var(--mo-fixed-btn-height));
}

.wrap:has(#mobile-bottom-navi):has(.fixed-b-p-btn) {
  padding-bottom: calc(var(--mo-bottom-nav-height) + var(--mo-fixed-btn-padding-height));
}

.wrap:has(#mobile-top-navi) #content-fixed {
  min-height: calc(100vh - var(--mo-header-height));
}

.wrap:has(#mobile-top-navi):has(.fixed-b-btn) #content-fixed {
  min-height: calc(100vh - var(--mo-header-height) - var(--mo-fixed-btn-height));
}

.wrap:has(#mobile-top-navi):has(.fixed-b-p-btn) #content-fixed {
  min-height: calc(100vh - var(--mo-header-height) - var(--mo-fixed-btn-padding-single-height));
}

.wrap:has(#mobile-top-navi):has(#mobile-bottom-navi) #content-fixed {
  min-height: calc(100vh - var(--mo-header-height) - var(--mo-bottom-nav-height));
}

.wrap:has(#mobile-top-navi.main-header):has(#mobile-bottom-navi) #content-fixed {
  min-height: calc(100vh - var(--mo-main-header-height) - var(--mo-bottom-nav-height));
}

.wrap:has(#mobile-top-navi):has(#mobile-bottom-navi):has(.fixed-b-btn) #content-fixed {
  min-height: calc(100vh - var(--mo-header-height) - var(--mo-bottom-nav-height) - var(--mo-fixed-btn-height));
}

.wrap:has(#mobile-top-navi):has(#mobile-bottom-navi):has(.fixed-b-p-btn) #content-fixed {
  min-height: calc(100vh - var(--mo-header-height) - var(--mo-bottom-nav-height) - var(--mo-fixed-btn-padding-height));
}

#mobile-bottom-navi.tmpmu {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 150;
  display: block;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  background-color: #fbfbfb;
  width: 100%;
  padding-bottom: 39px;
  padding-top: 1px;

}

#mobile-bottom-navi .container {
  display: flex;
  flex: 1;
  flex-direction: row;
  padding: 0px 9px;
  justify-content: space-between;
}

#mobile-bottom-navi .btn {
  display: flex;
  flex-direction: column;
  text-align: center;
  border: none;
  width: 67px;
  height: 61px;
  padding: 13px 20px 0px 20px;
}

#mobile-bottom-navi .btnIcon {
  height: 100%;
}

#mobile-bottom-navi .btnTextActive {
  color: var(--colBlack19, #191919);
  text-align: center;
  font-family: Pretendard;
  font-size: 11.5px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.244px;
  margin-top: 6px;
  white-space: nowrap;
}

#mobile-bottom-navi .btnText {
  color: var(--colGrayAA, #aaa);
  text-align: center;
  font-family: Pretendard;
  font-size: 11.5px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.244px;
  margin-top: 6px;
  white-space: nowrap;
}

/* 모바일 홈 상단 select box영역 */
#content-fixed .selectContainer {
  padding: 7px 18px 16px 18px;
}

#content-fixed .selectBtn {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 16px 10px 16px;
  background-color: white;
  border: 1px solid #363636;
  border-radius: 8px;
}

#content-fixed .selectText {
  font-size: 16px;
  font-weight: 600;
  color: #363636;
}

/* 모바일 하단 고정버튼 */
#content-fixed .fixed-b-btn .btn {
  border-radius: 0;
}

#content-fixed .fixed-b-p-btn.single {
  padding-bottom: 40px;
}

#content-fixed-register {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 140;
  display: flex;
  justify-content: center;
  bottom: 130px;
}

/* 메인 이벤트 배너 스와이프 */
.swiper.swiper-banner .swiper-slide {
  width: 90%;
  margin-right: 10px;
}

.swiper.swiper-banner .swiper-slide:first-child {
  margin-left: 18px;
}

.swiper.swiper-banner .swiper-slide:last-child {
  margin-right: 18px;
}

/* 상품 상세(선상) 스와이프 */
.swiper.swiper-prods .swiper-slide {
  width: 100%;
}

.swiper.swiper-prods .swiper-pagination-fraction {
  font-size: 10px;
  font-weight: 500;
  color: #fff;
  padding: 5px 12px;
  border-radius: 50em;
  display: inline-block;
  width: fit-content;
  background-color: rgba(0, 0, 0, 0.6);
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
}

.swiper-pagination-current {
  margin-right: 1px;
}

.swiper-pagination-total {
  margin-left: 1px;
  opacity: 0.5;
}

/* 조황 스와이프 */
.swiper.swiper-gall .swiper-slide {
  width: 42%;
  margin-right: 10px;
}

.swiper.swiper-gall.large .swiper-slide {
  width: 72%;
}

.swiper.swiper-gall .swiper-slide:first-child {
  margin-left: 18px;
}

.swiper.swiper-gall .swiper-slide:last-child {
  margin-right: 18px;
}

/* 스크롤 영역 아이템 여백 */
.horizontal-scroll .shrink-0:first-child {
  margin-left: 23px;
}

.horizontal-scroll .shrink-0:last-child {
  margin-right: 23px;
}

.horizontal-scroll .tab-btn.inline-header:first-child {
  margin-left: 18px;
}

.horizontal-scroll .tab-btn.inline-header:last-child {
  margin-right: 18px;
}

/* 포인트 컬러 텍스트 */
.text-orange-550 {
  color: #ff4c14;
}

.text-sky-650 {
  color: #2481be;
}

/* 데이트피커 */
.flatpickr-calendar {
  padding: 22px;
  background: #f8f8f8;
  box-shadow: none;
  border: none;
  border-radius: 12px;
}

.flatpickr-calendar.open,
.flatpickr-calendar.inline {
  width: 100%;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  top: 12px;
}

.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month.flatpickr-prev-month {
  left: 22px;
}

.flatpickr-months .flatpickr-prev-month.flatpickr-next-month,
.flatpickr-months .flatpickr-next-month.flatpickr-next-month {
  right: 22px;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
  fill: #0041ff;
}

.flatpickr-current-month {
  display: none;
}

/* 기본 월/연도 셀렉터 대신 텍스트 */
.custom-month-label {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  width: 100%;
  padding: 8px 0;
}

.flatpickr-days {
  width: 100%;
}

.dayContainer {
  width: 100%;
  max-width: 100%;
  min-width: 100%;
}

.flatpickr-day {
  max-width: unset;
  max-width: 49px;
  height: 49px;
  /* line-height: 36px; */
  border-radius: 12px;
  font-weight: 500;
  /* border-top: 4.5px solid #f8f8f8;
  border-bottom: 4.5px solid #f8f8f8;
  border-left: 2.5px solid #f8f8f8;
  border-right: 2.5px solid #f8f8f8; */

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  gap: 0;
  gap: 4px;
  line-height: 1;
  padding-top: 11px;
}

.flatpickr-day.inRange,
.flatpickr-day.prevMonthDay.inRange,
.flatpickr-day.nextMonthDay.inRange,
.flatpickr-day.today.inRange,
.flatpickr-day.prevMonthDay.today.inRange,
.flatpickr-day.nextMonthDay.today.inRange,
.flatpickr-day:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover,
.flatpickr-day:focus,
.flatpickr-day.prevMonthDay:focus,
.flatpickr-day.nextMonthDay:focus {
  background: #fff;
  border-color: transparent;
}

.flatpickr-day.today {
  position: relative;
  /* background-color: #fff; */
  border-color: transparent;
}

.flatpickr-day.today:hover,
.flatpickr-day.today:focus {
  background-color: #fff;
  border-color: transparent;
  color: inherit;
}

.flatpickr-day.today:after {
  content: "오늘";
  display: block;
  font-size: 10px;
  color: #363636;
}

.flatpickr-day.today.selected:after {
  color: #fff;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
  background: #0041ff;
  border-color: #f8f8f8;
  color: #fff;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay,
.flatpickr-day.notAllowed,
.flatpickr-day.notAllowed.prevMonthDay,
.flatpickr-day.notAllowed.nextMonthDay {
  color: #cccccc;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
  color: #cccccc;
}

.flatpickr-day.flatpickr-disabled:after {
  content: "휴무";
  display: block;
  font-size: 10px;
  color: #cccccc;
}

.flatpickr-rContainer {
  width: 100%;
}

/* 데이트피커 - 흰색 */
.datepicker-calendar {
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
}

.datepicker-calendar .flatpickr-calendar {
  padding: 0;
  background-color: #fff;
  border-radius: 0;
}

.datepicker-calendar .flatpickr-months .flatpickr-prev-month,
.datepicker-calendar .flatpickr-months .flatpickr-next-month {
  top: -5px;
}

.datepicker-calendar .flatpickr-months .flatpickr-month {
  height: auto;
  margin-bottom: 20px;
  color: #363636;
}

.datepicker-calendar .custom-month-label {
  padding: 0;
  font-size: 21px;
}

/* 카카오맵 관련(테스트) */
.root_daum_roughmap .map_border {
  display: none !important;
}

.root_daum_roughmap .wrap_controllers {
  display: none;
}

.root_daum_roughmap .wrap_map {
  min-height: 100%;
}

/* toastify */
.toastify {
  padding: 15px 20px;
  max-width: 100% !important;
  margin: 0 18px;
  border-radius: 9px;
  text-align: center;
  font-weight: 500;
}

/* 캘린더 커스텀 스타일 */
.alliancd-mt-pm {
  margin-top: -1rem;
}

.alliancd-mt-p {
  margin-top: 1.125rem;
}

.alliancd-border-right {
  border-right: 1px solid #e5e5e5;
}

.alliance-calendar {
  width: 100%;
}

.alliance-calendar .calendar-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.alliance-calendar .calendar-header button {
  padding: 0.5rem;
  color: #666;
}

.alliance-calendar .calendar-header .month-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #191919;
}

.alliance-calendar .weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 0.75rem;
}

.alliance-calendar .weekdays span {
  text-align: center;
  font-size: 0.875rem;
  color: #666;
  padding: 0.5rem 0;
}

.alliance-calendar .weekdays span:first-child {
  color: #ff6b47;
}

.alliance-calendar .weekdays span:last-child {
  color: #0041ff;
}

.alliance-calendar .days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}

.alliance-calendar .day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0.5rem 0;
  min-height: 3.5rem;
  cursor: pointer;
  position: relative;
}

.alliance-calendar .day .date-num {
  font-size: 1rem;
  color: #2d2d2d;
  line-height: 1.5;
}

.alliance-calendar .day.sunday .date-num {
  color: #ff6b47;
}

.alliance-calendar .day.saturday .date-num {
  color: #0041ff;
}

.alliance-calendar .day.other-month .date-num {
  color: #d8d8d8;
}

.alliance-calendar .day.other-month .booking-count {
  color: #d8d8d8;
}

.alliance-calendar .day.selected {
  background: #0041ff;
  border-radius: 0.75rem;
}

.alliance-calendar .day.selected .date-num {
  color: white !important;
  font-weight: 600;
}

.alliance-calendar .day.selected .booking-count {
  color: white !important;
}

.alliance-calendar .booking-count {
  font-size: 0.7rem;
  color: #2d2d2d;
  margin-top: 2px;
  line-height: 1.2;
}

/* 선택된 옵션 스타일 */
.status-option.selected span {
  color: #3b82f6 !important;
  font-weight: 500;
}

/* condition */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* condition filter */
.fish-btn {
  border: 1px solid #e5e7eb;
  background: white;
  color: #374151;
}

.fish-btn.active {
  border: 1px solid #191919;
  background: white;
  color: #191919;
  font-weight: 500;
}

.period-btn {
  border: 1px solid #e5e7eb;
  background: white;
  color: #374151;
}

.period-btn.active {
  border: 1px solid #191919;
  background: #191919;
  color: white;
}

/* condition filter date */
.date-calendar {
  width: 100%;
}

.date-calendar .calendar-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.date-calendar .calendar-header button {
  padding: 0.5rem;
  color: #666;
}

.date-calendar .calendar-header .month-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #191919;
}

.date-calendar .weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 0.5rem;
}

.date-calendar .weekdays span {
  text-align: center;
  font-size: 0.875rem;
  color: #666;
  padding: 0.5rem 0;
}

.date-calendar .weekdays span:first-child {
  color: #ff6b47;
}

.date-calendar .weekdays span:last-child {
  color: #0041ff;
}

.date-calendar .days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}

.date-calendar .day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0;
  cursor: pointer;
  position: relative;
}

.date-calendar .day .date-num {
  font-size: 1rem;
  color: #2d2d2d;
  line-height: 1.5;
}

.date-calendar .day.sunday .date-num {
  color: #ff6b47;
}

.date-calendar .day.saturday .date-num {
  color: #0041ff;
}

.date-calendar .day.other-month .date-num {
  color: #d8d8d8;
}

.date-calendar .day.in-range {
  background: #b8d4ff;
}

.date-calendar .day.range-start {
  background: #0041ff;
  border-radius: 0.5rem 0 0 0.5rem;
}

.date-calendar .day.range-end {
  background: #0041ff;
  border-radius: 0 0.5rem 0.5rem 0;
}

.date-calendar .day.range-start.range-end {
  border-radius: 0.5rem;
}

.date-calendar .day.range-start .date-num,
.date-calendar .day.range-end .date-num {
  color: white !important;
  font-weight: 600;
}

.date-calendar .day.in-range .date-num {
  color: white;
}

.date-calendar .day.in-range.sunday .date-num,
.date-calendar .day.in-range.saturday .date-num {
  color: white;
}

/* condition preview */
.preview-swiper .swiper-pagination {
  bottom: 16px;
}

.preview-swiper .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.preview-swiper .swiper-pagination-bullet-active {
  background: white;
}

.preview-swiper .swiper-pagination-fraction {
  font-size: 12px;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  width: auto;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 12px;
}

/* condition reg */
.reg-calendar {
  width: 100%;
}

.reg-calendar .calendar-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.reg-calendar .calendar-header button {
  padding: 0.25rem;
  color: #666;
}

.reg-calendar .calendar-header .month-title {
  font-size: 1rem;
  font-weight: 600;
  color: #191919;
}

.reg-calendar .weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 0.25rem;
}

.reg-calendar .weekdays span {
  text-align: center;
  font-size: 0.75rem;
  color: #666;
  padding: 0.25rem 0;
}

.reg-calendar .weekdays span:first-child {
  color: #ff6b47;
}

.reg-calendar .weekdays span:last-child {
  color: #0041ff;
}

.reg-calendar .days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}

.reg-calendar .day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0.5rem 0;
  cursor: pointer;
  position: relative;
  min-height: 3rem;
}

.reg-calendar .day .date-num {
  font-size: 0.875rem;
  color: #2d2d2d;
  line-height: 1.5;
}

.reg-calendar .day .date-label {
  font-size: 0.625rem;
  color: #9ca3af;
  margin-top: 1px;
}

.reg-calendar .day .date-label.holiday {
  color: #ef4444;
}

.reg-calendar .day .date-label.today {
  color: #0041ff;
}

.reg-calendar .day.sunday .date-num {
  color: #ff6b47;
}

.reg-calendar .day.saturday .date-num {
  color: #0041ff;
}

.reg-calendar .day.other-month .date-num {
  color: #d8d8d8;
}

.reg-calendar .day.selected {
  background: #0041ff;
  border-radius: 0.5rem;
}

.reg-calendar .day.selected .date-num {
  color: white !important;
  font-weight: 600;
}

.fish-btn {
  border: 1px solid #e5e7eb;
  background: white;
  color: #374151;
}

.fish-btn.active {
  border: 1px solid #191919;
  background: white;
  color: #191919;
  font-weight: 500;
}

.image-upload-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.5rem;
  overflow: hidden;
}

.image-upload-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-upload-item .delete-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-upload-item .delete-btn svg {
  width: 12px;
  height: 12px;
  color: white;
}

.image-upload-add {
  aspect-ratio: 1;
  border: 1px dashed #d1d5db;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
  cursor: pointer;
}

/* notice */
.toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
  background: #e5e7eb;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.3s;
}

.toggle-switch.active {
  background: #0041ff;
}

.toggle-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.toggle-switch.active::after {
  transform: translateX(24px);
}

/* receipt */
/* 캘린더 커스텀 스타일 */
.settlement-calendar {
  width: 100%;
}

.settlement-calendar .calendar-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.settlement-calendar .calendar-header button {
  padding: 0.5rem;
  color: #666;
}

.settlement-calendar .calendar-header .month-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #191919;
}

.settlement-calendar .weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 0.5rem;
}

.settlement-calendar .weekdays span {
  text-align: center;
  font-size: 0.8125rem;
  color: #666;
  padding: 0.5rem 0;
}

.settlement-calendar .weekdays span:first-child {
  color: #ff6b47;
}

.settlement-calendar .weekdays span:last-child {
  color: #0041ff;
}

.settlement-calendar .days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}

.settlement-calendar .day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0.375rem 0;
  min-height: 3.25rem;
  cursor: pointer;
  position: relative;
}

.settlement-calendar .day .date-num {
  font-size: 0.9375rem;
  color: #2d2d2d;
  line-height: 1.5;
}

.settlement-calendar .day.sunday .date-num {
  color: #ff6b47;
}

.settlement-calendar .day.saturday .date-num {
  color: #0041ff;
}

.settlement-calendar .day.other-month .date-num {
  color: #d8d8d8;
}

.settlement-calendar .day.other-month .settlement-amount {
  color: #d8d8d8;
}

.settlement-calendar .day.in-range {
  background: #eef3ff;
}

.settlement-calendar .day.range-start {
  background: #0041ff;
  border-radius: 0.5rem 0 0 0.5rem;
}

.settlement-calendar .day.range-end {
  background: #0041ff;
  border-radius: 0 0.5rem 0.5rem 0;
}

.settlement-calendar .day.range-start.range-end {
  border-radius: 0.5rem;
}

.settlement-calendar .day.range-start .date-num,
.settlement-calendar .day.range-end .date-num {
  color: white !important;
  font-weight: 600;
}

.settlement-calendar .day.range-start .settlement-amount,
.settlement-calendar .day.range-end .settlement-amount {
  color: white !important;
}

.settlement-calendar .settlement-amount {
  font-size: 0.625rem;
  color: #2d2d2d;
  margin-top: 1px;
  line-height: 1.2;
}

.settlement-calendar .day.in-range .settlement-amount {
  color: #2d2d2d;
}

/* reservation */
/* 캘린더 커스텀 스타일 */
.reservation-calendar {
  width: 100%;
}

.reservation-calendar .calendar-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.reservation-calendar .calendar-header button {
  padding: 0.5rem;
  color: #666;
}

.reservation-calendar .calendar-header .month-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #191919;
}

.reservation-calendar .weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 0.5rem;
}

.reservation-calendar .weekdays span {
  text-align: center;
  font-size: 0.8125rem;
  color: #666;
  padding: 0.5rem 0;
}

.reservation-calendar .weekdays span:first-child {
  color: #ff6b47;
}

.reservation-calendar .weekdays span:last-child {
  color: #0041ff;
}

.reservation-calendar .days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}

.reservation-calendar .day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0.375rem 0;
  min-height: 3.25rem;
  cursor: pointer;
  position: relative;
}

.reservation-calendar .day .date-num {
  font-size: 0.9375rem;
  color: #2d2d2d;
  line-height: 1.5;
}

.reservation-calendar .day.sunday .date-num {
  color: #ff6b47;
}

.reservation-calendar .day.saturday .date-num {
  color: #0041ff;
}

.reservation-calendar .day.other-month .date-num {
  color: #d8d8d8;
}

.reservation-calendar .day.other-month .reservation-count {
  color: #d8d8d8;
}

.reservation-calendar .day.in-range {
  background: #eef3ff;
}

.reservation-calendar .day.range-start {
  background: #0041ff;
  border-radius: 0.5rem 0 0 0.5rem;
}

.reservation-calendar .day.range-end {
  background: #0041ff;
  border-radius: 0 0.5rem 0.5rem 0;
}

.reservation-calendar .day.range-start.range-end {
  border-radius: 0.5rem;
}

.reservation-calendar .day.selected {
  background: #0041ff;
  border-radius: 0.5rem;
}

.reservation-calendar .day.range-start .date-num,
.reservation-calendar .day.range-end .date-num,
.reservation-calendar .day.selected .date-num {
  color: white !important;
  font-weight: 600;
}

.reservation-calendar .day.range-start .reservation-count,
.reservation-calendar .day.range-end .reservation-count,
.reservation-calendar .day.selected .reservation-count {
  color: white !important;
}

.reservation-calendar .reservation-count {
  font-size: 0.625rem;
  color: #2d2d2d;
  margin-top: 1px;
  line-height: 1.2;
}

.reservation-calendar .day.in-range .reservation-count {
  color: #2d2d2d;
}

/* 예약 상태 뱃지 */
.badge-waiting {
  background: #0041ff;
  color: white;
}

.badge-deposit-waiting {
  background: #0041ff;
  color: white;
}

.badge-deposit-request {
  background: #0041ff;
  color: white;
}

.badge-confirmed {
  background: #22c55e;
  color: white;
}

.badge-cancelled {
  background: #ef4444;
  color: white;
}

/* 팝업 공통 스타일 */
#statusPopup,
#schedulePopup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  visibility: hidden;
  z-index: 200;
}

#statusPopup.on,
#schedulePopup.on {
  pointer-events: auto;
  visibility: visible;
}

/* 팝업 오버레이 (block-ui 스타일) */
#statusPopup .popup-overlay,
#schedulePopup .popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#statusPopup.on .popup-overlay,
#schedulePopup.on .popup-overlay {
  opacity: 1;
}

/* 팝업 컨텐츠 슬라이드 애니메이션 */
#statusPopup .popup-content,
#schedulePopup .popup-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-radius: 1rem 1rem 0 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

#statusPopup.on .popup-content,
#schedulePopup.on .popup-content {
  transform: translateY(0);
}

/* 선택된 옵션 스타일 - 공통 */
.schedule-option.selected span {
  color: #3b82f6 !important;
  font-weight: 500;
}

/* 팝업 기본 스타일 */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
}

.modal.on {
  display: block;
}

/* 팝업 오버레이 */
.popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
}

/* 팝업 컨텐츠 (중앙 정렬) */
.popup-content-center {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 팝업 컨텐츠 (하단 정렬) */
.popup-content-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  border-radius: 1rem 1rem 0 0;
  padding: 1.5rem 1.25rem 2rem;
}