/* ==========================================================================
   ENSEM ALUMNI - PAGE JOBS (bandeau "Espace emploi" + liste des offres)

   Base : template ACOLAD/jobs.html. Les règles du template (entête, cartes
   d'offres, pictogramme secteur qui chevauche le bord, arrondis 48px, bascule
   en cartes empilées à 1279px...) sont reprises à l'identique dans
   styles.css ([id=jobs] ...). Ce fichier ne contient que les ajouts propres
   à l'application, listés ci-dessous.
   ========================================================================== */

/* Le pictogramme secteur dépasse de 66px à droite de la carte (comme dans le
   template) : évite un défilement horizontal de la page. */
html, body, [id=jobs] {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* --------------------------------------------------------------------------
   Cartes d'offres : hauteur uniforme + texte coupé
   Dans le template toutes les offres ont la même hauteur et le texte trop long
   est tronqué. Les nombres de lignes ci-dessous sont ceux que l'exemple du
   template occupe à chaque largeur : une carte ne devient donc jamais plus
   haute (ni plus basse) que dans la maquette, quelle que soit l'offre.
   -------------------------------------------------------------------------- */
[id=jobs] ul.section {
    --job-title-lines: 1;
    --job-desc-lines: 2;
}

/* Paliers relevés sur le template (texte d'exemple ACOLAD/jobs.html) : nombre
   de lignes du titre et de la description à chaque largeur d'écran. */
@media (max-width: 875px) { [id=jobs] ul.section { --job-desc-lines: 3; } }
@media (max-width: 749px) { [id=jobs] ul.section { --job-title-lines: 2; } }
@media (max-width: 605px) { [id=jobs] ul.section { --job-desc-lines: 4; } }
@media (max-width: 470px) { [id=jobs] ul.section { --job-desc-lines: 5; } }
@media (max-width: 432px) { [id=jobs] ul.section { --job-title-lines: 3; } }
@media (max-width: 400px) { [id=jobs] ul.section { --job-desc-lines: 6; } }
@media (max-width: 340px) { [id=jobs] ul.section { --job-desc-lines: 7; } }

/* Titre : tronqué au nombre de lignes de l'exemple, sur la même ligne que la
   date en desktop (flex-basis 0 : un long titre ne repousse plus la date).
   La coupe ("…") est portée par le <span> interne : un élément flex est
   « blockifié » et perd alors display:-webkit-box, donc le clamp. */
[id=jobs] ul.section > li.card > h3 > .job-card__title {
    flex: 1 1 0%;
    min-width: 0;
    font-weight: inherit;
}

[id=jobs] .job-card__title > span,
[id=jobs] .job-card__excerpt > span,
[id=jobs] ul.section > li.card > h3 > small > span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

[id=jobs] .job-card__title > span {
    -webkit-line-clamp: var(--job-title-lines);
    line-clamp: var(--job-title-lines);
}

/* Société - lieu : une seule ligne, coupée par "…" si trop longue. Pas de
   white-space:nowrap : il élargirait la carte (largeur minimale du contenu). */
[id=jobs] ul.section > li.card > h3 > small > span {
    -webkit-line-clamp: 1;
    line-clamp: 1;
}

/* Description : coupée au nombre de lignes de l'exemple. Les sauts de ligne saisis
   par le déposant sont conservés (pre-line), comme sur la fiche de l'offre. */
[id=jobs] .job-card__excerpt > span {
    -webkit-line-clamp: var(--job-desc-lines);
    line-clamp: var(--job-desc-lines);
    white-space: pre-line;
}

/* Hauteur de la carte = celle de l'exemple du template à cette largeur.
   Elle est réservée même si le contenu est plus court (l'espace restant reste
   en bas de la carte, le contenu part du haut) : toutes les offres ont donc
   la même hauteur. Desktop : 48+48 de marges + titre/société (36) + 24 + texte. */
[id=jobs] ul.section > li.card {
    min-height: calc(9.75rem + var(--job-desc-lines) * 1.35rem);
}

/* Cartes empilées (≤1279px) : titre / date / société centrés sous le
   pictogramme. 8.7rem = marges de la carte (16+16) + 40 sous le pictogramme
   + 24 sous le titre + date et société (2 × 1.35rem) ; chaque ligne de titre
   fait 1.7rem, chaque ligne de texte 1.35rem. */
@media (max-width: 1279px) {
    [id=jobs] main>.section .card.--detail-job {
        justify-content: flex-start;
        min-height: calc(8.7rem + var(--job-title-lines) * 1.7rem + var(--job-desc-lines) * 1.35rem);
    }

    [id=jobs] ul.section > li.card > h3 > .job-card__title {
        flex: 0 0 auto;
        max-width: 100%;
    }
}

/* Toute la carte est cliquable vers le détail de l'offre (lien en
   surimpression, sous le pictogramme qui n'est pas un lien). */
.card.--detail-job .stretched-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   4. RECRUITER / CANDIDATE CTA SECTION
   -------------------------------------------------------------------------- */

.emploi-cta {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 30px !important;
    margin-top: 64px !important;
}

.emploi-cta__card {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
    background-color: #ffffff !important;
    border-radius: 24px !important;
    padding: 30px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
}

.emploi-cta__icon {
    width: 64px !important;
    height: 64px !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.emploi-cta__icon--recruteur {
    background-color: rgba(69, 71, 150, 0.1) !important;
}

.emploi-cta__icon--candidat {
    background-color: rgba(43, 196, 243, 0.12) !important;
}

.emploi-cta__title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #454796 !important;
    margin: 0 !important;
}

.emploi-cta__desc {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    color: #58534C !important;
    margin: 0 !important;
}

.emploi-cta__btn--primary {
    background-color: #454796 !important;
    color: #ffffff !important;
    border-radius: 9999px !important;
    padding: 12px 28px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    display: inline-block !important;
    transition: background-color 0.2s !important;
}

.emploi-cta__btn--primary:hover {
    background-color: #2BC4F3 !important;
}

.emploi-cta__btn--secondary {
    background-color: transparent !important;
    color: #454796 !important;
    border: 2px solid #454796 !important;
    border-radius: 9999px !important;
    padding: 12px 28px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    display: inline-block !important;
    transition: all 0.2s !important;
}

.emploi-cta__btn--secondary:hover {
    background-color: #454796 !important;
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   5. GUEST (non-authentifié) — titre seul, sans fond ni photo
   -------------------------------------------------------------------------- */

/* Centre l'entête */
[id=jobs] .section.entete.--guest {
    justify-content: center !important;
    margin-top: 0 !important;
}

/* Supprime la photo machine (::after) sur TOUS les breakpoints */
[id=jobs] .section.entete.--guest .card::after,
[id=jobs] .section.entete.--guest .card.--illustrated::after,
[id=jobs] .section.entete.--guest .card.--illustrated.--pro::after,
[id=jobs] .section.entete.--guest > div::after {
    display: none !important;
    content: none !important;
    background-image: none !important;
}

/* Supprime fond/ombre/bordure : cible le div direct + la carte illustrée */
[id=jobs] .section.entete.--guest > div,
[id=jobs] .section.entete.--guest .card,
[id=jobs] .section.entete.--guest .card.--illustrated,
[id=jobs] .section.entete.--guest .card.--illustrated.--pro {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
    text-align: center !important;
    max-width: 420px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 24px 20px !important;
}

/* Cache le séparateur <hr> */
[id=jobs] .section.entete.--guest hr {
    display: none !important;
}

/* Le hr caché, il ne reste que le <h2> dans le hgroup flex (justify-content:
   flex-start par défaut) : le recentrer explicitement. */
[id=jobs] .section.entete.--guest hgroup {
    justify-content: center !important;
}

/* Titre du bandeau visiteur : reste plus grand que dans le template (le
   template ne prévoit pas de variante « visiteur » — seule la carte connectée
   reprend ses tailles). */
[id=jobs] .section.entete.--guest .card.--illustrated hgroup h2 {
    font-size: 2.8rem;
    line-height: 1.15;
    font-weight: 800;
    color: #2BC4F3;
    text-transform: uppercase;
    margin: 0;
}

[id=jobs] .section.entete.--guest .card.--illustrated hgroup h2 > small {
    display: block;
    font-size: 1.45rem;
    font-weight: 600;
    color: #58534C;
    text-transform: none;
    line-height: 1.2;
    margin-bottom: 4px;
}

@media (max-width: 991px) {
    [id=jobs] .section.entete.--guest .card.--illustrated {
        width: 100%;
        margin-top: 10px;
        margin-bottom: 16px;
        border-radius: 24px;
    }

    [id=jobs] .section.entete.--guest .card.--illustrated hgroup h2 {
        font-size: 2.35rem;
        text-align: center;
    }

    [id=jobs] .section.entete.--guest .card.--illustrated hgroup h2 > small {
        font-size: 1.3rem;
        margin-bottom: 2px;
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   6. FICHE DETAIL EMPLOI (#detail-emploi) - MEDICAL CLOUD DESIGN SYSTEM
   -------------------------------------------------------------------------- */

#detail-emploi {
    --primary: #281d4f;
    --primary-dark: #1e133e;
    --primary-light: #f5f2fb;
    --accent: #207e9e;
    --accent-light: #e5f3f8;
    --gold: #ebba5a;

    --text: #25232a;
    --text-muted: #6f6b76;
    --border: #e9e7ee;
    --surface: #ffffff;
    --background: #f5f6f8;

    --radius: 14px;
    --shadow: 0 12px 40px rgba(40, 29, 79, 0.08);
}

#detail-emploi main {
    padding: 24px 16px 48px;
    box-sizing: border-box;
}

#detail-emploi .breadcrumbs {
    width: min(100%, 920px);
    margin: 0 auto 20px auto;
    font-size: 13.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

#detail-emploi .breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease;
}

#detail-emploi .breadcrumbs a:hover {
    color: var(--accent);
    text-decoration: underline;
}

#detail-emploi .breadcrumbs span[aria-current="page"] {
    color: var(--primary-dark);
    font-weight: 700;
}

