/* Modernisation visuelle légère de l'interface publique. */
.home-search-background > .container > .row > .col-md-12 {
	border: 1px solid rgba(0, 0, 0, .05);
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(35, 31, 32, .10);
}

.positions-list-item {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(35, 31, 32, .055);
	margin: 10px 0;
	padding: 17px 18px;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.positions-list-item:first-child {
	border-top: 1px solid #ececec;
}

.positions-list-item:hover {
	border-color: #dedede;
	box-shadow: 0 6px 16px rgba(35, 31, 32, .09);
	transform: translateY(-1px);
}

.positions-list-item-link {
	display: block;
	color: inherit;
	cursor: pointer;
	text-decoration: none;
}

.positions-list-item-link:hover,
.positions-list-item-link:focus {
	color: inherit;
	text-decoration: none;
}

.positions-list-item-link:focus {
	border-color: rgba(237, 28, 36, .45);
	box-shadow: 0 0 0 3px rgba(237, 28, 36, .12), 0 6px 16px rgba(35, 31, 32, .09);
	outline: 0;
}

.positions-list-item-link h2 {
	color: #ed1c24;
}

.positions-list-item-link:hover h2,
.positions-list-item-link:focus h2 {
	color: #de1219;
}

.form-control {
	border-radius: 4px;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.form-control:focus {
	box-shadow: 0 0 0 3px rgba(162, 21, 88, .10);
}

.btn {
	border-radius: 4px;
	transition: box-shadow .18s ease, transform .18s ease;
}

.btn-secondary {
	box-shadow: 0 2px 6px rgba(162, 21, 88, .18);
}

.btn-secondary:hover,
.btn-secondary:focus {
	box-shadow: 0 4px 10px rgba(162, 21, 88, .24);
	transform: translateY(-1px);
}

.alert {
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(35, 31, 32, .05);
}

@media (max-width: 767px) {
	.positions-list-item {
		padding: 14px 15px;
	}

	.positions-list-item:hover,
	.btn-secondary:hover,
	.btn-secondary:focus {
		transform: none;
	}
}

/* Espace candidat : modernisation légère dans la continuité du thème existant. */
.candidate-area .document-title {
	margin-bottom: 28px;
}

.candidate-auth-row {
	display: flex;
	flex-wrap: wrap;
}

.candidate-auth-row > div {
	display: flex;
}

.candidate-panel,
.candidate-benefits {
	width: 100%;
	margin-bottom: 30px;
	padding: 28px;
	border: 1px solid rgba(42,173,222,.18);
	border-radius: 5px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(29,48,61,.08);
}

.candidate-benefits {
	background: linear-gradient(145deg,#fff 0%,#f7fcfe 100%);
}

.candidate-panel h2,
.candidate-benefits h2 {
	margin-top: 0;
}

.candidate-benefits li {
	margin-bottom: 10px;
}

.candidate-panel-wide {
	max-width: 820px;
	margin-right: auto;
	margin-left: auto;
}

.candidate-panel-narrow {
	max-width: 600px;
	margin-right: auto;
	margin-left: auto;
}

.candidate-intro,
.candidate-note {
	color: #65747d;
}

.candidate-form-actions {
	display: flex;
	align-items: center;
	gap: 18px;
}

.candidate-forgot-link {
	display: inline-block;
	margin-left: 14px;
}

.candidate-navigation {
	display: flex;
	gap: 6px;
	margin-bottom: 20px;
	padding: 6px;
	border: 1px solid #e6edf0;
	border-radius: 5px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(29,48,61,.05);
}

.candidate-navigation a {
	padding: 9px 14px;
	border-radius: 4px;
}

.candidate-navigation a.active {
	background: #2aadde;
	color: #fff;
}

.legal-panel {
	margin-bottom: 32px;
	padding: 28px;
	border: 1px solid #e4ecef;
	border-radius: 5px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(29,48,61,.07);
}

.legal-panel h2 {
	margin-top: 30px;
}

.legal-panel h2:first-of-type {
	margin-top: 18px;
}

.legal-updated {
	color: #6d7a81;
	font-size: 13px;
}

.legal-retention-table th:first-child {
	width: 30%;
}

.legal-retention-table td,
.legal-retention-table th {
	vertical-align: top !important;
}

.job-title-with-favorite {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.job-title-with-favorite h1 {
	flex: 1 1 auto;
}

.job-favorite-control {
	flex: 0 0 auto;
}

.job-favorite-control form {
	margin: 0;
}

.job-favorite-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid rgba(255,255,255,.72);
	border-radius: 50%;
	background: rgba(255,255,255,.08);
	color: #fff;
	font-size: 19px;
	line-height: 1;
	transition: background-color .18s ease,box-shadow .18s ease,transform .18s ease;
}

.job-favorite-button:hover,
.job-favorite-button:focus,
.job-favorite-button.is-favorite {
	background: #fff;
	color: #ed1c24;
	box-shadow: 0 3px 10px rgba(35,31,32,.16);
	outline: 0;
}

.job-favorite-button:hover,
.job-favorite-button:focus {
	transform: translateY(-1px);
}

.job-favorite-feedback,
.job-favorite-account-message {
	margin-top: 20px;
}

.job-favorite-account-message p {
	margin-bottom: 10px;
}

.candidate-apply-login-prompt {
	margin-bottom: 18px;
	padding: 13px 14px;
	border: 1px solid #e1ebef;
	border-radius: 5px;
	background: #f7fbfc;
	color: #56666e;
}

.candidate-apply-login-prompt strong,
.candidate-apply-login-prompt span {
	display: block;
}

.candidate-apply-login-prompt span {
	margin: 4px 0 10px;
	font-size: 12px;
	line-height: 1.45;
}

.candidate-login-modal .modal-dialog {
	max-width: 520px;
}

.candidate-login-modal .modal-content {
	border: 0;
	border-radius: 6px;
	box-shadow: 0 16px 45px rgba(29,48,61,.24);
}

.candidate-login-modal .modal-header {
	padding: 18px 22px;
	border-bottom-color: #edf1f3;
}

.candidate-login-modal .modal-title {
	margin: 0;
	font-size: 23px;
}

.candidate-login-modal .modal-body {
	padding: 22px;
}

.candidate-login-modal-footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	padding: 15px 22px;
}

.candidate-login-modal-footer .candidate-forgot-link {
	margin-right: auto;
	margin-left: 0;
}

.candidate-login-register {
	padding: 13px 22px;
	border-top: 1px solid #edf1f3;
	background: #f8fafb;
	text-align: center;
}

.candidate-login-register a {
	margin-left: 5px;
}

.candidate-favorites-list {
	display: grid;
	gap: 12px;
}

.candidate-favorite-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 18px;
	border: 1px solid #e6edf0;
	border-radius: 5px;
	background: #fff;
	box-shadow: 0 3px 10px rgba(29,48,61,.05);
}

.candidate-favorite-content h3 {
	margin: 0 0 6px;
	font-size: 16px;
}

.candidate-favorite-content p {
	margin: 0;
	color: #65747d;
}

.candidate-favorite-expired {
	display: inline-block;
	margin-top: 8px;
	padding: 3px 8px;
	border-radius: 12px;
	background: #eef1f2;
	color: #65747d;
	font-size: 11px;
}

.candidate-favorite-remove-form {
	flex: 0 0 auto;
	margin: 0;
}

.candidate-history-table > tbody > tr > td {
	vertical-align: middle;
}

.candidate-mode {
	display: inline-block;
	padding: 4px 9px;
	border-radius: 12px;
	background: #eef4f7;
	font-size: 12px;
}

.candidate-mode-direct {
	background: rgba(42,173,222,.13);
	color: #177ca1;
}

.candidate-empty {
	padding: 24px 0;
	text-align: center;
}

.candidate-cv-status {
	margin-bottom: 20px;
	padding: 12px 14px;
	border-left: 3px solid #aab7bd;
	background: #f6f8f9;
}

.candidate-cv-status.is-available {
	border-left-color: #2aadde;
	background: #f2fbfe;
}

.candidate-register-panel {
	max-width: 780px;
	margin-right: auto;
	margin-left: auto;
}

.candidate-profile-reminder {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
}

.header-top {
	padding: 10px 0;
}

.header-brand .profession {
	font-size: 32px;
	margin-right: 8px;
}

.header-logo {
	display: block;
}

.header-logo a {
	display: inline-flex;
	align-items: center;
}

.header-slogan {
	display: block;
	margin: 0 0 0 40px;
	font-size: 11px;
	line-height: 1.2;
}

.header-tools {
	display: flex;
	float: right;
	align-items: center;
	gap: 7px;
}

.header-tools .nav.header-actions {
	float: none;
	margin-top: 0;
}

.nav.header-actions li .candidate-header-login-button {
	margin-left: 10px;
	padding: 8px 10px;
	border: 2px solid #ed1c24;
	border-radius: 3px;
	background: transparent;
	color: #ed1c24;
	font-size: 13px;
	font-weight: 600;
	line-height: 20px;
	transition: background-color .15s linear,color .15s linear;
}

.nav.header-actions li .candidate-header-login-button:hover,
.nav.header-actions li .candidate-header-login-button:focus {
	background: #ed1c24;
	color: #fff;
	outline: 0;
}

.header-language .btn {
	padding: 7px 9px;
	border-color: #e1e5e7;
	background: #fff;
	color: #363636;
	font-size: 12px;
}

.header-language .dropdown-menu {
	min-width: 120px;
}

.header-language .dropdown-menu > .active > a,
.header-language .dropdown-menu > .active > a:hover {
	background: #f36b73;
}

.candidate-header-space .dropdown-menu {
	min-width: 170px;
	border-color: #e1e5e7;
	box-shadow: 0 6px 18px rgba(29,48,61,.12);
}

.candidate-header-space .dropdown-menu > li {
	display: block;
	float: none;
	width: 100%;
	margin: 0;
	padding: 0;
}

.candidate-header-space .dropdown-menu > li > a {
	display: block;
	width: 100%;
	margin-left: 0;
	padding: 8px 14px;
	box-sizing: border-box;
}

.candidate-header-space .dropdown-menu > li > a:hover,
.candidate-header-space .dropdown-menu > li > a:focus,
.candidate-header-space .dropdown-menu > li > a:active,
.candidate-header-space .dropdown-menu > .active > a,
.candidate-header-space .dropdown-menu > .active > a:hover,
.candidate-header-space .dropdown-menu > .active > a:focus {
	background: #f36b73;
	color: #fff;
}

.candidate-header-space .dropdown-menu > .divider {
	margin: 5px 0;
}

.job-internal-links {
	margin: 24px 0 18px;
	padding: 18px 20px;
	border: 1px solid #e5ecef;
	border-radius: 5px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(29,48,61,.05);
}

.job-internal-links h2 {
	margin-top: 0;
	font-size: 20px;
}

.job-internal-links h3 {
	margin: 18px 0 8px;
	font-size: 17px;
}

.job-keyword-links {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.job-keyword-links a {
	display: inline-block;
	padding: 6px 10px;
	border: 1px solid rgba(42,173,222,.25);
	border-radius: 14px;
	background: rgba(42,173,222,.07);
}

.job-related-offers {
	margin: 0;
	padding: 0;
}

.job-related-offers .job-related-offer-card {
	margin: 8px 0;
	padding: 12px 14px;
}

.job-related-offers .job-related-offer-card h2 {
	font-size: 15px;
	line-height: 21px;
}

.job-related-offers .job-related-offer-card h3 {
	margin: 5px 0 0;
	font-size: 13px;
	line-height: 20px;
}

.job-related-offer-meta {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.job-related-offer-date {
	flex: 0 0 auto;
	color: #777;
	font-size: 13px;
	line-height: 20px;
}

.mobile-job-apply-cta {
	display: none;
}

.job-apply-form-anchor {
	scroll-margin-top: 95px;
}

@media (max-width: 767px) {
	.mobile-job-apply-cta {
		display: block;
		margin: 20px 0 4px;
	}

	.mobile-job-apply-cta .btn {
		display: block;
		width: 100%;
		padding: 11px 16px;
		font-size: 16px;
		box-shadow: 0 4px 12px rgba(243,107,115,.2);
	}

	.header-tools .current-page-action {
		display: none !important;
	}

	.header-top .container {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
	}

	.header-brand,
	.header-tools {
		float: none;
	}

	.header-slogan-text {
		display: block;
	}

	.header-tools {
		gap: 3px;
	}

	.header-tools .candidate-header-actions {
		clear: none;
		padding-top: 0;
	}

	.header-tools .nav.header-actions li {
		padding: 4px 0;
	}

	.header-tools .nav.header-actions li a,
	.header-tools .nav.header-actions li .candidate-header-login-button {
		padding: 6px;
		font-size: 11px;
	}

	.header-tools .nav.header-actions li a.primary,
	.header-tools .nav.header-actions li .candidate-header-login-button {
		margin-left: 2px;
	}

	.header-tools .candidate-header-space .dropdown-menu {
		right: 0;
		left: auto;
		min-width: 185px;
		max-width: calc(100vw - 20px);
	}

	.header-tools .candidate-header-space .dropdown-menu > li {
		float: none;
		padding: 0;
	}

	.header-tools .candidate-header-space .dropdown-menu > li > a {
		padding: 11px 14px;
		font-size: 13px;
		white-space: nowrap;
	}

	.header-language .btn {
		padding: 6px;
	}

	.candidate-profile-reminder {
		display: block;
	}

	.candidate-profile-reminder .btn {
		margin-top: 10px;
	}

	.candidate-auth-row,
	.candidate-auth-row > div {
		display: block;
	}

	.candidate-panel,
	.candidate-benefits {
		padding: 20px;
	}

	.candidate-navigation {
		flex-wrap: wrap;
	}

	.job-title-with-favorite {
		align-items: flex-start;
		gap: 10px;
	}

	.job-favorite-button {
		width: 34px;
		height: 34px;
		font-size: 17px;
	}

	.candidate-favorite-item {
		align-items: flex-start;
		flex-direction: column;
	}

	.candidate-login-modal-footer {
		align-items: stretch;
		flex-direction: column;
	}

	.candidate-login-modal-footer .candidate-forgot-link {
		margin: 0 0 8px;
		text-align: center;
	}

}
