/* Navigator Cookie Consent banner. Mirrors the previous Complianz NHS styling. */

/*
 * Hidden by default so cached pages never flash the banner at visitors who
 * have already chosen. The banner requires JavaScript to function (the
 * Accept/Deny buttons are JS-driven and analytics defaults to denied), so
 * JS decides visibility from the consent cookie by adding .gpn-cc-visible.
 */
.gpn-cc-container {
	display: none;
	width: 100%;
	background: #ecf0f1;
	border-bottom: 1px solid #d8dde0;
}

.gpn-cc-container.gpn-cc-visible {
	display: block;
}

.gpn-cc-container.gpn-cc-hidden {
	display: none;
}

.gpn-cc-banner {
	max-width: 645px;
	margin: 0 auto;
	padding: 15px 20px;
	color: #222;
	font-family: "Frutiger W01", Arial, sans-serif;
	box-sizing: border-box;
}

.gpn-cc-title {
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 8px;
	color: #222;
}

.gpn-cc-message {
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 14px;
	color: #222;
}

.gpn-cc-message a {
	color: #005eb8;
	text-decoration: underline;
}

.gpn-cc-buttons {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 12px;
}

.gpn-cc-btn {
	display: block;
	width: 100%;
	padding: 10px;
	border: 2px solid transparent;
	border-radius: 4px;
	background: #007f3b;
	color: #fff;
	font-family: "Frutiger-Roman", Arial, sans-serif;
	font-size: 19px;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
}

.gpn-cc-btn:hover,
.gpn-cc-btn:focus {
	background: #00692f;
}

.gpn-cc-btn:focus-visible {
	outline: 3px solid #ffb81c;
	outline-offset: 2px;
}

.gpn-cc-links {
	text-align: center;
}

.gpn-cc-link {
	color: #005eb8;
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
	margin: 0 8px;
}

/* Inline buttons on the cookie information page. */
.gpn-cc-page-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	max-width: 420px;
}

.gpn-cc-page-buttons .gpn-cc-btn {
	width: auto;
	min-width: 160px;
	flex: 1 1 auto;
}

@media (min-width: 576px) {
	.gpn-cc-buttons {
		flex-direction: column;
	}
}
