/* Doctors Timetable */

.ph-tt {
	--ph-tt-accent: #f77f00;
	--ph-tt-ink: #111d6a;
	--ph-tt-muted: #667085;
	--ph-tt-line: #e8eef5;
	--ph-tt-soft: #f9fbfd;
	padding: 64px 0 88px;
	background:
		var(--ph-surface-cool);
}

.ph-tt__head {
	max-width: 640px;
	margin: 0 auto 36px;
	text-align: center;
}

.ph-tt__eyebrow {
	margin: 0 0 10px;
	color: var(--ph-tt-accent);
	font-family: "Poppins", sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ph-tt__head h2 {
	margin: 0 0 12px;
	color: var(--ph-tt-ink);
	font-family: "Poppins", sans-serif;
	font-size: clamp(30px, 3.8vw, 42px);
	font-weight: 700;
	line-height: 1.2;
}

.ph-tt__lead {
	margin: 0;
	color: var(--ph-tt-muted);
	font-family: "Poppins", sans-serif;
	font-size: 15px;
	line-height: 1.7;
}

.ph-tt__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
}

.ph-tt__search {
	flex: 1 1 260px;
	min-height: 48px;
	padding: 12px 16px;
	border: 1px solid var(--ph-tt-line);
	border-radius: 999px;
	background: #fff;
	color: var(--ph-tt-ink);
	font-family: "Poppins", sans-serif;
	font-size: 14px;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ph-tt__search:focus {
	border-color: rgba(239, 142, 50, 0.55);
	box-shadow: 0 0 0 4px rgba(239, 142, 50, 0.12);
}

.ph-tt__count {
	margin: 0;
	color: var(--ph-tt-muted);
	font-family: "Poppins", sans-serif;
	font-size: 13px;
	font-weight: 500;
}

.ph-tt__table-wrap {
	overflow: auto;
	background: #fff;
	border: 1px solid var(--ph-tt-line);
	border-radius: 18px;
	box-shadow: 0 12px 32px rgba(17, 29, 106, 0.06);
}

.ph-tt__table {
	width: 100%;
	min-width: 920px;
	border-collapse: collapse;
	font-family: "Poppins", sans-serif;
	font-size: 14px;
}

.ph-tt__table thead th {
	position: sticky;
	top: 0;
	z-index: 1;
	padding: 14px 16px;
	background: #111d6a;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-align: left;
	text-transform: uppercase;
	white-space: nowrap;
}

.ph-tt__table tbody td {
	padding: 14px 16px;
	border-bottom: 1px solid var(--ph-tt-line);
	color: var(--ph-muted, #4a5568);
	vertical-align: middle;
}

.ph-tt__table tbody tr:last-child td {
	border-bottom: 0;
}

.ph-tt__table tbody tr:hover td {
	background: rgba(239, 142, 50, 0.05);
}

.ph-tt__table tbody td:first-child {
	color: var(--ph-tt-muted);
	font-weight: 600;
	white-space: nowrap;
}

.ph-tt__table strong {
	color: var(--ph-tt-ink);
	font-weight: 600;
}

.ph-tt__tag {
	display: inline-flex;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(239, 142, 50, 0.1);
	color: #e06a00;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
}

.ph-tt__book {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 78px;
	min-height: 36px;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--ph-tt-accent);
	color: #fff !important;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 0.2s ease, transform 0.2s ease;
}

.ph-tt__book:hover {
	background: #e06a00;
	transform: translateY(-1px);
}

.ph-tt__empty {
	margin: 24px 0 0;
	text-align: center;
	color: var(--ph-tt-muted);
	font-family: "Poppins", sans-serif;
}

@media (max-width: 820px) {
	.ph-tt {
		padding: 40px 0 56px;
	}

	.ph-tt__table {
		min-width: 0;
	}

	.ph-tt__table thead {
		display: none;
	}

	.ph-tt__table,
	.ph-tt__table tbody,
	.ph-tt__table tr,
	.ph-tt__table td {
		display: block;
		width: 100%;
	}

	.ph-tt__table tbody tr {
		padding: 14px 14px 4px;
		border-bottom: 1px solid var(--ph-tt-line);
	}

	.ph-tt__table tbody tr:last-child {
		border-bottom: 0;
	}

	.ph-tt__table tbody td {
		display: flex;
		justify-content: space-between;
		gap: 12px;
		padding: 8px 0;
		border-bottom: 0;
	}

	.ph-tt__table tbody td::before {
		content: attr(data-label);
		flex: 0 0 42%;
		color: var(--ph-tt-muted);
		font-size: 12px;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 0.03em;
	}

	.ph-tt__table tbody td:first-child {
		display: none;
	}
}
