
/* Filters bar */
.offres-filters{display:grid;grid-template-columns:1fr 180px 260px auto auto;gap:10px;align-items:center;background:#f9fafc;border:1px solid #e0e4ec;padding:12px;border-radius:12px;margin:10px 0}
.offres-filters input,.offres-filters select{padding:10px;border:1px solid #ccd0d5;border-radius:8px;background:#fff}
.offres-filters .of-filter-apply,.offres-filters .of-filter-reset{background:#1e73be;color:#fff;border:none;padding:10px 12px;border-radius:8px;cursor:pointer}
.offres-filters .of-filter-reset{background:#6b7280}
.offres-filters .of-filter-count{grid-column:1/-1;color:#374151;font-weight:600}

/* Listing */
.offres-limayrac-list{display:flex;flex-direction:column;gap:16px;margin-top:10px}
.offre-item{border:1px solid #e5e7eb;background:#fff;padding:18px;border-radius:10px;box-shadow:0 2px 4px rgba(0,0,0,.05)}
.offre-item h3{margin-top:0;color:#1e73be}
.offre-meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px;color:#374151;font-size:0.9rem}
.offre-meta span{background:#f3f4f6;padding:4px 8px;border-radius:6px}
.offre-excerpt{color:#444;margin:8px 0}
.offres-postuler-btn{background:#1e73be;color:#fff;border:none;padding:10px 14px;border-radius:8px;cursor:pointer}
.offres-postuler-btn:hover{background:#145a9c}

/* Recruiter form (from earlier versions) */
#offres-limayrac-recruteur{max-width:960px;margin:20px auto;background:#f9fafc;border:1px solid #e0e4ec;border-radius:12px;box-shadow:0 2px 6px rgba(0,0,0,.05);padding:24px;}
#offres-limayrac-recruteur label{font-weight:600;color:#1e73be;}
#offres-limayrac-recruteur input,#offres-limayrac-recruteur select,#offres-limayrac-recruteur textarea{width:100%;padding:10px;border:1px solid #ccd0d5;border-radius:8px;margin-top:4px;background:#fff;transition:border .2s;}
#offres-limayrac-recruteur input:focus,#offres-limayrac-recruteur select:focus,#offres-limayrac-recruteur textarea:focus{border-color:#1e73be;outline:none;}
.of-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;}
.of-span2{grid-column:span 2;}
.of-field{margin-top:12px;}
.of-btn{background:#1e73be;color:#fff;font-weight:600;border:none;padding:12px 20px;border-radius:8px;cursor:pointer;}
.of-btn:hover{background:#145a9c;}
.of-help{font-size:.9rem;color:#6b7280;margin-top:8px}
.offres-msg{margin-top:10px;font-weight:600;}
.offres-msg.ok{color:green;}
.offres-msg.err{color:#c00;}

@media(max-width:900px){
  .offres-filters{grid-template-columns:1fr 1fr;grid-auto-rows:auto}
  .offres-filters .of-filter-apply,.offres-filters .of-filter-reset{width:100%}
}



/* === Overrides per request: text black & buttons #ffcc60 === */
.offres-filters, .offres-list-wrap, .offres-limayrac-list, .offres-candidate-form { color:#000 !important; }
.offre-item h3, .offre-meta, .offre-excerpt, .offres-msg, .offres-filters label, .offres-filters .of-filter-count { color:#000 !important; }
.offres-postuler-btn, .of-btn, .offres-filters .of-filter-apply, .offres-filters .of-filter-reset {
  background:#ffcc60 !important;
  color:#000 !important;
  border:1px solid #e6b853 !important;
}
.offres-postuler-btn:hover, .of-btn:hover, .offres-filters .of-filter-apply:hover, .offres-filters .of-filter-reset:hover {
  filter:brightness(0.95);
}
/* remove previous brand color on headings if any */
.offre-item h3 { color:#000 !important; }



/* === Overrides: text black & buttons #ffcc60 === */
.offres-filters, .offres-list-wrap, .offres-limayrac-list, .offres-candidate-form,
.offre-item, .offres-msg, #offres-limayrac-recruteur, #offres-limayrac-recruteur label, 
#offres-limayrac-recruteur input, #offres-limayrac-recruteur select, #offres-limayrac-recruteur textarea { color:#000 !important; }

.offres-postuler-btn, .of-btn, .offres-filters .of-filter-apply, .offres-filters .of-filter-reset, 
#offres-limayrac-recruteur button, input[type=submit], button[type=submit] {
  background:#ffcc60 !important;
  color:#000 !important;
  border:1px solid #e6b853 !important;
}
.offres-postuler-btn:hover, .of-btn:hover, .offres-filters .of-filter-apply:hover, .offres-filters .of-filter-reset:hover, 
#offres-limayrac-recruteur button:hover, input[type=submit]:hover, button[type=submit]:hover {
  filter:brightness(0.95);
}
.offre-item h3 { color:#000 !important; }



/* === STRONG Overrides: enforce black text & #ffcc60 buttons === */
.offres-filters, .offres-filters *, 
.offres-list-wrap, .offres-list-wrap *,
.offres-limayrac-list, .offres-limayrac-list *,
.offres-candidate-form, .offres-candidate-form *,
#offres-limayrac-recruteur, #offres-limayrac-recruteur * {
  color:#000 !important;
}

.offres-filters button,
.offres-postuler-btn,
.of-btn,
.offres-filters .of-filter-apply,
.offres-filters .of-filter-reset,
#offres-limayrac-recruteur button,
#offres-limayrac-recruteur input[type=submit],
.offres-limayrac-list .button,
.offres-limayrac-list button,
.offres-limayrac-list a.button,
.offre-item button {
  background:#ffcc60 !important;
  color:#000 !important;
  border:1px solid #e6b853 !important;
  box-shadow:none !important;
  text-shadow:none !important;
}

.offres-filters button:hover,
.offres-postuler-btn:hover,
.of-btn:hover,
.offres-filters .of-filter-apply:hover,
.offres-filters .of-filter-reset:hover,
#offres-limayrac-recruteur button:hover,
#offres-limayrac-recruteur input[type=submit]:hover,
.offres-limayrac-list .button:hover,
.offres-limayrac-list button:hover,
.offres-limayrac-list a.button:hover,
.offre-item button:hover {
  filter:brightness(0.95);
}
/* Headings in items */
.offre-item h3 { color:#000 !important; }
