/* RHT Falcon Referral Banner */

.rht-frb {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.rht-frb[hidden] {
	display: none;
}

.rht-frb__overlay {
	position: absolute;
	inset: 0;
	background: rgba(20, 20, 25, 0.55);
}

.rht-frb__card {
	position: relative;
	background: #fff;
	max-width: 480px;
	width: 100%;
	border-radius: 6px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
	padding: 28px 32px 32px;
	font-family: inherit;
	animation: rht-frb-in 220ms ease-out;
}

@media (prefers-reduced-motion: reduce) {
	.rht-frb__card {
		animation: none;
	}
}

@keyframes rht-frb-in {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.rht-frb__close {
	position: absolute;
	top: 10px;
	right: 12px;
	background: none;
	border: 0;
	padding: 4px 8px;
	font-size: 22px;
	line-height: 1;
	color: #444;
	cursor: pointer;
}

.rht-frb__close:hover,
.rht-frb__close:focus-visible {
	color: #cf1d24;
}

.rht-frb__eyebrow {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #1a1a1a;
}

.rht-frb__heading {
	margin: 0 0 12px;
	font-size: 24px;
	line-height: 1.25;
	font-weight: 800;
	color: #111;
}

.rht-frb__body {
	margin: 0 0 22px;
	font-size: 15px;
	line-height: 1.55;
	color: #333;
}

.rht-frb__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.rht-frb__btn {
	display: inline-block;
	padding: 12px 22px;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 140ms ease, color 140ms ease;
}

.rht-frb__btn--primary {
	background: #cf1d24;
	border: 2px solid #cf1d24;
	color: #fff;
}

.rht-frb__btn--primary:hover,
.rht-frb__btn--primary:focus-visible {
	background: #a91419;
	border-color: #a91419;
	color: #fff;
}

.rht-frb__btn--ghost {
	background: #fff;
	border: 2px solid #cf1d24;
	color: #cf1d24;
}

.rht-frb__btn--ghost:hover,
.rht-frb__btn--ghost:focus-visible {
	background: #fdf2f2;
}

@media (max-width: 520px) {
	.rht-frb__card {
		padding: 24px 20px 24px;
	}

	.rht-frb__actions {
		flex-direction: column;
	}

	.rht-frb__btn {
		text-align: center;
	}
}
