/* --- CONFIG NÉON --- */
:root {
    --neon: #00d2ff;
    --neon-purple: #9d50bb;
    --bg: #02050a;
}

body.career-page {
    background: var(--bg);
    color: white;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* --- HERO --- */
.career-hero { 
    padding: 150px 0 80px; 
    text-align: center;
    background: radial-gradient(circle at center, rgba(0,210,255,0.1) 0%, transparent 70%);
}
.hero-subtitle { font-size: 1.2rem; opacity: 0.8; margin-bottom: 30px; line-height: 1.6; }

/* --- JOB ITEMS --- */
.job-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 210, 255, 0.1);
    border-radius: 20px;
    margin-bottom: 25px;
    transition: 0.4s;
}
.job-item:hover {
    transform: translateX(10px);
    border-color: var(--neon);
    background: rgba(0, 210, 255, 0.05);
}

.badge-unit {
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 900;
    font-family: 'Orbitron';
}
.terrain { background: var(--neon); color: #000; }
.tech { background: var(--neon-purple); color: #fff; }

/* --- FORMULAIRE --- */
.form-container {
    max-width: 900px; margin: 0 auto;
    padding: 50px; border-radius: 30px;
    background: rgba(2, 5, 10, 0.8);
    border: 1px solid rgba(255,255,255,0.05);
}
.anti-fraud { color: #ff4d4d; font-weight: bold; font-size: 0.8rem; margin-top: 10px; }

.checkbox-group {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
}

/* --- PROCESSUS SELECTION --- */
.steps-flow {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 20px;
}
.s-step span {
    display: block;
    width: 50px; height: 50px;
    border: 2px solid var(--neon);
    border-radius: 50%;
    line-height: 46px;
    font-family: 'Orbitron';
    font-weight: 900;
    margin: 0 auto 10px;
    box-shadow: 0 0 15px var(--neon);
}

/* --- UTILS --- */
.section-title-neon {
    font-family: 'Orbitron';
    color: var(--neon);
    margin-bottom: 30px;
    text-shadow: 0 0 10px var(--neon);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.check-list { list-style: none; padding: 0; }
.check-list li { margin-bottom: 15px; font-weight: bold; }
.check-list i { color: var(--neon); margin-right: 10px; }

.btn-main-neon {
    padding: 15px 35px;
    border: 2px solid var(--neon);
    color: var(--neon);
    text-decoration: none;
    font-family: 'Orbitron';
    font-weight: 900;
    transition: 0.4s;
    display: inline-block;
}
.btn-main-neon:hover { background: var(--neon); color: #000; box-shadow: 0 0 30px var(--neon); }

@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
    .job-item { flex-direction: column; text-align: center; gap: 20px; }
}
/* --- RESET ET STRUCTURE DU FORMULAIRE --- */
#recruitmentForm {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

/* --- STYLE DES CHAMPS (INPUT, SELECT, TEXTAREA) --- */
#recruitmentForm input, 
#recruitmentForm select, 
#recruitmentForm textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05) !important; /* Fond sombre transparent */
    border: 1px solid rgba(0, 210, 255, 0.2) !important; /* Bordure néon discrète */
    border-radius: 8px !important;
    padding: 15px !important;
    color: #fff !important;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

/* --- EFFET AU FOCUS (QUAND ON CLIQUE DEDANS) --- */
#recruitmentForm input:focus, 
#recruitmentForm select:focus, 
#recruitmentForm textarea:focus {
    border-color: var(--neon) !important;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
    background: rgba(0, 210, 255, 0.05) !important;
}

/* --- LABELS (TITRES DES CHAMPS) --- */
#recruitmentForm label {
    display: block;
    margin-bottom: 8px;
    color: var(--neon);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- CAS PARTICULIER TEXTAREA (GRANDE BOÎTE) --- */
#recruitmentForm textarea {
    resize: vertical;
    min-height: 120px;
}

/* --- CHECKBOX CUSTOM --- */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.checkbox-group input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    cursor: pointer;
}

/* --- BOUTON ENVOYER --- */
.btn-submit-neon {
    margin-top: 20px;
    background: transparent;
    border: 2px solid var(--neon) !important;
    color: var(--neon) !important;
    padding: 20px !important;
    font-family: 'Orbitron' !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.4s;
    border-radius: 8px;
}

.btn-submit-neon:hover {
    background: var(--neon) !important;
    color: #000 !important;
    box-shadow: 0 0 30px var(--neon);
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}
/* --- FIX POUR LES LISTES DÉROULANTES (SELECT) --- */

/* Cible la liste elle-même */
#recruitmentForm select {
    appearance: none; /* Enlève le style par défaut du système */
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2300d2ff' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) center; /* Positionne la petite flèche néon à droite */
}

/* Cible les options à l'intérieur du menu déroulant */
#recruitmentForm select option {
    background-color: #050a10 !important; /* Fond bleu nuit très sombre */
    color: #ffffff !important;           /* Texte blanc pur */
    padding: 10px;
}

/* Enlève le fond blanc qui apparaît parfois au survol sur certains navigateurs */
#recruitmentForm select:focus option {
    background-color: #050a10 !important;
}
/* --- STYLISATION DES BOUTONS POSTULER (UNITÉS) --- */
.btn-apply-trigger {
    display: inline-block;
    padding: 10px 24px;
    border: 2px solid var(--neon) !important; /* Bordure bleu néon */
    color: var(--neon) !important;            /* Texte bleu néon */
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 900;
    text-decoration: none !important;        /* Supprime le soulignement violet */
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: transparent;
}

/* Effet au survol (Hover) */
.btn-apply-trigger:hover {
    background: var(--neon) !important;       /* Le bouton se remplit de bleu */
    color: #000 !important;                  /* Le texte devient noir pour être lisible */
    box-shadow: 0 0 20px var(--neon);        /* Halo lumineux */
    transform: translateY(-2px);             /* Petit mouvement vers le haut */
}

/* Alignement dans la carte (job-item) */
.job-item {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Aligne verticalement le bouton avec le texte */
}

/* Adaptation Mobile */
@media (max-width: 768px) {
    .job-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}