/**
 * Life Sciences page — Formidable form (Consultation Request)
 * Scoped to .life-sciences-page .ls-formidable-wrap
 */

.life-sciences-page .ls-form-card {
	background-color: #1e293b;
}

.life-sciences-page .ls-formidable-wrap .frm_forms,
.life-sciences-page .ls-formidable-wrap .frm_form_fields,
.life-sciences-page .ls-formidable-wrap fieldset {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.life-sciences-page .ls-formidable-wrap .frm_fields_container {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.life-sciences-page .ls-formidable-wrap .frm_form_field {
	margin: 0;
	padding: 0;
	float: none;
	width: 100%;
}

.life-sciences-page .ls-formidable-wrap .frm_form_field.frm6 {
	width: calc(50% - 0.5rem);
}

@media (max-width: 639px) {
	.life-sciences-page .ls-formidable-wrap .frm_form_field.frm6 {
		width: 100%;
	}
}

.life-sciences-page .ls-formidable-wrap .frm_primary_label {
	display: block;
	margin-bottom: 0.375rem;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
	letter-spacing: 0.025em;
	color: #94a3b8;
}

.life-sciences-page .ls-formidable-wrap .frm_required {
	color: #f47920;
}

.life-sciences-page .ls-formidable-wrap input[type="text"],
.life-sciences-page .ls-formidable-wrap input[type="email"],
.life-sciences-page .ls-formidable-wrap input[type="tel"],
.life-sciences-page .ls-formidable-wrap input[type="url"],
.life-sciences-page .ls-formidable-wrap select,
.life-sciences-page .ls-formidable-wrap textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid rgba(51, 65, 85, 0.85);
	border-radius: 0.75rem;
	background-color: #0f172a;
	color: #ffffff;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.5;
	text-align: left !important;
	text-align-last: left !important;
	-ms-text-align-last: left !important;
	padding: 0.75rem 1rem;
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Formidable adds class "focus" — theme style.css centers .focus inputs */
.life-sciences-page .ls-formidable-wrap input.focus,
.life-sciences-page .ls-formidable-wrap textarea.focus,
.life-sciences-page .ls-formidable-wrap select.focus,
.life-sciences-page .ls-formidable-wrap input[type="text"]:focus,
.life-sciences-page .ls-formidable-wrap input[type="email"]:focus,
.life-sciences-page .ls-formidable-wrap textarea:focus,
.life-sciences-page .ls-formidable-wrap select:focus {
	text-align: left !important;
	text-align-last: left !important;
	-ms-text-align-last: left !important;
}

.life-sciences-page .ls-formidable-wrap textarea {
	min-height: 5.5rem;
	resize: vertical;
}

.life-sciences-page .ls-formidable-wrap select {
	appearance: none;
	padding-right: 2.5rem;
	cursor: pointer;
	color: #ffffff;
	background-color: #0f172a;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 1rem;
}

.life-sciences-page .ls-formidable-wrap select option {
	color: #ffffff;
	background-color: #0f172a;
}

.life-sciences-page .ls-formidable-wrap input::placeholder,
.life-sciences-page .ls-formidable-wrap textarea::placeholder,
.life-sciences-page .ls-formidable-wrap input::-webkit-input-placeholder,
.life-sciences-page .ls-formidable-wrap textarea::-webkit-input-placeholder,
.life-sciences-page .ls-formidable-wrap input::-moz-placeholder,
.life-sciences-page .ls-formidable-wrap textarea::-moz-placeholder,
.life-sciences-page .ls-formidable-wrap input:-ms-input-placeholder,
.life-sciences-page .ls-formidable-wrap textarea:-ms-input-placeholder {
	color: #64748b;
	opacity: 1;
	text-align: left !important;
}

.life-sciences-page .ls-formidable-wrap input:focus,
.life-sciences-page .ls-formidable-wrap select:focus,
.life-sciences-page .ls-formidable-wrap textarea:focus {
	outline: none;
	border-color: #f47920;
	box-shadow: 0 0 0 1px #f47920;
}

.life-sciences-page .ls-formidable-wrap .frm_error_style,
.life-sciences-page .ls-formidable-wrap .frm_message {
	border-radius: 0.75rem;
	margin-bottom: 1rem;
	font-size: 0.875rem;
}

.life-sciences-page .ls-formidable-wrap .frm_error_style {
	background: #450a0a;
	border: 1px solid #991b1b;
	color: #fecaca;
	padding: 0.75rem 1rem;
}

.life-sciences-page .ls-formidable-wrap .frm_message {
	background: #064e3b;
	border: 1px solid #047857;
	color: #d1fae5;
	padding: 0.75rem 1rem;
}

.life-sciences-page .ls-formidable-wrap .frm_error {
	color: #fca5a5;
	font-size: 0.75rem;
	margin-top: 0.25rem;
}

.life-sciences-page .ls-formidable-wrap .frm_description {
	color: #94a3b8;
	font-size: 0.75rem;
	margin-top: 0.25rem;
}

.life-sciences-page .ls-formidable-wrap .frm_submit,
.life-sciences-page .ls-formidable-wrap #frm_field_431_container {
	width: 100%;
	margin: 0;
	padding-top: 0.25rem;
}

.life-sciences-page .ls-formidable-wrap .frm_submit.frm_flex {
	display: block;
}

.life-sciences-page .ls-formidable-wrap .frm_button_submit,
.life-sciences-page .ls-formidable-wrap input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	border: 0;
	border-radius: 0.75rem;
	background-color: #f47920;
	color: #ffffff !important;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.25;
	padding: 0.875rem 1.5rem;
	cursor: pointer;
	box-shadow: 0 10px 15px -3px rgba(244, 121, 32, 0.15);
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.life-sciences-page .ls-formidable-wrap .frm_button_submit::after,
.life-sciences-page .ls-formidable-wrap input[type="submit"]::after {
	content: "";
	display: inline-block;
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	transition: transform 0.2s ease;
}

.life-sciences-page .ls-formidable-wrap .frm_button_submit:hover,
.life-sciences-page .ls-formidable-wrap input[type="submit"]:hover {
	background-color: #ea580c;
	transform: translateY(-1px);
}

.life-sciences-page .ls-formidable-wrap .frm_button_submit:hover::after,
.life-sciences-page .ls-formidable-wrap input[type="submit"]:hover::after {
	transform: translateX(2px);
}

.life-sciences-page .ls-formidable-wrap .frm_verify,
.life-sciences-page .ls-formidable-wrap #frm_field_438_container {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.life-sciences-page .ls-formidable-wrap .frm_screen_reader {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.life-sciences-page .ls-formidable-wrap .frm_ajax_loading {
	margin-top: 0.5rem;
}

