.bf-booking-widget-card,
.bf-cf-booking-step {
	margin-top: 22px;
	padding: 22px;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.bf-booking-title {
	margin: 0 0 8px;
	font-size: 1.25rem;
	line-height: 1.35;
	font-weight: 600;
	color: #0f172a;
}

.bf-booking-copy {
	margin: 0 0 18px;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #475569;
}

.bf-booking-staff-title {
	margin: 0;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 700;
	color: #64748b;
}

.bf-booking-staff-subtitle {
	margin: 8px 0 14px;
	font-size: 0.9rem;
	line-height: 1.45;
	color: #475569;
}

.bf-booking-staff-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.bf-booking-staff-card {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 12px;
	border: 1px solid #d7dfeb;
	border-radius: 12px;
	background: #ffffff;
	cursor: pointer;
	text-align: left;
	transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.bf-booking-staff-card:hover:not(:disabled) {
	border-color: #c7d2fe;
	background: #f8fafc;
}

.bf-booking-staff-card.is-selected {
	border-color: #635bff;
	background: #f5f4ff;
	box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.12);
}

.bf-booking-staff-card:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.bf-booking-staff-avatar {
	width: 36px;
	height: 36px;
	border-radius: 999px;
	color: #ffffff;
	font-size: 0.88rem;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.bf-booking-staff-copy {
	display: flex;
	flex-direction: column;
	min-width: 0;
	gap: 2px;
	flex: 1;
}

.bf-booking-staff-name {
	font-size: 0.9rem;
	line-height: 1.3;
	font-weight: 600;
	color: #0f172a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bf-booking-staff-sub {
	font-size: 0.78rem;
	line-height: 1.3;
	color: #64748b;
}

.bf-booking-staff-pill {
	font-size: 0.72rem;
	font-weight: 600;
	color: #15803d;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
	align-self: flex-start;
}

.bf-booking-staff-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #22c55e;
}

.bf-booking-contact-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.bf-booking-label {
	font-size: 0.85rem;
	font-weight: 600;
	color: #334155;
	display: block;
}

.bf-booking-input {
	width: 100%;
	margin-top: 6px;
	padding: 12px 13px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	font-size: 0.95rem;
	line-height: 1.4;
	color: #0f172a;
	background: #ffffff;
	box-sizing: border-box;
	transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.bf-booking-input:focus {
	outline: none;
	border-color: #635bff;
	box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.12);
}

.bf-booking-service-chip {
	grid-column: 1 / -1;
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid #dbe4ee;
	background: #f8fafc;
	color: #334155;
	font-size: 0.9rem;
	font-weight: 600;
}

.bf-booking-primary-btn {
	grid-column: 1 / -1;
	padding: 12px 16px;
	border: 0;
	border-radius: 10px;
	background: #635bff;
	color: #ffffff;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.16s ease;
}

.bf-booking-primary-btn:hover {
	background: #4f47e0;
}

.bf-booking-primary-btn:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.bf-booking-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}

.bf-booking-tz-hint {
	font-size: 0.78rem;
	color: #64748b;
	display: none;
	line-height: 1.3;
	text-align: right;
}

.bf-booking-back {
	border: 1px solid #d1d9e0;
	background: #ffffff;
	color: #334155;
	padding: 8px 12px;
	border-radius: 8px;
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.16s ease, background-color 0.16s ease;
}

.bf-booking-back:hover {
	border-color: #635bff;
	background: #f8f8ff;
}

.bf-booking-calendar-label {
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 700;
	color: #64748b;
	margin-bottom: 14px;
}

.bf-booking-picker {
	display: grid;
	grid-template-columns: 210px 1fr;
	gap: 18px;
	align-items: start;
}

.bf-booking-day-col {
	min-width: 0;
}

.bf-booking-day-strip {
	display: flex;
	flex-direction: column;
	gap: 6px;
	max-height: 420px;
	overflow-y: auto;
	padding-right: 4px;
}

.bf-booking-day-strip::-webkit-scrollbar {
	width: 6px;
}
.bf-booking-day-strip::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 4px;
}

