/* Bloggersurf Rebound lead automation — scoped public form. */

.bsr-lead-panel {
	position: relative;
	overflow: hidden;
	background: rgba(255, 255, 255, .84);
	box-shadow: 0 28px 70px rgba(18, 74, 52, .13);
	backdrop-filter: blur(14px);
}

.bsr-lead-panel::before {
	position: absolute;
	top: -90px;
	right: -90px;
	width: 220px;
	height: 220px;
	pointer-events: none;
	content: "";
	background: radial-gradient(circle, rgba(72, 232, 155, .34), transparent 67%);
}

.bsr-form-head {
	position: relative;
	margin-bottom: 23px;
}

.bsr-form-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #28674d;
	font-family: var(--font-geist-mono);
	font-size: 8px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.bsr-form-badge i {
	display: block;
	width: 7px;
	height: 7px;
	background: #149460;
	border-radius: 50%;
	box-shadow: 0 0 0 5px rgba(20, 148, 96, .1);
	animation: bsr-form-pulse 2.2s ease-out infinite;
}

.bsr-form-head h3 {
	margin: 13px 0 0;
	font-size: 27px;
	font-weight: 650;
	letter-spacing: -.045em;
	line-height: 1.08;
}

.bsr-form-head p {
	margin: 11px 0 0;
	color: #3f6756;
	font-size: 11px;
	line-height: 1.6;
}

.bsr-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 13px;
}

.bsr-field {
	position: relative;
	display: block;
}

.bsr-field-wide {
	grid-column: 1 / -1;
}

.bsr-field > span {
	display: block;
	margin: 0 0 7px 2px;
	color: #2d5746;
	font-size: 9px;
	font-weight: 700;
}

.bsr-field > span b {
	color: #c14b3d;
}

.bsr-field input,
.bsr-field select,
.bsr-field textarea {
	width: 100%;
	min-height: 45px;
	padding: 11px 12px;
	color: #102c21;
	background: rgba(255, 255, 255, .92);
	border: 1px solid rgba(11, 54, 40, .17);
	border-radius: 9px;
	outline: 0;
	font-family: var(--font-geist-sans);
	font-size: 11px;
	line-height: 1.4;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .2s ease;
}

.bsr-field select {
	padding-right: 30px;
	appearance: auto;
}

.bsr-field textarea {
	min-height: 95px;
	resize: vertical;
}

.bsr-field input::placeholder,
.bsr-field textarea::placeholder {
	color: #819189;
}

.bsr-field input:focus,
.bsr-field select:focus,
.bsr-field textarea:focus {
	background: #fff;
	border-color: #148a5b;
	box-shadow: 0 0 0 4px rgba(72, 232, 155, .14);
	transform: translateY(-1px);
}

.bsr-field.is-invalid input,
.bsr-field.is-invalid select,
.bsr-field.is-invalid textarea {
	border-color: #d75f50;
	box-shadow: 0 0 0 3px rgba(215, 95, 80, .11);
}

.bsr-field > small {
	position: absolute;
	right: 9px;
	bottom: 7px;
	color: #84938c;
	font-family: var(--font-geist-mono);
	font-size: 7px;
}

.bsr-consent {
	display: grid;
	grid-template-columns: 16px 1fr;
	gap: 9px;
	align-items: start;
	margin: 16px 2px 0;
	color: #365b4b;
	font-size: 9px;
	line-height: 1.55;
	cursor: pointer;
}

.bsr-consent input {
	width: 15px;
	height: 15px;
	margin: 1px 0 0;
	accent-color: #0c7c50;
}

.bsr-consent.is-invalid span {
	color: #a94135;
}

.bsr-submit-button {
	position: relative;
	width: 100%;
	margin-top: 17px;
	overflow: hidden;
	transition: transform .2s ease, background .2s ease, opacity .2s ease;
}

