@charset "utf-8";

/* 생활관일정 */
.dorm-schedule,
.dorm-schedule * {
	box-sizing: border-box;
}

.dorm-schedule .schedule-container {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(290px, .85fr);
	gap: 24px;
	width: 100%;
	margin: 0;
	padding: 0;
	align-items: stretch;
}

.dorm-schedule .calendar-section,
.dorm-schedule .schedule-section {
	min-width: 0;
}

.dorm-schedule .calendar-section {
	display: flex;
	flex-direction: column;
}

.dorm-schedule .schedule-calendar-note {
	position: relative;
	margin-top: 12px;
	padding-left: 12px;
	color: #777;
	font-size: 13px;
	line-height: 1.6;
}

.dorm-schedule .schedule-calendar-note::before {
	position: absolute;
	top: .75em;
	left: 0;
	width: 3px;
	height: 3px;
	background: #045981;
	content: "";
}

/* FullCalendar */
.dorm-schedule .fc {
	width: 100%;
	max-width: 100%;
	border: 1px solid #d9d9d9;
	border-top: 2px solid #434a5d;
	background: #fff;
}

.dorm-schedule .fc .fc-toolbar.fc-header-toolbar {
	min-height: 72px;
	margin: 0;
	padding: 14px 16px;
	border-bottom: 1px solid #d9d9d9;
	background: #fff;
}

.dorm-schedule .fc .fc-toolbar-title {
	color: #222;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -.04em;
}

.dorm-schedule .fc .fc-button {
	min-width: 38px;
	min-height: 38px;
	padding: 8px 12px;
	border-radius: 2px;
	box-shadow: none !important;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-transform: none;
}

.dorm-schedule .fc .fc-button-primary {
	border-color: #34485f;
	background: #34485f;
	color: #fff;
}

.dorm-schedule .fc .fc-button-primary:hover,
.dorm-schedule .fc .fc-button-primary:focus,
.dorm-schedule .fc .fc-button-primary:not(:disabled):active,
.dorm-schedule .fc .fc-button-primary:not(:disabled).fc-button-active {
	border-color: #045981;
	background: #045981;
	color: #fff;
}

.dorm-schedule .fc .fc-today-button {
	margin-left: 8px;
	border-color: #aeb5bd;
	background: #fff;
	color: #34485f;
}

.dorm-schedule .fc .fc-today-button:hover,
.dorm-schedule .fc .fc-today-button:focus {
	border-color: #34485f;
	background: #f3f5f7;
	color: #26384d;
}

.dorm-schedule .fc .fc-today-button:disabled {
	border-color: #d5d9dd;
	background: #f6f6f6;
	color: #999;
	opacity: 1;
}

.dorm-schedule .fc-theme-standard .fc-scrollgrid {
	border: 0;
}

.dorm-schedule .fc-theme-standard th,
.dorm-schedule .fc-theme-standard td {
	border-color: #e0e0e0;
}

.dorm-schedule .fc .fc-col-header-cell {
	background: #f7f7f7;
}

.dorm-schedule .fc .fc-col-header-cell-cushion {
	display: block;
	padding: 11px 4px;
	color: #333;
	font-size: 14px;
	font-weight: 600;
}

.dorm-schedule .fc .fc-day-sun .fc-col-header-cell-cushion,
.dorm-schedule .fc .fc-day-sun .fc-daygrid-day-number {
	color: #c94646;
}

.dorm-schedule .fc .fc-day-sat .fc-col-header-cell-cushion,
.dorm-schedule .fc .fc-day-sat .fc-daygrid-day-number {
	color: #315f9e;
}

.dorm-schedule .fc .fc-daygrid-day-frame {
	min-height: 82px;
}

.dorm-schedule .fc .fc-daygrid-day-top {
	flex-direction: row;
	justify-content: flex-end;
}

.dorm-schedule .fc .fc-daygrid-day-number {
	padding: 8px;
	color: #333;
	font-size: 13px;
	font-weight: 500;
}

