.wcbr-wrapper {
	position: relative;
	margin-top: 1.75rem;
	max-width: 100%;
}

.wcbr-card {
	background: #ffffff;
	border-radius: 18px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
	padding: 1.75rem;
	width: 100%;
	max-width: 960px;
	box-sizing: border-box;
}

.wcbr-card-header {
	margin-bottom: 0.75rem;
}

.wcbr-card-header h3 {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 600;
	color: #111827;
}

.wcbr-helper {
	margin: 0.5rem 0 1.5rem;
	color: #4b5563;
	font-size: 1rem;
	line-height: 1.6;
}

.wcbr-duration {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0.5rem 0 1.2rem;
	flex-wrap: wrap;
}

.wcbr-duration__label {
	font-weight: 600;
	color: #1f2937;
}

.wcbr-duration__option {
	border: 1px solid rgba(84, 180, 53, 0.35);
	background: rgba(233, 247, 227, 0.8);
	border-radius: 999px;
	padding: 0.45rem 1rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: #2d6c1f;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.wcbr-duration__option:hover,
.wcbr-duration__option:focus {
	outline: none;
	background: rgba(84, 180, 53, 0.2);
	border-color: rgba(84, 180, 53, 0.55);
}

.wcbr-duration__option.is-active {
	background: rgba(84, 180, 53, 0.92);
	border-color: rgba(60, 138, 42, 0.9);
	color: #ffffff;
	box-shadow: 0 10px 24px rgba(60, 138, 42, 0.25);
}

.wcbr-schedule-placeholder {
	margin: 1rem 0 1.25rem;
	padding: 1.1rem 1.4rem;
	border-radius: 16px;
	border: 1px dashed rgba(84, 180, 53, 0.35);
	background: rgba(233, 247, 227, 0.85);
	display: flex;
	align-items: center;
	gap: 0.85rem;
	color: #2d6c1f;
	font-weight: 600;
	font-size: 0.95rem;
	width: 100%;
	box-sizing: border-box;
}

.wcbr-schedule-placeholder__spinner {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 2px solid rgba(84, 180, 53, 0.35);
	border-right-color: transparent;
	animation: wcbr-spin 0.8s linear infinite;
}

.wcbr-schedule-placeholder__text {
	flex: 1;
}

.wcbr-schedule-placeholder--hidden {
	display: none !important;
}

.wcbr-schedule {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.wcbr-schedule__controls {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.75rem;
}

.wcbr-schedule__current {
	font-weight: 600;
	font-size: 1.05rem;
	color: #1f2937;
	justify-self: center;
	text-align: center;
}

.wcbr-schedule__nav {
	border: none;
	background: rgba(84, 180, 53, 0.15);
	color: #2d6c1f;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 1.2rem;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.wcbr-schedule__nav:hover:not(:disabled) {
	background: rgba(84, 180, 53, 0.25);
	transform: translateY(-1px);
}

.wcbr-schedule__nav[data-direction='prev'] {
	justify-self: start;
}

.wcbr-schedule__nav[data-direction='next'] {
	justify-self: end;
}

.wcbr-schedule__nav:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.wcbr-schedule__days {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin: 0.5rem 0 0.75rem;
}

.wcbr-schedule__day {
	border: 1px solid rgba(84, 180, 53, 0.35);
	background: rgba(233, 247, 227, 0.8);
	border-radius: 999px;
	padding: 0.45rem 0.9rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: #2f6d21;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
	flex: 0 0 auto;
	white-space: nowrap;
}

.wcbr-schedule__day.is-selected {
	background: rgba(84, 180, 53, 0.92);
	border-color: rgba(60, 138, 42, 0.9);
	color: #ffffff;
	box-shadow: 0 10px 24px rgba(60, 138, 42, 0.25);
}

.wcbr-schedule__day.is-today:not(.is-selected) {
	border-color: rgba(60, 138, 42, 0.5);
}

.wcbr-schedule__day:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.wcbr-schedule__day:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(84, 180, 53, 0.35);
}

.wcbr-compact-cta {
	margin: 0.5rem auto 0;
	display: flex;
	justify-content: center;
}

.wcbr-compact-cta__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.35rem 1.25rem;
	border-radius: 999px;
	border: 1px solid rgba(84, 180, 53, 0.35);
	background: rgba(84, 180, 53, 0.12);
	color: #2f6d21;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.wcbr-compact-cta__button:hover,
.wcbr-compact-cta__button:focus {
	background: rgba(84, 180, 53, 0.2);
	transform: translateY(-2px);
	outline: none;
}

.wcbr-compact-cta__button span[aria-hidden='true'] {
	font-size: 1.1rem;
}

.wcbr-compact-cta__text {
	font-size: 0.95rem;
	color: inherit;
}

.wcbr-wrapper--compact .wcbr-schedule__grid {
	--wcbr-row-gap: 0.35rem;
	--wcbr-column-gap: 0.35rem;
	--wcbr-time-col-width: 80px;
	--wcbr-slot-min-width: 110px;
}

.wcbr-wrapper--compact .wcbr-schedule__row {
	min-width: unset;
}

.wcbr-wrapper--compact .wcbr-schedule__cell {
	padding: 0.4rem 0.35rem;
	font-size: 0.85rem;
}

.wcbr-wrapper--compact .wcbr-schedule__cell--time {
	font-size: 0.88rem;
}

.wcbr-wrapper--compact .wcbr-schedule__slot {
	padding: 0.4rem 0.3rem;
	font-size: 0.84rem;
}

.wcbr-wrapper--compact .wcbr-schedule__day {
	font-size: 0.78rem;
	padding: 0.35rem 0.55rem;
}

.wcbr-schedule__grid {
	display: flex;
	flex-direction: column;
	gap: var(--wcbr-row-gap, 0.6rem);
	overflow-x: auto;
	padding-bottom: 0.25rem;
	--wcbr-row-gap: 0.5rem;
	--wcbr-column-gap: 0.45rem;
	--wcbr-time-col-width: 100px;
	--wcbr-slot-min-width: 150px;
	--wcbr-row-min-width: 520px;
}

.wcbr-schedule__row {
	display: grid;
	align-items: stretch;
	gap: var(--wcbr-column-gap, 0.5rem);
	min-width: var(--wcbr-row-min-width, 520px);
	width: 100%;
}

.wcbr-schedule__row--header {
	font-weight: 600;
	color: #1f2937;
}

.wcbr-schedule__cell {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 0.65rem;
	border-radius: 12px;
	background: rgba(248, 250, 252, 0.9);
	border: 1px solid rgba(15, 23, 42, 0.05);
	font-size: 0.95rem;
	text-align: center;
	min-height: 46px;
}

.wcbr-schedule__cell--time {
	font-weight: 600;
	background: rgba(233, 247, 227, 0.9);
	color: #2f6d21;
}

.wcbr-schedule__cell--header {
	background: rgba(244, 247, 242, 0.95);
	color: #111827;
}

.wcbr-schedule__slot {
	width: 100%;
	height: 100%;
	border-radius: 12px;
	border: 1px solid rgba(84, 180, 53, 0.35);
	background: rgba(233, 247, 227, 0.75);
	font-size: 0.95rem;
	font-weight: 600;
	color: #2f6d21;
	cursor: pointer;
	transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
	padding: 0.55rem 0.45rem;
}

.wcbr-schedule__slot:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(84, 180, 53, 0.35);
}

