.cand-fluentform {
	margin-top: 24px;
	max-width: 100%;
	min-width: 0;
	overflow-x: clip;
}

.ce3m-form-title {
	max-width: min(920px, 100%);
	margin: 24px auto 8px;
	font-size: clamp(1.75rem, 3.5vw, 2.75rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--dark);
	text-align: center;
}

.cand-fluentform .fluentform {
	--ff-border: #e5e7eb;
	--ff-text: #111827;
	--ff-muted: #6b7280;
	--ff-bg: #ffffff;
	--ff-primary: #ff6a00;
	--ff-primary-grad: linear-gradient(180deg, #ff7a1a 0%, #ff6a00 100%);
	--ff-focus: rgba(255, 106, 0, 0.18);
	--ff-radius: 12px;
	--ff-space-1: 8px;
	--ff-space-2: 16px;
	--ff-space-3: 24px;
	max-width: min(920px, 100%);
	min-width: 0;
	margin: 0 auto;
	padding: 32px;
	color: var(--ff-text);
	background: var(--ff-bg);
	border: 1px solid #f1f5f9;
	border-radius: 16px;
	box-shadow: 0 6px 24px rgba(17, 24, 39, 0.06);
}

/* Fluent Forms layout: two-column desktop/tablet, one-column mobile. */
.cand-fluentform .fluentform form,
.cand-fluentform .frm-fluent-form form {
	display: block;
}

.cand-fluentform .fluentform .ff-t-container,
.cand-fluentform .frm-fluent-form .ff-t-container {
	--ff-grid-gap-x: 22px;
	--ff-grid-gap-y: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: var(--ff-grid-gap-y) var(--ff-grid-gap-x);
	width: 100%;
	align-items: flex-start;
}

/* Remove row spacing when Fluent conditionally excludes the row. */
.cand-fluentform .fluentform .ff-t-container.ff_excluded,
.cand-fluentform .frm-fluent-form .ff-t-container.ff_excluded {
	margin-bottom: 0 !important;
}

/* Also remove row spacing when exclusion class is on a child cell. */
.cand-fluentform .fluentform .ff-t-container:has(> .ff-t-cell.ff_excluded),
.cand-fluentform .frm-fluent-form .ff-t-container:has(> .ff-t-cell.ff_excluded) {
	margin-bottom: 0 !important;
}

.cand-fluentform .fluentform .ff-t-cell,
.cand-fluentform .frm-fluent-form .ff-t-cell {
	flex: 0 0 100%;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	float: none !important;
	margin: 0 !important;
}

/* Native Fluent container: enforce clean 6/6 rows. */
.cand-fluentform .fluentform .ff-t-container.ff_columns_total_2 > .ff-t-cell,
.cand-fluentform .frm-fluent-form .ff-t-container.ff_columns_total_2 > .ff-t-cell {
	flex: 0 0 calc((100% - var(--ff-grid-gap-x)) / 2);
	width: calc((100% - var(--ff-grid-gap-x)) / 2);
	max-width: calc((100% - var(--ff-grid-gap-x)) / 2);
}

.cand-fluentform .fluentform .ff-t-container.ff_columns_total_1 > .ff-t-cell,
.cand-fluentform .frm-fluent-form .ff-t-container.ff_columns_total_1 > .ff-t-cell {
	flex: 0 0 100%;
	width: 100%;
	max-width: 100%;
}

.cand-fluentform .fluentform .ff-t-cell .ff-el-group,
.cand-fluentform .frm-fluent-form .ff-t-cell .ff-el-group {
	margin-bottom: 0;
}

.cand-fluentform .ff-el-group {
	margin-bottom: 6px;
	min-width: 0;
	width: 100%;
}

/* Keep utility wrappers and non-field blocks outside the two-column rhythm. */
.cand-fluentform .ff_form_step_nav,
.cand-fluentform .ff-step-header,
.cand-fluentform .ff-btn-wrap,
.cand-fluentform .ff_step_controls,
.cand-fluentform .ff-message-success,
.cand-fluentform .ff-response-success,
.cand-fluentform .ff-el-group.ff_submit_btn_wrapper,
.cand-fluentform .ff-el-section-break,
.cand-fluentform .ff-section_break_desk {
	flex: 0 0 100%;
	width: 100%;
}

/* Full-width blocks declared in form JSON. */
.cand-fluentform .ff-el-group.ff-el-group-full,
.cand-fluentform .ff-el-group.ce3m-doc-upload,
.cand-fluentform .ff-t-cell.ff_submit_btn_wrapper {
	width: 100%;
}

#ce3m-form-container.cand-fluentform .fluentform .ff-t-cell.ff_submit_btn_wrapper,
#ce3m-form-container.cand-fluentform .frm-fluent-form .ff-t-cell.ff_submit_btn_wrapper,
#ce3m-form-container.cand-fluentform .fluentform .ff-el-group.ff_submit_btn_wrapper,
#ce3m-form-container.cand-fluentform .frm-fluent-form .ff-el-group.ff_submit_btn_wrapper,
#ce3m-form-container.cand-fluentform .fluentform .ff-el-group.ce3m-doc-upload,
#ce3m-form-container.cand-fluentform .frm-fluent-form .ff-el-group.ce3m-doc-upload,
#ce3m-form-container.cand-fluentform .fluentform .ff-el-group.ff-el-group-full,
#ce3m-form-container.cand-fluentform .frm-fluent-form .ff-el-group.ff-el-group-full {
	width: 100% !important;
	max-width: 100% !important;
}

