.codity-lead-gate-form {
	--clg-navy: #12184a;
	--clg-orange: #f5731e;
	--clg-orange-dark: #df5b0c;
	--clg-border: #e5e9f2;
	--clg-muted: #667085;
	box-sizing: border-box;
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 28px 0 !important;
	padding: 0 !important;
	font-family: inherit;
}

.codity-lead-gate-form *,
.codity-lead-gate-form *::before,
.codity-lead-gate-form *::after {
	box-sizing: border-box;
}

.codity-lead-gate-form > .codity-lead-gate-card {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0;
	padding: clamp(24px, 4vw, 48px);
	border: 1px solid var(--clg-border);
	border-radius: 24px;
	background: linear-gradient(135deg, #fff 0%, #fcfdff 100%);
	box-shadow: 0 18px 50px rgba(18, 24, 74, 0.09);
}

.codity-lead-gate-form .clg-heading {
	position: relative;
	margin: 0 auto 28px;
	text-align: center;
}

.codity-lead-gate-form .clg-heading::after {
	display: block;
	width: 54px;
	height: 4px;
	margin: 14px auto 0;
	border-radius: 999px;
	background: var(--clg-orange);
	content: "";
}

.codity-lead-gate-form .clg-heading h2,
.codity-lead-gate-form .clg-success h2 {
	margin: 0 0 8px;
	color: var(--clg-navy);
	font-size: clamp(21px, 3vw, 31px);
	font-weight: 800;
	line-height: 1.5;
}

.codity-lead-gate-form .clg-heading p,
.codity-lead-gate-form .clg-success p {
	max-width: 720px;
	margin: 0 auto;
	color: var(--clg-muted);
	font-size: 15px;
	line-height: 1.9;
}

.codity-lead-gate-form .clg-form {
	display: grid;
	gap: 22px;
}

.codity-lead-gate-form .clg-fields {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.codity-lead-gate-form .clg-field {
	display: grid;
	min-width: 0;
	gap: 8px;
}

.codity-lead-gate-form .clg-field label {
	color: var(--clg-navy);
	font-size: 14px;
	font-weight: 800;
}

.codity-lead-gate-form .clg-field label span {
	color: var(--clg-orange);
}

.codity-lead-gate-form .clg-field label em {
	margin-right: 5px;
	color: #98a2b3;
	font-size: 12px;
	font-style: normal;
	font-weight: 500;
}

.codity-lead-gate-form .clg-field input[type="text"],
.codity-lead-gate-form .clg-field input[type="tel"] {
	width: 100%;
	min-width: 0;
	min-height: 54px;
	padding: 13px 16px;
	border: 1px solid #d9deea;
	border-radius: 13px;
	background: #fff;
	color: #101828;
	font: inherit;
	font-size: 15px;
	outline: none;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.codity-lead-gate-form .clg-field input:focus {
	border-color: var(--clg-orange);
	box-shadow: 0 0 0 4px rgba(245, 115, 30, 0.13);
	transform: translateY(-1px);
}

.codity-lead-gate-form .clg-phone-input {
	direction: ltr;
	text-align: right;
}

.codity-lead-gate-form .clg-field small {
	color: #98a2b3;
	font-size: 11px;
	line-height: 1.7;
}

.codity-lead-gate-form .clg-consent {
	color: var(--clg-muted);
	font-size: 13px;
	line-height: 1.8;
}

.codity-lead-gate-form .clg-consent label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	cursor: pointer;
}

.codity-lead-gate-form .clg-consent input {
	flex: 0 0 auto;
	margin-top: 5px;
	accent-color: var(--clg-orange);
}

.codity-lead-gate-form .clg-form-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
	padding-top: 4px;
}

.codity-lead-gate-form .clg-submit,
.codity-lead-gate-form .clg-demo-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 240px;
	min-height: 54px;
	padding: 13px 24px;
	border: 0;
	border-radius: 13px;
	background: var(--clg-orange);
	box-shadow: 0 12px 26px rgba(245, 115, 30, 0.23);
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.codity-lead-gate-form .clg-submit:hover,
.codity-lead-gate-form .clg-submit:focus,
.codity-lead-gate-form .clg-demo-button:hover,
.codity-lead-gate-form .clg-demo-button:focus {
	background: var(--clg-orange-dark);
	box-shadow: 0 14px 30px rgba(245, 115, 30, 0.32);
	color: #fff;
	transform: translateY(-2px);
}

.codity-lead-gate-form .clg-submit:disabled {
	opacity: 0.75;
	cursor: wait;
	transform: none;
}

.codity-lead-gate-form .clg-submit-spinner {
	display: none;
	width: 17px;
	height: 17px;
	margin-right: 8px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: clg-spin 700ms linear infinite;
}

.codity-lead-gate-form .clg-submit.is-loading .clg-submit-spinner {
	display: inline-block;
}

.codity-lead-gate-form .clg-privacy-note {
	max-width: 420px;
	margin: 0;
	color: #98a2b3;
	font-size: 12px;
	line-height: 1.8;
	text-align: right;
}

.codity-lead-gate-form .clg-ajax-feedback:empty {
	display: none;
}

.codity-lead-gate-form .clg-notice {
	margin: 0 0 18px;
	padding: 12px 14px;
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.8;
}

.codity-lead-gate-form .clg-notice-error,
.codity-lead-gate-form .clg-ajax-feedback.is-error {
	border: 1px solid #fecdca;
	background: #fff6f5;
	color: #b42318;
}

.codity-lead-gate-form .clg-notice ul,
.codity-lead-gate-form .clg-ajax-feedback ul {
	margin: 0;
	padding: 0 18px 0 0;
}

.codity-lead-gate-form .clg-honeypot {
	position: absolute !important;
	left: -9999px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.codity-lead-gate-form .clg-success {
	text-align: center;
}

.codity-lead-gate-form .clg-success-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: #e9f8f1;
	color: #079455;
	font-size: 32px;
	font-weight: 900;
}

.codity-lead-gate-form .clg-success .clg-demo-button {
	margin-top: 24px;
}

.codity-lead-gate-form .clg-attention .clg-demo-button {
	animation: clg-attention 1.6s ease-in-out 0.2s 4;
}

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

@keyframes clg-attention {
	0%, 100% { box-shadow: 0 12px 26px rgba(245, 115, 30, 0.23); }
	50% { box-shadow: 0 0 0 9px rgba(245, 115, 30, 0.14), 0 16px 32px rgba(245, 115, 30, 0.34); }
}

@media (max-width: 800px) {
	.codity-lead-gate-form {
		margin: 20px 0 !important;
	}

	.codity-lead-gate-form .clg-fields {
		grid-template-columns: 1fr;
	}

	.codity-lead-gate-form .clg-form-footer {
		align-items: stretch;
		flex-direction: column;
	}

	.codity-lead-gate-form .clg-submit,
	.codity-lead-gate-form .clg-demo-button {
		width: 100%;
	}

	.codity-lead-gate-form .clg-privacy-note {
		max-width: none;
		text-align: center;
	}
}