.job-card {
    width: min(100%, 920px);
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid rgba(40, 29, 79, 0.06);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* =========================
   Header
========================= */

.job-header {
    padding: 34px 36px 30px;
}

.header-grid {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 20px;
    align-items: center;
}

.header-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: linear-gradient(145deg, #342665, var(--primary));
    box-shadow: 0 8px 20px rgba(40, 29, 79, 0.18);
}

.header-icon svg {
    width: 34px;
    height: 34px;
    fill: #fff;
}

.job-title {
    margin: 0 0 8px;
    color: var(--primary-dark);
    font-size: clamp(24px, 4vw, 30px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 14px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
}

.company {
    color: var(--primary);
    font-weight: 750;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.meta-item svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    fill: currentColor;
    opacity: .75;
}

.meta-separator {
    color: #c7c3ce;
}

.divider {
    height: 1px;
    margin: 0 36px;
    background: var(--border);
}

/* =========================
   Main content
========================= */

.job-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    padding: 34px 36px;
}

.job-content > div {
    min-width: 0;
}

.job-content--full {
    grid-template-columns: 1fr;
}

.section-label {
    margin: 0 0 10px;
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.description {
    margin: 0 0 38px;
    color: #48444e;
    font-size: 15px;
    line-height: 1.7;
    overflow-wrap: break-word;
    word-break: break-word;
    word-wrap: break-word;
    max-width: 100%;
}

.description * {
    overflow-wrap: break-word;
    word-break: break-word;
    word-wrap: break-word;
    max-width: 100%;
}

.description img,
.description iframe,
.description table {
    max-width: 100% !important;
    height: auto !important;
}

.description table {
    display: block;
    overflow-x: auto;
}

.contact-block {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 24px;
}

.contact-name {
    margin-bottom: 9px;
    color: var(--primary-dark);
    font-weight: 750;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.email-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.email-link svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    fill: var(--primary);
}

/* =========================
   Alumni card
========================= */

.alumni-card {
    padding: 24px;
    background: linear-gradient(145deg, #faf9fc, #f6f4fa);
    border: 1px solid rgba(40, 29, 79, .14);
    border-radius: 16px;
    height: fit-content;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.alumni-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.alumni-badge svg {
    width: 14px;
    height: 14px;
    margin-right: 7px;
    flex: 0 0 auto;
    fill: var(--gold);
}

.alumni-heading {
    margin: 0 0 16px;
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 750;
}

.profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: linear-gradient(145deg, #3a2b6a, var(--primary));
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.avatar--link {
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.avatar--link:hover {
    transform: scale(1.06);
    box-shadow: 0 4px 14px rgba(40, 29, 79, 0.25);
}

.profile-name {
    color: var(--primary-dark);
    font-size: 17px;
    font-weight: 750;
    line-height: 1.3;
}

.alumni-profile-link {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.15s ease;
}

.alumni-profile-link:hover {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.profile-promo {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
}

.education {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-top: 14px;
    color: #46414f;
    font-size: 12.5px;
    line-height: 1.5;
}

.education svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin-top: 1px;
    fill: var(--primary);
}

.alumni-divider {
    height: 1px;
    margin: 20px 0;
    background: #e4e1e9;
}

.contact-list {
    display: grid;
    gap: 11px;
}

.contact-row {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 10px;
    color: #3f3b45;
    font-size: 13.5px;
}

.contact-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 8px;
    background: #e8e5ee;
}

.contact-icon svg {
    width: 14px;
    height: 14px;
    fill: var(--primary);
}

.contact-value {
    min-width: 0;
    overflow-wrap: anywhere;
}

.contact-value a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.contact-value a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* =========================
   Footer & Actions
========================= */

.job-footer {
    margin: 0 36px 34px;
    padding: 16px 20px;
    border: 1px solid #d8ebf2;
    border-radius: 10px;
    background: linear-gradient(135deg, #edf8fb, #e6f2f7);
    color: #353139;
    text-align: center;
    font-size: 13.5px;
}

.pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 4px;
    color: var(--accent);
    font-weight: 750;
    text-decoration: none;
}

.pdf-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.job-actions-bar {
    width: min(100%, 920px);
    margin: 24px auto 0 auto;
    display: flex;
    justify-content: flex-start;
}

.back-btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.back-btn-pill:hover {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(40, 29, 79, 0.2);
}

/* =========================
   Responsive
========================= */

@media (max-width: 850px) {
    #detail-emploi main {
        padding: 16px 12px 36px;
    }

    .job-header {
        padding: 26px 22px;
    }

    .header-grid {
        grid-template-columns: 58px 1fr;
        gap: 15px;
    }

    .header-icon {
        width: 58px;
        height: 58px;
        border-radius: 16px;
    }

    .header-icon svg {
        width: 28px;
        height: 28px;
    }

    .job-meta {
        gap: 5px 10px;
    }

    .meta-separator {
        display: none;
    }

    .divider {
        margin: 0 22px;
    }

    .job-content {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 26px 22px;
    }

    .description {
        margin-bottom: 28px;
    }

    .job-footer {
        margin: 0 22px 24px;
    }
}

@media (max-width: 991px) {
    #detail-emploi .job-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    #detail-emploi .job-footer {
        margin: 0 16px 20px 16px !important;
        padding: 14px 16px !important;
        box-sizing: border-box !important;
        width: auto !important;
        max-width: calc(100% - 32px) !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }
    #detail-emploi .alumni-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 18px 16px !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }
    #detail-emploi .contact-value,
    #detail-emploi .contact-value a {
        overflow-wrap: anywhere !important;
        word-break: break-all !important;
    }
}

@media (max-width: 430px) {
    .job-title {
        font-size: 23px;
    }

    .job-meta {
        font-size: 12px;
    }

    .alumni-card {
        padding: 16px !important;
    }

    .alumni-badge {
        font-size: 9px;
    }

    .profile-name {
        font-size: 15px;
    }
}

/* -------------------------------------------------------------------------
   Espacement fin (bandeau cotisation sur la fiche offre, formulaire de
   recherche jobs) — les seules règles utilisées par les templates actuels
   qui n'existaient pas encore dans cette version du fichier.
   -------------------------------------------------------------------------- */
[id=jobs] .form-jobs .separate {
    display: none;
}

.emploi-detail__alert-wrapper {
    margin-bottom: 48px;
}

.emploi-detail__alert-btn-1 {
    margin-top: 15px;
}

.emploi-detail__alert-btn-2 {
    margin-top: 15px;
    margin-left: 15px;
}

/* ── index (anciennement en style inline) ── */
#jobs .jobs-filter {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

#jobs .jobs-filter__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    width: 100%;
}

#jobs .jobs-filter__label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: #58534C;
    margin-bottom: 5px;
}