.bf-booking-day-btn {
	display: grid;
	grid-template-columns: 1fr auto auto auto;
	align-items: center;
	gap: 8px;
	width: 100%;
	border: 1px solid #e2e8f0;
	background: #ffffff;
	color: #1e293b;
	padding: 10px 12px;
	border-radius: 10px;
	font: inherit;
	text-align: left;
	line-height: 1.2;
	cursor: pointer;
	transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.bf-booking-day-btn:hover:not(:disabled) {
	border-color: #c7d2fe;
	background: #f8fafc;
}

.bf-booking-day-btn.is-active {
	border-color: #635bff;
	background: #f5f4ff;
	color: #312e81;
	box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.12);
}

.bf-booking-day-btn.is-empty {
	color: #94a3b8;
	background: #f8fafc;
}

.bf-booking-day-btn:disabled {
	cursor: not-allowed;
}

.bf-booking-day-weekday {
	font-size: 0.82rem;
	font-weight: 600;
	color: inherit;
	text-transform: capitalize;
}

.bf-booking-day-number {
	font-size: 1.05rem;
	font-weight: 700;
	color: inherit;
}

.bf-booking-day-month {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #94a3b8;
}

.bf-booking-day-btn.is-active .bf-booking-day-month {
	color: #6366f1;
}

.bf-booking-day-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #cbd5e1;
}

.bf-booking-day-dot.has-slots {
	background: #22c55e;
}

.bf-booking-day-dot.no-slots {
	background: transparent;
}

.bf-booking-slot-col {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.bf-booking-slot-header {
	font-size: 0.98rem;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.3;
}

.bf-booking-slot-header:empty {
	display: none;
}

.bf-booking-slot-grid {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.bf-booking-slot-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.bf-booking-slot-group-label {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #94a3b8;
}

.bf-booking-slot-group-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	gap: 8px;
}

.bf-booking-slot-btn {
	border: 1px solid #d7dfeb;
	background: #ffffff;
	color: #0f172a;
	padding: 11px 10px;
	border-radius: 10px;
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.08s ease;
}

.bf-booking-slot-btn:hover:not(:disabled) {
	border-color: #635bff;
	background: #f5f4ff;
	color: #312e81;
}

.bf-booking-slot-btn:active:not(:disabled) {
	transform: translateY(1px);
}

.bf-booking-slot-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.bf-booking-next-link {
	display: inline-block;
	margin-left: 6px;
	border: 0;
	background: none;
	padding: 0;
	color: #635bff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.bf-booking-next-link:hover {
	text-decoration: underline;
}

.bf-booking-inline-error {
	grid-column: 1 / -1;
	margin-top: 8px;
	padding: 10px 11px;
	border-radius: 9px;
	background: #fef2f2;
	color: #b91c1c;
	font-size: 0.84rem;
	line-height: 1.4;
}

.bf-booking-empty {
	padding: 12px;
	border: 1px dashed #d1d9e0;
	border-radius: 10px;
	color: #475569;
	font-size: 0.88rem;
	background: #f8fafc;
}

.bf-booking-confirm-card {
	padding: 14px;
	border-radius: 12px;
	border: 1px solid #bbf7d0;
	background: #ecfdf3;
}

.bf-booking-confirm-message {
	font-size: 0.95rem;
	line-height: 1.5;
	color: #166534;
	margin-bottom: 8px;
}

.bf-booking-ics-link {
	display: inline-flex;
	align-items: center;
	color: #1d4ed8;
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
}

.bf-booking-ics-link:hover {
	text-decoration: underline;
}

@media (max-width: 720px) {
	.bf-booking-contact-form {
		grid-template-columns: 1fr;
	}

	.bf-booking-widget-card,
	.bf-cf-booking-step {
		padding: 18px;
	}

	.bf-booking-picker {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.bf-booking-day-strip {
		flex-direction: row;
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		max-height: none;
		padding-bottom: 4px;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}

	.bf-booking-day-btn {
		flex: 0 0 86px;
		scroll-snap-align: start;
		grid-template-columns: 1fr;
		text-align: center;
		justify-items: center;
		gap: 2px;
		padding: 10px 8px;
	}

	.bf-booking-day-btn .bf-booking-day-month {
		order: 1;
	}
	.bf-booking-day-btn .bf-booking-day-weekday {
		order: 2;
	}
	.bf-booking-day-btn .bf-booking-day-number {
		order: 3;
		font-size: 1.2rem;
	}
	.bf-booking-day-btn .bf-booking-day-dot {
		order: 4;
		margin-top: 4px;
	}

	.bf-booking-tz-hint {
		text-align: left;
	}
}

@media (max-width: 480px) {
	.bf-booking-staff-grid {
		grid-template-columns: 1fr;
	}
}