.wcbr-schedule__slot:hover:not(:disabled),
.wcbr-schedule__slot:focus-visible:not(:disabled) {
	background: rgba(84, 180, 53, 0.22);
	transform: translateY(-1px);
}

.wcbr-schedule__slot--booked,
.wcbr-schedule__slot--past {
	border-color: rgba(209, 213, 219, 0.7);
	background: rgba(243, 244, 246, 0.8);
	color: #9ca3af;
	cursor: not-allowed;
}

.wcbr-schedule__slot--selected {
	background: rgba(84, 180, 53, 0.92);
	color: #ffffff;
	border-color: rgba(60, 138, 42, 0.9);
	box-shadow: 0 12px 32px rgba(60, 138, 42, 0.3);
}

.wcbr-schedule-status {
	display: none;
	margin: 0.25rem 0 1rem;
	font-size: 0.88rem;
	color: #4b5563;
}

.wcbr-schedule-status.loading::before {
	content: '';
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid rgba(84, 180, 53, 0.35);
	border-right-color: transparent;
	margin-right: 0.5rem;
	animation: wcbr-spin 0.75s linear infinite;
	vertical-align: middle;
}

.wcbr-schedule-status.wcbr-error {
	color: #b91c1c;
}

.wcbr-message {
	display: none;
	margin-bottom: 1.1rem;
	padding: 0.95rem 1.1rem;
	border-radius: 12px;
	font-size: 0.94rem;
}

