/**
 * JobBénin — couche pro (identité visuelle, nav, cards, mobile, perf).
 * Chargé après responsive-jobbenin.css
 */
:root {
	--jb-primary: #2563eb;
	--jb-primary-dark: #1d4ed8;
	--jb-title: #0f172a;
	--jb-muted: #64748b;
	--jb-bg: #f8fafc;
	--jb-danger: #dc2626;
	--jb-radius: 10px;
}

/* --- 1. Identité couleur unifiée --- */
.btn-success,
.site-header .btn-success,
.extra-nav .btn-success {
	background-color: var(--jb-primary) !important;
	border-color: var(--jb-primary) !important;
	color: #fff !important;
}
.btn-success:hover,
.site-header .btn-success:hover {
	background-color: var(--jb-primary-dark) !important;
	border-color: var(--jb-primary-dark) !important;
}
.btn-soutenir-don,
.nav-link-don,
a.nav-link-don {
	background: transparent !important;
	color: inherit !important;
	font-weight: 500 !important;
	border: none !important;
	box-shadow: none !important;
	padding-left: 0.75rem !important;
	padding-right: 0.75rem !important;
}
.btn-soutenir-don:hover,
a.nav-link-don:hover {
	color: var(--jb-primary) !important;
	background: transparent !important;
}

/* --- 2. Navigation sobre --- */
.site-header .navbar-nav > li > a {
	background: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--jb-title) !important;
	padding: 0.5rem 0.85rem !important;
}
.site-header .navbar-nav > li > a.active,
.site-header .navbar-nav > li > a:hover {
	color: var(--jb-primary) !important;
	background: transparent !important;
	box-shadow: none !important;
}
.site-header .extra-nav .fa-user,
.site-header .extra-cell .fa-user {
	color: var(--jb-primary) !important;
}
.site-header .btn-danger.btn-sm {
	background: var(--jb-primary) !important;
	border-color: var(--jb-primary) !important;
}
.jb-mobile__link--don {
	background: transparent !important;
	color: inherit !important;
}
.jb-mobile__btn--login {
	background: var(--jb-primary) !important;
	border-color: var(--jb-primary) !important;
}

/* --- 5/6 Cards : diplôme / salaire --- */
.job-bx.style-1 .jobs-amount,
.job-bx .jobs-amount {
	gap: 0.5rem;
	min-width: 0;
}
.job-bx.style-1 .jobs-amount .amount,
.job-bx .jobs-amount .amount,
h6.amount {
	font-size: 0.9rem !important;
	max-width: calc(100% - 48px);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	margin-bottom: 0 !important;
	line-height: 1.3;
	color: var(--jb-primary) !important;
}
.jobs-amount .amount { flex: 1 1 auto; min-width: 0; }

.job-bx.style-1 .job-contant h4 a {
	font-size: 1.05rem;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.job-bx.style-1 .job-contant .text {
	font-size: 0.9rem !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* --- 9. Page détail offre --- */
.offre-actions-pro {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1rem 0 1.25rem;
}
.offre-actions-pro .btn { border-radius: 8px; font-weight: 600; }
.offre-entreprise-card {
	background: #f1f5f9;
	border-radius: var(--jb-radius);
	padding: 1rem 1.15rem;
	margin-bottom: 1.25rem;
}
.offre-entreprise-card h6 { margin: 0 0 0.35rem; font-weight: 700; color: var(--jb-title); }
.offre-share a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #e2e8f0;
	color: var(--jb-title);
	margin-right: 0.35rem;
}
.offre-share a:hover { background: var(--jb-primary); color: #fff; }

/* --- 13. Preview employeur --- */
.offre-preview-box {
	border: 1px dashed #cbd5e1;
	border-radius: var(--jb-radius);
	padding: 1rem;
	background: #f8fafc;
	margin-top: 1rem;
}
.offre-checklist {
	list-style: none;
	padding: 0;
	margin: 0 0 1rem;
}
.offre-checklist li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0;
	font-size: 0.9rem;
	color: var(--jb-muted);
}
.offre-checklist li.is-ok { color: #15803d; }
.offre-checklist li i { width: 1.1rem; }

/* --- 14. Mobile --- */
@media (max-width: 991px) {
	.bnr-bleu-haut .row > [class*="col-"] img,
	.main-bnr img {
		max-width: 100%;
		height: auto;
	}
	.main-bnr .bnr-media,
	.main-bnr .hero-figure {
		overflow: hidden;
	}
	.job-bx.style-1 { margin-bottom: 1rem; }
	.job-bx.style-1 .jobs-amount .amount { font-size: 0.85rem !important; }
}
@media (max-width: 575px) {
	.site-header .extra-nav .btn span { display: none; }
	.offre-actions-pro .btn { width: 100%; justify-content: center; }
}

/* --- 18. Badge pending admin --- */
.badge-pending-review {
	background: #fef3c7;
	color: #92400e;
	font-weight: 600;
	border-radius: 999px;
	padding: 0.25rem 0.65rem;
	font-size: 0.75rem;
}

/* Filtres avancés */
.offres-filtres-body .form-select,
.offres-filtres-body .form-control {
	border-radius: 8px;
}