.cand-fluentform .ff-el-group .ff-el-form-label,
.cand-fluentform .ff-el-group > label {
	display: inline-block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.01em;
	color: var(--ff-muted);
	line-height: 1.4;
}

.cand-fluentform .ff-default .ff-el-input--label label {
	font-size: 13px;
	line-height: 1.35;
}

.cand-fluentform .ff-el-help-message {
	margin-top: 6px;
	font-size: 13px;
	color: var(--ff-muted);
}

.cand-fluentform .ff-el-form-control,
.cand-fluentform .ff-el-form-control[type="text"],
.cand-fluentform .ff-el-form-control[type="email"],
.cand-fluentform .ff-el-form-control[type="number"],
.cand-fluentform .ff-el-form-control[type="tel"],
.cand-fluentform .ff-el-form-control[type="url"],
.cand-fluentform .ff-el-form-control[type="password"],
.cand-fluentform .ff-el-form-control[type="date"],
.cand-fluentform select.ff-el-form-control {
	width: 100%;
	height: 52px;
	padding: 0 16px;
	font-size: 15px;
	font-weight: 400;
	color: var(--ff-text);
	background: #fff;
	border: 1px solid var(--ff-border);
	border-radius: var(--ff-radius);
	box-shadow: none;
	appearance: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.cand-fluentform select.ff-el-form-control,
.cand-fluentform .ff-el-group select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding-right: 44px;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.7' d='M5.25 7.5L10 12.25 14.75 7.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 16px 16px;
	cursor: pointer;
}

#ce3m-form-container .fluentform .ff-el-group select,
#ce3m-form-container .frm-fluent-form .ff-el-group select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	height: 52px;
	padding: 0 44px 0 16px;
	font-size: 15px;
	color: #111827;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.7' d='M5.25 7.5L10 12.25 14.75 7.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 16px 16px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
}

.cand-fluentform select.ff-el-form-control:hover,
.cand-fluentform .ff-el-group select:hover {
	background-color: #fcfcfd;
}

.cand-fluentform select.ff-el-form-control:focus,
.cand-fluentform .ff-el-group select:focus {
	background-color: #fff;
}

.cand-fluentform .ff-el-group select option {
	color: #111827;
}

/* Fluent select2 enhancement when enabled in field settings. */
.cand-fluentform .ff-el-group .select2-container--default .select2-selection--single {
	height: 52px;
	border: 1px solid var(--ff-border);
	border-radius: var(--ff-radius);
}

