/**
 * Formidable Forms — zelfde look als theme (.knop--primair), geen plugin-default blauw.
 *
 * Bekende wrappers: #frm_form_{id}_container.frm_forms.with_frm_style, .frm_style_{naam},
 * .frm_form_fields, .frm_fields_container, .frm_form_field.frm_*,
 * .frm_submit, button|input.frm_button_submit, .frm_prev_page, .frm_next_page.
 *
 * Vereist: CSS-variabelen uit hello-elementor-child-base + wrapper .wjb-redeem-form__card.
 *
 * Tip: bij strijdende plugin-CSS: Formidable → formulier-Stijl → Override theme styling proberen.
 *
 * @package HelloElementorChild
 */

.wjb-redeem-form__card .frm_forms.with_frm_style {
	position: relative;
	min-width: 0;
	box-sizing: border-box;
}

.wjb-redeem-form__card .frm_forms.with_frm_style form {
	margin: 0;
	padding: 0;
	min-width: 0;
}

.wjb-redeem-form__card .frm_form_fields {
	min-width: 0;
}

.wjb-redeem-form__card .frm_forms.with_frm_style fieldset {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.wjb-redeem-form__card .frm_fields_container {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.wjb-redeem-form__card .frm_form_field {
	clear: none;
	float: none;
	min-width: 0;
	width: 100%;
}

.wjb-redeem-form__card .with_frm_style .frm_half,
.wjb-redeem-form__card .with_frm_style .frm_third,
.wjb-redeem-form__card .with_frm_style .frm_fourth,
.wjb-redeem-form__card .with_frm_style .frm_sixth {
	min-width: 0;
}

/* Meldingen */
.wjb-redeem-form__card .frm_message,
.wjb-redeem-form__card .frm_success_style {
	border-radius: var(--radius-md);
	border: 1px solid var(--rand);
	background: var(--ijsblauw);
	color: var(--tekst);
	font-size: 15px;
	padding: 14px 18px;
	margin: 0 0 16px;
}

.wjb-redeem-form__card .frm_error_style {
	border-radius: var(--radius-md);
	border: 1px solid rgba(192, 72, 72, 0.35);
	background: rgba(192, 72, 72, 0.06);
	color: #6b1c1c;
	font-size: 14px;
	padding: 12px 14px;
	margin: 0 0 16px;
}

.wjb-redeem-form__card .frm_blank_field {
	display: block;
	font-size: 13px;
	color: #7a2828;
	margin-top: 4px;
}

.wjb-redeem-form__card .frm_error {
	color: #7a2828;
	font-size: 13px;
	margin-top: 6px;
}

.wjb-redeem-form__card .frm_description {
	font-size: 13px;
	line-height: 1.45;
	color: var(--subtekst);
	margin-top: 6px;
}

/* Labels */
.wjb-redeem-form__card .with_frm_style .frm_primary_label,
.wjb-redeem-form__card .with_frm_style label.frm_primary_label {
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 700;
	color: var(--blauw);
	padding-bottom: 6px;
	line-height: 1.35;
}

.wjb-redeem-form__card .frm_required,
.wjb-redeem-form__card .frm_required span {
	color: #a33;
	font-weight: 700;
}

.wjb-redeem-form__card legend.frm_hidden,
.wjb-redeem-form__card legend.frm_screen_reader {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

/* Tekstvakken */
.wjb-redeem-form__card .with_frm_style input[type="text"],
.wjb-redeem-form__card .with_frm_style input[type="email"],
.wjb-redeem-form__card .with_frm_style input[type="password"],
.wjb-redeem-form__card .with_frm_style input[type="number"],
.wjb-redeem-form__card .with_frm_style input[type="url"],
.wjb-redeem-form__card .with_frm_style input[type="tel"],
.wjb-redeem-form__card .with_frm_style input[type="search"] {
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	height: 44px;
	padding: 0 18px;
	border-radius: var(--radius-pill);
	border: 1px solid var(--rand);
	background-color: var(--wit);
	color: var(--tekst);
	font-family: var(--font-body);
	font-size: 14px;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.wjb-redeem-form__card .with_frm_style input:focus {
	outline: none;
	border-color: var(--blauw);
	box-shadow: 0 0 0 3px rgba(26, 46, 68, 0.08);
}

.wjb-redeem-form__card .with_frm_style textarea {
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	min-height: 120px;
	padding: 14px 18px;
	border-radius: var(--radius-md);
	border: 1px solid var(--rand);
	background-color: var(--wit);
	color: var(--tekst);
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.45;
	transition: border-color 0.2s, box-shadow 0.2s;
	resize: vertical;
}

.wjb-redeem-form__card .with_frm_style textarea:focus {
	outline: none;
	border-color: var(--blauw);
	box-shadow: 0 0 0 3px rgba(26, 46, 68, 0.08);
}

/* Select */
.wjb-redeem-form__card .with_frm_style select,
.wjb-redeem-form__card .with_frm_style .frm_dropdown select {
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	min-height: 44px;
	padding: 0 38px 0 18px;
	border-radius: var(--radius-pill);
	border: 1px solid var(--rand);
	background-color: var(--wit);
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3e%3cpath fill='%231A2E44' d='M6 8 0 2l1.4-1.4L6 5.2 10.6.6 12 2z'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 16px center;
	color: var(--tekst);
	font-family: var(--font-body);
	font-size: 14px;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.wjb-redeem-form__card .with_frm_style select:focus {
	outline: none;
	border-color: var(--blauw);
	box-shadow: 0 0 0 3px rgba(26, 46, 68, 0.08);
}

.wjb-redeem-form__card .with_frm_style input[type="checkbox"],
.wjb-redeem-form__card .with_frm_style input[type="radio"] {
	width: 18px;
	height: 18px;
	min-width: 18px;
	margin: 0 8px 0 0;
	accent-color: var(--blauw);
	vertical-align: middle;
}

.wjb-redeem-form__card .frm_checkbox label,
.wjb-redeem-form__card .frm_radio label {
	font-weight: 500;
	color: var(--tekst);
}

.wjb-redeem-form__card .with_frm_style input[type="file"] {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	padding: 10px 0;
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--tekst);
}

.wjb-redeem-form__card .frm_section_heading h3 {
	font-family: var(--font-kop);
	font-size: 18px;
	color: var(--blauw);
	margin: 8px 0 4px;
}

.wjb-redeem-form__card .frm_html_container {
	font-size: 14px;
	line-height: 1.55;
	color: var(--subtekst);
	min-width: 0;
}

.wjb-redeem-form__card .frm_submit {
	clear: both;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 8px;
	padding-top: 8px;
}

/* Hoofdknop (.knop--primair); tegen plugin-default blauw */
.wjb-redeem-form__card .frm_forms.with_frm_style .frm_submit button[type="submit"],
.wjb-redeem-form__card .frm_forms.with_frm_style .frm_submit input[type="submit"],
.wjb-redeem-form__card .frm_forms.with_frm_style button[type="submit"].frm_button_submit:not(.frm_prev_page):not(.frm_next_page),
.wjb-redeem-form__card .frm_forms.with_frm_style input[type="submit"].frm_button_submit:not(.frm_prev_page):not(.frm_next_page) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	min-height: 48px;
	width: auto;
	height: auto;
	border-radius: var(--radius-pill);
	cursor: pointer;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	text-indent: 0;
	text-decoration: none;
	text-shadow: none;
	box-sizing: border-box;

	box-shadow: 0 4px 16px rgba(245, 200, 66, 0.35);

	transition: transform 0.18s ease, box-shadow 0.18s ease;

	background-image: none;
	background-position: unset;

	background-color: var(--goud) !important;
	color: var(--blauw) !important;
	border: 2px solid transparent !important;
}

.wjb-redeem-form__card .frm_forms.with_frm_style .frm_submit button[type="submit"]:hover,
.wjb-redeem-form__card .frm_forms.with_frm_style .frm_submit input[type="submit"]:hover,
.wjb-redeem-form__card .frm_forms.with_frm_style button[type="submit"].frm_button_submit:not(.frm_prev_page):not(.frm_next_page):hover,
.wjb-redeem-form__card .frm_forms.with_frm_style input[type="submit"].frm_button_submit:not(.frm_prev_page):not(.frm_next_page):hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 28px rgba(245, 200, 66, 0.45);

	background-color: var(--goud) !important;
	color: var(--blauw) !important;
	border-color: transparent !important;
}

.wjb-redeem-form__card .frm_forms.with_frm_style .frm_submit button[type="submit"]:active,
.wjb-redeem-form__card .frm_forms.with_frm_style .frm_submit input[type="submit"]:active,
.wjb-redeem-form__card .frm_forms.with_frm_style button[type="submit"].frm_button_submit:active,
.wjb-redeem-form__card .frm_forms.with_frm_style input[type="submit"].frm_button_submit:active {
	transform: translateY(0);

	background-color: var(--goud) !important;
	color: var(--blauw) !important;
}

/* Meerstaps navigatie */
.wjb-redeem-form__card .with_frm_style .frm_prev_page,
.wjb-redeem-form__card .with_frm_style .frm_next_page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	min-height: 44px;
	border-radius: var(--radius-pill);
	cursor: pointer;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;

	background-image: none;
	text-shadow: none;

	background-color: transparent !important;
	color: var(--blauw) !important;
	border: 2px solid var(--blauw) !important;
	box-shadow: none !important;
}

.wjb-redeem-form__card .with_frm_style .frm_prev_page:hover,
.wjb-redeem-form__card .with_frm_style .frm_next_page:hover {
	background-color: var(--ijsblauw) !important;
	color: var(--blauw) !important;
	border-color: var(--blauw) !important;
}
