/* ========== TIMELINE STYLES ========== */
.history-tl-container {
	width: 100%;
	margin: auto;
	display: block;
	position: relative;
}

.history-tl-container ul.tl {
	margin: 20px 0;
	padding: 0;
	display: inline-block;
}

.history-tl-container ul.tl li {
	list-style: none;
	margin: auto;
	margin-left: 200px;
	min-height: 30px;
	border-left: 2px solid #048CD6;
	padding: 0 0 30px 30px;
	position: relative;
}

.history-tl-container ul.tl li:last-child {
	border-left: 0;
}

.history-tl-container ul.tl li::before {
	position: absolute;
	left: -6px;
	top: -5px;
	content: " ";
	border: 5px solid #048CD6;
	border-radius: 500%;
	background: #048CD6;
	height: 10px;
	width: 10px;
}

ul.tl li .item-detail {
	color: rgba(0, 0, 0, 0.5);
}

ul.tl li .timestamp {
	color: rgba(0, 0, 0, 0.5);
	position: absolute;
	width: 100px;
	left: -50%;
	text-align: right;
}

/* ========== SEARCH SECTION ========== */
.search-section {
	background-color: #8EB4E3;
}

/* ========== PROFILE PHOTO ========== */
.profile-photo-container {
	display: flex;
	align-items: center;
	justify-content: center;
}

.profile-photo-wrapper {
	width: 140px;
	height: 140px;
	min-width: 140px;
	min-height: 140px;
	max-width: 140px;
	max-height: 140px;
	flex-shrink: 0;
}

.profile-photo-img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	object-position: center;
	border: 4px solid #f1f5f9;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ========== SCHEDULE CONTAINER ========== */
.schedule-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: left;
}

.schedule-day {
	width: 130px;
}

.schedule-time {
	color: #048CD6;
}

/* ========== DIVIDER LINE ========== */
.divider-line {
	border-style: solid;
	border-color: #2674BD;
	border-width: thin;
	margin-left: 3rem;
	margin-right: 3rem;
	padding-left: 3rem;
	padding-right: 3rem;
}

/* ========== DOCTOR CARD STYLES ========== */
.doctor-cards-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.doctor-card-small {
	width: 350px;
	border-radius: 10px;
	margin-right: 30px;
	margin-bottom: 30px;
}

.doctor-card-small-2 {
	width: 300px;
	border-radius: 10px;
	margin-right: 20px;
	margin-bottom: 30px;
}

.doctor-card-photo {
	max-width: 170px;
	border-radius: 100px;
}

.doctor-card-title {
	height: 60px;
}

.doctor-card-horizontal {
	width: 600px;
	border-radius: 10px;
	margin-right: 30px;
	margin-bottom: 40px;
}

.doctor-card-horizontal-photo {
	max-width: 150px;
	border-radius: 100px;
}

.doctor-card-horizontal-title {
	height: 50px;
}

.doctor-card-horizontal-col {
	width: 150px;
}

.hospital-title {
	font-size: 20pt;
}

.hospital-subtitle {
	font-size: 16pt;
	color: #048CD6;
}

/* ========== DOCTOR CARDS - LIHAT DOKTER LAINNYA ========== */

/* Doctor Card Container */
.doctor-card {
	border: 1px solid #e2e8f0 !important;
	border-radius: 12px !important;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.doctor-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Card Inner Content */
.doctor-card-content {
	padding: 2rem 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1;
}

/* Doctor Photo - Fixed Size & Contained */
.doctor-photo {
	width: 140px;
	height: 140px;
	min-width: 140px;
	min-height: 140px;
	max-width: 140px;
	max-height: 140px;
	object-fit: cover;
	object-position: center;
	border-radius: 50%;
	margin-bottom: 1.5rem;
	border: 4px solid #f1f5f9;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Doctor Name Container */
.doctor-name {
	min-height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin-bottom: 0.75rem;
}

/* Specialty & Location */
.doctor-specialty {
	font-weight: 600;
	color: #048CD6;
	margin-bottom: 0.25rem;
}

.doctor-location {
	color: #64748b;
	margin-bottom: 1.5rem;
}

/* Button Container */
.doctor-buttons {
	display: flex;
	gap: 0.5rem;
	width: 100%;
	margin-top: auto;
}

.doctor-buttons .btn {
	flex: 1;
	font-size: 13px;
	padding: 0.5rem 0.75rem;
	border-radius: 6px;
	transition: all 0.2s ease;
}

/* ========== TABLET & iPAD RESPONSIVE ========== */

/* iPad Pro & Larger Tablets (1024px - 1366px) */
@media (min-width: 1024px) and (max-width: 1366px) {
	.doctor-photo {
		width: 120px;
		height: 120px;
		min-width: 120px;
		min-height: 120px;
		max-width: 120px;
		max-height: 120px;
	}

	.doctor-card-content {
		padding: 1.5rem 1rem;
	}

	.doctor-name {
		min-height: 65px;
		font-size: 14px;
	}
}

/* Standard Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
	.col-sm-3 {
		flex: 0 0 50%;
		max-width: 50%;
	}

	.doctor-photo {
		width: 130px;
		height: 130px;
		min-width: 130px;
		min-height: 130px;
		max-width: 130px;
		max-height: 130px;
	}

	.doctor-card-content {
		padding: 1.75rem 1.25rem;
	}

	.doctor-name {
		min-height: 70px;
		font-size: 14px;
	}
}

/* Small Tablet & Large Phone (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
	.col-sm-3 {
		flex: 0 0 50%;
		max-width: 50%;
	}

	.doctor-photo {
		width: 110px;
		height: 110px;
		min-width: 110px;
		min-height: 110px;
		max-width: 110px;
		max-height: 110px;
	}

	.doctor-card-content {
		padding: 1.5rem 1rem;
	}

	.doctor-name {
		min-height: 75px;
		font-size: 13px;
	}

	.doctor-buttons .btn {
		font-size: 12px;
		padding: 0.45rem 0.5rem;
	}
}

/* Mobile (< 576px) */
@media (max-width: 575px) {
	.col-sm-3 {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.doctor-photo {
		width: 120px;
		height: 120px;
		min-width: 120px;
		min-height: 120px;
		max-width: 120px;
		max-height: 120px;
	}

	.doctor-card-content {
		padding: 2rem 1.5rem;
	}

	.doctor-name {
		min-height: 60px;
		font-size: 15px;
	}

	.doctor-buttons {
		flex-direction: row;
	}

	.doctor-buttons .btn {
		font-size: 13px;
	}
}
