/* 공간·디바이스 예약 화면 전용 스타일 (2026-10-13)
   쿼드비 전달 퍼블리싱(#예약 html)의 sub.css·component.css 중 운영 CSS에 없는 규칙과 달력 관련 변경 규칙만 옮겼다.
   예약 화면에서만 sub.css 뒤에 불러온다. 다른 화면에는 영향이 없다. */

.popup .form_box {
;
}
.sub_content {
  position: relative;
  flex: 1;
  min-width: 0;
  width: 100%;
}
.info_table th {
  padding: 1.6rem 0;
  font-size: 1.5rem;
  font-weight: 400;
  color: #717171;
  text-align: left;
  width: 12rem;
  vertical-align: top;
}
.detail_right {
  width: 40rem;
  max-width: 100%;
  flex-shrink: 0;
}
.calendar_wrap {
  border: 1px solid var(--gray-e5);
  border-radius: 1.2rem;
  overflow: hidden;
  margin-bottom: 1.6rem;
  padding: 1.4rem;
}
.calendar_header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0 0 1.4rem;
  border-bottom: 1px solid var(--gray-e5);
  background: #fff;
}
.calendar_header strong {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gray-12);
}
.calendar_table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
}
.calendar_table tbody td {
  position: relative;
  position: relative;
  height: 5rem;
}
.cal_day {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--gray-33);
  border-radius: 4px;
  transition: all .2s;
  z-index: 1;
  cursor: pointer;
}
.cal_day.active {
  background: #697383;
  color: #fff;
  font-weight: 700;
}
.cal_day.period {
  background-color: #E5E8EE;
  color: var(--gray-12);
}
/* 대여 기간 안 날짜는 시작일 후보가 아니어도(disabled) 검정 글씨로 보인다 (QA 10/23 #3) */
.cal_day.period.disabled {
  color: var(--gray-12);
}
.cal_day.period.sun { color: #e84545; }
.cal_day.period.sat { color: var(--ict-main); }
/* 반응형: 달력 영역을 화면 너비에 꽉 차게 (QA 10/23 #4) */
@media (max-width: 900px) {
  .detail_right {
    width: 100%;
  }
}
.range_display {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.6rem;
  background: var(--gray-f8);
  border: 1px solid var(--gray-e5);
  border-radius: 1rem;
  margin: 1.2rem 0;
  width: 100%;
}
.edu_card .edu_info .edu_tit span {
  color: var(--ict-main);
  font-size:1.4rem;
  font-weight: 700;
  font-family: var(--font-nanum);
}
@media (max-width: 768px) {
  .edu_card {
    flex-direction: column;
  }
}
.list_st1 {
  position: relative;
}
.select_zone {
  width: 100%;
  height: auto;
  padding: 0 3rem 4.2rem;
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, .14);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: fixed;
  bottom: 0;
  left: 0;
  background: #f2f4f6;
  transform: translateY(0);
  z-index: 15;
  transition-duration: .3s;
}
.select_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 0 3rem;
  gap: 24px;
  transition: padding .35s ease;
}
.select_zone.fold .select_head {
  padding-bottom: 0;
}
.select_head p {
  font-size: 2.2rem;
  line-height: 3rem;
  font-weight: 600;
  color: var(--gray-12);
}
.select_head p span {
  color: var(--ict-main);
  margin-left: 4px;
}
.select_head > div .btn {
  min-width: 16rem;
}
.select_head > div .icon-box {
  --icon-size : 3rem;
}
.select_zone .select_list {
  overflow: hidden;
  max-height: 500px;
  opacity: 1;
  transition: max-height .2s ease, opacity .2s ease;
  display: grid;
  grid-template-columns: repeat(3,1fr);
}
.select_zone.fold .select_list {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}
.select_zone ul li {
  position: relative;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--gray-e5);
  background: #fff;
  transition: all .2s;
  cursor: pointer;
  flex: 1;
}
.select_zone ul li:hover {
  background: #fafafa;
}
.select_zone ul li .thumb {
  width: 88px;
  border-radius: 12px;
}
.select_zone ul li .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.select_zone ul li .tag {
  font-size: 12px;
  line-height: 18px;
  color: var(--ict-main);
  border: 1px solid var(--ict-main);
  padding: 2px 8px;
}
.select_zone ul li strong {
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  font-family: var(--font-nanum);
}
.select_zone ul li .card_txt {
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0;
  color: var(--gray-66);
}
.select_zone .btn-del {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  padding: 0;
  color: var(--gray-66);
}
.select_zone .btn-del .icon-box {
  --box-size:2.2rem;
}
.select_zone .arrow_btn .icon {
  transform: rotate(180deg);
}
.select_zone.fold .arrow_btn .icon {
  transform: rotate(0deg);
}
.select_zone .empty {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 88px;
}
.select_zone .empty p {
  font-size: 1.3rem;
  font-weight: 500;
  margin-top: 6px;
}
.date_box {
  position: relative;
}
.date_box .btn-date {
  min-width: 42rem;
  justify-content: flex-start;
}
.date_box > .calendar_wrap {
  position: absolute;
  left: 0;
  top: 5rem;
  width: 42rem;
  margin-bottom: 0;
  z-index: 10;
  box-shadow: 0 4px 8px #0001;
  background-color: #fff;
  padding: 1.6rem;
  display: none;
}
.date_box > .calendar_wrap .btn {
  border-radius: 12px;
}
.date_box > .calendar_wrap.open {
  display: block;
}
@media (max-width: 1260px) {
  .date_box .btn-date {
    min-width: 100%;
  }
}
@media (max-width: 970px) {
  .select_zone .select_list {
    overflow-y: auto;
    grid-template-columns: repeat(1, 1fr);
  }
  .select_zone ul li .thumb {
    width: 80px;
  }
  .select_zone .empty {
    min-height: 80px;
  }
  .select_head {
    padding: 3rem 0 2rem;
  }
  .select_head p {
    font-size: 1.8rem;
  }
  .select_head > div .btn {
    min-width: 12rem;
  }
  .select_head > div .icon-box {
    --box-size: 3rem;
  }
}
@media (max-width: 600px) {
  .date_box > .calendar_wrap {
    width: 40rem;
  }
}
.table_st1 .btn_extend {
  margin: 0 auto;
}
.extend_stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gray-dd);
  border-radius: 4px;
  overflow: hidden;
}
.extend_stepper .stepper_btn {
  width: 40px;
  height: 40px;
  font-size: 2rem;
  line-height: 1;
  color: var(--gray-33);
  background: var(--gray-f8);
  cursor: pointer;
}
.extend_stepper .stepper_btn:hover:not(:disabled) {
  color: var(--ict-main);
}
.extend_stepper .stepper_btn:disabled {
  color: var(--gray-dd);
  cursor: default;
}
.extend_stepper .stepper_val {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 8rem;
  height: 40px;
  border-left: 1px solid var(--gray-dd);
  border-right: 1px solid var(--gray-dd);
}
.extend_stepper .stepper_val input {
  width: 3.2rem;
  border: 0;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: right;
  color: var(--gray-12);
  background: transparent;
  -moz-appearance: textfield;
}
.extend_stepper .stepper_val input::-webkit-outer-spin-button, .extend_stepper .stepper_val input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.extend_stepper .stepper_val span {
  font-size: 1.5rem;
  color: var(--gray-4d);
}
.popup .form_table td .extend_max {
  margin-top: 6px;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--gray-75);
}
.extend_max strong {
  color: var(--ict-main);
}
.popup .form_table td .extend_before {
  color: var(--gray-75);
  text-decoration: line-through;
}
.popup .form_table td .extend_arrow {
  margin: 0 6px;
  color: var(--gray-ac);
}
.extend_after {
  color: var(--ict-main);
  font-weight: 700;
}
.extend_bar {
  display: flex;
  width: 100%;
  height: 8px;
  margin-top: 6px;
  border-radius: 8px;
  background: var(--gray-e9);
  overflow: hidden;
}
.extend_bar .bar_now {
  background: var(--gray-ac);
  transition: width .2s;
}
.extend_bar .bar_add {
  background: var(--ict-main);
  transition: width .2s;
}
.extend_total {
  margin-top: 4px;
  font-size: 1.4rem;
  line-height: 1.5;
}
.extend_total strong {
  color: var(--ict-main);
}
.popup .form_table td .extend_total span {
  font-size: 1.4rem;
  color: var(--gray-75);
  line-height: 1.5;
}
.extend_notice {
  margin-top: 1.6rem;
  padding: 1.6rem 2rem;
  border-radius: 8px;
  background: var(--gray-f8);
}
.extend_notice li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 1.35rem;
  line-height: 1.7;
  color: var(--gray-66);
}
.extend_notice li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gray-ac);
}
.reserve_pick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
}
.reserve_pick .icon-box {
  color: var(--gray-12);
}
.reserve_pick .pick_dot {
  color: var(--gray-ac);
}
.reserve_pick #pickTime {
  color: var(--ict-main);
}
.time_picker {
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-e9);
}
.time_rule {
  font-size: 1.4rem;
  color: var(--gray-75);
  margin-bottom: 1.2rem;
}
.time_scroll {
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}
.time_track {
  position: relative;
  min-width: calc(13 * 5.4rem);
  padding-right: 3rem;
}
.time_labels {
  position: relative;
  height: 4.2rem;
}
.time_labels span {
  position: absolute;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 8px 5px;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--gray-33);
  white-space: nowrap;
}
.time_labels span::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 8px;
  background: var(--gray-66);
}
.time_labels em {
  font-style: normal;
  font-size: 1.2rem;
  color: var(--gray-75);
}
.time_cells {
  display: flex;
  gap: 2px;
}
.time_cell {
  flex: 1;
  height: 4.8rem;
  border: 0;
  border-radius: 0;
  background: #cfe9f5;
  cursor: pointer;
  transition: background .15s, opacity .15s;
}
.time_cell:first-child {
  border-radius: 6px 0 0 6px;
}
.time_cell:last-child {
  border-radius: 0 6px 6px 0;
}
@media (hover: hover) {
  .time_cell:hover:not(.booked) {
    box-shadow: inset 0 0 0 2px var(--gray-12);
  }
}
.time_cell.selected {
  background: var(--ict-main);
}
.time_cell.booked {
  background: var(--gray-dd);
  cursor: not-allowed;
}
.time_cell.out {
  opacity: .35;
}
.time_cell:focus-visible {
  outline: 2px solid var(--gray-12);
  outline-offset: 1px;
}
.time_legend {
  display: flex;
  gap: 1.6rem;
  margin-top: 1rem;
}
.time_legend li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.3rem;
  color: var(--gray-75);
}
.time_legend i {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 3px;
}
.time_legend .lg_booked {
  background: var(--gray-dd);
}
.time_legend .lg_open {
  background: #cfe9f5;
}
.time_legend .lg_sel {
  background: var(--ict-main);
}
.time_summary {
  margin: 2rem 0 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-e9);
}
.time_summary strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-ac);
  line-height: 1.4;
}
.time_summary.active strong {
  color: var(--gray-12);
}
.time_summary p {
  margin-top: 4px;
  font-size: 1.4rem;
  color: var(--gray-75);
}
.time_summary.active p b {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ict-main);
}
.time_summary .time_hint {
  font-size: 1.3rem;
  color: var(--gray-75);
}
.edu_card .thumb, .edu_card .edu_info {
  min-width: 0;
}
.edu_swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.edu_swiper .edu_slide_caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 60px 24px 48px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  font-family: var(--font-nanum);
  text-align: left;
  pointer-events: none;
}
.edu_swiper:hover .swiper-button-prev, .edu_swiper:hover .swiper-button-next, .edu_swiper .swiper-button-prev:focus-visible, .edu_swiper .swiper-button-next:focus-visible {
  opacity: 1;
}
.edu_swiper .swiper-button-prev:hover, .edu_swiper .swiper-button-next:hover {
  background-color: #fff;
}
.edu_swiper .swiper-button-prev::after, .edu_swiper .swiper-button-next::after, .edu_swiper .swiper-navigation-icon {
  display: none;
}
@media (max-width: 1200px) {
  .edu_swiper .swiper-button-prev, .edu_swiper .swiper-button-next {
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .edu_swiper {
    --swiper-pagination-bottom: 14px;
  }
  .edu_swiper .edu_slide_caption {
    padding: 40px 16px 34px;
    font-size: 1.4rem;
  }
  .edu_swiper .swiper-button-prev, .edu_swiper .swiper-button-next {
    width: 34px;
    height: 34px;
    margin-top: -17px;
  }
  .edu_swiper .swiper-button-prev {
    left: 10px;
  }
  .edu_swiper .swiper-button-next {
    right: 10px;
  }
  .edu_swiper .swiper-pagination {
    padding: 0 16px;
  }
}

/* 실제 사진을 받기 전: 견본 사진 대신 회색 바탕에 ICT 로고 (2026-10-13) */
img.rsv_noimg {
  object-fit: contain !important;
  padding: 0 22%;
  background: #f4f5f7;
  box-sizing: border-box;
}
