#rgx-consent {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 99999;
	max-width: 760px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	padding: 16px 20px;
	background: #1d1d24;
	color: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	line-height: 1.5;
}

#rgx-consent .rgx-consent__text {
	flex: 1 1 320px;
	margin: 0;
}

#rgx-consent .rgx-consent__text a {
	color: #fbab5c;
	text-decoration: underline;
}

#rgx-consent .rgx-consent__actions {
	display: flex;
	gap: 10px;
	flex: 0 0 auto;
}

/* Reject and Accept look the same: rejecting must be as easy as accepting. */
#rgx-consent .rgx-consent__btn {
	min-width: 96px;
	padding: 10px 18px;
	background: transparent;
	color: #fff;
	border: 2px solid #fbab5c;
	border-radius: 8px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

#rgx-consent .rgx-consent__btn:hover,
#rgx-consent .rgx-consent__btn:focus-visible {
	background: #fbab5c;
	color: #1d1d24;
	outline: none;
}

#rgx-consent .rgx-consent__btn:focus-visible {
	box-shadow: 0 0 0 3px rgba(251, 171, 92, 0.5);
}

@media (max-width: 520px) {
	#rgx-consent {
		left: 8px;
		right: 8px;
		bottom: 8px;
		gap: 8px;
		padding: 10px 12px;
		font-size: 12.5px;
		line-height: 1.4;
		border-radius: 10px;
	}

	/* The second sentence is on the Privacy Policy page; keep the mobile banner short. */
	#rgx-consent .rgx-consent__more {
		display: none;
	}

	#rgx-consent .rgx-consent__text {
		flex-basis: 100%;
	}

	#rgx-consent .rgx-consent__actions {
		width: 100%;
		gap: 8px;
	}

	#rgx-consent .rgx-consent__btn {
		flex: 1;
		min-width: 0;
		padding: 7px 10px;
		font-size: 13px;
		border-width: 1.5px;
		border-radius: 7px;
	}
}
