/* =========================================================
   VEDANT FUTURE AUTHORS
   POPUP DESIGN
   Version 2.0
   ========================================================= */


/* =========================================================
   GLOBAL / RESET
   ========================================================= */

.vedant-fa-overlay,
.vedant-fa-overlay *,
.vedant-fa-overlay *::before,
.vedant-fa-overlay *::after {
	box-sizing: border-box;
}


/* =========================================================
   OVERLAY
   ========================================================= */

.vedant-fa-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;

	display: flex;
	align-items: center;
	justify-content: center;

	padding: 24px;

	background: rgba(8, 20, 38, 0.68);

	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);

	opacity: 0;
	visibility: hidden;
	pointer-events: none;

	transition:
		opacity 0.22s ease,
		visibility 0.22s ease;
}


/* POPUP OPEN STATE */

.vedant-fa-overlay.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}


/* =========================================================
   POPUP
   ========================================================= */

.vedant-fa-popup {
	position: relative;

	width: 100%;
	max-width: 590px;

	max-height: calc(100vh - 40px);
	overflow-y: auto;

	background: #ffffff;

	border: 1px solid rgba(24, 76, 132, 0.12);
	border-radius: 20px;

	box-shadow:
		0 30px 80px rgba(0, 0, 0, 0.28),
		0 10px 30px rgba(0, 0, 0, 0.12);

	transform:
		translateY(18px)
		scale(0.97);

	opacity: 0;

	transition:
		transform 0.25s ease,
		opacity 0.25s ease;

	scrollbar-width: thin;
	scrollbar-color: #c9d3df transparent;
}


/* POPUP OPEN ANIMATION */

.vedant-fa-overlay.is-visible .vedant-fa-popup {
	transform:
		translateY(0)
		scale(1);

	opacity: 1;
}


/* CHROME / EDGE SCROLLBAR */

.vedant-fa-popup::-webkit-scrollbar {
	width: 7px;
}

.vedant-fa-popup::-webkit-scrollbar-track {
	background: transparent;
}

.vedant-fa-popup::-webkit-scrollbar-thumb {
	background: #c9d3df;
	border-radius: 10px;
}


/* =========================================================
   BODY SCROLL LOCK
   ========================================================= */

body.vedant-fa-body-lock {
	overflow: hidden;
}


/* =========================================================
   CLOSE BUTTON
   ========================================================= */

.vedant-fa-close {
	position: absolute;

	top: 14px;
	right: 14px;

	z-index: 5;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 38px;
	height: 38px;

	padding: 0;
	margin: 0;

	border: 0;
	border-radius: 50%;

	background: #f1f5f9;

	color: #536274;

	font-size: 27px;
	font-weight: 300;
	line-height: 1;

	cursor: pointer;

	transition:
		background 0.18s ease,
		color 0.18s ease,
		transform 0.18s ease;
}


.vedant-fa-close:hover {
	background: #e6edf5;
	color: #172b45;

	transform: rotate(4deg);
}


.vedant-fa-close:focus-visible {
	outline: 3px solid rgba(30, 111, 190, 0.30);
	outline-offset: 2px;
}


/* =========================================================
   STATE CONTAINER
   ========================================================= */

