/* ============================================================
   StatBroadcast Consent Modal (clickwrap)
   Shared across www.statbroadcast.com and stats.statbroadcast.com
   ============================================================ */

/* Full-page overlay -- blocks all interaction until accepted */
#sb-consent-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.88);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

/* Modal card */
#sb-consent-modal {
	background: #fff;
	border-radius: 8px;
	max-width: 620px;
	width: 100%;
	padding: 2rem 2.25rem;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
	font-family: "Eurostile", Arial, sans-serif;
	color: #222;
	max-height: 90vh;
	overflow-y: auto;
}

#sb-consent-modal h2 {
	font-size: 1.35rem;
	font-weight: bold;
	margin: 0 0 1rem 0;
	color: #1e3a8a;
}

#sb-consent-modal p {
	font-size: 0.92rem;
	line-height: 1.55;
	margin: 0 0 0.85rem 0;
	color: #333;
}

#sb-consent-modal a {
	color: #1e3a8a;
	text-decoration: underline;
}

#sb-consent-modal a:hover {
	color: #0d2259;
}

/* Checkbox + label area */
#sb-consent-checkbox-wrap {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin: 1.25rem 0;
	padding: 1rem;
	background: #f8f9fa;
	border: 1px solid #dee2e6;
	border-radius: 4px;
}

#sb-consent-checkbox-wrap input[type="checkbox"] {
	margin-top: 2px;
	width: 18px;
	height: 18px;
	min-width: 18px;
	flex-shrink: 0;
	cursor: pointer;
	accent-color: #1e3a8a;
}

#sb-consent-checkbox-label {
	font-size: 0.9rem;
	line-height: 1.45;
	cursor: pointer;
	user-select: none;
	margin: 0;
}

#sb-consent-checkbox-label a {
	pointer-events: auto;
}

/* Accept button */
#sb-consent-accept {
	display: block;
	width: 100%;
	padding: 0.8rem 1.5rem;
	font-size: 1.05rem;
	font-weight: bold;
	color: #fff;
	background-color: #1e3a8a;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.2s ease;
	font-family: "Eurostile", Arial, sans-serif;
}

#sb-consent-accept:hover:not(:disabled) {
	background-color: #15306e;
}

#sb-consent-accept:disabled {
	background-color: #9ca3af;
	cursor: not-allowed;
	opacity: 0.65;
}

/* Lock page scroll while overlay is showing */
body.sb-consent-active {
	overflow: hidden !important;
}

/* Mobile adjustments */
@media (max-width: 480px) {
	#sb-consent-modal {
		padding: 1.25rem 1rem;
	}
	#sb-consent-modal h2 {
		font-size: 1.15rem;
	}
	#sb-consent-modal p {
		font-size: 0.85rem;
	}
}
