/**
 * Temporary skin for the classic contact form (footer, contact, team).
 * Replaces the hardcoded form commented out on 2026-11-10.
 *
 * Only matches forms that received .legalion-classic-contact, and never
 * body.legalion-gutenberg. Card and order Fluent Forms keep fluentform.css.
 */

body:not(.legalion-gutenberg) form.legalion-classic-contact {
	background: #f4f1f7;
	border-radius: 1rem;
	box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
	margin-top: 2.5rem;
	padding: 2.5rem;
	width: 100%;
}

body:not(.legalion-gutenberg) form.legalion-classic-contact .ff-el-group {
	margin-bottom: 1.5rem;
}

body:not(.legalion-gutenberg) form.legalion-classic-contact .ff-el-group:has(.ff-el-form-check) {
	margin-bottom: 0;
}

body:not(.legalion-gutenberg) form.legalion-classic-contact .ff-el-input--label,
body:not(.legalion-gutenberg) form.legalion-classic-contact .ff-el-input--label label {
	color: #8147a7;
	font-family: "Objektiv Mk1 Trial SemiBold", sans-serif;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 20px;
	margin-bottom: 0;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	text-transform: uppercase;
}

body:not(.legalion-gutenberg) form.legalion-classic-contact .ff-el-form-control,
body:not(.legalion-gutenberg) form.legalion-classic-contact textarea.ff-el-form-control {
	background: #fff;
	border: 0;
	border-radius: 0.5rem;
	box-shadow: 0 10px 18px rgba(64, 26, 90, 0.12);
	color: #000;
	font-family: "Objektiv Mk1 Trial Regular", sans-serif;
	font-size: 16px;
	line-height: 1.4;
	margin-top: 0;
	max-width: 100%;
	padding: 1.25rem 1.5rem;
	width: 100%;
}

body:not(.legalion-gutenberg) form.legalion-classic-contact .ff-el-input--content {
	margin-top: 0.75rem;
}

body:not(.legalion-gutenberg) form.legalion-classic-contact .iti {
	display: block;
	margin-top: 0;
	width: 100%;
}

body:not(.legalion-gutenberg) form.legalion-classic-contact textarea.ff-el-form-control {
	height: 5rem;
	min-height: 5rem;
	resize: none;
	transition: height 0.3s ease;
}

body:not(.legalion-gutenberg) form.legalion-classic-contact textarea.ff-el-form-control:focus {
	height: 15rem;
}

body:not(.legalion-gutenberg) form.legalion-classic-contact .ff-el-form-control:focus {
	border: 0;
	box-shadow: 0 10px 18px rgba(64, 26, 90, 0.12);
	outline: none;
}

body:not(.legalion-gutenberg) form.legalion-classic-contact .ff-el-form-check {
	align-items: flex-start;
	margin-top: 0.25rem;
}

body:not(.legalion-gutenberg) form.legalion-classic-contact .ff_t_c {
	padding-left: 0.75rem;
}

body:not(.legalion-gutenberg) form.legalion-classic-contact .ff-el-form-check-input {
	accent-color: #954098;
	background: #cab1d2;
	border: 1px solid #cab1d2;
	border-radius: 0.375rem;
	height: 1.25rem;
	margin-top: 0.15rem;
	width: 1.25rem;
}

body:not(.legalion-gutenberg) form.legalion-classic-contact .ff-el-form-check-label,
body:not(.legalion-gutenberg) form.legalion-classic-contact .ff_t_c {
	color: #94a3b8;
	font-family: "Objektiv Mk1 Trial Medium", sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.6;
	text-transform: none;
}

body:not(.legalion-gutenberg) form.legalion-classic-contact .ff_t_c a {
	color: #1d4ed8;
	text-decoration: none;
}

body:not(.legalion-gutenberg) form.legalion-classic-contact .ff_t_c a:hover {
	color: #1d4ed8;
	text-decoration: underline;
}

body:not(.legalion-gutenberg) form.legalion-classic-contact .ff_submit_btn_wrapper {
	margin-top: 2.5rem;
	text-align: right;
}

body:not(.legalion-gutenberg) form.legalion-classic-contact .ff-btn-submit {
	background: #954098 !important;
	border: 0 !important;
	border-radius: 0.5rem !important;
	color: #fff !important;
	cursor: pointer;
	font-family: "Objektiv Mk1 Trial Medium", sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 20px;
	padding: 1.5rem 3.5rem !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body:not(.legalion-gutenberg) form.legalion-classic-contact .ff-btn-submit:hover {
	background: #954098 !important;
	box-shadow: 10px 20px 40px 0 rgba(54, 28, 63, 0.8);
	transform: scale(1.1);
}

body:not(.legalion-gutenberg) form.legalion-classic-contact .ff-message-success,
body:not(.legalion-gutenberg) .fluentform:has(form.legalion-classic-contact) .ff-message-success {
	background: #fff;
	border: 0;
	border-radius: 0.5rem;
	box-shadow: 0 10px 18px rgba(64, 26, 90, 0.12);
	color: #281c3f;
	margin-top: 0;
	padding: 1.25rem 1.5rem;
}

body:not(.legalion-gutenberg) form.legalion-classic-contact .error,
body:not(.legalion-gutenberg) form.legalion-classic-contact .ff-el-is-error .text-danger {
	background: transparent;
	border-radius: 0;
	color: #c17a7a;
	display: block;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
	margin-top: 0.35rem;
	padding: 0 1.5rem;
}

@media (max-width: 765px) {
	body:not(.legalion-gutenberg) form.legalion-classic-contact {
		margin-bottom: 3.5rem;
		padding: 1.25rem;
	}

	body:not(.legalion-gutenberg) form.legalion-classic-contact .ff_submit_btn_wrapper {
		margin-top: 1.25rem;
	}
}
