/* ===================== */
/* PAGE */
/* ===================== */

body {
    background-color: #f5f7fa;
    font-family: "Inter", Arial, sans-serif;
    color: #111827;
    margin: 0;
    padding: 30px;
}


/* ===================== */
/* TYPOGRAPHIE */
/* ===================== */

h1,
h2 {
    color: #374151;
    font-weight: 700;
    text-transform: uppercase;
}

h1 {
    font-size: 35px;
    margin-bottom: 60px;
    text-align: center;
}

h2 {
    font-size: 26px;
}

h3 {
    font-size: 26px;
    font-weight: 700;
    color: #111827;
}


p,
label {
    font-size: 26px;
    margin: 8px 0;
}


/* ===================== */
/* FORMULAIRES */
/* ===================== */

input,
select {
    margin-top: 10px;
    margin-bottom: 15px;
    padding: 8px;
    font-size: 20px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
}


/* ===================== */
/* BOUTONS */
/* ===================== */

button {
    width: 200px;
    height: 50px;
    font-size: 20px;
    font-weight: 700;
    background: #1e40af;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 15px;
}

button:hover {
    background: #1e3a8a;
}


/* ===================== */
/* SECTIONS */
/* ===================== */

section {
    padding: 10px 0;
    margin-bottom: 20px;
}

section h2 {
    margin-top: 0;
    margin-bottom: 10px;
}


/* ===================== */
/* OFFRE */
/* ===================== */

#offre input {
    width: 250px;
    padding: 5px;
    font-size: 18px;
    margin-top: 5px;
    margin-bottom: 10px;
}


/* ===================== */
/* CV CANDIDAT */
/* ===================== */

#cv input[type="file"] {
    width: 300px;
    padding: 5px;
    font-size: 18px;
}


/* ===================== */
/* TITRE RESULTATS */
/* ===================== */

.titre-resultats {
    display: inline-block;
    margin: 0 0 15px 0;
    padding: 8px 15px;
    border: 3px solid #6B7280;
    border-radius: 6px;
    font-size: 28px;
}


.candidat {
    padding: 20px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #d1d5db;
}


.candidat:last-child {
    border-bottom: none;
}


.candidat h3 {
    font-size: 28px;
    margin: 0 0 10px 0;
}


/* ===================== */
/* STATUTS */
/* ===================== */

.statut-positif {
    color: #15203d;
    font-weight: 700;
    margin: 15px 0;
}


.statut-negatif {
    color: #111827;
    font-weight: 700;
    margin: 15px 0;
}


/* ===================== */
/* COMPETENCES */
/* ===================== */

.competences p {
    margin: 10px 0;
}


.competence-ok {
    color: #374151;
    font-weight: 600;
}


.competence-ko {
    color: #374151;
    font-weight: 600;
}


/* ===================== */
/* POINT VERIFICATION */
/* ===================== */

.point-verification {
    color: #111827;
    font-weight: 700;
    margin-top: 20px;
}


/* ===================== */
/* ENTRETIEN */
/* ===================== */

.entretien {
    margin-top: 20px;
    padding-top: 10px;
}


.entretien h3 {
    font-size: 26px;
    font-weight: 700;
    color: #374151;
    margin: 10px 0;
}


.competence-principale {
    color: #111827;
    font-weight: 800;
    margin-top: 20px;
}


.entretien-enregistre {
    color: #15803d;
    font-weight: 700;
    margin: 15px 0;
}
/* ===================== */
/* BLOC DECISION */
/* ===================== */

.decision {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.decision button {
    width: auto;
    min-width: 0;
    height: 38px;
    padding: 8px 16px;
    margin: 0;
    border-radius: 20px;
    font-size: 16px;
}

/* ===================== */
/* ORGANISATION SECTIONS HAUT */
/* ===================== */

#connexion {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}
#connexion input {
    width: 220px;
    padding: 10px;
    margin-bottom: 15px;

    border: 2px solid #9ca3af;
    border-radius: 6px;
    background: white;
}


#connexion label {
    margin-top: 10px;
    font-size: 26px;
    font-weight: 700;
    color: #374151;
}

#connexion input:focus {
    border-color: #2563eb;
    outline: none;
}