#jobs .jobs-filter__select {
    width: 100%;
    height: 50px;
    border-radius: 25px;
    border: 1.5px solid #e2e4f0;
    background: #f5f6fc;
    padding: 0 16px;
}

#jobs .jobs-filter__input {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 1.5px solid #e2e4f0;
    border-radius: 25px;
    background: #f5f6fc;
    font-size: 14.5px;
    color: #232340;
}

#jobs .jobs-relative {
    position: relative;
}

#jobs .jobs-filter__footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    margin-top: 10px;
}

#jobs .jobs-filter__submit {
    background-color: #454796;
    color: #fff;
    border: none;
    padding: 12px 36px;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.2s;
}

#jobs .jobs-card__link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* ── unavailable (anciennement en style inline) ── */
#detail-emploi .job-unavailable {
    max-width: 700px;
    margin: 60px auto;
    text-align: center;
}

#detail-emploi .job-unavailable__card {
    padding: 48px 32px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

#detail-emploi .job-unavailable__icon--pending {
    font-size: 3.5rem;
    color: #eab308;
    margin-bottom: 20px;
}

#detail-emploi .job-unavailable__title {
    color: #454796;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

#detail-emploi .job-unavailable__icon--hidden {
    font-size: 3.5rem;
    color: #6c757d;
    margin-bottom: 20px;
}

