/**
 * [2026-12-01 신규] 의료진 소개 — 날짜별 휴진·진료 변경 (src/lib/legacy/doctors-apply.ts exceptionsHtml)
 * 바로 아래 '전체 의료진 시간표'(style.css .table_01)와 같은 선·색·글자 크기
 */
.doctor_exceptions {
	margin-bottom: 120px;
}

.doctor_exceptions_table {
	width: 100%;
	border: 1px solid #c9c9c9;
	border-collapse: collapse;
	text-align: center;
	word-break: keep-all;
}

.doctor_exceptions_table caption {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.doctor_exceptions_table thead th {
	height: 3.1818181818em;
	border: 1px solid #c9c9c9;
	background-color: #edf2f9;
	font-size: min(22px, 3.4375vw);
	font-weight: 500;
}

.doctor_exceptions_table td {
	height: 3.6em;
	padding: 0.4em 0.6em;
	border: 1px solid #c9c9c9;
	font-size: min(20px, 3.4375vw);
	line-height: 1.4;
}

.doctor_exceptions_table td.date {
	width: 30%;
	font-weight: 500;
}

.doctor_exceptions_table td.doctor {
	width: 20%;
}

.doctor_exceptions_table td.doctor small {
	color: #007cfa;
	font-size: 0.85em;
}

.doctor_exceptions_table td.kind {
	width: 14%;
}

.doctor_exceptions_table td.kind span {
	display: inline-block;
	padding: 0.15em 0.7em;
	border-radius: 1em;
	background: #e5e9f3;
	color: #1c2959;
	font-size: 0.85em;
	font-weight: 600;
}

/* 휴진은 시간표의 '휴진'과 같은 색 */
.doctor_exceptions_table tr.kind-off td.kind span {
	background: #fbe9e3;
	color: #bb390c;
}

.doctor_exceptions_table tr.kind-extra td.kind span {
	background: #e4f4e7;
	color: #2a7a3b;
}

.doctor_exceptions_table tr.empty td {
	height: 5em;
	color: #777;
}

/* 휴대폰: 한 건을 카드처럼 (날짜·의료진 한 줄, 구분·내용 한 줄) */
@media screen and (max-width: 768px) {
	.doctor_exceptions {
		margin-bottom: 15vw;
	}

	.doctor_exceptions_table thead {
		display: none;
	}

	.doctor_exceptions_table,
	.doctor_exceptions_table tbody,
	.doctor_exceptions_table tr {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}

	.doctor_exceptions_table {
		border: 0;
		border-top: 2px solid #1c2959;
	}

	.doctor_exceptions_table tr {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 1.6vw 2.4vw;
		padding: 3.2vw 2vw;
		border-bottom: 1px solid #c9c9c9;
		text-align: left;
	}

	.doctor_exceptions_table td {
		width: auto !important;
		height: auto;
		padding: 0;
		border: 0;
		font-size: 3.6vw;
	}

	.doctor_exceptions_table td.detail {
		flex-basis: 100%;
		color: #555;
	}

	.doctor_exceptions_table tr.empty {
		justify-content: center;
	}

	.doctor_exceptions_table tr.empty td {
		height: auto;
		padding: 4vw 0;
	}
}