.life-sciences-page .ls-form-privacy {
	margin: 0;
	font-size: 10px;
	line-height: 1.5;
	text-align: center;
	color: #64748b;
	font-family: "Space Grotesk", ui-monospace, monospace;
}

.life-sciences-page .ls-form-intro-email {
	color: #f47920;
	font-weight: 700;
}

/* Override Formidable theme defaults (with_frm_style) */
.life-sciences-page .ls-formidable-wrap.with_frm_style .frm_form_fields,
.life-sciences-page .ls-formidable-wrap .with_frm_style .frm_form_fields,
.life-sciences-page .ls-formidable-wrap .frm_style_formidable-style {
	--field-bg-color: #0f172a;
	--field-border-color: rgba(51, 65, 85, 0.85);
	--field-text-color: #ffffff;
	--field-font-size: 0.875rem;
	--submit-bg-color: #f47920;
	--submit-text-color: #ffffff;
	--submit-hover-bg-color: #ea580c;
	--error-bg: #450a0a;
	--error-border: #991b1b;
	--error-text: #fecaca;
}

.life-sciences-page .ls-formidable-wrap.with_frm_style input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
.life-sciences-page .ls-formidable-wrap .with_frm_style input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
.life-sciences-page .ls-formidable-wrap.with_frm_style select,
.life-sciences-page .ls-formidable-wrap .with_frm_style select,
.life-sciences-page .ls-formidable-wrap.with_frm_style textarea,
.life-sciences-page .ls-formidable-wrap .with_frm_style textarea {
	background-color: #0f172a !important;
	border-color: rgba(51, 65, 85, 0.85) !important;
	color: #ffffff !important;
	text-align: left !important;
	border-radius: 0.75rem !important;
	box-shadow: none !important;
}

.life-sciences-page .ls-formidable-wrap.with_frm_style select option,
.life-sciences-page .ls-formidable-wrap .with_frm_style select option {
	color: #ffffff !important;
	background-color: #0f172a !important;
}

.life-sciences-page .ls-formidable-wrap.with_frm_style .frm_primary_label,
.life-sciences-page .ls-formidable-wrap .with_frm_style .frm_primary_label {
	color: #94a3b8 !important;
	font-weight: 700 !important;
}

.life-sciences-page .ls-formidable-wrap.with_frm_style .frm_button_submit,
.life-sciences-page .ls-formidable-wrap .with_frm_style .frm_button_submit {
	background: #f47920 !important;
	border: 0 !important;
	color: #ffffff !important;
	width: 100% !important;
}

.life-sciences-page .ls-formidable-wrap.with_frm_style .frm_button_submit:hover,
.life-sciences-page .ls-formidable-wrap .with_frm_style .frm_button_submit:hover {
	background: #ea580c !important;
}

.life-sciences-page .ls-formidable-wrap .frm_form_field.frm_none_container {
	width: 100%;
}
