/* ============================================
   유람선 운항 일정 캘린더 스타일
   ============================================ */

/* 메인 컨테이너 */
.schedule_wrap {
	display: flex;
	flex-direction: column;
	gap: 70px;
	align-items: center;
	padding: 100px 0;
	width: 100%;
}

/* 범례 (Legend) */
.schedule_legend {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	justify-content: flex-end;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

.legend_item {
	display: flex;
	gap: 6px;
	align-items: center;
}

.legend_icon {
	flex-shrink: 0;
}

.legend_icon.icon_performance {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #4C9DE8;
}

.legend_icon.icon_fireworks {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #C71ECE;
}

.legend_label {
	font-size: 17px;
	font-weight: 400;
	font-family: "Pretendard", sans-serif;
	color: #222222;
	line-height: 26px;
}

/* 캘린더 컨테이너 */
.calendar_container {
	display: flex;
	flex-direction: column;
	gap: 50px;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

/* 월별 캘린더 */
.month_calendar {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

/* 월 헤더 */
.month_header {
	background-color: #e4f2ff;
	border: 1px solid #bfdeff;
	border-radius: 4px;
	padding: 20px 50px;
}

.month_title {
	font-size: 28px;
	font-weight: 700;
	font-family: "Pretendard", sans-serif;
	color: #222222;
	line-height: 40px;
	text-align: center;
	margin: 0;
}

/* 캘린더 그리드 */
.calendar_grid {
	border: 1px solid #dddddd;
	border-radius: 4px;
	padding: 30px 50px;
}

/* 요일 헤더 */
.weekday_header {
	display: flex;
	gap: 10px;
	padding-top: 20px;
	padding-bottom: 0;
	width: 100%;
}

.weekday {
	flex: 1;
	font-size: 18px;
	font-weight: 700;
	font-family: "Pretendard", sans-serif;
	color: #222222;
	line-height: 30px;
	text-align: center;
}

.weekday.weekday_sunday {
	color: #e93c3c;
}

.weekday.weekday_saturday {
	color: #1452c4;
}

/* 날짜 그리드 */
.date_grid {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

.week_row {
	display: flex;
	gap: 10px;
	width: 100%;
}

/* 날짜 셀 */
.date_cell {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-height: 170px;
	padding: 10px 0 0;
	border-top: 1px solid #000000;
	position: relative;
}

.date_number {
	font-size: 18px;
	font-weight: 400;
	font-family: "Pretendard", sans-serif;
	line-height: 30px;
	text-align: center;
}

.date_number.current_month {
	color: #222222;
}

.date_number.other_month {
	color: #b1b1b1;
}

/* 일정 목록 */
.schedule_list {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 0 8px;
}

/* 일정 아이템 */
.schedule_item {
	display: flex;
	gap: 6px;
	align-items: center;
}

.schedule_item .schedule_icon {
	flex-shrink: 0;
}

.schedule_item.performance .schedule_icon {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #4C9DE8;
}

.schedule_item.fireworks .schedule_icon {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #C71ECE;
}

.schedule_time {
	font-size: 17px;
	font-weight: 400;
	font-family: "Pretendard", sans-serif;
	color: #222222;
	line-height: 26px;
}

/* 반응형 - 태블릿 */
@media (max-width: 991.98px) {
	.schedule_wrap {
		padding: 60px 20px;
		gap: 50px;
	}

	.schedule_legend {
		max-width: 100%;
		padding: 0 15px;
	}

	.calendar_container {
		max-width: 100%;
		gap: 40px;
	}

	.month_header {
		padding: 15px 30px;
	}

	.month_title {
		font-size: 24px;
		line-height: 36px;
	}

	.calendar_grid {
		padding: 20px 30px;
	}

	.date_cell {
		min-height: 150px;
	}

	.weekday {
		font-size: 16px;
		line-height: 28px;
	}

	.date_number {
		font-size: 16px;
		line-height: 28px;
	}

	.schedule_time {
		font-size: 15px;
		line-height: 24px;
	}

	.legend_label {
		font-size: 15px;
		line-height: 24px;
	}
}

/* 반응형 - 모바일 */
@media (max-width: 600px) {
	.schedule_wrap {
		padding: 40px 15px;
		gap: 40px;
	}

	.schedule_legend {
		flex-direction: column;
		gap: 10px;
		align-items: flex-start;
		padding: 0;
	}

	.calendar_container {
		gap: 30px;
	}

	.month_header {
		padding: 15px 20px;
	}

	.month_title {
		font-size: 20px;
		line-height: 30px;
	}

	.calendar_grid {
		padding: 15px 10px;
	}

	.weekday_header {
		padding-top: 10px;
		gap: 5px;
	}

	.weekday {
		font-size: 14px;
		line-height: 24px;
	}

	.date_grid {
		gap: 5px;
	}

	.week_row {
		gap: 5px;
	}

	.date_cell {
		min-height: 120px;
		padding: 5px 0 0;
		gap: 2px;
	}

	.date_number {
		font-size: 16px;
		line-height: 24px;
	}

	.schedule_list {
		padding: 0 4px;
		gap: 1px;
	}

	.schedule_item {
		gap: 4px;
	}

	.schedule_item .schedule_icon {
		width: 8px;
		height: 8px;
	}

	.schedule_item.performance .schedule_icon {
		width: 8px;
		height: 8px;
	}

	.schedule_item.fireworks .schedule_icon {
		width: 8px;
		height: 8px;
	}

	.schedule_item.noservice .schedule_icon {
		width: 14px;
		height: 14px;
	}

	.schedule_time {
		font-size: 13px;
		line-height: 20px;
	}

	.legend_label {
		font-size: 13px;
		line-height: 20px;
	}

	.legend_icon.icon_performance,
	.legend_icon.icon_fireworks {
		width: 8px;
		height: 8px;
	}

	.legend_icon.icon_noservice {
		width: 14px;
		height: 14px;
	}
}

