/* --- Form Container --- */
.free-demo-form .trial-form {}

/* --- Form Groups & Rows --- */
.free-demo-form .form-group {
	margin-bottom: 16px;
	width: 100%;
}

.free-demo-form .form-row {
	gap: 16px;
	display: flex;
	margin-bottom: 16px;
}

.free-demo-form .form-row .form-group {
	margin-bottom: 0;
}

/* --- Labels & Required Fields --- */
.free-demo-form label {
	color: #191822;
	display: block;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
	margin-bottom: 4px;
	font-family: Figtree, sans-serif;
}

.free-demo-form .required {
	color: #DE350B;
}

/* --- Inputs & Selects --- */
.free-demo-form input[type="text"],
.free-demo-form input[type="email"],
.free-demo-form input[type="tel"],
.free-demo-form select {
	width: 100%;
	color: #191822;
	padding: 7px 14px;
	border: 1px solid #D7D7E0;
	outline: none;
	min-height: unset;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 400;
	transition: all 0.2s ease-in-out;
	line-height: 24px;
}

.free-demo-form input:focus,
.free-demo-form select:focus {
	outline: none;
	background-color: #FFFFFF;
	border: 1px solid #5148ea;
    box-shadow: 0 0 0 4px rgba(81, 72, 234, 0.08);
}

.free-demo-form select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23191822' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
	background-position: right 0.75rem center;
	background-repeat: no-repeat;
	background-size: 1.25em;
	padding-right: 2.5rem;
	line-height: 24px;
}

/* --- Special Input Groups --- */
.free-demo-form .input-with-icon {
	position: relative;
}

.free-demo-form .input-with-icon .icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	color: #6b778c;
}

.free-demo-form .input-with-icon input {
	padding-left: 2.5rem;
}

.free-demo-form .phone-input-group {
	display: flex;
}

.free-demo-form .phone-input-group select {
	width: auto;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	border-right: none;
}

/* --- Checkbox --- */
.free-demo-form .checkbox-group {
	gap: 10px;
	display: flex;
	margin-bottom: 1.5rem;
	align-items: flex-start;
}

.free-demo-form .checkbox-group input[type="checkbox"] {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	margin: 3px 0 0;
	cursor: pointer;
}

.free-demo-form .checkbox-group label {
	cursor: pointer;
	font-weight: 400;
	font-size: 15px;
	margin-bottom: 0;
}

/* --- Button & Disclaimer --- */
.free-demo-form button[type="submit"] {
	width: 100%;
	color: #FFFFFF;
	cursor: pointer;
	font-size: 16px;
	font-weight: 500;
	line-height: 20px;
	padding: 9px 16px;
	border-radius: 8px;
	background: #5148EA;
	border: 1px solid #5148EA;
	transition: background-color 0.2s ease-in-out;
}

.free-demo-form button[type="submit"]:hover {
	background: #8078FF;
	border: 1px solid #8078FF;
}

.free-demo-form .disclaimer {
	color: #525257;
	font-size: 13px;
	margin-top: 20px;
	line-height: 19px;
	text-align: center;
	margin-bottom: 0px;
}
.free-demo-form .disclaimer a:hover {
	color: #5148EA;
}

/* --- intl-tel-input --- */
.iti {
	display: block;
	width: 100%;
}
.iti .iti__search-input {
	height: 38px;
}
.iti .iti__selected-country-primary {
	padding: 0 15px;
	background-color: #F2F2FA;
	border-radius: 8px 0 0 8px;
}
.iti .iti__country-container {
    top: 1px;
    left: 1px;
    padding: 0;
    bottom: 0.5px;
}

/* --- Form Response Message --- */
.free-demo-form .form-response {
	margin-top: 1rem;
	text-align: center;
	font-size: 0.875rem;
	padding: 8px 12px;
	display: none;
}

.free-demo-form .form-response.error{
	background-color: #f4a2a2;
	/* border-left: 4px solid #cc1818; */
	display: block;
}

.free-demo-form .form-response.success{
	background-color: #b3e6c7;
	/* border-left: 4px solid #2e8540; */
	display: block;
}

/* --- Responsive Design --- */
@media (max-width: 640px) {
	.free-demo-form .form-row {
		flex-direction: column;
		gap: 0;
		margin-bottom: 0;
	}

	.free-demo-form .form-row .form-group {
		margin-bottom: 1.25rem;
	}

	.free-demo-form .free-demo-form {
		padding: 1.5rem;
	}
}
