/* 전체 박스 */
.reservation_box{
  max-width:680px;
  width:94%;
  margin:30px auto;
  padding:24px 20px;
  background:#e9f3f5;
  border-radius:16px;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  font-family:'Pretendard','Apple SD Gothic Neo',sans-serif;
}

.reservation_box h2{
  text-align:center;
  font-size:20px;
  font-weight:700;
  margin-bottom:20px;
}

/* 상단 라디오 */
.select_location{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-bottom:20px;
}

.radio_box{
  padding:10px 16px;
  border-radius:20px;
  border:1px solid #ccc;
  cursor:pointer;
  font-size:14px;
}

.radio_box input{margin-right:6px;}

.radio_box:has(input:checked){
  background:#11729f;
  color:#fff;
  border-color:#11729f;
}

/* 입력 영역 */
.form_area{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.form_area input,
.form_area select{
  padding:12px 14px;
  border-radius:10px;
  border:1px solid #cabb69;
}

.reserv2, .reserv3{margin:5px 0;}

/* 날짜 + 시간 한 줄 고정 */
.reserv2 ul,
.reserv3 ul{
  display:flex;
  gap:6px;
  margin:3px  0;
  align-items:center;
  flex-wrap:nowrap;   /* 🔥 줄바꿈 금지 */
}

/* 날짜 입력 */
.reserv2 input[type="text"],
.reserv3 input[type="text"]{
  flex:1;
  min-width:120px;    /* 🔥 핵심: 줄이기 */
  max-width:160px;
}

/* 시간 셀렉트 */
.reserv2 select,
.reserv3 select{
  min-width:72px;
}

/* PC 전용 */
@media (min-width:721px){
  .reserv2 input[type="text"],
  .reserv3 input[type="text"]{
    max-width:260px;   /* 기존보다 살짝 넓게 */
  }
}



/* 버튼 영역 (🔥 핵심) */
.btn_area{
  display:flex;
  gap:12px;
  margin-top:24px;
}

.btn_area input{
  flex:1;
  padding:20px 10px;
  font-size:16px;
  border-radius:14px;
  cursor:pointer;
}

/* 요금 계산 */
.btn_area input:first-child{
  background:#11729f;
  color:#fff;
  border:none;
}

/* 예약 */
.btn_area input:last-child{
  background:#f5f5f5;
  color:#333;
  border:1px solid #ddd;
}

/* 모바일 */
@media(max-width:640px){
  .btn_area{
    flex-direction:column;
  }
}

.select_area_tit{
  font-size:15px;
  font-weight:600;
  color:#222;
  margin-bottom:8px;
}
.guide_text{
  font-size:13px;
  color:#6b7c8f;
  margin-top:-2px;
  line-height:1.4;
  opacity:0.85;
}


@media (max-width: 380px) {
  .reservation_box{
    width:98%;
    padding:14px 10px;   /* padding도 살짝 줄이기 */
  }
  
  .radio_box{
    display:flex;
    align-items:center;
    gap:5px;
  }

  .radio_box span{
    white-space: nowrap;
    font-size:13px;
  }

}




/* =========================
/////////////////////////////////////////////////
여기서 부터는  계산 결과 팝업창
////////////////////////////////////////////////
========================= */
.app_popup{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.8);
  display:none;
  z-index:2000;
}

.app_popup_wrap{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:700px;
  max-width:92%;
  max-height:90vh;
  background:#fff;
  padding:15px;
  overflow-y:auto;
}

/*상단 닫기버튼*/
.app_btn_x{
  position:absolute;
  top:15px;
  right:15px;  
  width:32px;
  height:32px;
  cursor:pointer;
}
.app_btn_x img{
  width:20px;
  display:block;
}

.app_con_logo img{
  max-width:160px;   
  width:100%;
  height:auto;
  margin:20px auto 10px;
  display:block;
}


/*하단*/
.app_con_foot{
  padding:10px;
  background:#12887a;
  color:#fff;
  font-weight:500;
  text-align:center;
  line-height:1.5;
  word-break: keep-all;  
  white-space: normal;
}

/*하단 닫기버튼*/
.app_btn_x2{}


/* 모바일 */
@media (max-width:520px){
  .app_popup_wrap{
    width:94%;
    padding:12px;
  }
  .app_con_foot li {
    font-size:10pt;
    line-height:1.4;
  }
}



