#referral-overview li {
	color: var(--light-orange);
	margin-bottom: 10px;
}

#referral-overview li span {
	color: var(--font-color);
}

.referral-center-text {
	max-width: 760px;
	padding: 0 15px;
	text-align: center;
}

.referral-hero::after {
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.84) 48%, rgba(255, 255, 255, 0.36) 100%),
		linear-gradient(0deg, rgba(48, 79, 255, 0.16), rgba(48, 79, 255, 0.04));
}

.referral-hero .hero_section_img {
	height: 100%;
	object-fit: cover;
	object-position: 70% center;
}

.referral-hero-content {
	width: 100%;
	justify-content: space-between;
	gap: 60px;
	padding-top: 70px;
	padding-bottom: 70px;
}

.referral-hero-text {
	max-width: 760px;
	text-align: left;
	align-items: flex-start;
	gap: 28px;
}

.referral-hero-text h1 {
	color: var(--blue);
}

.referral-hero-text p {
	max-width: 680px;
	margin: 12px 0 0;
}

.referral-hero-points {
	gap: 12px;
	max-width: 640px;
}

.referral-hero-points span {
	position: relative;
	padding-left: 26px;
	line-height: 1.35;
}

.referral-hero-points span::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--light-orange);
}

.referral-form {
	width: 100%;
	max-width: 500px;
	--form-pd: 32px;
	--form-rad: 40px;
	box-sizing: border-box;
	background-color: white;
	gap: 20px;
	border-radius: var(--form-rad);
	padding: var(--form-pd);
	box-shadow: 0 20px 60px rgba(48, 79, 255, 0.14), 0 1px 6px rgba(0, 0, 0, 0.12);
}

.referral-form > div {
	gap: 8px;
}

.referral-form h2 {
	color: var(--blue);
}

.referral-form p {
	margin: 8px 0 0;
}

.referral-form button {
	width: 100%;
	gap: 10px;
	text-transform: uppercase;
}

.referral-form input[type="tel"] {
	width: 100%;
	border: none;
	padding: 0;
	height: auto;
	border-radius: 0;
	background-color: transparent;
	font-family: var(--main-font);
	font-size: 18px;
}

.referral-form input[type="tel"]:focus {
	outline: none;
}

.referral-form textarea {
	width: 100%;
	min-height: 92px;
	box-sizing: border-box;
}

.success-message {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	padding: 20px;
	box-sizing: border-box;
}

.success-content {
	background-color: white;
	padding: 2rem;
	border-radius: 8px;
	max-width: 500px;
	text-align: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.success-content h3 {
	color: var(--blue);
	margin-bottom: 1rem;
}

@media (max-width: 1200px) {
	.referral-hero-content {
		flex-direction: column;
		align-items: flex-start;
	}

	.referral-form {
		max-width: 720px;
	}
}

@media (max-width: 860px) {
	.referral-hero {
		min-height: auto;
	}

	.referral-hero::after {
		background:
			linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 58%, rgba(255, 255, 255, 0.78) 100%),
			linear-gradient(0deg, rgba(48, 79, 255, 0.12), rgba(48, 79, 255, 0.04));
	}

	.referral-hero-content {
		padding-top: 54px;
		padding-bottom: 64px;
		gap: 34px;
	}

	.referral-hero-text h1 {
		font-size: 44px;
		line-height: 1.1;
	}

	.referral-form {
		--form-rad: 28px;
	}
}

@media (max-width: 440px) {
	.referral-form {
		--form-pd: 20px;
	}
}