#inscription {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}
#inscription input {
    width: 220px;
    padding: 10px;
    margin-bottom: 15px;

    border: 2px solid #9ca3af;
    border-radius: 6px;
    background: white;
}


#inscription #signup-button {
    margin: 15px auto 0 auto;
}

#inscription button:last-child {
    background: none;
    border: none;
    width: auto;
    height: auto;
    color: #6b7280;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    margin: 20px auto 0 auto;
}

#inscription label {
    font-size: 26px;
    font-weight: 700;
    color: #374151;

}

#inscription input:focus {
    border-color: #2563eb;
    outline: none;
}

#connexion button,
#inscription button,
#recherche button {
    margin-top: 15px;
}


#connexion p {
    color: #4b5563;
    font-size: 17px;
    font-weight: 500;
    margin-top: 35px;
}
#connexion label,
#connexion input {
    display: block;
}


/* ===================== */
/* SECTIONS DEROULANTES */
/* ===================== */

.section-toggle {
    width: 300px;
    height: 55px;
    margin-bottom: 10px;
}

.section-content {
    display: none;
    padding: 15px 0;
}

.section-content label,
.section-content input {
    display: block;
}

.confirm-modal{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.45);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:1000;
}

.confirm-box{
    background:#fff;
    padding:25px;
    border-radius:12px;
    text-align:center;
    width:350px;
}

.confirm-buttons{
    margin-top:20px;
    display:flex;
    justify-content:center;
    gap:15px;
}


/* ===================== */
/* ACTIONS CANDIDAT */
/* ===================== */

.decision{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:15px;
}

.decision button{

    background:none;
    border:none;

    padding:0;

    width:auto;
    height:auto;

    font-size:18px;
    font-weight:600;

    color:#2563eb;

    cursor:pointer;

    text-align:left;

    box-shadow:none;
}

.decision button:hover{

    color:#1d4ed8;

    text-decoration:underline;

    background:none;
}

.btn-supprimer{

    color:#6b7280 !important;
}

.btn-supprimer:hover{

    color:#374151 !important;
}

.reserve-link {
    color: #2563eb;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.reserve-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* ===================== */
/* LIEN VALIDATION */
/* ===================== */

.valider-link {
    color: #15803d;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.valider-link:hover {
    text-decoration: underline;
    color: #166534;
}
#login-button {
    background: none;
    border: none;
    padding: 0;

    color: #2563eb;
    font-size: 26px;
    font-weight: 700;

    cursor: pointer;
    margin-top: 30px;
}

#login-button:hover {
    color: #1d4ed8;
    text-decoration: underline;
}


#signup-link {
    color: #1f2937;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

#signup-link:hover {
    color: #111827;
    text-decoration: underline;
}



#signup-button {
    background: none;
    border: none;
    padding: 0;
    margin-top: 15px;

    color: #2563eb;
    font-size: 26px;
    font-weight: 700;

    cursor: pointer;
}

#signup-button:hover {
    text-decoration: underline;
}

#inscription label,
#inscription input,
#inscription button {
    display: block;
}




/* ===================== */
/* PAGE RECHERCHE */
/* ===================== */

#recherche {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#recherche h2 {
    margin-bottom: 40px;
}
#recherche label,
.competences-poste p {
    font-size: 24px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 10px;
}



#recherche input {
    display: block;
    width: 220px;
    padding: 10px;
    margin-bottom: 15px;
    border: 2px solid #9ca3af;
    border-radius: 6px;
    background: white;
}

#recherche input:focus {
    border-color: #2563eb;
    outline: none;
}

.competences-poste {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#recherche button {
    margin-left: auto;
    margin-right: auto;
}

.poste-recherche,
.competences-poste {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#recherche button {
    background: none;
    border: none;
    padding: 0;
    width: auto;
    height: auto;

    color: #2563eb;
    font-size: 26px;
    font-weight: 700;

    cursor: pointer;
    margin-top: 30px;
}

#recherche button:hover {
    text-decoration: underline;
}

#inscription label,
#inscription input {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
#cv {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#cv h2 {
    margin-bottom: 40px;
}

#choose-file,
#analyze-button {

    color: #2563eb;
    font-size: 26px;
    font-weight: 700;

    cursor: pointer;
    text-decoration: none;

    margin-top: 15px;
}

