/* ── WRAP GÉNÉRAL ─────────────────────────────── */
#emploi-btp-wrap {
  max-width: 900px;
  margin: 0 auto;
  font-family: inherit;
}

/* ── HEADER ───────────────────────────────────── */
.eb-header {
  text-align: right;
  margin-bottom: 20px;
}

/* ── BOUTONS ──────────────────────────────────── */
.eb-btn-orange {
  background: #f97316;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s;
}
.eb-btn-orange:hover { background: #ea6c0a; }

.eb-btn-contact {
  background: #0f172a;
  color: #fff;
  border: none;
  padding: 7px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s;
}
.eb-btn-contact:hover { background: #1e293b; }

/* ── ONGLETS ──────────────────────────────────── */
.eb-onglets {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.eb-onglet {
  flex: 1;
  padding: 12px;
  border: 2px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  transition: all 0.2s;
}
.eb-onglet.actif {
  background: #f97316;
  color: #fff;
  border-color: #f97316;
}

/* ── FILTRES ──────────────────────────────────── */
.eb-filtres {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.eb-filtres input {
  flex: 1;
  padding: 9px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
}

/* ── CARTES ANNONCES ──────────────────────────── */
.eb-carte {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 14px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}
.eb-carte:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.10); }

.eb-carte-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.eb-metier {
  font-size: 16px;
  font-weight: 700;
  color: #f97316;
}
.eb-ville {
  font-size: 13px;
  color: #64748b;
}
.eb-carte-body p {
  color: #334155;
  font-size: 14px;
  margin: 6px 0 0;
}
.eb-carte-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}
.eb-date { font-size: 12px; color: #94a3b8; }
.eb-contact { font-size: 13px; color: #0f172a; font-weight: 600; }

.eb-vide {
  text-align: center;
  color: #94a3b8;
  padding: 40px 0;
  font-size: 15px;
}

/* ── MODAL ────────────────────────────────────── */
#eb-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.eb-modal-box {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  width: 95%;
  max-width: 500px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.eb-fermer {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #64748b;
}
.eb-modal-box h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #0f172a;
  font-size: 20px;
}
.eb-modal-box input,
.eb-modal-box textarea,
.eb-modal-box select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 12px;
  box-sizing: border-box;
}
.eb-modal-box label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  display: block;
  margin-bottom: 4px;
}

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 600px) {
  .eb-carte-header { flex-direction: column; align-items: flex-start; gap: 4px; }
  .eb-filtres { flex-direction: column; }
  .eb-onglets { flex-direction: column; }
  .eb-carte-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
}