/* Hospital Management - Public Styles */

.hm-doctors-grid,
.hm-departments-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
	margin: 20px 0;
}

.hm-doctor-card,
.hm-department-card {
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	padding: 20px;
	text-align: center;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.hm-doctor-photo {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 12px;
	display: block;
}

.hm-doctor-photo-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f0f2f4;
	color: #8c8f94;
}

.hm-doctor-photo-placeholder .dashicons {
	font-size: 40px;
	width: 40px;
	height: 40px;
}

.hm-doctor-card h3,
.hm-department-card h3 {
	margin: 8px 0 4px;
	font-size: 18px;
}

.hm-doctor-specialization {
	color: #2271b1;
	font-weight: 600;
	margin: 0 0 4px;
}

.hm-doctor-department,
.hm-doctor-schedule {
	color: #646970;
	font-size: 14px;
	margin: 2px 0;
}

/* Appointment Form */
.hm-appointment-form-wrap {
	max-width: 600px;
	margin: 20px 0;
}

.hm-appointment-form {
	background: #fafafa;
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	padding: 24px;
}

.hm-form-row {
	margin-bottom: 16px;
	display: flex;
	flex-direction: column;
}

.hm-form-row label {
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 14px;
}

.hm-form-row input,
.hm-form-row select,
.hm-form-row textarea {
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 14px;
	width: 100%;
	box-sizing: border-box;
}

.hm-form-row-half {
	flex-direction: row;
	gap: 16px;
}

.hm-form-row-half > div {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.hm-form-row-half label {
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 14px;
}

.hm-submit-btn {
	background: #2271b1;
	color: #fff;
	border: none;
	padding: 12px 28px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.hm-submit-btn:hover {
	background: #135e96;
}

.hm-form-message {
	padding: 14px 18px;
	border-radius: 6px;
	margin-bottom: 16px;
	font-size: 14px;
}

.hm-form-message-success {
	background: #e6f6e9;
	color: #1e7b34;
	border: 1px solid #b8e6c1;
}

.hm-form-message-error {
	background: #fbe9e9;
	color: #b32d2e;
	border: 1px solid #f3c1c1;
}

@media (max-width: 480px) {
	.hm-form-row-half {
		flex-direction: column;
		gap: 0;
	}
}