#detail-emploi .job-unavailable__icon--deleted {
    font-size: 3.5rem;
    color: #dc3545;
    margin-bottom: 20px;
}

#detail-emploi .job-unavailable__text {
    font-size: 1.05rem;
    color: #555;
    max-width: 480px;
    margin: 0 auto 32px auto;
    line-height: 1.7;
}

#detail-emploi .job-unavailable__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

#detail-emploi .job-unavailable__btn {
    padding: 10px 28px;
    border-radius: 99999px;
}

#detail-emploi .job-unavailable__btn--primary {
    padding: 10px 28px;
    border-radius: 99999px;
    background: #454796;
    color: #fff;
    text-decoration: none;
}

/* ── detail (anciennement en style inline) ── */
#detail-emploi .emploi-detail__status-icon {
    font-size: 1.3rem;
}

#detail-emploi .emploi-detail__ext-icon {
    font-size: 0.72rem;
    margin-left: 4px;
    vertical-align: middle;
    opacity: 0.75;
}

#detail-emploi .emploi-detail__alert-wrapper--w920 {
    width: min(100%, 920px);
    margin: 0 auto;
}


/* Bandeau « offre en attente / masquée » (jobs/detail) */
#detail-emploi .emploi-detail__status {
    width: min(100%, 920px);
    margin: 0 auto 20px auto;
    padding: 14px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#detail-emploi .emploi-detail__status--pending {
    background-color: #fff3cd;
    color: #664d03;
    border: 1px solid #ffecb5;
}

#detail-emploi .emploi-detail__status--hidden {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}
