body.modal-open {
    overflow: hidden;
	height: 100%;
	touch-action: none;
}
body {
    margin: 0;
	padding: 20px;
	font-family: Arial, sans-serif;
}
#calendar {
	max-width: 1200px;
	margin: 0 auto;
}
#modalOverlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.45);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease;
	z-index: 9998;
}
#modalOverlay.show {
	opacity: 1;
	visibility: visible;
}
#eventModal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) translateY(-10px);
	width: min(900px, calc(100% - 40px));
	max-height: 90vh;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-shadow: 0 5px 20px rgba(0,0,0,0.3);
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	transition: opacity 0.25s ease, transform 0.25s ease;
}
#eventModal.show {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, -50%) translateY(0);
}
.modalCloseX {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 34px;
	height: 34px;
	border: none;
	border-radius: 50%;
	background: rgba(0,0,0,0.05);
	font-size: 22px;
	line-height: 34px;
	text-align: center;
	cursor: pointer;
	color: #333;
	z-index: 2;
}
.modalCloseX:hover {
	background: rgba(0,0,0,0.12);
}
#eventModalBody h3 {
	margin-top: 0;
	border-bottom: 1px solid #f4f3ef;
	padding: 15px;
}
#eventModalBody p {
	padding-left: 20px;
	padding-right: 20px;
}
#eventModalBody p strong {
	color: #000;
}
.fc .fc-daygrid-day-number,
.fc .fc-col-header-cell-cushion,
.fc-list-day-text,
.fc-list-day-side-text {
	cursor: default;
	color: #000;
}
.fc .fc-daygrid-day-number:hover,
.fc .fc-col-header-cell-cushion:hover,
.fc-list-day-text:hover,
.fc-list-day-side-text:hover {
	text-decoration: none;
	color: initial;
}
.fc-event {
	cursor: pointer;
}
.fc-daygrid-event-dot {
	display: none;
}
.fc-event-title {
	white-space: nowrap;
	text-overflow: ellipsis;
}
@media (max-width: 767px) {
	body {
	  padding: 10px;
	}
	.fc-toolbar {
	  flex-direction: column;
	  gap: 10px;
	}
	.fc-toolbar-chunk {
	  display: flex;
	  justify-content: center;
	}
	#eventModal {
	  width: calc(100% - 20px);
	  max-height: 96vh;
	}
}
@media (min-width: 768px) {
	#eventModal {
		width: 600px;
		margin: 30px auto;
	}
}
@media (min-width: 992px) {
	#eventModal {
		width: 900px;
	}
}