.hcre-referral-link-wrap {
	max-width: 640px;
}

.hcre-referral-link-wrap h2 {
	margin-bottom: 0.75em;
}

.hcre-referral-intro {
	margin: 0 0 1.5em;
	line-height: 1.6;
	color: #444;
}

.hcre-referral-link-field label {
	display: block;
	margin-bottom: 0.5em;
	font-weight: 600;
	color: #222;
}

.hcre-referral-link-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75em;
	align-items: stretch;
}

.hcre-referral-link-row .input-text {
	flex: 1 1 220px;
	min-width: 0;
	margin: 0;
	padding: 0.75em 1em;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	background: #f9f9f9;
	color: #1d2327;
	font-size: 0.95em;
	line-height: 1.4;
}

.hcre-referral-link-row .hcre-copy-referral-link {
	flex: 0 0 auto;
	margin: 0;
	padding: 0.75em 1.5em;
	border: none;
	border-radius: 4px;
	background: #2d8659;
	color: #fff;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.1s ease;
}

.hcre-referral-link-row .hcre-copy-referral-link:hover,
.hcre-referral-link-row .hcre-copy-referral-link:focus {
	background: #246b47;
	color: #fff;
}

.hcre-referral-link-row .hcre-copy-referral-link:active {
	transform: translateY(1px);
}

.hcre-referral-link-row .hcre-copy-referral-link.is-copied {
	background: #1e5638;
}

@media (max-width: 480px) {
	.hcre-referral-link-row {
		flex-direction: column;
	}

	.hcre-referral-link-row .hcre-copy-referral-link {
		width: 100%;
	}
}
