/* ===== RS Love 前台門診表 v1.2.0 — 月曆版面 ===== */

.rs-love-wrapper {
	width: 100%;
	max-width: 1280px;
	margin: 1em auto;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.rs-love-table {
	width: 100%;
	min-width: 800px;
	border-collapse: collapse;
	background: #fff;
	font-size: 18px;
	line-height: 1.6;
	table-layout: fixed;
	font-family: "Noto Sans TC", sans-serif;
	letter-spacing: 1.8px;
	border-radius: 16px;
	outline: 1px solid #D9D9D9;
	overflow: hidden;
}

.rs-love-table th,
.rs-love-table td {
	text-align: center;
	vertical-align: middle;
	padding: 20px 10px;
	border: none;
}

/* ===== 表頭列(一~日)===== */
.rs-love-headrow th {
	background: #5BADE1;
	color: #fff;
	font-family: "Noto Sans TC", sans-serif;
	font-weight: 400;
	font-size: 23px;
	line-height: 1.6;
	letter-spacing: 2.3px;
	padding: 20px 10px;
}

/* 左上角空白格 */
.rs-love-headrow .rs-love-corner {
	background: #5BADE1;
	width: 229px;
	min-width: 180px;
}

/* ===== 日期列 ===== */
.rs-love-daterow {
	background: #E5F4FF;
}

.rs-love-daterow td {
	border-bottom: 1px solid #D9D9D9;
}

.rs-love-datecell {
	height: 100px;
	color: #555555;
	font-family: "Poppins", sans-serif;
	font-weight: 500;
	font-size: 23px;
	line-height: 1.6;
	letter-spacing: 2.3px;
}

/* 日期列左欄(空) */
.rs-love-datecell-empty {
	width: 229px;
	min-width: 180px;
}

/* 非當月日期反灰 */
.rs-love-datecell-out {
	color: #B3B3B3;
}

/* 非當月的時段格(空白) */
.rs-love-cell-out {
	background: #E5F4FF;
}

/* ===== 時段列(早診/午診/晚診)===== */
.rs-love-row td {
	height: 100px;
	padding: 20px 10px;
	border-bottom: 1px solid #D9D9D9;
}

/* 最後一列(整張表最後的晚診)不加底線 */
.rs-love-row-last td {
	border-bottom: none;
}

/* 時段名稱(左欄) */
.rs-love-session {
	text-align: center !important;
	width: 229px;
	min-width: 180px;
	color: #5BADE1;
	font-family: "Noto Sans TC", sans-serif;
	font-weight: 500;
	font-size: 23px;
	line-height: 1.6;
	letter-spacing: 2.3px;
}

/* ===== cell 文字 ===== */
.rs-love-cell {
	color: #555555;
	font-family: "Noto Sans TC", sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 1.6;
	letter-spacing: 1.8px;
}

/* 休診 */
.rs-love-cell-closed {
	color: #5BADE1;
}

/* ===== 醫師容器(支援雙醫師) ===== */
.rs-love-doctors {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 60px;
}

.rs-love-cell-single .rs-love-doctors {
	justify-content: center;
}

.rs-love-cell-double .rs-love-doctors {
	gap: 6px;
}

.rs-love-doctor {
	color: #555555;
	display: block;
}

/* ===== RWD ===== */
@media (max-width: 1024px) {
	.rs-love-table {
		font-size: 16px;
	}
	.rs-love-table .rs-love-row td {
		height: 80px;
		padding: 15px 8px;
	}
	.rs-love-headrow th {
		font-size: 20px;
	}
	.rs-love-cell {
		font-size: 16px;
	}
	.rs-love-session {
		font-size: 20px;
	}
	.rs-love-datecell {
		font-size: 20px;
	}
}

@media (max-width: 768px) {
	.rs-love-table {
		font-size: 14px;
	}
	.rs-love-table th,
	.rs-love-table td {
		padding: 10px 6px;
	}
	.rs-love-headrow th {
		font-size: 18px;
		padding: 15px 6px;
	}
	.rs-love-table .rs-love-row td {
		height: 70px;
		padding: 12px 6px;
	}
	.rs-love-cell {
		font-size: 14px;
	}
	.rs-love-session {
		font-size: 18px;
		min-width: 140px;
		width: 160px;
	}
	.rs-love-datecell {
		font-size: 18px;
	}
	.rs-love-datecell-empty {
		min-width: 140px;
		width: 160px;
	}
}

@media (max-width: 499px) {
	.rs-love-table {
		font-size: 14px;
	}
	.rs-love-table th,
	.rs-love-table td {
		padding: 8px 4px;
	}
	.rs-love-session {
		min-width: 120px;
		width: 130px;
		font-size: 16px;
	}
	.rs-love-datecell {
		font-size: 16px;
	}
	.rs-love-datecell-empty {
		min-width: 120px;
		width: 130px;
	}
}
