/* ============================================================
   FORMULAR SOLICITARE INFORMAȚII — Formidable (form id 3)
   cursurimedicale.ro · design „Glass Clinic"
   ------------------------------------------------------------
   Se încarcă doar pe pagina /formular-solicitare-informatii-curs-de-antreprenoriat/
   (vezi snippet-ul de enqueue). Totul este scopat pe
   #frm_form_3_container, ca să nu atingă alte formulare.

   ORGANIZARE
     1. Variabilele Formidable (culori, dimensiuni, buton)
     2. Titlu/descriere generate de Formidable (ascunse — le dă hero-ul)
     3. Etichete și câmpuri
     4. Checkbox-uri (Termeni / Confidențialitate)
     5. Buton de trimitere
     6. Mesaje de eroare / succes
     7. Responsive
   ============================================================ */

/* 1. Variabilele Formidable ---------------------------------- */
#frm_form_3_container.with_frm_style {
	--font-size: 15px;
	--base-font-size: 15px;
	--field-font-size: 15.5px;
	--field-height: 50px;
	--line-height: 1.4;
	--field-pad: 12px 16px;
	--field-margin: 18px;
	--field-weight: 400;
	--text-color: var(--ink, #001630);
	--bg-color: #ffffff;
	--bg-color-active: #ffffff;
	--border-color: var(--line-2, #D8E4EE);
	--border-color-active: var(--blue, #2B7FE8);
	--field-border-width: 1px;
	--border-radius: var(--r-sm, 12px);
	--box-shadow: 0 2px 10px rgba(0, 22, 48, .04);

	--label-color: var(--ink-2, #0B2B4A);
	--weight: 600;
	--label-padding: 0 0 8px 0;
	--required-color: var(--orange-d, #B4700A);
	--required-weight: 600;
	--description-font-size: 13px;
	--description-color: var(--muted, #7A8A99);

	--check-font-size: 14px;
	--check-label-color: var(--body, #47596B);
	--check-weight: 400;

	--submit-font-size: 15px;
	--submit-weight: 600;
	--submit-text-color: #ffffff;
	--submit-bg-color: var(--orange, #F18F12);
	--submit-border-color: var(--orange, #F18F12);
	--submit-border-width: 0px;
	--submit-border-radius: var(--r-pill, 999px);
	--submit-padding: 15px 27px;
	--submit-height: 48px;
	--submit-width: auto;
	--submit-margin: 8px 0 0 0;
	--submit-shadow-color: transparent;
	--submit-hover-bg-color: var(--orange, #F18F12);
	--submit-hover-color: #ffffff;
	--submit-hover-border-color: var(--orange, #F18F12);
	--submit-active-bg-color: var(--orange-d, #B4700A);
	--submit-active-color: #ffffff;
	--submit-active-border-color: var(--orange-d, #B4700A);

	--error-bg: #FFF4F4;
	--error-border: #F3C7C7;
	--error-text: #B42318;
	--error-font-size: 13.5px;
	--success-bg-color: var(--teal-tint, #E8F7F7);
	--success-border-color: var(--teal, #17B3AE);
	--success-text-color: var(--teal-d, #0E8C88);
	--success-font-size: 15px;

	font-family: var(--sans, 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif);
	color: var(--body, #47596B);
}

/* 2. Titlu și descriere generate de Formidable ---------------- */
#frm_form_3_container .frm_form_title,
#frm_form_3_container .frm_description {
	display: none;
}
#frm_form_3_container fieldset {
	padding: 0;
	margin: 0;
	border: 0;
}

/* 3. Etichete și câmpuri ------------------------------------- */
#frm_form_3_container .frm_primary_label {
	font-family: var(--sans, 'Inter', system-ui, sans-serif);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ink-2, #0B2B4A);
	letter-spacing: 0;
	text-transform: none;
}
#frm_form_3_container .frm_required {
	color: var(--orange-d, #B4700A);
	font-weight: 600;
}

#frm_form_3_container.with_frm_style input[type="text"],
#frm_form_3_container.with_frm_style input[type="email"],
#frm_form_3_container.with_frm_style input[type="tel"],
#frm_form_3_container.with_frm_style input[type="number"],
#frm_form_3_container.with_frm_style textarea,
#frm_form_3_container.with_frm_style select {
	font-family: var(--sans, 'Inter', system-ui, sans-serif);
	font-size: 15.5px;
	line-height: 1.4;
	color: var(--ink, #001630);
	background: #fff;
	border: 1px solid var(--line-2, #D8E4EE);
	border-radius: var(--r-sm, 12px);
	box-shadow: 0 2px 10px rgba(0, 22, 48, .04);
	transition: border-color .16s ease, box-shadow .16s ease;
	-webkit-appearance: none;
	appearance: none;
}
#frm_form_3_container.with_frm_style textarea {
	min-height: 140px;
	resize: vertical;
}
#frm_form_3_container.with_frm_style input:hover,
#frm_form_3_container.with_frm_style textarea:hover {
	border-color: #B9CFE2;
}
#frm_form_3_container.with_frm_style input:focus,
#frm_form_3_container.with_frm_style textarea:focus,
#frm_form_3_container.with_frm_style select:focus {
	outline: none;
	border-color: var(--blue, #2B7FE8);
	box-shadow: 0 0 0 4px var(--blue-tint, #EDF4FE);
}
#frm_form_3_container.with_frm_style ::placeholder {
	color: var(--muted, #7A8A99);
	opacity: 1;
}

/* Câmp în eroare */
#frm_form_3_container.with_frm_style .frm_blank_field input,
#frm_form_3_container.with_frm_style .frm_blank_field textarea {
	border-color: #E4A0A0;
	box-shadow: 0 0 0 4px #FFF4F4;
}

/* 4. Checkbox-uri --------------------------------------------- */
#frm_form_3_container .frm_checkbox {
	margin: 0;
}
#frm_form_3_container .frm_checkbox label {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	font-family: var(--sans, 'Inter', system-ui, sans-serif);
	font-size: 14px;
	line-height: 1.55;
	color: var(--body, #47596B);
	cursor: pointer;
	padding: 0;
}
#frm_form_3_container .frm_checkbox input[type="checkbox"] {
	-webkit-appearance: none;
	appearance: none;
	flex: none;
	width: 20px !important;  /* Formidable pune 16px cu !important */
	height: 20px !important;
	margin: 1px 0 0 0;
	border: 1.5px solid var(--line-2, #D8E4EE);
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
#frm_form_3_container .frm_checkbox input[type="checkbox"]:hover {
	border-color: var(--teal, #17B3AE);
}
#frm_form_3_container .frm_checkbox input[type="checkbox"]:focus-visible {
	outline: none;
	box-shadow: 0 0 0 4px var(--teal-tint, #E8F7F7);
	border-color: var(--teal, #17B3AE);
}
#frm_form_3_container .frm_checkbox input[type="checkbox"]:checked {
	border-color: var(--teal, #17B3AE);
	background-color: var(--teal, #17B3AE);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px 12px;
}
/* Cele două grupuri de consimțământ, mai compacte */
#frm_form_3_container .vertical_radio .frm_primary_label {
	padding-bottom: 6px;
}
#frm_form_3_container .vertical_radio {
	margin-bottom: 14px;
}

/* 5. Buton de trimitere --------------------------------------- */
#frm_form_3_container .frm_submit {
	margin-top: 8px;
}
#frm_form_3_container.with_frm_style .frm_button_submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 48px;
	padding: 15px 27px;
	border: 0;
	border-radius: var(--r-pill, 999px);
	background: var(--orange, #F18F12);
	color: #fff;
	font-family: var(--sans, 'Inter', system-ui, sans-serif);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(241, 143, 18, .28);
	transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
	white-space: nowrap;
}
#frm_form_3_container.with_frm_style .frm_button_submit::after {
	content: "";
	width: 16px;
	height: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .16s ease;
}
#frm_form_3_container.with_frm_style .frm_button_submit:hover,
#frm_form_3_container.with_frm_style .frm_button_submit:focus-visible {
	background: var(--orange, #F18F12);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 13px 28px rgba(241, 143, 18, .36);
	outline: none;
}
#frm_form_3_container.with_frm_style .frm_button_submit:hover::after {
	transform: translateX(3px);
}
#frm_form_3_container.with_frm_style .frm_button_submit:focus-visible {
	box-shadow: 0 0 0 4px var(--orange-tint, #FEF4E6), 0 8px 22px rgba(241, 143, 18, .28);
}
#frm_form_3_container.with_frm_style .frm_button_submit:active {
	transform: translateY(0);
	background: var(--orange-d, #B4700A);
}
/* Spinner-ul Formidable în timpul trimiterii */
#frm_form_3_container .frm_loading_form .frm_button_submit {
	opacity: .7;
	pointer-events: none;
}

/* 6. Mesaje de eroare / succes -------------------------------- */
#frm_form_3_container .frm_error {
	margin-top: 6px;
	font-size: 13.5px;
	line-height: 1.4;
	color: #B42318;
}
#frm_form_3_container .frm_error_style {
	margin: 0 0 18px;
	padding: 14px 18px;
	border: 1px solid #F3C7C7;
	border-left: 3px solid #B42318;
	border-radius: 0 var(--r-sm, 12px) var(--r-sm, 12px) 0;
	background: #FFF4F4;
	color: #B42318;
	font-size: 14.5px;
}
#frm_form_3_container .frm_message {
	margin: 0;
	padding: 18px 22px;
	border: 1px solid var(--teal, #17B3AE);
	border-left-width: 3px;
	border-radius: 0 var(--r-sm, 12px) var(--r-sm, 12px) 0;
	background: var(--teal-tint, #E8F7F7);
	color: var(--ink-2, #0B2B4A);
	font-size: 15.5px;
	line-height: 1.6;
}
#frm_form_3_container .frm_message p {
	margin: 0;
}

/* 7. Responsive ------------------------------------------------ */
@media (max-width: 600px) {
	#frm_form_3_container.with_frm_style {
		--field-height: 48px;
		--field-margin: 16px;
	}
	#frm_form_3_container.with_frm_style .frm_button_submit {
		width: 100%;
	}
}