/* ==========================================================================
   Afribooster — espace recruteur (SPEC.md §14)
   --------------------------------------------------------------------------
   Stepper de publication d'une offre, panneaux du formulaire, fiche d'une
   candidature. Les couleurs viennent de variables.css.
   ========================================================================== */

/* Stepper de publication : les libellés sont des boutons, pour ouvrir un panneau */
.offer-stepper { margin-bottom: var(--space-4); }

.offer-stepper__button {
    border: 0;
    background: none;
    cursor: pointer;
}

.offer-stepper__button:hover,
.offer-stepper__button:focus-visible { color: var(--primary-dark); }

/* Panneaux du formulaire : sans script, ils se suivent */
.offer-step > .card-header {
    margin: 0;
    font-size: var(--text-base);
}

.offer-step:first-of-type > .card-header { border-top: 0; }

.offer-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-2);
}

.offer-actions [data-ds-offer-prev] { margin-inline-end: auto; }

/* Fiche d'une candidature : identité du candidat */
.applicant {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    min-width: 0;
}

.applicant__name {
    margin: 0;
    font-weight: 600;
    color: var(--text);
}

.applicant__headline {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.applicant__text {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

/* Fiche publique d'une entreprise : en-tête */
.company-head {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    min-width: 0;
}

.company-head__logo {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 72px;
    height: 72px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--primary-dark);
    overflow: hidden;
}

.company-head__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-3);
}
