/* =====================================================
   NextWave — Cookie Consent Banner (Google Consent Mode v2)
   ===================================================== */

.nwb-consent-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	background: var(--nw-navy, #07111f);
	color: var(--nw-white, #fff);
	box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
}

.nwb-consent-banner[hidden] {
	display: none;
}

.nwb-consent-banner__inner {
	max-width: var(--nw-max-w, 1180px);
	margin: 0 auto;
	padding: 20px 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
}

.nwb-consent-banner__text {
	flex: 1 1 320px;
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.85);
}

.nwb-consent-banner__text a {
	color: var(--nw-cyan, #00b4d8);
	text-decoration: underline;
}

.nwb-consent-banner__categories {
	flex: 1 1 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 14px 24px;
	padding: 4px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	margin: 4px 0;
}

.nwb-consent-banner__categories[hidden] {
	display: none;
}

.nwb-consent-cat {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.85);
	cursor: pointer;
}

.nwb-consent-cat input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: var(--nw-cyan, #00b4d8);
}

.nwb-consent-banner__actions {
	flex: 0 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-left: auto;
}

.nwb-consent-btn {
	border: none;
	border-radius: 999px;
	padding: 10px 20px;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nwb-consent-btn[hidden] {
	display: none;
}

.nwb-consent-btn--reject,
.nwb-consent-btn--customize {
	background: transparent;
	border: 2px solid rgba(255, 255, 255, 0.3);
	color: #fff;
}

.nwb-consent-btn--reject:hover,
.nwb-consent-btn--customize:hover {
	border-color: var(--nw-cyan, #00b4d8);
	color: var(--nw-cyan, #00b4d8);
}

.nwb-consent-btn--accept,
.nwb-consent-btn--save {
	background: var(--nw-cyan, #00b4d8);
	color: var(--nw-navy, #07111f);
}

.nwb-consent-btn--accept:hover,
.nwb-consent-btn--save:hover {
	background: #00c9e8;
	transform: translateY(-1px);
}

/* ── Reopen icon ─────────────────────────────────── */

.nwb-consent-reopen {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 9998;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: none;
	background: var(--nw-cyan, #00b4d8);
	color: var(--nw-navy, #07111f);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	transition: transform 0.2s ease;
}

.nwb-consent-reopen[hidden] {
	display: none;
}

.nwb-consent-reopen:hover {
	transform: scale(1.08);
}

.nwb-consent-reopen svg {
	width: 22px;
	height: 22px;
}

@media (max-width: 640px) {
	.nwb-consent-banner__inner {
		padding: 18px 20px;
	}

	.nwb-consent-banner__actions {
		width: 100%;
		margin-left: 0;
	}

	.nwb-consent-btn {
		flex: 1 1 auto;
		text-align: center;
	}
}
