/**
 * Recrutement SDCC — styles publics (offres + formulaire de candidature).
 */
.hrsdcc-wrap {
	--hr-green:#0f9d58; --hr-blue:#1a56c4; --hr-orange:#e08a00; --hr-red:#b3261e;
	--hr-ink:#1f2328; --hr-muted:#5f6368; --hr-line:#e6e8eb; --hr-radius:14px;
	max-width:1180px; margin:0 auto 28px; color:var(--hr-ink);
	font-family:-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; line-height:1.55;
}
.hrsdcc-wrap *{ box-sizing:border-box; }

/* ---- Liste des offres ---- */
.hrsdcc-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(330px,1fr)); gap:18px; }
.hrsdcc-card{ background:#fff; border:1px solid var(--hr-line); border-left:5px solid var(--hr-green); border-radius:var(--hr-radius); padding:18px 20px; display:flex; flex-direction:column; box-shadow:0 1px 2px rgba(60,64,67,.10),0 3px 10px rgba(60,64,67,.06); transition:transform .12s ease, box-shadow .12s ease; }
.hrsdcc-card:hover{ transform:translateY(-2px); box-shadow:0 4px 16px rgba(60,64,67,.14); }
.hrsdcc-card.state-closing{ border-left-color:var(--hr-orange); }
.hrsdcc-card.state-closed{ border-left-color:var(--hr-red); background:#fbfbfc; }
.hrsdcc-card.state-closed .hrsdcc-title a{ color:#5f6368; }

.hrsdcc-card-top{ display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:10px; }
.hrsdcc-contract{ font-size:11px; font-weight:800; letter-spacing:.5px; padding:3px 10px; border-radius:11px; text-transform:uppercase; background:#eef1f4; color:#3c4043; }
.hrsdcc-contract.ct-cdi{ background:#e6f4ea; color:#0b7a3b; }
.hrsdcc-contract.ct-cdd{ background:#e8f0fe; color:#1a56c4; }
.hrsdcc-contract.ct-stage{ background:#f3e8fd; color:#7627bb; }
.hrsdcc-contract.ct-consultance{ background:#e0f2ef; color:#0f7c66; }
.hrsdcc-badge{ font-size:11px; font-weight:700; padding:3px 10px; border-radius:11px; white-space:nowrap; }

.hrsdcc-title{ font-size:17px; font-weight:700; line-height:1.35; margin:0 0 6px; }
.hrsdcc-title a{ color:var(--hr-ink); text-decoration:none; }
.hrsdcc-title a:hover{ color:var(--hr-blue); }
.hrsdcc-sub{ margin:0 0 12px; color:var(--hr-muted); font-size:13.5px; }

.hrsdcc-meta{ display:flex; flex-direction:column; gap:4px; font-size:13px; color:var(--hr-muted); border-top:1px solid var(--hr-line); border-bottom:1px solid var(--hr-line); padding:10px 0; margin-bottom:14px; }
.hrsdcc-meta strong{ color:var(--hr-ink); }

.hrsdcc-card-actions{ margin-top:auto; display:flex; gap:8px; flex-wrap:wrap; }
.hrsdcc-btn{ display:inline-flex; align-items:center; gap:8px; background:var(--hr-green); color:#fff !important; text-decoration:none; border:0; cursor:pointer; font-weight:600; font-size:14px; padding:10px 18px; border-radius:9px; transition:background .12s ease; }
.hrsdcc-btn:hover{ background:#0b8a4c; }
.hrsdcc-btn.is-secondary{ background:#eef1f4; color:var(--hr-ink) !important; }
.hrsdcc-btn.is-secondary:hover{ background:#e2e6ea; }

.hrsdcc-empty{ text-align:center; color:var(--hr-muted); padding:40px; background:#f8f9fa; border-radius:var(--hr-radius); }

/* ---- Page d'une offre : panneau d'infos ---- */
.hrsdcc-jobhead{ background:#fff; border:1px solid var(--hr-line); border-left:5px solid var(--hr-green); border-radius:var(--hr-radius); padding:16px 20px; margin-bottom:22px; box-shadow:0 1px 2px rgba(60,64,67,.08); }
.hrsdcc-jobhead.state-closing{ border-left-color:var(--hr-orange); }
.hrsdcc-jobhead.state-closed{ border-left-color:var(--hr-red); }
.hrsdcc-jobhead-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; }
.hrsdcc-jh{ display:flex; flex-direction:column; gap:3px; }
.hrsdcc-jh > span:first-child{ font-size:10.5px; text-transform:uppercase; letter-spacing:.4px; color:var(--hr-muted); }
.hrsdcc-jh strong{ font-size:14px; }

/* ---- Bloc candidature ---- */
.hrsdcc-apply-toggle{ margin-top:6px; }
.hrsdcc-closed-box{ background:#fdecea; border:1px solid #f4c7c3; color:#7a1f1a; border-radius:var(--hr-radius); padding:16px 20px; }
.hrsdcc-closed-box p{ margin:6px 0 0; }

.hrsdcc-notice{ border-radius:12px; padding:14px 18px; margin-bottom:16px; font-size:14.5px; }
.hrsdcc-notice.is-success{ background:#e6f4ea; border:1px solid #b7dfc4; color:#0b5c2e; }
.hrsdcc-notice.is-error{ background:#fdecea; border:1px solid #f4c7c3; color:#7a1f1a; }

.hrsdcc-form-public{ background:#fff; border:1px solid var(--hr-line); border-radius:var(--hr-radius); padding:22px 24px; margin-top:16px; box-shadow:0 1px 2px rgba(60,64,67,.08); }
.hrsdcc-form-public.is-hidden{ display:none; }
.hrsdcc-form-title{ margin:0 0 18px; font-size:18px; }

.hrsdcc-frow{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px; }
@media (max-width:640px){ .hrsdcc-frow{ grid-template-columns:1fr; } }
.hrsdcc-form-public label{ display:flex; flex-direction:column; gap:5px; font-weight:600; font-size:13.5px; }
.hrsdcc-full{ margin-bottom:14px; }
.hrsdcc-form-public input[type=text],
.hrsdcc-form-public input[type=email],
.hrsdcc-form-public input[type=tel],
.hrsdcc-form-public input[type=number],
.hrsdcc-form-public select,
.hrsdcc-form-public textarea{ width:100%; padding:10px 12px; border:1.5px solid #cfd4d9; border-radius:9px; font-size:14px; font-weight:400; font-family:inherit; }
.hrsdcc-form-public input:focus,.hrsdcc-form-public select:focus,.hrsdcc-form-public textarea:focus{ outline:2px solid #bcd3f7; border-color:var(--hr-blue); }
.hrsdcc-file input[type=file]{ padding:9px; background:#f8f9fa; border:1.5px dashed #b9bfc6; border-radius:9px; }
.req{ color:var(--hr-red); }

.hrsdcc-consent{ flex-direction:row !important; align-items:flex-start; gap:9px !important; font-weight:400 !important; font-size:13px !important; color:var(--hr-muted); background:#f8f9fa; border-radius:9px; padding:12px 14px; margin-bottom:16px; }
.hrsdcc-consent input{ margin-top:3px; }

.hrsdcc-submit{ font-size:15px; padding:12px 26px; }

/* Pot de miel : hors écran (les robots le remplissent, pas les humains). */
.hrsdcc-hp{ position:absolute !important; left:-9999px !important; width:1px; height:1px; overflow:hidden; }