.dorm-schedule .fc .fc-day-other {
	background: #fbfbfb;
}

.dorm-schedule .fc .fc-day-other .fc-daygrid-day-number {
	color: #b7bdc3;
	opacity: 1;
}

.dorm-schedule .fc .fc-day-today {
	background: #f1f7fa !important;
}

.dorm-schedule .fc .fc-day-today .fc-daygrid-day-number {
	display: inline-flex;
	width: 40px;
	height: 25px;
	margin: 4px;
	padding: 0;
	align-items: center;
	justify-content: center;
	border-radius: 5px;
	background: #045981;
	color: #fff;
	font-weight: 700;
}

.dorm-schedule .fc .fc-daygrid-event {
	margin: 1px 3px;
	padding: 3px 5px;
	border-radius: 2px;
	font-size: 11px;
	line-height: 1.35;
}

.dorm-schedule .fc .fc-event-title {
	font-weight: 600;
}

.dorm-schedule .fc .fc-more-link {
	padding: 2px 5px;
	color: #045981;
	font-size: 11px;
	font-weight: 700;
}

.dorm-schedule .calendar-load-error {
	display: flex;
	min-height: 420px;
	padding: 30px;
	align-items: center;
	justify-content: center;
	border: 1px solid #d9d9d9;
	border-top: 2px solid #434a5d;
	background: #fafafa;
	color: #666;
	text-align: center;
	line-height: 1.7;
}

/* 월별 일정 목록 */
.dorm-schedule .schedule-list {
	display: flex;
	height: 100%;
	min-height: 520px;
	max-height: 650px;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #d9d9d9;
	border-top: 2px solid #434a5d;
	background: #fff;
}

.dorm-schedule .schedule-list__header {
	position: relative;
	min-height: 94px;
	padding: 18px 70px 16px 20px;
	border-bottom: 1px solid #d9d9d9;
	background: #f7f7f7;
}

.dorm-schedule .schedule-list__eyebrow {
	display: block;
	margin-bottom: 4px;
	color: #7a8490;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
}

.dorm-schedule .current-month-title {
	margin: 0;
	color: #222;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -.03em;
}

.dorm-schedule .schedule-count {
	position: absolute;
	top: 50%;
	right: 18px;
	min-width: 38px;
	padding: 5px 8px;
	transform: translateY(-50%);
	border: 1px solid #cfd4d9;
	background: #fff;
	color: #4e5966;
	font-size: 12px;
	font-weight: 600;
	text-align: center;
}

.dorm-schedule .schedule-content {
	min-height: 0;
	padding: 0 20px;
	flex: 1;
	overflow-y: auto;
	scrollbar-color: #aeb6bd #f2f3f4;
	scrollbar-width: thin;
}

.dorm-schedule .schedule-item {
	position: relative;
	margin: 0;
	padding: 20px 0 20px 16px;
	border-bottom: 1px solid #e4e4e4;
	background: #fff;
}

