/**
 * NexTalent brand buttons — matches homepage (#nt-approach / design system).
 * Use wrapper_class on woodmart_button: nt-brand-btn nt-brand-btn--primary | --ghost
 */

body:is(.nt-candidature-offre-page, .nt-candidature-recue-page, .nt-merci-video-page) .nt-brand-btn {
	margin: 0 !important;
	text-align: left !important;
}

body:is(.nt-candidature-offre-page, .nt-candidature-recue-page, .nt-merci-video-page) .nt-brand-btn--primary .btn {
	display: inline-flex !important;
	align-items: center;
	gap: 14px;
	padding: 14px 14px 14px 22px !important;
	background: #0a1f4c !important;
	color: #fff !important;
	border: none !important;
	border-radius: 2px !important;
	font-family: "Geist", sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	letter-spacing: 0.02em !important;
	text-transform: none !important;
	line-height: 1.2 !important;
	box-shadow: 0 14px 30px -16px rgba(10, 31, 76, 0.35) !important;
	transition: background 0.25s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), gap 0.3s ease;
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
}

body:is(.nt-candidature-offre-page, .nt-candidature-recue-page, .nt-merci-video-page) .nt-brand-btn--primary .btn:hover {
	background: #061436 !important;
	gap: 18px;
	transform: translateY(-2px);
	color: #fff !important;
}

body:is(.nt-candidature-offre-page, .nt-candidature-recue-page, .nt-merci-video-page) .nt-brand-btn--primary .btn::before,
body:is(.nt-candidature-offre-page, .nt-candidature-recue-page, .nt-merci-video-page) .nt-brand-btn--primary .btn .wd-btn-icon {
	display: none !important;
}

body:is(.nt-candidature-offre-page, .nt-candidature-recue-page, .nt-merci-video-page) .nt-brand-btn--primary .btn::after {
	content: "";
	width: 30px;
	height: 30px;
	border-radius: 50%;
	flex-shrink: 0;
	margin-left: auto;
	background: rgba(255, 255, 255, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.5'%3E%3Cpath d='M5 12h14M13 5l7 7-7 7'/%3E%3C/svg%3E") center / 14px no-repeat;
	transition: transform 0.35s ease;
}

body:is(.nt-candidature-offre-page, .nt-candidature-recue-page, .nt-merci-video-page) .nt-brand-btn--primary .btn:hover::after {
	transform: rotate(-45deg);
}

body:is(.nt-candidature-offre-page, .nt-candidature-recue-page, .nt-merci-video-page) .nt-brand-btn--ghost .btn {
	display: inline-flex !important;
	align-items: center;
	gap: 10px;
	padding: 13px 22px !important;
	background: transparent !important;
	color: #0a1f4c !important;
	border: 1px solid #0a1f4c !important;
	border-radius: 2px !important;
	font-family: "Geist", sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	letter-spacing: 0.02em !important;
	text-transform: none !important;
	line-height: 1.2 !important;
	box-shadow: none !important;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
}

body:is(.nt-candidature-offre-page, .nt-candidature-recue-page, .nt-merci-video-page) .nt-brand-btn--ghost .btn:hover {
	background: #0a1f4c !important;
	color: #fff !important;
	border-color: #0a1f4c !important;
}

body:is(.nt-candidature-offre-page, .nt-candidature-recue-page, .nt-merci-video-page) .nt-brand-btn--ghost .btn::before,
body:is(.nt-candidature-offre-page, .nt-candidature-recue-page, .nt-merci-video-page) .nt-brand-btn--ghost .btn::after,
body:is(.nt-candidature-offre-page, .nt-candidature-recue-page, .nt-merci-video-page) .nt-brand-btn--ghost .btn .wd-btn-icon {
	display: none !important;
}

/* Cabrek form submit — primary colors, no arrow (input element) */
body.nt-candidature-offre-page .cabrek-candidature-form input[type="submit"],
body.nt-candidature-offre-page .cabrek-candidature-form input[type="submit"].a-submit,
body.nt-candidature-recue-page #cabrek-upload-video-form input[type="submit"],
body.nt-candidature-recue-page .cabrek-upload-video-container input[type="submit"],
body.nt-candidature-recue-page #cabrek-upload-video-form input[type="submit"].a-submit {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	background: #0a1f4c !important;
	color: #fff !important;
	border: none !important;
	cursor: pointer;
	padding: 14px 22px !important;
	font-family: "Geist", sans-serif !important;
	font-weight: 500 !important;
	font-size: 14px !important;
	letter-spacing: 0.02em !important;
	text-transform: none !important;
	border-radius: 2px !important;
	box-shadow: 0 14px 30px -16px rgba(10, 31, 76, 0.35) !important;
	width: auto !important;
	height: auto !important;
	transition: background 0.25s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

body.nt-candidature-offre-page .cabrek-candidature-form input[type="submit"]:hover,
body.nt-candidature-recue-page #cabrek-upload-video-form input[type="submit"]:hover,
body.nt-candidature-recue-page .cabrek-upload-video-container input[type="submit"]:hover {
	background: #061436 !important;
	transform: translateY(-2px);
}