.vedant-fa-state {
	padding: 38px 42px 34px;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.vedant-fa-eyebrow {
	display: inline-flex;
	align-items: center;

	min-height: 30px;

	padding: 6px 13px;

	margin: 0 0 13px;

	border-radius: 999px;

	background: #edf5ff;

	color: #1c5c9c;

	font-family:
		Arial,
		Helvetica,
		sans-serif;

	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;

	letter-spacing: 0.075em;
	text-transform: uppercase;
}


/* =========================================================
   TITLE
   ========================================================= */

.vedant-fa-title {
	margin: 0;

	padding-right: 42px;

	color: #132b46;

	font-family:
		Arial,
		Helvetica,
		sans-serif;

	font-size: 31px;
	font-weight: 750;
	line-height: 1.16;

	letter-spacing: -0.025em;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.vedant-fa-description {
	margin: 14px 0 18px;

	color: #56687b;

	font-family:
		Arial,
		Helvetica,
		sans-serif;

	font-size: 15.5px;
	font-weight: 400;
	line-height: 1.62;
}


/* =========================================================
   INDEXING BADGES
   ========================================================= */

.vedant-fa-indexing {
	display: flex;
	flex-wrap: wrap;
	align-items: center;

	gap: 8px;

	margin: 0 0 18px;
}


.vedant-fa-indexing-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 32px;

	padding: 7px 12px;

	border: 1px solid #d8e4f1;
	border-radius: 8px;

	background: #f8fbff;

	color: #294f76;

	font-family:
		Arial,
		Helvetica,
		sans-serif;

	font-size: 12.5px;
	font-weight: 700;
	line-height: 1;

	white-space: nowrap;
}


/* =========================================================
   FREQUENCY PROMISE
   ========================================================= */

.vedant-fa-frequency {
	display: flex;
	align-items: center;

	gap: 12px;

	padding: 13px 15px;

	margin: 0 0 21px;

	border: 1px solid #d8ebdf;
	border-radius: 11px;

	background: #f4fbf6;
}


.vedant-fa-frequency-icon {
	flex: 0 0 auto;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 30px;
	height: 30px;

	border-radius: 50%;

	background: #178346;

	color: #ffffff;

	font-family:
		Arial,
		Helvetica,
		sans-serif;

	font-size: 15px;
	font-weight: 700;
	line-height: 1;
}


.vedant-fa-frequency-content {
	display: flex;
	flex-direction: column;

	gap: 2px;

	min-width: 0;

	font-family:
		Arial,
		Helvetica,
		sans-serif;
}


.vedant-fa-frequency-content strong {
	color: #1a5033;

	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.35;
}


.vedant-fa-frequency-content span {
	color: #63766a;

	font-size: 12.5px;
	font-weight: 400;
	line-height: 1.35;
}


/* =========================================================
   FORM
   ========================================================= */

.vedant-fa-form {
	margin: 0;
	padding: 0;
}


/* =========================================================
   FORM FIELD
   ========================================================= */

.vedant-fa-field {
	position: relative;

	margin: 0 0 15px;
}


.vedant-fa-label {
	display: block;

	margin: 0 0 7px;

	color: #263f5a;

	font-family:
		Arial,
		Helvetica,
		sans-serif;

	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.35;
}


/* =========================================================
   INPUTS
   ========================================================= */

.vedant-fa-input {
	display: block;

	width: 100%;
	height: 50px;

	padding: 0 15px;

	margin: 0;

	border: 1px solid #ced9e4;
	border-radius: 9px;

	background: #ffffff;

	color: #172b45;

	font-family:
		Arial,
		Helvetica,
		sans-serif;

	font-size: 15px;
	font-weight: 400;
	line-height: 1;

	box-shadow: none;

	outline: none;

	transition:
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		background 0.18s ease;
}


.vedant-fa-input::placeholder {
	color: #98a6b5;
	opacity: 1;
}


.vedant-fa-input:hover {
	border-color: #9eb5cc;
}


.vedant-fa-input:focus {
	border-color: #2875bb;

	background: #ffffff;

	box-shadow:
		0 0 0 4px rgba(40, 117, 187, 0.11);
}


/* ERROR INPUT */

.vedant-fa-input.vedant-fa-input-error {
	border-color: #c83d3d;

	box-shadow:
		0 0 0 3px rgba(200, 61, 61, 0.08);
}


/* =========================================================
   FIELD ERROR
   ========================================================= */

.vedant-fa-field-error {
	min-height: 0;

	margin: 5px 0 0;

	color: #b32d2e;

	font-family:
		Arial,
		Helvetica,
		sans-serif;

	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
}


.vedant-fa-field-error:empty {
	display: none;
}


/* =========================================================
   HONEYPOT
   ========================================================= */

.vedant-fa-honeypot {
	position: absolute !important;

	width: 1px !important;
	height: 1px !important;

	padding: 0 !important;
	margin: -1px !important;

	overflow: hidden !important;

	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;

	white-space: nowrap !important;

	border: 0 !important;
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.vedant-fa-submit {
	position: relative;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 100%;
	min-height: 52px;

	padding: 13px 22px;

	margin: 4px 0 0;

	border: 0;
	border-radius: 9px;

	background: #1c65a6;

	color: #ffffff;

	font-family:
		Arial,
		Helvetica,
		sans-serif;

	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;

	cursor: pointer;

	box-shadow:
		0 7px 18px rgba(28, 101, 166, 0.22);

	transition:
		background 0.18s ease,
		transform 0.18s ease,
		box-shadow 0.18s ease;
}


.vedant-fa-submit:hover {
	background: #155991;

	transform: translateY(-1px);

	box-shadow:
		0 9px 22px rgba(28, 101, 166, 0.27);
}


.vedant-fa-submit:active {
	transform: translateY(0);
}


.vedant-fa-submit:focus-visible {
	outline: 3px solid rgba(28, 101, 166, 0.28);
	outline-offset: 3px;
}


.vedant-fa-submit:disabled {
	opacity: 0.7;
	cursor: default;
	transform: none;
}


/* =========================================================
   CONSENT
   ========================================================= */

.vedant-fa-consent {
	margin: 14px 3px 0;

	color: #7a8794;

	font-family:
		Arial,
		Helvetica,
		sans-serif;

	font-size: 11.5px;
	font-weight: 400;
	line-height: 1.52;

	text-align: center;
}


.vedant-fa-consent strong {
	color: #596878;
	font-weight: 700;
}


.vedant-fa-consent-secondary {
	display: inline;
}


/* =========================================================
   SUCCESS STATE
   ========================================================= */

.vedant-fa-success-state {
	padding-top: 54px;
	padding-bottom: 48px;

	text-align: center;
}


/* IMPORTANT:
   Hidden state must always disappear completely.
*/

.vedant-fa-state[hidden] {
	display: none !important;
}


/* =========================================================
   SUCCESS ICON
   ========================================================= */

.vedant-fa-success-icon {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 72px;
	height: 72px;

	margin: 0 auto 21px;

	border-radius: 50%;

	background: #eaf8ef;

	color: #158044;

	font-family:
		Arial,
		Helvetica,
		sans-serif;

	font-size: 34px;
	font-weight: 700;
	line-height: 1;

	box-shadow:
		inset 0 0 0 1px rgba(21, 128, 68, 0.10);
}


/* =========================================================
   SUCCESS TITLE
   ========================================================= */

.vedant-fa-success-title {
	margin: 0 0 12px;

	color: #132b46;

	font-family:
		Arial,
		Helvetica,
		sans-serif;

	font-size: 30px;
	font-weight: 750;
	line-height: 1.2;

	letter-spacing: -0.02em;
}


/* =========================================================
   SUCCESS MESSAGE
   ========================================================= */

.vedant-fa-success-message {
	margin: 0 0 9px;

	color: #354d65;

	font-family:
		Arial,
		Helvetica,
		sans-serif;

	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
}


.vedant-fa-success-submessage {
	max-width: 430px;

	margin: 0 auto 25px;

	color: #647487;

	font-family:
		Arial,
		Helvetica,
		sans-serif;

	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
}


.vedant-fa-success-submessage strong {
	color: #344e68;
	font-weight: 700;
}


/* =========================================================
   SUCCESS CLOSE BUTTON
   ========================================================= */

.vedant-fa-success-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-width: 150px;
	min-height: 46px;

	padding: 11px 26px;

	border: 1px solid #cbd7e3;
	border-radius: 9px;

	background: #ffffff;

	color: #264a6e;

	font-family:
		Arial,
		Helvetica,
		sans-serif;

	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;

	cursor: pointer;

	transition:
		background 0.18s ease,
		border-color 0.18s ease,
		color 0.18s ease;
}


.vedant-fa-success-close:hover {
	background: #f3f7fb;
	border-color: #abc0d4;
	color: #173a5c;
}


.vedant-fa-success-close:focus-visible {
	outline: 3px solid rgba(28, 101, 166, 0.25);
	outline-offset: 3px;
}


/* =========================================================
   SHAKE ERROR ANIMATION
   ========================================================= */

@keyframes vedant-fa-shake {

	0% {
		transform: translateX(0);
	}

	25% {
		transform: translateX(-4px);
	}

	50% {
		transform: translateX(4px);
	}

	75% {
		transform: translateX(-2px);
	}

	100% {
		transform: translateX(0);
	}
}


.vedant-fa-input.vedant-fa-shake {
	animation: vedant-fa-shake 0.28s ease;
}


/* =========================================================
   POPUP ENTRANCE
   ========================================================= */

@media (prefers-reduced-motion: no-preference) {

	.vedant-fa-overlay.is-visible .vedant-fa-eyebrow {
		animation:
			vedant-fa-content-in
			0.32s
			ease
			0.05s
			both;
	}


	.vedant-fa-overlay.is-visible .vedant-fa-title {
		animation:
			vedant-fa-content-in
			0.34s
			ease
			0.08s
			both;
	}


	.vedant-fa-overlay.is-visible .vedant-fa-description {
		animation:
			vedant-fa-content-in
			0.34s
			ease
			0.11s
			both;
	}


	.vedant-fa-overlay.is-visible .vedant-fa-indexing {
		animation:
			vedant-fa-content-in
			0.34s
			ease
			0.14s
			both;
	}


	.vedant-fa-overlay.is-visible .vedant-fa-frequency {
		animation:
			vedant-fa-content-in
			0.34s
			ease
			0.17s
			both;
	}


	.vedant-fa-overlay.is-visible .vedant-fa-form {
		animation:
			vedant-fa-content-in
			0.34s
			ease
			0.20s
			both;
	}

}


@keyframes vedant-fa-content-in {

	from {
		opacity: 0;
		transform: translateY(7px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 767px) {

	.vedant-fa-overlay {
		padding: 18px;
	}


	.vedant-fa-popup {
		max-width: 520px;

		border-radius: 17px;
	}


	.vedant-fa-state {
		padding:
			34px
			28px
			28px;
	}


	.vedant-fa-title {
		font-size: 27px;
	}


	.vedant-fa-description {
		font-size: 14.5px;
	}


	.vedant-fa-success-state {
		padding-top: 48px;
		padding-bottom: 40px;
	}

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 520px) {

	.vedant-fa-overlay {
		align-items: flex-end;

		padding:
			12px
			10px
			10px;
	}


	.vedant-fa-popup {
		width: 100%;
		max-width: none;

		max-height: calc(100vh - 18px);

		border-radius:
			18px
			18px
			14px
			14px;

		transform:
			translateY(25px)
			scale(0.99);
	}


	.vedant-fa-overlay.is-visible .vedant-fa-popup {
		transform:
			translateY(0)
			scale(1);
	}


	.vedant-fa-state {
		padding:
			29px
			20px
			24px;
	}


	.vedant-fa-close {
		top: 11px;
		right: 11px;

		width: 35px;
		height: 35px;

		font-size: 25px;
	}


	.vedant-fa-eyebrow {
		min-height: 28px;

		padding:
			5px
			11px;

		margin-bottom: 11px;

		font-size: 10.5px;
	}


	.vedant-fa-title {
		padding-right: 34px;

		font-size: 24px;
		line-height: 1.18;
	}


	.vedant-fa-description {
		margin-top: 11px;
		margin-bottom: 14px;

		font-size: 13.5px;
		line-height: 1.52;
	}


	.vedant-fa-indexing {
		gap: 6px;

		margin-bottom: 14px;
	}


	.vedant-fa-indexing-item {
		min-height: 29px;

		padding:
			6px
			9px;

		font-size: 10.5px;
	}


	.vedant-fa-frequency {
		gap: 9px;

		padding:
			10px
			11px;

		margin-bottom: 16px;
	}


	.vedant-fa-frequency-icon {
		width: 26px;
		height: 26px;

		font-size: 13px;
	}


	.vedant-fa-frequency-content strong {
		font-size: 12px;
	}


	.vedant-fa-frequency-content span {
		font-size: 11.5px;
	}


	.vedant-fa-field {
		margin-bottom: 12px;
	}


	.vedant-fa-label {
		margin-bottom: 6px;

		font-size: 12.5px;
	}


	.vedant-fa-input {
		height: 47px;

		padding:
			0
			13px;

		font-size: 14px;

		border-radius: 8px;
	}


	.vedant-fa-submit {
		min-height: 49px;

		padding:
			12px
			18px;

		font-size: 14px;

		border-radius: 8px;
	}


	.vedant-fa-consent {
		margin-top: 11px;

		font-size: 10.5px;
		line-height: 1.45;
	}


	/* SUCCESS MOBILE */

	.vedant-fa-success-state {
		padding:
			46px
			22px
			34px;
	}


	.vedant-fa-success-icon {
		width: 64px;
		height: 64px;

		margin-bottom: 17px;

		font-size: 30px;
	}


	.vedant-fa-success-title {
		font-size: 25px;
	}


	.vedant-fa-success-message {
		font-size: 14.5px;
	}


	.vedant-fa-success-submessage {
		margin-bottom: 21px;

		font-size: 13px;
		line-height: 1.55;
	}


	.vedant-fa-success-close {
		min-width: 140px;
		min-height: 44px;

		font-size: 13px;
	}

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 360px) {

	.vedant-fa-overlay {
		padding:
			8px
			7px
			7px;
	}


	.vedant-fa-state {
		padding:
			26px
			17px
			21px;
	}


	.vedant-fa-title {
		font-size: 22px;
	}


	.vedant-fa-indexing-item {
		padding:
			6px
			8px;

		font-size: 10px;
	}

}


/* =========================================================
   REDUCED MOTION ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

	.vedant-fa-overlay,
	.vedant-fa-popup,
	.vedant-fa-close,
	.vedant-fa-input,
	.vedant-fa-submit,
	.vedant-fa-success-close {
		transition: none !important;
		animation: none !important;
	}

}