#choose-file:hover,
#analyze-button:hover {

    color: #1d4ed8;
    text-decoration: underline;
}

#file-name {

    font-size: 20px;
    color: #374151;
    font-weight: 600;

    margin: 15px 0;
}

/* ===================== */
/* PAGE RESULTATS FINAL */
/* ===================== */

#resultats {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Le haut de page reste centré */
#resultats > h1,
#resultats .reserve-link {
    text-align: center;
}


/* Les fiches candidats passent à gauche */
#resultats .candidat {
    width: 700px;
    text-align: left;
    padding: 30px 0;
    margin-bottom: 45px;
    border-bottom: 1px solid #d1d5db;
}

/* Nom du candidat */
#resultats .candidat h3 {
    color: #374151;
    font-size: 34px;
    font-weight: 800;
}


/* Sous-titres */
#resultats .competence-principale,
#resultats .point-verification {
    color: #374151;
    font-weight: 700;
}

/* Bloc actions */
#resultats .decision {
    align-items: flex-start;
}


/* Entretien enregistré */
#resultats .entretien {
    text-align: left;
}
/* Compétences */
#resultats .competence-ko {
    color: #111827;
    font-weight: 700;
}

#resultats .competence-ok {
    color: #111827;
    font-weight: 600;
}
.statut-candidat {
    color: #111827;
    font-weight: 700;
}

#resultats .entretien label {
    color: #374151;
    font-size: 18px;
    font-weight: 700;
}

/* ===================== */
/* PAGE RESERVE */
/* ===================== */

#reserve {
    display: flex;
    flex-direction: column;
    align-items: center;
}


#reserve .candidat {
    width: 700px;
    text-align: left;
    padding: 30px 0;
    margin-bottom: 45px;
    border-bottom: 1px solid #d1d5db;
}


#reserve .candidat h3 {
    color: #374151;
    font-size: 34px;
    font-weight: 800;
}


#reserve .statut-candidat {
    color: #111827;
    font-weight: 700;
}


#reserve .competence-principale,
#reserve .point-verification {
    color: #374151;
    font-weight: 700;
}


#reserve .competence-ok {
    color: #111827;
    font-weight: 600;
}


#reserve .competence-ko {
    color: #111827;
    font-weight: 700;
}


#reserve .entretien {
    text-align: left;
}


#reserve .entretien label {
    color: #374151;
    font-size: 18px;
    font-weight: 700;
}


#reserve .entretien input {
    color: #374151;
    font-size: 20px;
}


#reserve .entretien-enregistre {
    color: #15803d;
    font-weight: 700;
}
#reserve .entretien label {
    color: #374151;
    font-weight: 700;
}

#reserve .entretien input {
    color: #374151;
    font-weight: 600;
}

#reserve [id^="edit-form-"] label {
    color: #374151;
    font-size: 18px;
    font-weight: 700;
}

#reserve [id^="edit-form-"] input {
    color: #374151;
    font-weight: 600;
}

/* Retour réserve - lien secondaire */

#reserve .retour-link {
    color: #6b7280;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

#reserve .retour-link:hover {
    color: #374151;
    text-decoration: underline;
}


/* Validation entretien - lien principal */

#reserve .valider-link {
    color: #2563eb;
    font-size: 26px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

#reserve .valider-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}


/* ===================== */
/* FINITIONS RESERVE */
/* ===================== */


/* Actions candidat réserve */
#reserve .decision button {
    font-size: 22px;
    font-weight: 700;
}


/* Formulaire entretien réserve */
#reserve .entretien label {
    font-size: 24px;
    font-weight: 700;
}

#reserve .entretien input {
    font-size: 24px;
    padding: 10px;
}

/* Message aucun candidat */
.aucun-candidat {
    font-size: 24px;
    font-weight: 600;
    color: #374151;
    margin: 30px 0;
    text-align: center;
}
/* Actions principales page résultats vide */

#resultats .decision button {
    font-size: 22px;
    font-weight: 700;
}

#resultats .reserve-link {
    font-size: 24px;
    font-weight: 700;
}

/* ===================== */
/* ACTIONS NAVIGATION RECRUTEUR */
/* ===================== */
.action-link {
    display: block;
    margin: 12px 0;
    color: #2563eb;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}


.action-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}