.cand-fluentform .ff-el-group .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding-left: 16px;
	padding-right: 42px;
	line-height: 50px;
	font-size: 15px;
	color: var(--ff-text);
}

.cand-fluentform .ff-el-group .select2-container--default .select2-selection--single .select2-selection__arrow {
	right: 12px;
	height: 50px;
}

.cand-fluentform .ff-el-form-check,
.cand-fluentform .ff-el-check-radio {
	display: flex;
	align-items: center;
	gap: 10px;
}

.cand-fluentform .ff-el-form-check input[type="checkbox"],
.cand-fluentform .ff-el-check-radio input[type="checkbox"],
.cand-fluentform .ff-el-check-radio input[type="radio"] {
	display: inline-block !important;
	visibility: visible !important;
	-webkit-appearance: auto !important;
	appearance: auto !important;
	width: 18px !important;
	height: 18px !important;
	min-width: 18px;
	margin: 0;
	opacity: 1 !important;
	position: static !important;
	left: auto !important;
	clip: auto !important;
	clip-path: none !important;
	transform: none !important;
}

.cand-fluentform .ff-el-form-check label,
.cand-fluentform .ff-el-check-radio label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
}

#ce3m-form-container .fluentform .select2-container,
#ce3m-form-container .frm-fluent-form .select2-container {
	width: 100% !important;
}

#ce3m-form-container .fluentform .select2-container--default .select2-selection--single,
#ce3m-form-container .frm-fluent-form .select2-container--default .select2-selection--single {
	height: 52px !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 12px !important;
	background: #fff !important;
}

#ce3m-form-container .fluentform .select2-container--default .select2-selection--single .select2-selection__rendered,
#ce3m-form-container .frm-fluent-form .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding-left: 16px !important;
	padding-right: 42px !important;
	line-height: 50px !important;
	color: #111827 !important;
}

#ce3m-form-container .fluentform .select2-container--default .select2-selection--single .select2-selection__arrow,
#ce3m-form-container .frm-fluent-form .select2-container--default .select2-selection--single .select2-selection__arrow {
	right: 12px !important;
	height: 50px !important;
}

.cand-fluentform textarea.ff-el-form-control {
	min-height: 140px;
	height: auto;
	padding: 14px 16px;
	line-height: 1.5;
	resize: vertical;
}

.cand-fluentform .ff-el-form-control::placeholder {
	color: #9ca3af;
}

.cand-fluentform .ff-el-form-control:hover {
	border-color: #d1d5db;
}

.cand-fluentform .ff-el-form-control:focus,
.cand-fluentform .ff-el-form-control:focus-visible {
	outline: none;
	border-color: var(--ff-primary);
	box-shadow: 0 0 0 3px var(--ff-focus);
}

.cand-fluentform .ff_form_step_nav {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 var(--ff-space-3);
	padding: 0 0 2px;
	list-style: none;
	overflow-x: auto;
	counter-reset: ffstep;
}

.cand-fluentform .fluentform .step-nav.ff_step_nav_last,
.cand-fluentform .ff_form_step_nav.ff_step_nav_last,
.cand-fluentform .ff_form_step_nav:has(> li.ff_step_nav_last),
.cand-fluentform .ff_form_step_nav > li.ff_step_nav_last {
	margin-top: 18px !important;
}

.cand-fluentform .ff_form_step_nav li {
	position: relative;
	flex: 1 0 120px;
	min-width: 120px;
	text-align: center;
	font-size: 12px;
	font-weight: 600;
	color: var(--ff-muted);
}

.cand-fluentform .ff_form_step_nav li::before {
	content: counter(ffstep);
	counter-increment: ffstep;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	margin: 0 auto 8px;
	color: var(--ff-muted);
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	transition: all 0.18s ease;
}

.cand-fluentform .ff_form_step_nav li:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 16px;
	left: calc(50% + 24px);
	width: calc(100% - 48px);
	height: 1px;
	background: #e5e7eb;
}