.bsr-submit-button::before {
	position: absolute;
	top: 0;
	left: -110%;
	width: 55%;
	height: 100%;
	content: "";
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
	transform: skewX(-20deg);
	transition: left .8s cubic-bezier(.16, 1, .3, 1);
}

.bsr-submit-button:hover::before {
	left: 145%;
}

.bsr-submit-button[disabled] {
	cursor: wait;
	opacity: .78;
}

.bsr-submit-spinner {
	display: none;
	width: 15px;
	height: 15px;
	border: 2px solid rgba(255, 255, 255, .34);
	border-top-color: #fff;
	border-radius: 50%;
	animation: bsr-form-spin .7s linear infinite;
}

.bsr-lead-form.is-submitting .bsr-submit-spinner {
	display: block;
}

.bsr-lead-form.is-submitting .bsr-submit-button svg {
	display: none;
}

.bsr-form-trust {
	margin: 11px 0 0;
	color: #47705e;
	font-size: 8px;
	text-align: center;
}

.bsr-form-trust b {
	color: #08794d;
}

.bsr-form-status {
	min-height: 0;
	margin-top: 0;
	padding: 0;
	border-radius: 8px;
	font-size: 10px;
	line-height: 1.5;
	transition: margin .2s ease, padding .2s ease;
}

.bsr-form-status.is-error {
	margin-top: 12px;
	padding: 10px 12px;
	color: #8f3027;
	background: #fff0ed;
	border: 1px solid #f3c5bd;
}

.bsr-form-success {
	position: relative;
	display: none;
	min-height: 430px;
	place-content: center;
	text-align: center;
}

.bsr-form-success.is-visible {
	display: grid;
	animation: bsr-success-in .7s cubic-bezier(.16, 1, .3, 1) both;
}

.bsr-form-success > span {
	display: grid;
	width: 68px;
	height: 68px;
	margin: 0 auto 21px;
	place-items: center;
	color: #09251b;
	background: #48e89b;
	border-radius: 50%;
	font-size: 28px;
	box-shadow: 0 0 0 12px rgba(72, 232, 155, .15), 0 18px 40px rgba(18, 137, 87, .2);
}

.bsr-form-success h3 {
	margin: 0;
	font-size: 30px;
	letter-spacing: -.045em;
}

.bsr-form-success p {
	max-width: 390px;
	margin: 14px auto 0;
	color: #416654;
	font-size: 11px;
	line-height: 1.7;
}

.bsr-form-success a {
	display: inline-block;
	margin-top: 22px;
	font-size: 11px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 5px;
}

.bsr-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

@keyframes bsr-form-pulse {
	0% { box-shadow: 0 0 0 0 rgba(20, 148, 96, .35); }
	75%, 100% { box-shadow: 0 0 0 11px rgba(20, 148, 96, 0); }
}

@keyframes bsr-form-spin {
	to { transform: rotate(360deg); }
}

@keyframes bsr-success-in {
	from { opacity: 0; transform: translateY(18px) scale(.97); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1050px) {
	.bsr-lead-panel {
		max-width: 720px;
	}
}

@media (max-width: 680px) {
	.bsr-form-grid {
		grid-template-columns: 1fr;
	}

	.bsr-field-wide {
		grid-column: auto;
	}

	.bsr-form-head h3 {
		font-size: 25px;
	}

	.bsr-field input,
	.bsr-field select,
	.bsr-field textarea {
		min-height: 49px;
		font-size: 16px;
	}

	.bsr-field textarea {
		min-height: 120px;
	}

	.bsr-field > span,
	.bsr-consent {
		font-size: 12px;
	}

	.bsr-form-head p,
	.bsr-form-success p {
		font-size: 14px;
	}

	.bsr-form-status,
	.bsr-form-trust {
		font-size: 11px;
	}

	.bsr-form-success {
		min-height: 360px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bsr-form-badge i,
	.bsr-submit-spinner,
	.bsr-form-success.is-visible {
		animation: none !important;
	}
}
