.bk-widget {
	max-width: 420px;
	font-size: 14px;
	line-height: 1.4;
}

.bk-widget__heading {
	margin: 0 0 12px;
}

.bk-widget__field {
	margin-bottom: 12px;
}

.bk-widget__row {
	display: flex;
	gap: 12px;
}

.bk-widget__row .bk-widget__field {
	flex: 1;
	min-width: 0;
}

.bk-widget__availability-summary {
	margin: 6px 0 0;
	font-size: 12px;
	color: #555;
}

.bk-widget__availability-summary .bk-free-zero {
	color: #c0392b;
}

.bk-widget__field label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
}

.bk-widget__field input,
.bk-widget__field select,
.bk-widget__field textarea,
.bk-widget .bk-room-type {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}

.bk-widget__hint {
	margin: 4px 0 0;
	font-size: 11px;
	color: #888;
}

.bk-widget__fixed-type-name {
	margin: 0;
	padding: 8px 10px;
	background: #f7f7f7;
	border-radius: 4px;
	font-weight: 600;
}

.bk-widget__calendar-nav {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	width: 100%;
	margin: 16px 0 8px;
	text-align: center;
}

.bk-cal-prev-label,
.bk-cal-next-label {
	cursor: pointer;
	color: #2271b1;
	font-size: 13px;
	flex: 0 0 auto;
}

.bk-cal-prev-label:hover,
.bk-cal-next-label:hover {
	text-decoration: underline;
}

.bk-cal-month-label {
	font-weight: 600;
	flex: 1;
}

.bk-widget--two-col {
	max-width: 780px;
}

.bk-widget__columns {
	display: flex;
	gap: 28px;
}

.bk-widget__col-left,
.bk-widget__col-right {
	flex: 1;
	min-width: 0;
}

.bk-widget__price--large {
	font-size: 20px;
	padding: 16px 18px;
	font-weight: 600;
}

@media (max-width: 640px) {
	.bk-widget__columns {
		flex-direction: column;
	}
}

.bk-cal-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

.bk-cal-table th {
	font-size: 11px;
	color: #777;
	font-weight: 500;
	padding: 4px 0;
}

.bk-day {
	text-align: center;
	padding: 8px 0;
	font-size: 13px;
	border-radius: 4px;
}

.bk-day--other-month {
	color: #bbb;
}

.bk-day--past {
	color: #ddd;
}

.bk-day--blocked {
	color: #bbb;
	background: #f2f2f2;
	text-decoration: line-through;
}

.bk-day--available {
	cursor: pointer;
	color: #222;
}

.bk-day--available:hover {
	background: #eef6ff;
}

.bk-day--tentative {
	background: #fff6de;
}

.bk-day--selected-start,
.bk-day--selected-end {
	background: #2271b1;
	color: #fff;
	font-weight: 600;
}

.bk-day--in-range {
	background: #d7ebff;
}

.bk-widget__range-text {
	font-size: 13px;
	color: #555;
	margin: 8px 0;
}

.bk-widget__range-text--lg {
	font-size: 15px;
	color: #333;
}

.bk-widget__price {
	margin: 12px 0;
	padding: 10px 12px;
	background: #f7f7f7;
	border-radius: 4px;
	font-weight: 600;
}

.bk-widget__hp {
	position: absolute;
	left: -9999px;
	top: -9999px;
}

.bk-widget__submit {
	display: inline-block;
	padding: 10px 20px;
	background: #2271b1;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-weight: 600;
}

.bk-widget__submit:disabled {
	opacity: 0.6;
	cursor: default;
}

.bk-widget__message {
	margin-top: 10px;
	font-size: 13px;
}

.bk-widget__message--error {
	color: #c0392b;
}

.bk-widget__message--success {
	color: #1a7f37;
}

.bk-widget__accordion {
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 10px 12px;
	margin: 12px 0;
}

.bk-widget__accordion summary {
	cursor: pointer;
	font-weight: 600;
	font-size: 14px;
	list-style: none;
}

.bk-widget__accordion summary::-webkit-details-marker {
	display: none;
}

.bk-widget__accordion summary::before {
	content: '▸ ';
	display: inline-block;
	width: 12px;
}

.bk-widget__accordion[open] summary::before {
	content: '▾ ';
}

.bk-widget__accordion-body {
	margin-top: 10px;
}

.bk-widget__accordion-subheading {
	font-weight: 600;
	font-size: 13px;
	color: #555;
	margin: 0 0 6px;
}

.bk-widget__accordion-divider {
	border: none;
	border-top: 1px solid #eee;
	margin: 10px 0;
}

.bk-widget__meal-row {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 4px 0;
	font-size: 14px;
	font-weight: 400;
	cursor: pointer;
}

.bk-widget__meal-row--included {
	color: #1a7f37;
	cursor: default;
}

.bk-widget__parking-field {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-weight: 400;
}

/*
 * Many WP themes set a blanket `input { width: 100%; }` for form styling,
 * which also stretches checkboxes — that's what was actually causing the
 * checkbox to visually detach from its label. Overriding width/height/
 * flex-shrink here, scoped to this widget only, fixes it without
 * touching the theme.
 */
.bk-widget input[type="checkbox"] {
	width: 16px !important;
	height: 16px !important;
	min-width: 16px;
	flex: 0 0 16px !important;
	margin: 0 !important;
	appearance: auto;
	-webkit-appearance: auto;
}
