


main {
  padding: 20px;
  max-width: 900px;
  margin: 20px auto;
}

.job-listing {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.job-listing h2 {
  margin-top: 0;
  color: #007BFF;
}

.apply-button {
  display: inline-block;
  background-color: #007BFF;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  margin-top: 10px;
}




.liste-annonces {
    display: grid;
    /* Crée une grille avec des colonnes qui s'ajustent */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 5%;
}

.annonce {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s;
}

.annonce:hover {
    transform: translateY(-5px); /* Petit effet de soulèvement au survol */
}

.annonce h3 {
    color: #2196F3;
    margin-bottom: 5px;
}

.details {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}

.btn-postuler {
    display: inline-block;
    background-color: #3801ff; /* Bouton vert */
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
}





/* Container principal pour centrer le contenu */
.container {
    max-width: 900px;
    margin: 40px auto; /* Centrage horizontal et espacement vertical */
    padding: 0 20px;
}

/* Style de la section principale des détails */
.job-details {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Lien de retour */
.back-link {
    display: block;
    margin-bottom: 25px;
    color: #2196F3;
    text-decoration: none;
    font-weight: bold;
}

/* En-tête de l'annonce */
.job-header h1 {
    color: #333;
    font-size: 2.2em;
    margin-bottom: 5px;
}

.company-name, .location-type {
    color: #666;
    margin-bottom: 10px;
}

/* Sections d'informations et de compétences */
.job-info p, .job-description p, .required-skills ul {
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Titres de sections */
.job-description h2, .required-skills h2 {
    color: #2196F3;
    font-size: 1.5em;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Liste à puces */
.job-description ul, .required-skills ul {
    margin-left: 20px;
}

/* Bouton "Postuler" */
.apply-button {
    display: block;
    width: 100%; /* S'étale sur toute la largeur */
    text-align: center;
    padding: 15px;
    background-color: #0025f9;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 30px;
    transition: background-color 0.3s;
}

.apply-button:hover {
    background-color: #f3ff0f;
}