.cand-fluentform .ff_form_step_nav li.ff_active,
.cand-fluentform .ff_form_step_nav li.active {
	color: var(--ff-text);
}

.home .cand-fluentform .ff_form_step_nav li.ff_active::before,
.home .cand-fluentform .ff_form_step_nav li.active::before {
	color: #fff;
	background: #ff6a00;
	border-color: #ff6a00;
}

.home .cand-fluentform .ff_form_step_nav li.ff_completed::before,
.home .cand-fluentform .ff_form_step_nav li.completed::before {
	content: "✓";
	color: #fff;
	background: #ff6a00;
	border-color: #ff6a00;
}

.home .cand-fluentform .ff_form_step_nav li.ff_completed::after,
.home .cand-fluentform .ff_form_step_nav li.completed::after {
	background: #ff6a00;
}

.home .fluentform .ff-step-titles li.ff_active,
.home .fluentform .ff-step-titles li.ff_completed {
	color: #ff6a00;
}

.home .fluentform .ff-step-titles li.ff_active::before,
.home .fluentform .ff-step-titles li.ff_completed::before {
	background: #ff6a00;
	border-color: #ff6a00;
}

.cand-fluentform .ff-step-header {
	position: relative;
	margin: 0 0 24px;
	padding: 18px 20px;
	background: linear-gradient(135deg, #ffffff 0%, #f8fafc 58%, #f1f5f9 100%);
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
	overflow: hidden;
}

.cand-fluentform .ff-step-header::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: linear-gradient(180deg, #ff7a1a 0%, #ff6a00 100%);
	border-radius: 999px;
}

.cand-fluentform .ff-step-header h3,
.cand-fluentform .ff-step-header h4,
.cand-fluentform .ff-step-header .ff-step-title {
	margin: 0;
	font-size: clamp(19px, 2.2vw, 22px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.015em;
	color: #0f172a;
}

.cand-fluentform .ff-step-header p,
.cand-fluentform .ff-step-header .ff-step-subtitle {
	margin: 8px 0 0;
	max-width: 64ch;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.55;
	color: #64748b;
}

.cand-fluentform .ff-btn-wrap,
.cand-fluentform .ff_step_controls {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	margin-top: 4px;
}

.cand-fluentform .ff-btn,
.cand-fluentform .ff-btn-next,
.cand-fluentform .ff-btn-prev,
.cand-fluentform .ff_submit_btn {
	height: 46px;
	padding: 0 16px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.01em;
	cursor: pointer;
	box-shadow: none;
	transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.cand-fluentform .ff-btn-next,
.cand-fluentform .ff_submit_btn,
.cand-fluentform .ff-btn.ff-btn-submit {
	color: #fff;
	background: var(--ff-primary-grad);
	border: 1px solid #ff6a00;
}

#ce3m-form-container .fluentform .ff-btn-next,
#ce3m-form-container .fluentform .ff_submit_btn,
#ce3m-form-container .fluentform .ff-btn.ff-btn-submit,
#ce3m-form-container .frm-fluent-form .ff-btn-next,
#ce3m-form-container .frm-fluent-form .ff_submit_btn,
#ce3m-form-container .frm-fluent-form .ff-btn.ff-btn-submit {
	border-width: 1px;
	border-style: solid;
	border-color: #ff6a00;
}

.cand-fluentform .ff-btn-next:hover,
.cand-fluentform .ff_submit_btn:hover,
.cand-fluentform .ff-btn.ff-btn-submit:hover {
	transform: translateY(-1px);
}

.cand-fluentform .ff-btn-prev {
	color: var(--ff-text);
	background: #fff;
	border-color: var(--ff-border);
}

.cand-fluentform .ff-btn-prev:hover {
	background: #f9fafb;
}

.cand-fluentform .ff_file_upload_wrap {
	padding: 16px;
	background: #fcfcfd;
	border: 1px dashed #d1d5db;
	border-radius: 10px;
}

.cand-fluentform .ff-el-group.ce3m-doc-upload .ff-el-input--content {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.cand-fluentform .ff-el-group.ce3m-doc-upload .ff_file_upload_wrap {
	min-height: 84px;
	display: flex;
	align-items: center;
}

.cand-fluentform .ff-el-group.ce3m-doc-upload .ff-btn,
.cand-fluentform .ff-el-group.ce3m-doc-upload .ff_file_upload_wrap .ff_upload_btn {
	height: 42px;
	border-radius: 9px;
}

.cand-fluentform .ff-el-group.ce3m-doc-upload .ff-el-help-message {
	min-height: 38px;
}

/* Visible description under label (JS moves text out of Fluent tooltip for this field only). */
.cand-fluentform .ce3m-justif-residence-desc {
	margin-top: 0;
	margin-bottom: 8px;
	max-width: 100%;
	line-height: 1.45;
	font-size: 11px;
	font-weight: 400;
	color: var(--ff-muted);
	letter-spacing: 0.01em;
}

.cand-fluentform .ff-t-cell.ce3m-doc-declaration-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--ff-grid-gap-y) var(--ff-grid-gap-x);
	align-items: start;
}

.cand-fluentform .ff-t-cell.ce3m-doc-declaration-grid > .ff-el-group {
	width: 100%;
	margin: 0;
}

.cand-fluentform .ce3m-declaration-download-group .ff-el-input--content {
	display: flex;
	align-items: center;
	min-height: 84px;
	width: 335px;
	padding: 18px;
	background: var(--green-soft, #d1fae5);
	border: 1px dashed #d1d5db;
	border-radius: 10px;
}

.cand-fluentform .ce3m-declaration-download-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	padding: 0 14px;
	border-radius: 9px;
	text-decoration: none;
}

.cand-fluentform .ce3m-declaration-download-btn.is-disabled {
	pointer-events: none;
	opacity: 0.5;
}

.cand-fluentform .ce3m-open-conditions {
	color: #ff6a00;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cand-fluentform .text-danger,
.cand-fluentform .error,
.cand-fluentform .ff-el-is-error .error-message {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	font-weight: 500;
	color: #dc2626;
}

.cand-fluentform .ff-el-is-error .ff-el-form-control {
	border-color: #dc2626;
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.14);
}

.cand-fluentform .ff-message-success,
.cand-fluentform .ff-response-success {
	padding: 12px 14px;
	font-size: 14px;
	color: #166534;
	background: #f0fdf4;
	border: 1px solid #86efac;
	border-radius: 10px;
}

/* Associés repeater: vertical, readable, single-column fields. */
.ff_repeater_table[data-root_name="associes"] td.ce3m-associes-col--hidden {
	display: none !important;
}

.ff_repeater_table[data-root_name="associes"] thead {
	display: none;
}

.ff_repeater_table[data-root_name="associes"],
.ff_repeater_table[data-root_name="associes"] tbody,
.ff_repeater_table[data-root_name="associes"] tr,
.ff_repeater_table[data-root_name="associes"] td {
	display: block;
	width: 100%;
}

.ff_repeater_table[data-root_name="associes"] tr {
	margin-bottom: 12px;
	padding: 16px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
}

.ff_repeater_table[data-root_name="associes"] td {
	margin-bottom: 12px;
}

.ff_repeater_table[data-root_name="associes"] td::before {
	content: attr(data-label);
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #111827;
}

.ff_repeater_table[data-root_name="associes"] td .ff-el-input--content,
.ff_repeater_table[data-root_name="associes"] td .ff-el-form-control,
.ff_repeater_table[data-root_name="associes"] td input,
.ff_repeater_table[data-root_name="associes"] td select,
.ff_repeater_table[data-root_name="associes"] td textarea {
	display: block;
	width: 100%;
	visibility: visible;
	opacity: 1;
}

.ff_repeater_table[data-root_name="associes"] td.repeat_btn {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 10px;
	overflow: visible;
	margin-bottom: 0;
	padding-top: 4px;
}

.ff_repeater_table[data-root_name="associes"] td.repeat_btn::before {
	content: none;
}

.ff_repeater_table[data-root_name="associes"] .ce3m-associes-repeat-hint {
	display: inline-block;
	flex: 0 0 auto;
	min-width: max-content;
	white-space: nowrap;
	font-size: 13px;
	font-weight: 500;
	color: #475569;
	line-height: 1.3;
}

.ff_repeater_table[data-root_name="associes"] .ff-el-repeat-buttons-list {
	display: inline-flex;
	gap: 6px;
	padding: 4px;
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	position: static;
	overflow: visible;
	transform: none;
}

.ff_repeater_table[data-root_name="associes"] .repeat-plus,
.ff_repeater_table[data-root_name="associes"] .repeat-minus {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	color: #334155;
	background: #ffffff;
	border: 1px solid #dbe3ee;
	border-radius: 999px;
	cursor: pointer;
	float: none;
	margin: 0;
	line-height: 1;
	transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.ff_repeater_table[data-root_name="associes"] .repeat-plus svg,
.ff_repeater_table[data-root_name="associes"] .repeat-minus svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.ff_repeater_table[data-root_name="associes"] .repeat-plus {
	color: #0f766e;
	border-color: #99f6e4;
	background: #f0fdfa;
}

.ff_repeater_table[data-root_name="associes"] .repeat-minus {
	color: #b91c1c;
	border-color: #fecaca;
	background: #fef2f2;
}

.ff_repeater_table[data-root_name="associes"] .repeat-plus:hover,
.ff_repeater_table[data-root_name="associes"] .repeat-minus:hover {
	transform: translateY(-1px);
}

.ff_repeater_table[data-root_name="associes"] .repeat-plus:hover {
	background: #ccfbf1;
	border-color: #5eead4;
}

.ff_repeater_table[data-root_name="associes"] .repeat-minus:hover {
	background: #fee2e2;
	border-color: #fca5a5;
}

.cand-fluentform .ce3m-mre-note .ff-el-input--content,
.cand-fluentform .ce3m-mre-note .ff-el-form-control {
	display: none !important;
}

.cand-fluentform .ce3m-mre-note .ff-el-input--label label {
	display: block;
	margin-top: 10px !important;
	margin-bottom: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	color: #334155;
}

.cand-fluentform .ce3m-mre-note > label {
	display: block;
	margin-top: 10px !important;
	margin-bottom: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	color: #334155;
}

.ff_repeater_table[data-root_name="associes"] .ce3m-mre-note {
	margin-top: 10px;
}

@media (max-width: 768px) {
	.cand-fluentform .fluentform,
	.cand-fluentform .frm-fluent-form {
		padding: 20px;
		border-radius: 14px;
	}

	.cand-fluentform .fluentform form,
	.cand-fluentform .frm-fluent-form form {
		display: block;
	}

	.cand-fluentform .fluentform .ff-t-container,
	.cand-fluentform .frm-fluent-form .ff-t-container {
		display: flex;
		flex-wrap: wrap;
		--ff-grid-gap-x: 16px;
		--ff-grid-gap-y: 16px;
		gap: var(--ff-grid-gap-y) var(--ff-grid-gap-x);
	}

	.cand-fluentform .fluentform .ff-t-cell,
	.cand-fluentform .frm-fluent-form .ff-t-cell {
		width: 100% !important;
		flex-basis: 100% !important;
		max-width: 100%;
		min-width: 0;
	}

	.cand-fluentform .fluentform .ff-t-container.ff_columns_total_2 > .ff-t-cell,
	.cand-fluentform .frm-fluent-form .ff-t-container.ff_columns_total_2 > .ff-t-cell {
		width: 100% !important;
		flex-basis: 100% !important;
		max-width: 100% !important;
	}

	#ce3m-form-container.cand-fluentform .fluentform .ff-t-cell,
	#ce3m-form-container.cand-fluentform .frm-fluent-form .ff-t-cell,
	#ce3m-form-container.cand-fluentform .fluentform .ff-el-group,
	#ce3m-form-container.cand-fluentform .frm-fluent-form .ff-el-group {
		width: 100% !important;
		max-width: 100% !important;
	}

	.cand-fluentform .ff-el-group {
		width: 100%;
		min-width: 0;
	}

	.cand-fluentform .ff-t-cell.ce3m-doc-declaration-grid {
		grid-template-columns: 1fr;
	}

	.cand-fluentform .ff_form_step_nav li {
		flex-basis: 96px;
		min-width: 96px;
		font-size: 11px;
	}

	/*
	 * FluentForm Pro `.ff-step-titles` defaults to table/table-cell; on narrow
	 * viewports each column becomes too small. Use a horizontal scroll row with
	 * fixed minimum step width and hide the desktop connector pseudo-elements.
	 */
	.cand-fluentform .fluentform .ff-step-titles,
	.cand-fluentform .frm-fluent-form .ff-step-titles {
		display: flex;
		flex-wrap: nowrap;
		align-items: flex-start;
		gap: 0;
		margin: 0 0 18px;
		padding: 4px 2px 10px;
		overflow-x: auto;
		overflow-y: visible;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x proximity;
		scrollbar-width: thin;
		width: 100%;
		table-layout: auto;
		text-align: center;
	}

	.cand-fluentform .fluentform .ff-step-titles::-webkit-scrollbar,
	.cand-fluentform .frm-fluent-form .ff-step-titles::-webkit-scrollbar {
		height: 5px;
	}

	.cand-fluentform .fluentform .ff-step-titles::-webkit-scrollbar-thumb,
	.cand-fluentform .frm-fluent-form .ff-step-titles::-webkit-scrollbar-thumb {
		background: #e2e8f0;
		border-radius: 4px;
	}

	.cand-fluentform .fluentform .ff-step-titles li,
	.cand-fluentform .frm-fluent-form .ff-step-titles li {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		flex: 0 0 auto;
		min-width: 108px;
		max-width: min(200px, 100%);
		padding: 0 10px;
		font-size: 11px;
		font-weight: 600;
		line-height: 1.35;
		scroll-snap-align: start;
		vertical-align: top;
	}

	.cand-fluentform .fluentform .ff-step-titles li span,
	.cand-fluentform .frm-fluent-form .ff-step-titles li span {
		display: block;
		max-width: 100%;
		overflow-wrap: break-word;
		word-break: break-word;
		hyphens: auto;
	}

	.cand-fluentform .fluentform .ff-step-titles li::after,
	.cand-fluentform .frm-fluent-form .ff-step-titles li::after {
		display: none !important;
		content: none !important;
	}

	.cand-fluentform .fluentform .ff-step-titles li::before,
	.cand-fluentform .frm-fluent-form .ff-step-titles li::before {
		display: grid;
		place-items: center;
		width: 30px;
		height: 30px;
		margin: 0 auto 8px;
		font-size: 12px;
		line-height: 1;
		border-radius: 999px;
		flex-shrink: 0;
	}

	.cand-fluentform .ff-btn,
	.cand-fluentform .ff-btn-next,
	.cand-fluentform .ff-btn-prev,
	.cand-fluentform .ff_submit_btn {
		width: 100%;
	}

	.cand-fluentform .ff-btn-wrap,
	.cand-fluentform .ff_step_controls {
		flex-direction: column-reverse;
		align-items: stretch;
	}

	.cand-fluentform .ff-el-group.ce3m-doc-upload {
		display: block;
		width: 100%;
	}
}

/* Cloud Storage Manager upload prompt translation (theme override). */
body .cand-fluentform .ff-el-group.fwcsm_upload_container .ff_file_upload_holder::before,
body .cand-fluentform .fwcsm_upload_container .ff_file_upload_holder::before,
body .ff-el-group.fwcsm_upload_container .ff_file_upload_holder::before,
body .fwcsm_upload_container .ff_file_upload_holder::before {
	content: "Déposez le fichier ici ou cliquez sur :" !important;
	display: block !important;
}
