.shb-booking {
	--shb-ink: #17211b;
	--shb-muted: #607067;
	--shb-line: #dbe4dd;
	--shb-bg: #f7faf8;
	--shb-accent: #1f7a52;
	--shb-accent-dark: #145c3d;
	color: var(--shb-ink);
	background: #ffffff;
	border: 1px solid var(--shb-line);
	border-radius: 8px;
	padding: clamp(18px, 3vw, 30px);
	font-family: inherit;
}

.shb-booking * {
	box-sizing: border-box;
}

.shb-booking__header h2 {
	margin: 0 0 6px;
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.12;
}

.shb-booking__header p {
	margin: 0 0 20px;
	color: var(--shb-muted);
}

.shb-booking__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 14px;
}

.shb-icon-button,
.shb-modal button,
.shb-form__actions button,
.shb-slot {
	border: 1px solid var(--shb-line);
	border-radius: 6px;
	background: #ffffff;
	color: var(--shb-ink);
	cursor: pointer;
	font: inherit;
}

.shb-icon-button {
	width: 42px;
	height: 42px;
	font-size: 26px;
	line-height: 1;
}

.shb-booking__types {
	display: grid;
	gap: 6px;
	margin-bottom: 18px;
	max-width: 360px;
}

.shb-booking__types select,
.shb-modal input,
.shb-modal textarea {
	width: 100%;
	border: 1px solid var(--shb-line);
	border-radius: 6px;
	padding: 11px 12px;
	font: inherit;
	background: #ffffff;
}

.shb-calendar {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 10px;
}

.shb-day {
	min-height: 150px;
	background: var(--shb-bg);
	border: 1px solid var(--shb-line);
	border-radius: 8px;
	padding: 10px;
}

.shb-day h3 {
	margin: 0 0 8px;
	font-size: 14px;
	text-transform: capitalize;
}

.shb-day > div {
	display: grid;
	gap: 7px;
}

.shb-slot {
	min-height: 36px;
	font-size: 14px;
	font-weight: 700;
}

.shb-slot:hover,
.shb-slot:focus {
	background: var(--shb-accent);
	border-color: var(--shb-accent);
	color: #ffffff;
}

.shb-empty,
.shb-loading,
.shb-error {
	color: var(--shb-muted);
	font-size: 14px;
}

.shb-loading,
.shb-error {
	grid-column: 1 / -1;
	margin: 0;
}

.shb-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: grid;
	place-items: center;
	background: rgba(16, 28, 22, 0.52);
	padding: 18px;
}

.shb-modal[hidden] {
	display: none;
}

.shb-modal__panel {
	position: relative;
	width: min(100%, 520px);
	max-height: 92vh;
	overflow: auto;
	background: #ffffff;
	border-radius: 8px;
	padding: 24px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.shb-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 36px;
	height: 36px;
	font-size: 22px;
}

.shb-modal h3 {
	margin: 0 42px 6px 0;
	font-size: 24px;
}

.shb-modal form {
	display: grid;
	gap: 12px;
	margin-top: 18px;
}

.shb-modal label {
	display: grid;
	gap: 5px;
	font-size: 14px;
	font-weight: 700;
}

.shb-form__actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 4px;
}

.shb-form__actions button {
	padding: 10px 16px;
}

.shb-form__actions button[type="submit"] {
	background: var(--shb-accent);
	border-color: var(--shb-accent);
	color: #ffffff;
}

.shb-form__actions button[type="submit"]:hover {
	background: var(--shb-accent-dark);
}

.shb-form__status {
	margin: 0;
	color: var(--shb-muted);
}

@media (max-width: 900px) {
	.shb-calendar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.shb-calendar {
		grid-template-columns: 1fr;
	}

	.shb-booking__toolbar strong {
		text-align: center;
	}

	.shb-form__actions {
		flex-direction: column-reverse;
	}

	.shb-form__actions button {
		width: 100%;
	}
}
