/* 캘린더 */
.calendar{

}
.calendar_wrap{margin-bottom:20px;}
/* 헤더 */
.calendar .header{
  display:flex;
  justify-content: space-between;
  align-items:center;
  margin-bottom: 15px;
}
#monthYear{margin-bottom:5px;}
/* 요일 */
.days{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  text-align:center;
  font-weight:bold;
  margin-bottom: 10px;
}

/* 날짜 */
.dates{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.date-cell{
  border: 1px solid #eee;
  border-radius: 10px;
  display:flex;
  flex-direction: column;
  justify-content: space-between;
}

.date-num{
  font-size: 14px;
}

/* 버튼 */
.reserve-btn{
  font-size: 12px;
  padding: 5px;
  border: none;
  background: #008493;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

.reserve-btn:hover{
  background:#025b65;
}

/* 일요일 */
.sunday{
  background:#fff3f3;
  color:#d33;
}

/* 선택 영역 */
#reserveBox{

}

.selected-date{
  font-weight:bold;
  margin-bottom: 10px;
}

/* 폼 */
#formBox{
  margin-top: 40px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
}



.hidden{
  display:none;
}

.calendar .header button{
  background: linear-gradient(135deg, #008493, #00a6b8);
  color: #fff;
  border: none;
  width:50px;height:50px;line-height:48px;
  border-radius: 500px;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  transition: all 0.2s ease;
}

@media (min-width: 768px){
.date-cell{padding: 10px; min-height: 80px;}
}
@media (max-width: 768px){
.dates{gap:2px 2px;}
.date-cell{padding:4px 4px 5px 4px;}
 .calendar .header button{
    padding: 0px 2px;
    font-size: 11px;letter-spacing:-1px;}
.calendar .header button{width:30px;height:30px;line-height:28px;}
  .reserve-btn{height:25px;line-height:15px;}

}
