/* LABCO - Offres d'emploi */

.labco-offres-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 0;
}

/* Filtres */
.labco-offres-filtres {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 30px;
}

.labco-filtre {
	padding: 10px 14px;
	border: 1px solid #d0d5dd;
	border-radius: 6px;
	background: #fff;
	font-size: 14px;
	min-width: 200px;
}

/* Grille de cards */
.labco-offres-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}
ul.labco-offre-infos svg {
    width: 16px;
    height: 16px;
}

ul.labco-offre-infos li {
    display: flex;
    align-items: center;
    gap: 10px;
}
.labco-offre-card {
	position: relative;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	cursor: pointer;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.labco-offre-card:hover {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.labco-offre-card.labco-hidden {
	display: none;
}

.labco-badge {
	display: inline-block;
	align-self: flex-start;
	background: #25509f;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 12px;
}

.labco-offre-titre {
	font-size: 19px;
	margin: 0 0 12px;
	line-height: 1.3;
}

.labco-offre-infos {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
	font-size: 14px;
	color: #000;
}

.labco-offre-infos li {
	margin-bottom: 6px;
}

.labco-offre-extrait {
	font-size: 14px;
	color: #667085;
	margin-bottom: 18px;
	flex-grow: 1;
}

.labco-btn {
	display: inline-block;
	text-align: center;
	padding: 10px 18px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	cursor: pointer;
	border: none;
	transition: background 0.2s ease;
}

.labco-btn-voir {
	background: #25509f;
	color: #fff !important;
}

.labco-btn-voir:hover {
	background: #1c3f7c;
	color: #fff;
}

.labco-btn-postuler {
	background: #d97706;
	color: #fff;
	margin-top: 16px;
}

.labco-btn-postuler:hover {
	background: #b45f04;
}

.labco-aucune-offre {
	text-align: center;
	padding: 40px 0;
	color: #667085;
}

/* Fiche détail */
.labco-offre-single {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px 0;
}

.labco-retour {
	display: inline-block;
	margin-bottom: 20px;
	font-size: 14px;
	color: #25509f;
	text-decoration: none;
}

.labco-retour:hover {
	text-decoration: underline;
}

.labco-offre-meta-box {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 20px 24px;
	margin-bottom: 30px;
}

.labco-offre-description {
	margin-bottom: 30px;
	line-height: 1.7;
}

.labco-offre-candidature {
	border-top: 2px solid #e5e7eb;
	padding-top: 30px;
}

/* Templates cachés (contenu source des popups) */
.labco-offres-templates {
	display: none;
}

/* Popup / modale */
.labco-modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(16, 24, 40, 0.6);
	z-index: 9999;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.labco-modal-overlay.labco-modal-active {
	display: flex;
}

.labco-modal-box {
	background: #fff;
	width: 100%;
	max-width: 720px;
	max-height: 90vh;
	overflow-y: auto;
	border-radius: 12px;
	padding: 32px;
	position: relative;
}

.labco-modal-close {
	position: absolute;
	top: 14px;
	right: 18px;
	background: none;
	border: none;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	color: #667085;
}

.labco-modal-close:hover {
	color: #101828;
}

.labco-modal-titre {
	font-size: 22px;
	margin: 0 0 16px;
	padding-right: 30px;
}

body.labco-modal-open {
	overflow: hidden;
}

@media (max-width: 600px) {
	.labco-offres-filtres {
		flex-direction: column;
	}

	.labco-filtre {
		width: 100%;
	}
}