.wcbr-message.wcbr-info {
	display: block;
	background: rgba(84, 180, 53, 0.15);
	color: #2f6d21;
}

.wcbr-message.wcbr-error {
	display: block;
	background: rgba(248, 113, 113, 0.2);
	color: #b91c1c;
}

.wcbr-message.wcbr-success {
	display: block;
	background: rgba(84, 180, 53, 0.25);
	color: #1f4f16;
}

.wcbr-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 0.5rem;
}

.wcbr-actions .button {
	min-width: 180px;
	padding: 0.9rem 1.5rem;
	border-radius: 12px;
	font-weight: 600;
	font-size: 1rem;
}

.wcbr-actions .button:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(65, 143, 42, 0.35);
}

.wcbr-login-notice {
	margin: 0 0 1rem;
	padding: 0.85rem 1rem;
	border-radius: 10px;
	background: rgba(248, 250, 252, 0.8);
	border: 1px solid rgba(65, 143, 42, 0.35);
	color: #1f2937;
}

.wcbr-login-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.wcbr-login-actions .button {
	padding: 0.55rem 1.1rem;
}

.wcbr-credits-form {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.wcbr-credits-form select,
.wcbr-credits-form input[type='number'] {
	min-width: 110px;
}

.wcbr-admin__calendar {
	margin: 1.5rem 0 2rem;
}

.wcbr-booking-form {
	margin-top: 1.5rem;
	display: grid;
	gap: 1rem;
}

.wcbr-form__grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.wcbr-form__field label {
	display: block;
	font-size: 0.9rem;
	font-weight: 600;
	color: #1f2937;
	margin-bottom: 0.35rem;
}

.wcbr-form__field input,
.wcbr-form__field textarea {
	width: 100%;
	border-radius: 12px;
	border: 1px solid rgba(65, 143, 42, 0.35);
	background: rgba(248, 250, 252, 0.85);
	padding: 0.75rem 0.85rem;
	font-size: 1rem;
	color: #1f2937;
	transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	box-sizing: border-box;
}

.wcbr-form__field input:focus,
.wcbr-form__field textarea:focus {
	outline: none;
	border-color: #2f6d21;
	box-shadow: 0 0 0 4px rgba(65, 143, 42, 0.35);
	background: #ffffff;
}

.wcbr-form__field textarea {
	min-height: 110px;
	resize: vertical;
}

.wcbr-form__submit {
	align-self: flex-start;
}

.wcbr-account {
	margin-top: 1.75rem;
	max-width: 960px;
}

.wcbr-account__notice {
	margin: 0 0 1rem;
	padding: 0.9rem 1.2rem;
	border-radius: 12px;
	font-size: 0.95rem;
	line-height: 1.5;
}

.wcbr-account__notice--success {
	background: rgba(16, 185, 129, 0.12);
	border: 1px solid rgba(16, 185, 129, 0.3);
	color: #047857;
}

.wcbr-account__notice--error {
	background: rgba(239, 68, 68, 0.12);
	border: 1px solid rgba(239, 68, 68, 0.3);
	color: #b91c1c;
}

.wcbr-account__notice ul {
	margin: 0;
	padding-left: 1.2rem;
}

.wcbr-account__credits {
	margin: 0 0 1.2rem;
	font-weight: 600;
	color: #1f2937;
}

body.wcbr-modal-open {
	overflow: hidden;
}

.wcbr-guest-modal {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.75rem;
	background: rgba(15, 23, 42, 0.45);
	z-index: 9990;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.wcbr-guest-modal.is-visible {
	opacity: 1;
	pointer-events: auto;
}

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

.wcbr-guest-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 420px;
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16);
	padding: 2rem 2.25rem;
	text-align: center;
	box-sizing: border-box;
}

