.y4m-podcast-calendar-wrap {
	margin: 20px 0;
}

#y4m-pc-frontend-calendar {
	background: #fff;
	border: 1px solid #dcdcde;
	padding: 12px;
	border-radius: 6px;
	min-height: 500px;
	height: 800px;
}

#y4m-pc-frontend-calendar .fc-timegrid-slot {
	height: 20px;
}

#y4m-pc-frontend-calendar .fc-toolbar-title {
	font-size: 18px;
	font-weight: 600;
}

#y4m-pc-frontend-calendar .fc-event {
	cursor: pointer;
}

.y4m-pc-legend {
	display: flex;
	gap: 16px;
	margin-top: 14px;
	flex-wrap: wrap;
}

.y4m-pc-legend__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
}

.y4m-pc-legend__item::before {
	content: '';
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 3px;
}

.y4m-pc-legend__item--free::before {
	background: #34a853;
}

.y4m-pc-legend__item--booked::before {
	background: #9aa0a6;
}

.y4m-podcast-calendar-notice {
	padding: 12px 14px;
	border: 1px solid #dcdcde;
	background: #fff;
	border-radius: 6px;
}


.y4m-pc-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
}

.y4m-pc-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.y4m-pc-modal__dialog {
	position: relative;
	width: min(760px, calc(100vw - 40px));
	margin: 60px auto;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	overflow: hidden;
}

.y4m-pc-modal__header,
.y4m-pc-modal__footer {
	padding: 16px 20px;
	border-bottom: 1px solid #e0e0e0;
}

.y4m-pc-modal__footer {
	border-bottom: 0;
	border-top: 1px solid #e0e0e0;
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	align-items: center;
}

.y4m-pc-modal__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.y4m-pc-modal__body {
	padding: 20px;
	max-height: calc(100vh - 180px);
	overflow: auto;
}

.y4m-pc-modal__close {
	font-size: 24px;
	text-decoration: none;
	line-height: 1;
}

body.y4m-pc-modal-open {
	overflow: hidden;
}