.pmp-booking-widget {
	max-width: 900px;
	margin: 0 auto;
	font-family: inherit;
	color: #1f2937;
}

.pmp-step-title {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 700;
}

.pmp-step-subtitle {
	margin: 0 0 16px;
	color: #6b7280;
	font-size: 14px;
}

.pmp-back {
	background: none;
	border: none;
	color: #f97316;
	cursor: pointer;
	padding: 0 0 16px;
	font-size: 14px;
	font-weight: 600;
	display: inline-block;
}

/* ---------------- Step 1: doctor cards ---------------- */

.pmp-doctor-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 16px;
}

.pmp-doctor-card {
	border: 2px solid #e5e7eb;
	border-radius: 12px;
	padding: 16px;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.pmp-doctor-card:hover {
	border-color: #f97316;
	transform: translateY(-2px);
}

.pmp-doctor-card.selected {
	border-color: #f97316;
	background: #fff7ed;
}

.pmp-doctor-card img {
	width: 100%;
	height: 130px;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 10px;
}

.pmp-doctor-name {
	font-weight: 600;
}

.pmp-doctor-spec {
	font-size: 13px;
	color: #6b7280;
}

/* ---------------- Step 2: date & time layout ---------------- */

.pmp-datetime-header {
	margin-bottom: 4px;
}

.pmp-datetime-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: start;
}

@media (max-width: 680px) {
	.pmp-datetime-grid {
		grid-template-columns: 1fr;
	}
}

.pmp-calendar-panel,
.pmp-slots-panel {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 20px;
}

/* ---- Custom calendar ---- */

.pmp-calendar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.pmp-cal-month-label {
	font-weight: 700;
	font-size: 16px;
}

.pmp-cal-nav {
	background: none;
	border: none;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	color: #374151;
	padding: 4px 8px;
	border-radius: 6px;
}

.pmp-cal-nav:hover {
	background: #f3f4f6;
}

.pmp-calendar-weekdays {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	text-align: center;
	font-size: 12px;
	font-weight: 600;
	color: #6b7280;
	margin-bottom: 8px;
}

.pmp-calendar-days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
}

.pmp-cal-day {
	aspect-ratio: 1 / 1;
	border: none;
	background: none;
	border-radius: 50%;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	color: #1f2937;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.12s ease;
}

.pmp-cal-day:hover:not(:disabled) {
	background: #fff2e6;
}

.pmp-cal-day-muted {
	color: #d1d5db;
}

.pmp-cal-day-disabled {
	color: #e5e7eb;
	cursor: not-allowed;
}

.pmp-cal-day-today:not(.pmp-cal-day-selected) {
	border: 1px solid #f97316;
}

.pmp-cal-day-selected {
	background: #f97316 !important;
	color: #ffffff !important;
	font-weight: 700;
}

.pmp-tz-note {
	margin: 16px 0 0;
	font-size: 12px;
	color: #9ca3af;
}

/* ---- Slots panel ---- */

.pmp-slots-title {
	margin: 0 0 16px;
	font-size: 16px;
	font-weight: 700;
}

.pmp-slots-placeholder {
	color: #9ca3af;
	font-size: 14px;
	font-style: italic;
	margin: 0;
}

.pmp-slot-group {
	margin-bottom: 20px;
}

.pmp-slot-group:last-child {
	margin-bottom: 0;
}

.pmp-slot-group-heading {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: #6b7280;
	margin-bottom: 10px;
}

.pmp-slot-group-heading svg {
	color: #f97316;
	flex-shrink: 0;
}

.pmp-slot-group-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

@media (max-width: 420px) {
	.pmp-slot-group-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.pmp-slot-btn {
	padding: 10px 6px;
	border: 1.5px solid #e5e7eb;
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	font-weight: 600;
	font-size: 13px;
	text-align: center;
	color: #374151;
	transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.pmp-slot-btn:hover {
	border-color: #f97316;
}

.pmp-slot-btn.selected {
	background: #fff7ed;
	border-color: #f97316;
	color: #ea580c;
}

.pmp-continue-btn {
	margin-top: 24px;
	background: #f97316;
	color: #fff;
	border: none;
	padding: 13px 30px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	display: block;
	width: 100%;
}

.pmp-continue-btn:disabled {
	background: #fcd9b6;
	cursor: not-allowed;
}

/* ---------------- Step 3: patient form ---------------- */

.pmp-booking-form label {
	display: block;
	margin-bottom: 14px;
	font-weight: 600;
	font-size: 14px;
}

.pmp-booking-form input[type="text"],
.pmp-booking-form input[type="email"],
.pmp-booking-form input[type="tel"],
.pmp-booking-form input[type="file"],
.pmp-booking-form textarea {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 10px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-weight: 400;
	box-sizing: border-box;
}

.pmp-booking-form input:focus,
.pmp-booking-form textarea:focus {
	outline: none;
	border-color: #f97316;
}

.pmp-summary {
	background: #fff7ed;
	border-radius: 10px;
	padding: 12px 16px;
	margin-bottom: 18px;
	font-size: 14px;
}

.pmp-submit-btn {
	background: #f97316;
	color: #fff;
	border: none;
	padding: 12px 26px;
	border-radius: 10px;
	font-weight: 700;
	cursor: pointer;
	font-size: 15px;
}

.pmp-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.pmp-form-message {
	margin-top: 14px;
	font-weight: 600;
}

.pmp-form-message.error {
	color: #dc2626;
}

.pmp-form-message.success {
	color: #16a34a;
}

/* ---------------- Step 4: success ---------------- */

.pmp-success-message {
	text-align: center;
	padding: 40px 20px;
}