.wcbr-guest-modal__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	border: none;
	background: transparent;
	color: #9ca3af;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	padding: 0.25rem;
	transition: color 0.2s ease, transform 0.2s ease;
}

.wcbr-guest-modal__close:hover,
.wcbr-guest-modal__close:focus {
	color: #1f2937;
	transform: scale(1.05);
	outline: none;
}

.wcbr-guest-modal__close:focus-visible {
	outline: 2px solid rgba(65, 143, 42, 0.35);
	outline-offset: 4px;
}

.wcbr-guest-modal__title {
	margin: 0 0 0.5rem;
	font-size: 1.4rem;
	font-weight: 600;
	color: #111827;
}

.wcbr-guest-modal__text {
	margin: 0;
	font-size: 0.95rem;
	color: #4b5563;
	line-height: 1.6;
}

.wcbr-guest-modal__actions {
	margin-top: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

.wcbr-guest-modal__action {
	min-width: 140px;
	text-align: center;
}

.wcbr-guest-modal__action--primary {
	box-shadow: 0 10px 24px rgba(65, 143, 42, 0.35);
}

@media (max-width: 768px) {
	.wcbr-card {
		padding: 1.4rem;
	}

	.wcbr-schedule__grid {
		--wcbr-row-min-width: 420px;
	}

	.wcbr-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.wcbr-actions .button {
		width: 100%;
	}
}

@media (max-width: 600px) {
	.wcbr-card {
		padding: 1.25rem;
	}

	.wcbr-duration {
		gap: 0.5rem;
	}

	.wcbr-duration__label {
		flex: 0 0 100%;
		margin-bottom: 0.25rem;
	}

	.wcbr-duration__option {
		flex: 1 1 0;
		font-size: 0.9rem;
		padding: 0.4rem 0.65rem;
		min-width: 0;
		text-align: center;
	}

	.wcbr-schedule__days {
		gap: 0.4rem;
	}

	.wcbr-schedule__day {
		font-size: 0.84rem;
		padding: 0.4rem 0.7rem;
	}

	.wcbr-schedule__grid {
		--wcbr-row-gap: 0.45rem;
		--wcbr-column-gap: 0.4rem;
		--wcbr-time-col-width: 76px;
		--wcbr-slot-min-width: 120px;
		--wcbr-row-min-width: 0;
	}

	.wcbr-schedule__cell {
		padding: 0.45rem 0.45rem;
		font-size: 0.86rem;
		min-height: 42px;
	}

	.wcbr-schedule__slot {
		padding: 0.45rem 0.4rem;
		font-size: 0.86rem;
	}

	.wcbr-guest-modal {
		padding: 1.25rem;
	}

	.wcbr-guest-modal__dialog {
		padding: 1.75rem 1.5rem;
	}
}

@media (max-width: 480px) {
	.wcbr-card {
		padding: 1.1rem;
	}

	.wcbr-duration {
		gap: 0.45rem;
	}

	.wcbr-duration__option {
		font-size: 0.85rem;
		padding: 0.35rem 0.55rem;
	}

	.wcbr-schedule__grid {
		--wcbr-row-gap: 0.4rem;
		--wcbr-column-gap: 0.35rem;
		--wcbr-time-col-width: 64px;
		--wcbr-slot-min-width: 106px;
	}

	.wcbr-schedule__cell {
		padding: 0.4rem 0.4rem;
		font-size: 0.8rem;
		min-height: 38px;
	}

	.wcbr-schedule__slot {
		padding: 0.4rem 0.35rem;
		font-size: 0.8rem;
	}

	.wcbr-schedule__day {
		font-size: 0.78rem;
		padding: 0.35rem 0.55rem;
	}

	.wcbr-guest-modal {
		padding: 1rem;
	}

	.wcbr-guest-modal__dialog {
		padding: 1.5rem 1.25rem;
	}

	.wcbr-guest-modal__title {
		font-size: 1.25rem;
	}

	.wcbr-guest-modal__text {
		font-size: 0.9rem;
	}
}

@keyframes wcbr-spin {
	to {
		transform: rotate(360deg);
	}
}