.dorm-schedule .schedule-item::before {
	position: absolute;
	top: 24px;
	bottom: 24px;
	left: 0;
	width: 3px;
	background: var(--schedule-color, #045981);
	content: "";
}

.dorm-schedule .schedule-item:last-child {
	border-bottom: 0;
}

.dorm-schedule .schedule-item__date {
	display: block;
	margin-bottom: 7px;
	color: #045981;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.45;
}

.dorm-schedule .schedule-item h3 {
	margin: 0;
	color: #222;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	word-break: keep-all;
}

.dorm-schedule .schedule-item__description {
	margin: 8px 0 0;
	color: #666;
	font-size: 13px;
	line-height: 1.65;
	white-space: pre-line;
	word-break: break-word;
}

.dorm-schedule .no-schedule {
	display: flex;
	min-height: 320px;
	padding: 40px 20px;
	flex: 1;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	color: #888;
	text-align: center;
}

.dorm-schedule .no-schedule__icon {
	position: relative;
	display: block;
	width: 46px;
	height: 46px;
	margin-bottom: 16px;
	border: 2px solid #c9ced3;
	border-radius: 50%;
}

.dorm-schedule .no-schedule__icon::before,
.dorm-schedule .no-schedule__icon::after {
	position: absolute;
	top: 50%;
	left: 50%;
	background: #aab1b8;
	content: "";
	transform-origin: left center;
}

.dorm-schedule .no-schedule__icon::before {
	width: 10px;
	height: 2px;
	transform: translate(-1px, -1px) rotate(-90deg);
}

.dorm-schedule .no-schedule__icon::after {
	width: 8px;
	height: 2px;
	transform: translate(-1px, -1px) rotate(25deg);
}

.dorm-schedule .no-schedule strong {
	display: block;
	margin-bottom: 6px;
	color: #555;
	font-size: 15px;
	font-weight: 600;
}

.dorm-schedule .no-schedule span:last-child {
	font-size: 12px;
	line-height: 1.6;
}

@media screen and (max-width: 1024px) {
	.dorm-schedule .schedule-container {
		grid-template-columns: minmax(0, 1fr);
	}

	.dorm-schedule .schedule-list {
		height: auto;
		min-height: 360px;
		max-height: none;
	}

	.dorm-schedule .schedule-content {
		max-height: 520px;
	}
}

@media screen and (max-width: 639px) {
	.dorm-schedule .schedule-container {
		gap: 20px;
	}

	.dorm-schedule .fc .fc-toolbar.fc-header-toolbar {
		display: grid;
		min-height: 0;
		grid-template-columns: auto 1fr;
		gap: 10px;
		padding: 13px 10px;
	}

	.dorm-schedule .fc .fc-toolbar-chunk:nth-child(1) {
		grid-column: 1 / -1;
		grid-row: 2;
		text-align: center;
	}

	.dorm-schedule .fc .fc-toolbar-chunk:nth-child(2) {
		grid-column: 1 / -1;
		grid-row: 1;
		text-align: center;
	}

	.dorm-schedule .fc .fc-toolbar-chunk:nth-child(3) {
		display: none;
	}

	.dorm-schedule .fc .fc-toolbar-title {
		font-size: 21px;
	}

	.dorm-schedule .fc .fc-button {
		min-width: 36px;
		min-height: 36px;
		padding: 7px 10px;
	}

	.dorm-schedule .fc .fc-daygrid-day-frame {
		min-height: 62px;
	}

	.dorm-schedule .fc .fc-col-header-cell-cushion {
		padding: 9px 2px;
		font-size: 12px;
	}

	.dorm-schedule .fc .fc-daygrid-day-number {
		padding: 6px 4px;
		font-size: 11px;
	}

	.dorm-schedule .fc .fc-day-today .fc-daygrid-day-number {
		width: 24px;
		height: 24px;
		margin: 2px;
	}

	.dorm-schedule .fc .fc-daygrid-event {
		margin-right: 1px;
		margin-left: 1px;
		padding: 2px 3px;
		font-size: 10px;
	}

	.dorm-schedule .schedule-calendar-note {
		font-size: 12px;
	}

	.dorm-schedule .schedule-list__header {
		min-height: 86px;
		padding: 16px 62px 14px 16px;
	}

	.dorm-schedule .current-month-title {
		font-size: 20px;
	}

	.dorm-schedule .schedule-count {
		right: 14px;
	}

	.dorm-schedule .schedule-content {
		padding: 0 16px;
	}

	.dorm-schedule .schedule-item {
		padding: 18px 0 18px 14px;
	}
}

@media print {
	.dorm-schedule .schedule-container {
		display: block;
	}

	.dorm-schedule .schedule-section {
		margin-top: 24px;
	}

	.dorm-schedule .schedule-list,
	.dorm-schedule .schedule-content {
		height: auto;
		max-height: none;
		overflow: visible;
	}
}
