 /* ------------------------------------------- */
        /* 3. SECTION OFFRES D'EMPLOI */
        /* ------------------------------------------- */
		
		        :root {
            --color-wanilo-green: #004d00; 
            --color-wanilo-light-green: #008000; /* Utilisé pour le hover/contrast */
            --color-wanilo-dark-text: #333;
        }
        .search-form-container {
            background-color: #ffffff;
            padding: 25px;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 50px;
        }

        .search-form-flex {
            display: flex;
            gap: 20px;
            align-items: center;
        }

        .search-input-group {
            flex-grow: 1;
            position: relative;
        }
        
        /* Icônes du formulaire de recherche en VERT */
        .search-input-group i {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--color-wanilo-green); 
        }

        .search-input-group input,
        .search-input-group select {
            width: 100%;
            padding: 10px 15px; 
            padding-left: 40px; 
            border: 1px solid #e0e0e0;
            border-radius: 6px;
            box-sizing: border-box;
            transition: border-color 0.3s ease;
            background-color: #fafafa;
            font-size: 1rem;
            height: 45px; 
            -webkit-appearance: none; 
            -moz-appearance: none;
            appearance: none;
        }

        .search-input-group select {
             padding-left: 15px; 
             background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23004d00' d='M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z'/%3E%3C/svg%3E");
             background-repeat: no-repeat;
             background-position: right 0.7em top 50%;
             background-size: 0.8em auto;
        }

        /* Résultats - Grid de Cards */
        .results-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            padding-top: 20px;
        }

        .job-card {
            background-color: #ffffff;
            padding: 25px;
            border-radius: 12px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
            border-left: 5px solid var(--color-wanilo-green); /* ACCENT VERT */
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .job-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }

        .job-title {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--color-wanilo-green); /* TITRE DE CARTE EN VERT */
            margin-bottom: 10px;
        }

        .job-meta {
            font-size: 0.9rem;
            color: #6c757d;
            margin-bottom: 15px;
        }

        .job-meta i {
            margin-right: 5px;
            color: var(--color-wanilo-green); /* ICÔNES EN VERT */
        }
        
        /* Bouton POSTULER (VERT) */
        .apply-button {
            display: inline-block;
            padding: 8px 15px;
            background-color: var(--color-wanilo-green);
            color: white;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            transition: background-color 0.3s;
        }

        .apply-button:hover {
			 color: white;
            background-color: var(--color-wanilo-light-green);
        }
		
		
		/* Style quand la recherche est désactivée */
.search-disabled {
    opacity: 0.6;
    pointer-events: none; /* Empêche tout clic */
    filter: grayscale(1); /* Rend le tout gris */
    cursor: not-allowed;
}

.search-disabled input, .search-disabled select {
    background-color: #f0f0f0 !important;
    border-color: #ccc !important;
}

/* Style de l'icône d'absence d'offres */
.empty-state-icon {
    font-size: 5rem;
    color: #d1d1d1;
    margin-bottom: 20px;
    display: block;
}

.empty-text-main {
    color: #888;
    font-size: 1.2rem;
    font-weight: 600;
}




/* État désactivé du formulaire de recherche */
.search-form-container.search-disabled {
    opacity: 0.5;
    pointer-events: none; /* Empêche de cliquer ou de taper */
    filter: grayscale(100%); /* Rend tout le bloc gris */
    transition: all 0.4s ease;
}

.search-form-container.search-disabled input, 
.search-form-container.search-disabled select {
    cursor: not-allowed;
    background-color: #f5f5f5;
}

/* Style de l'icône et du texte "Aucune offre" */
.no-jobs-placeholder {
    grid-column: 1 / -1; /* Prend toute la largeur de la grille */
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    border: 2px dashed #e0e0e0;
}

.no-jobs-placeholder i {
    font-size: 4rem;
    color: #d1d1d1;
    margin-bottom: 20px;
}

.no-jobs-placeholder h4 {
    color: #666;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* Style de la Modale */
.job-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.7);
    overflow-y: auto;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 20px; top: 10px;
    font-size: 30px; cursor: pointer; color: #aaa;
}

.modal-details section { margin-bottom: 20px; }
.modal-details h4 { color: #004d00; margin-bottom: 5px; border-bottom: 2px solid #ffcc00; display: inline-block; }
.modal-details p { white-space: pre-line; color: #444; line-height: 1.6; }

/* Ajustement des Cards */
.badge-type { background: #ffcc00; color: #004d00; padding: 3px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; }
.job-card-footer { display: flex; gap: 10px; margin-top: 15px; }
.view-button { background: #eee; border: none; padding: 10px; border-radius: 5px; flex: 1; cursor: pointer; font-weight: bold; }
.apply-button-short { background: #004d00; color: white; border: none; padding: 10px; border-radius: 5px; flex: 1; cursor: pointer; font-weight: bold; }

#applied-job-title:focus {
    border: 2px solid #ffcc00 !important;
    outline: none;
}