/* Book Now button (colors come from Settings via CSS variables) */
.wpcbn-book-btn,
.wpcbn-book-btn:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 22px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	border: 0;
	background: var(--wpcbn-bg, #d35400);
	color: var(--wpcbn-color, #fff);
	border-radius: var(--wpcbn-radius, 6px);
	transition: background-color .2s ease, color .2s ease;
}

.wpcbn-book-btn:hover,
.wpcbn-book-btn:focus {
	background: var(--wpcbn-bg-hover, #a84300);
	color: var(--wpcbn-color-hover, #fff);
	text-decoration: none;
}

.wpcbn-wrap { display: inline-block; }

/* Popup */
.wpcbn-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, .6);
	overflow-y: auto;
}

.wpcbn-overlay.is-open { display: flex; }

.wpcbn-dialog {
	position: relative;
	width: 100%;
	max-width: 460px;
	max-height: 100%;
	overflow-y: auto;
	padding: 28px 26px 24px;
	background: #fff;
	color: #222;
	border-radius: 10px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
	box-sizing: border-box;
}

.wpcbn-dialog *,
.wpcbn-dialog *::before,
.wpcbn-dialog *::after { box-sizing: border-box; }

.wpcbn-close {
	position: absolute;
	top: 8px;
	right: 12px;
	width: 34px;
	height: 34px;
	padding: 0;
	font-size: 28px;
	line-height: 1;
	background: transparent;
	color: #666;
	border: 0;
	cursor: pointer;
}

.wpcbn-close:hover { color: #000; background: transparent; }

.wpcbn-title { margin: 0 0 6px; font-size: 22px; line-height: 1.25; color: #111; }
.wpcbn-sub { margin: 0 0 16px; color: #555; font-size: 14px; }

.wpcbn-field { margin-bottom: 14px; }
.wpcbn-field label { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 600; color: #333; }
.wpcbn-req { color: #c0392b; }

.wpcbn-field input,
.wpcbn-field select,
.wpcbn-field textarea {
	display: block;
	width: 100%;
	padding: 10px 12px;
	font-size: 15px;
	color: #222;
	background: #fff;
	border: 1px solid #cfcfcf;
	border-radius: 6px;
	box-shadow: none;
}

.wpcbn-field input:focus,
.wpcbn-field select:focus,
.wpcbn-field textarea:focus {
	outline: 0;
	border-color: var(--wpcbn-bg, #d35400);
	box-shadow: 0 0 0 2px rgba(0, 0, 0, .08);
}

.wpcbn-field input[readonly] { background: #f4f4f4; color: #444; cursor: default; }
.wpcbn-field .is-invalid { border-color: #c0392b; }

.wpcbn-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.wpcbn-msg { min-height: 0; margin: 0 0 12px; font-size: 14px; }
.wpcbn-msg.is-error { color: #c0392b; }
.wpcbn-msg.is-success { color: #1e7e34; font-weight: 600; }

.wpcbn-submit {
	display: block;
	width: 100%;
	padding: 12px 18px;
	font-size: 16px;
	font-weight: 600;
	color: var(--wpcbn-color, #fff);
	background: var(--wpcbn-bg, #d35400);
	border: 0;
	border-radius: var(--wpcbn-radius, 6px);
	cursor: pointer;
	transition: background-color .2s ease;
}

.wpcbn-submit:hover { background: var(--wpcbn-bg-hover, #a84300); color: var(--wpcbn-color-hover, #fff); }
.wpcbn-submit[disabled] { opacity: .7; cursor: wait; }

body.wpcbn-lock { overflow: hidden; }

.wpcbn-form.is-done > *:not(.wpcbn-msg) { display: none; }

.wpcbn-field select { height: auto; min-height: 42px; appearance: auto; }
