/* Beds24 Booking Confirmation - scoped to .b24bc- so it can't leak into
   or be overridden by unrelated theme styles. Colours come from CSS
   variables set per-site in Settings > Beds24 Confirmation. */

:root {
	--b24bc-navy: #1d4d76;
	--b24bc-cta: #365868;
	--b24bc-text: #333333;
	--b24bc-muted: #6b6f73;
}

.b24bc-wrap {
	max-width: 620px;
	margin: 0 auto;
	padding: 32px 20px 60px;
	color: var(--b24bc-text);
}

.b24bc-logo {
	display: block;
	max-width: 220px;
	height: auto;
	margin: 0 auto 24px;
}

.b24bc-card {
	background: #ffffff;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
	overflow: hidden;
}

.b24bc-card-header {
	background: var(--b24bc-navy);
	color: #fff;
	padding: 28px 28px 24px;
	text-align: center;
}

.b24bc-card-header .b24bc-check {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 14px;
	font-size: 28px;
	line-height: 1;
	color: #fff;
}

.b24bc-card-header h1 {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 700;
	color: #fff;
}

.b24bc-card-header p {
	margin: 0;
	font-size: 14px;
	opacity: 0.9;
	color: #fff;
}

.b24bc-card-body {
	padding: 26px 28px 30px;
}

.b24bc-intro {
	margin-top: 0;
}

.b24bc-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid #eee;
	font-size: 15px;
}

.b24bc-row:last-child {
	border-bottom: none;
}

.b24bc-row .b24bc-label {
	color: var(--b24bc-muted);
}

.b24bc-row .b24bc-value {
	font-weight: 700;
	text-align: right;
}

.b24bc-ref {
	text-align: center;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px dashed #ddd;
	font-size: 13px;
	color: var(--b24bc-muted);
}

.b24bc-ref strong {
	color: var(--b24bc-text);
	font-size: 15px;
	letter-spacing: 0.5px;
}

.b24bc-note {
	margin-top: 24px;
	font-size: 13.5px;
	color: var(--b24bc-muted);
	line-height: 1.5;
}

.b24bc-btn {
	display: inline-block;
	margin-top: 22px;
	padding: 14px 22px;
	background: var(--b24bc-cta);
	color: #fff !important;
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
}

.b24bc-fallback {
	text-align: center;
	padding: 60px 20px;
	color: var(--b24bc-muted);
}

/* Awaiting bank transfer: amber header so it can't be mistaken for "paid". */
.b24bc-pending .b24bc-card-header {
	background: #8a5a00;
}
