/* ── Timetable Scheduler – Frontend Styles ─────────────────────────── */

.ts-wrapper {
	max-width: 100%;
	margin: 0 0 2em;
}

/* ── Table ── */

.ts-table {
	width: 100%;
	border-collapse: collapse;
}

.ts-table thead tr {
	background-color: #001a52;
}

.ts-table thead th {
	color: #ffffff;
	font-weight: 700;
	font-size: 16px;
	padding: 16px 24px;
	text-align: left;
	letter-spacing: 0.02em;
}

.ts-table tbody tr {
	background-color: #ffffff;
	transition: background 0.15s;
}

.ts-table tbody tr.ts-alt {
	background-color: #e8f4fc;
}

.ts-table tbody tr:hover {
	background-color: #d0eaf8;
}

.ts-table tbody td {
	padding: 18px 24px;
	color: #001a52;
	border-bottom: 1px solid rgba(176, 213, 235, 0.35);
}

.ts-table tbody tr:last-child td {
	border-bottom: none;
}

/* Responsive */
@media (max-width: 600px) {
	.ts-table thead { display: none; }

	.ts-table tbody tr {
		display: block;
		margin-bottom: 0.75em;
	}

	.ts-table tbody td {
		display: flex;
		justify-content: space-between;
		padding: 12px 16px;
		border-bottom: 1px solid rgba(176,213,235,.4);
	}

	.ts-table tbody td::before {
		content: attr(data-label);
		font-weight: 700;
		color: #001a52;
		margin-right: 1em;
		flex-shrink: 0;
	}
}
