/* BNS Mobile Clinic booking form: professional card layout */
.bns-bk {
	--navy: #14234b;
	--ink: #1e293b;
	--muted: #64748b;
	--line: #d6dfe9;
	--line-soft: #e8eef5;
	--accent: #0b7fc0;
	--accent-dark: #096399;
	--accent-2: #00aeef;
	--soft: #eef7fd;
	--field: #f8fafc;
	--err: #c0261d;
	max-width: 760px;
	width: 100%;
	margin-left: auto !important;
	margin-right: auto !important;
	color: var(--ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.55;
}
.bns-bk *, .bns-bk *::before, .bns-bk *::after { box-sizing: border-box; }
.bns-bk [hidden] { display: none !important; }
.bns-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Urgent-care notice */
.bns-bk .bns-notice {
	position: relative;
	margin: 0 0 20px;
	padding: 16px 17.6px 16px 51.2px;
	background: #fff8ee;
	border: 1px solid #fcd9a8;
	border-left: 4px solid #f59e0b;
	border-radius: 12px;
	color: #7a4a08;
	font-size: 15.2px;
}
.bns-bk .bns-notice::before {
	content: "!";
	position: absolute;
	left: 16px;
	top: 16px;
	width: 25.6px;
	height: 25.6px;
	border-radius: 50%;
	background: #f59e0b;
	color: #fff;
	font-weight: 800;
	text-align: center;
	line-height: 25.6px;
}
.bns-notice p { margin: 0; }

/* Section cards */
.bns-bk .bns-card {
	margin: 0 0 20px;
	padding: 25.6px;
	background: #fff;
	border: 1px solid var(--line-soft);
	border-top: 4px solid var(--accent-2);
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 10px 28px rgba(16, 24, 40, .07);
}
.bns-bk .bns-card-title {
	display: flex !important;
	align-items: center;
	gap: 12px;
	margin: 0 0 22.4px !important;
	padding: 0 0 16px !important;
	border-bottom: 1px solid var(--line-soft);
	color: var(--navy) !important;
	font-size: 19.2px !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
}
.bns-bk .bns-step {
	flex: 0 0 33.6px;
	width: 33.6px;
	height: 33.6px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	color: #fff;
	font-size: 15.2px;
	font-weight: 700;
	line-height: 33.6px;
	text-align: center;
}
.bns-bk .bns-subheading { margin: 25.6px 0 6.4px; color: var(--navy); font-size: 16.8px; font-weight: 700; }

.bns-grid { display: grid; gap: 0 20px; }
@media (min-width: 640px) {
	.bns-grid.two { grid-template-columns: 1fr 1fr; }
	.bns-grid.two > .bns-choices { grid-column: 1 / -1; }
}

/* Fields */
.bns-field { margin: 0 0 19.2px; }
.bns-bk .bns-field > label,
.bns-bk .bns-choices > legend {
	display: block;
	float: none;
	width: auto;
	margin: 0 0 7.2px;
	padding: 0;
	color: var(--navy);
	font-size: 14.7px;
	font-weight: 600;
}
.bns-req { margin-left: .15em; color: var(--err); font-weight: 700; }
.bns-help { margin: 5.6px 0 16px; color: var(--muted); font-size: 15.2px; }

.bns-bk input[type="text"],
.bns-bk input[type="date"],
.bns-bk input[type="tel"],
.bns-bk input[type="email"],
.bns-bk input[type="file"],
.bns-bk select,
.bns-bk textarea {
	display: block;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 11.2px 14.4px;
	border: 1.5px solid var(--line) !important;
	border-radius: 10px !important;
	background-color: var(--field);
	box-shadow: none;
	color: var(--ink);
	font: inherit;
	font-size: 16px;
	transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.bns-bk textarea { min-height: 112px; resize: vertical; }
.bns-bk ::placeholder { color: #94a3b8 !important; font-size: 16px !important; opacity: 1; }
.bns-bk input:hover, .bns-bk select:hover, .bns-bk textarea:hover { border-color: #b4c3d3 !important; }
.bns-bk input:focus, .bns-bk select:focus, .bns-bk textarea:focus,
.bns-bk input:focus-visible, .bns-bk select:focus-visible, .bns-bk textarea:focus-visible {
	outline: 0;
	background-color: #fff;
	border-color: var(--accent) !important;
	box-shadow: 0 0 0 4px rgba(0, 174, 239, .18);
}
.bns-bk select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 41.6px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12.8px center;
	background-size: 17.6px;
	cursor: pointer;
}
.bns-bk input[type="file"] { padding: 8.8px; }
.bns-bk .bns-field:has(.bns-err:not(:empty)) input[type="text"],
.bns-bk .bns-field:has(.bns-err:not(:empty)) input[type="date"],
.bns-bk .bns-field:has(.bns-err:not(:empty)) input[type="tel"],
.bns-bk .bns-field:has(.bns-err:not(:empty)) input[type="email"],
.bns-bk .bns-field:has(.bns-err:not(:empty)) select,
.bns-bk .bns-field:has(.bns-err:not(:empty)) textarea { border-color: var(--err) !important; background-color: #fff5f5; }

/* Choice groups (radios and checkboxes) */
.bns-bk fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.bns-bk fieldset.bns-field { margin: 0 0 19.2px; }
.bns-options { display: grid; gap: 8.8px; }
@media (min-width: 640px) { .bns-options.cols { grid-template-columns: 1fr 1fr; } }
.bns-options.pills { grid-template-columns: repeat(auto-fit, minmax(136px, 1fr)); }
.bns-bk .bns-opt {
	display: flex;
	align-items: center;
	gap: 11.2px;
	margin: 0;
	padding: 11.2px 14.4px;
	border: 1.5px solid var(--line);
	border-radius: 10px;
	background: #fff;
	color: var(--ink);
	font-size: 15.5px;
	font-weight: 400;
	line-height: 1.35;
	cursor: pointer;
	transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.bns-bk .bns-opt:hover { border-color: #9fb6cb; background: #fbfdff; }
.bns-bk .bns-opt:has(input:checked) { border-color: var(--accent); background: var(--soft); box-shadow: 0 0 0 3px rgba(0, 174, 239, .12); }
.bns-bk .bns-opt:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(0, 174, 239, .28); }

.bns-bk .bns-opt input[type="checkbox"],
.bns-bk .bns-opt input[type="radio"] {
	-webkit-appearance: none !important;
	appearance: none !important;
	flex: 0 0 20.8px;
	display: inline-block !important;
	position: static !important;
	width: 20.8px !important;
	height: 20.8px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 2px solid #8fa5ba !important;
	border-radius: 6px !important;
	background: #fff !important;
	box-shadow: none !important;
	transition: border-color .15s, background-color .15s;
}
.bns-bk .bns-opt input[type="radio"] { border-radius: 50% !important; }
.bns-bk .bns-opt input::before, .bns-bk .bns-opt input::after { content: none !important; display: none !important; }
.bns-bk .bns-opt input[type="checkbox"]:checked {
	border-color: var(--accent) !important;
	background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 78% no-repeat !important;
}
.bns-bk .bns-opt input[type="radio"]:checked {
	border-color: var(--accent) !important;
	background: radial-gradient(circle, var(--accent) 0 42%, #fff 46%) !important;
}
.bns-bk .bns-opt input:focus-visible { outline: 0; }

/* Payment info */
.bns-bk .bns-info {
	margin: 0 0 20.8px;
	padding: 16px 17.6px;
	background: var(--soft);
	border: 1px solid #cfe6f5;
	border-left: 4px solid var(--accent);
	border-radius: 12px;
	font-size: 15.2px;
}
.bns-info p { margin: 0 0 8px; }
.bns-info p:last-child { margin: 0; }
.bns-info-text { margin: 0 0 17.6px; color: var(--muted); font-size: 14.9px; }

/* Consent tiles */
.bns-bk .bns-choices[data-field="confirm"] { margin-top: 6.4px; }
.bns-bk .bns-choices[data-field="confirm"] .bns-opt { align-items: flex-start; padding: 14.4px 16px; background: #fbfdff; }
.bns-bk .bns-choices[data-field="confirm"] .bns-opt input { margin-top: 1.9px !important; }

.bns-recaptcha { margin: 20px 0 0; }
.bns-err { margin: 6.4px 0 0; color: var(--err); font-size: 14.1px; font-weight: 500; }
.bns-err:empty { display: none; }
.bns-form-msg { margin: 17.6px 0 0; padding: 0; color: var(--err); font-weight: 600; }
.bns-form-msg:not(:empty) { padding: 12.8px 16px; background: #fff5f5; border: 1px solid #f5c2c0; border-radius: 10px; }
.bns-form-msg:empty { display: none; }

/* Submit */
.bns-bk .bns-submit {
	display: block;
	width: 100%;
	margin: 22.4px 0 0;
	padding: 16px 24px;
	border: 0;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--accent), #0aa0e0);
	box-shadow: 0 8px 20px rgba(11, 127, 192, .3);
	color: #fff;
	font: inherit;
	font-size: 16.8px;
	font-weight: 700;
	letter-spacing: .01em;
	cursor: pointer;
	transition: transform .15s, box-shadow .15s, filter .15s;
}
.bns-bk .bns-submit:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(11, 127, 192, .38); filter: brightness(1.04); }
.bns-bk .bns-submit:focus-visible { outline: 3px solid #8cc6e8; outline-offset: 2px; }
.bns-bk .bns-submit:disabled { opacity: .65; cursor: wait; transform: none; box-shadow: none; }

/* Confirmation after sending */
.bns-done {
	max-width: 736px;
	margin: 0 auto;
	padding: 25.6px 28px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-left: 5px solid #16a34a;
	border-radius: 14px;
	box-shadow: 0 10px 28px rgba(16, 24, 40, .07);
}
.bns-done h3 { margin: 0 0 9.6px; color: #14532d; }
.bns-done p { margin: 0 0 8px; }
.bns-done .bns-contact { white-space: pre-line; font-weight: 600; }

@media (max-width: 639px) {
	.bns-bk .bns-card { padding: 19.2px 16px; border-radius: 14px; }
}