/* Conteneur global */
#job-offers {
    font-family: 'GothamLightV2', Arial, sans-serif;
    margin: 20px auto;
    max-width: 1200px;
}

#job-offers h2 {
    color: #499db6;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 30px;
}

/* Filtres */
.filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.filters select, .filters button {
    padding: 10px 15px;
    font-size: 16px;
    color: #333;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    outline: none;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    font-family: 'GothamLightV2', Arial, sans-serif;
}

/* Correction de l'affichage des sélecteurs */
.filters select {
    min-width: 180px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filters select:hover, .filters button:hover {
    border-color: #0073aa;
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15);
}

.filters button {
    background-color: #499db6;
    color: #fff;
    border: none;
    font-weight: bold;
    text-align: center;
}

.filters button:hover {
    background-color: #58bddc;
}

.filters select:focus, .filters button:focus {
    border-color: #005a8c;
    box-shadow: 0px 0px 5px 2px rgba(0, 115, 170, 0.5);
}


@media (max-width: 768px) {
    .filters {
        flex-direction: column;
        gap: 10px;
    }

    .filters select, .filters button {
        width: 100%;
    }
}

/* Conteneur des offres */
#job-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

/* Style des cartes d'offres */
.job-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.3s ease-in-out;

}

.job-card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* En-tête de la carte avec le logo */
.job-card-header {
    display: flex;
    align-items: left;
    justify-content: left;
}

.job-card-header img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    object-fit: contain;
    margin-right: 10px;
}

/* Titre de l'offre */
.job-info h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: #0073aa;
    text-transform: none; /* Enlever la transformation en majuscules */
}

/* Informations de l'offre */
.job-info p {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

/* Bouton Voir l'Offre */
.job-link {
    display: block;
    padding: 12px;
    background-color: #499db6;
    color: white !important;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease-in-out;
}

.job-link:hover {
    background-color: #58bddc;
}

/* Ajustements pour les petits écrans */
@media (max-width: 768px) {
    #job-list {
        grid-template-columns: 1fr;
    }
}

