/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================================================
   BODY
========================================================= */

body {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #f5f7fa;

    color: #344054;

    min-height: 100vh;
}


/* =========================================================
   HEADER
========================================================= */

.top-header {

    width: 100%;

    background: #ffffff;

    border-bottom: 1px solid #e5e7eb;
}


.top-header-inner {

    width: 100%;

    max-width: 1250px;

    min-height: 105px;

    margin: auto;

    padding: 15px 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* Logo */

.top-logo {

    display: flex;

    align-items: center;

    gap: 12px;
}


.top-logo img {

    width: 58px;

    height: 58px;

    object-fit: contain;
}


.logo-title {

    color: #177245;

    font-size: 17px;

    font-weight: 600;
}


.logo-subtitle {

    color: #7a8491;

    font-size: 12px;

    margin-top: 3px;
}


/* Titre */

.header-title {

    color: #ff7800;

    font-size: 32px;

    font-weight: 900;

    text-align: right;

    letter-spacing: .5px;
}


/* =========================================================
   ÉTAPES
========================================================= */

.steps {

    width: 100%;

    max-width: 750px;

    margin: 0 auto;

    padding: 28px 30px 20px;

    display: flex;

    align-items: flex-start;

    justify-content: center;
}


.step {

    text-align: center;

    min-width: 130px;
}


.step-circle {

    width: 55px;

    height: 55px;

    margin: auto;

    border-radius: 50%;

    background: #287be5;

    color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 22px;

    font-weight: bold;

    box-shadow:
        0 4px 10px rgba(40, 123, 229, .20);
}


.step-label {

    color: #287be5;

    font-size: 16px;

    margin-top: 10px;

    font-weight: 600;
}


.step-line {

    width: 260px;

    height: 3px;

    background:
        linear-gradient(
            to right,
            #d7e0ed 0%,
            #18c979 50%,
            #18c979 100%
        );

    margin-top: 27px;
}


/* =========================================================
   CONTENU
========================================================= */

.main-container {

    width: 100%;

    max-width: 1100px;

    margin: 0 auto;

    padding: 10px 25px 40px;
}


.page-title {

    text-align: center;

    color: #344054;

    font-size: 32px;

    font-weight: 600;

    margin: 15px 0 25px;
}


/* =========================================================
   FORMULAIRE
========================================================= */

.consultation-box {

    background: #ffffff;

    border-radius: 10px;

    padding: 30px;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, .07);

    max-width: 700px;

    margin: auto;
}


.consultation-box h2 {

    font-size: 22px;

    color: #344054;

    margin-bottom: 10px;
}


.instruction {

    color: #667085;

    font-size: 14px;

    margin-bottom: 25px;
}


.form-group {

    margin-bottom: 20px;
}


.form-group label {

    display: block;

    font-weight: 700;

    margin-bottom: 8px;

    color: #344054;
}


.form-group input {

    width: 100%;

    height: 55px;

    border: 1px solid #d0d5dd;

    border-radius: 7px;

    padding: 0 16px;

    font-size: 16px;

    outline: none;

    transition: .2s;
}


.form-group input:focus {

    border-color: #287be5;

    box-shadow:
        0 0 0 3px rgba(40, 123, 229, .10);
}


/* Bouton */

#btnRecherche {

    width: 100%;

    height: 52px;

    border: none;

    border-radius: 7px;

    background: #287be5;

    color: white;

    font-size: 16px;

    font-weight: 700;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    transition: .2s;
}


#btnRecherche:hover {

    background: #1769d1;
}


#btnRecherche:disabled {

    opacity: .7;

    cursor: wait;
}


/* =========================================================
   MESSAGE ERREUR
========================================================= */

.message {

    display: none;

    margin-top: 18px;

    padding: 14px 16px;

    border-radius: 7px;

    font-size: 14px;

    line-height: 1.5;
}


.message.error {

    background: #fff1f1;

    border: 1px solid #ffcaca;

    color: #c62828;
}


/* =========================================================
   RÉSULTAT ADMIS
========================================================= */

.success-result {

    background: #cef7e6;

    border: 1px solid #8be8c2;

    border-radius: 5px;

    padding: 27px 20px;

    text-align: center;

    animation: apparition .4s ease;
}


/* Icône */

.success-icon {

    width: 44px;

    height: 44px;

    margin: 0 auto 8px;

    border-radius: 50%;

    background: #18a96b;

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 25px;

    font-weight: bold;
}


/* Félicitations */

.success-title {

    color: #07905c;

    font-size: 26px;

    font-weight: 800;

    margin-bottom: 10px;
}


/* Nom */

.candidate-name {

    color: #087f55;

    font-size: 25px;

    font-weight: 800;

    text-transform: uppercase;

    margin-bottom: 8px;
}


/* Message */

.success-message {

    color: #07885a;

    font-size: 20px;

    line-height: 1.5;
}


.success-message strong {

    font-weight: 800;
}


/* Bouton talents */

.talent-button {

    display: inline-block;

    margin-top: 12px;

    padding: 7px 15px;

    border-radius: 20px;

    background: #1168dc;

    color: white;

    font-size: 16px;

    font-weight: 700;
}


/* =========================================================
   AUTRE RÉSULTAT
========================================================= */

.other-result {

    background: white;

    border-radius: 10px;

    padding: 35px;

    text-align: center;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, .07);
}


.other-icon {

    width: 55px;

    height: 55px;

    margin: auto;

    border-radius: 50%;

    background: #fff4df;

    color: #e58b00;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 25px;

    font-weight: bold;
}


.other-result h2 {

    margin: 15px 0;
}


/* =========================================================
   FOOTER
========================================================= */

footer {

    text-align: center;

    padding: 25px;

    color: #98a2b3;

    font-size: 12px;
}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes apparition {

    from {

        opacity: 0;

        transform: translateY(10px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {


    .top-header-inner {

        flex-direction: column;

        justify-content: center;

        padding: 15px;

        gap: 10px;
    }


    .header-title {

        font-size: 23px;

        text-align: center;
    }


    .top-logo {

        justify-content: center;
    }


    .steps {

        padding-left: 10px;

        padding-right: 10px;
    }


    .step {

        min-width: 100px;
    }


    .step-circle {

        width: 45px;

        height: 45px;

        font-size: 18px;
    }


    .step-label {

        font-size: 12px;
    }


    .step-line {

        width: 80px;

        margin-top: 22px;
    }


    .main-container {

        padding-left: 12px;

        padding-right: 12px;
    }


    .page-title {

        font-size: 23px;

        line-height: 1.3;
    }


    .consultation-box {

        padding: 20px;

    }


    .success-result {

        padding: 25px 15px;
    }


    .success-title {

        font-size: 22px;
    }


    .candidate-name {

        font-size: 21px;
    }


    .success-message {

        font-size: 16px;
    }


    .talent-button {

        font-size: 13px;
    }

}

/* =========================================================
   INFORMATIONS DU CANDIDAT
========================================================= */

.candidate-reference {

    margin-top: 18px;

    color: #087f55;

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================================
   NOUVELLE CONSULTATION
========================================================= */

.new-search-button {

    margin-top: 18px;

    padding: 9px 18px;

    border: none;

    border-radius: 20px;

    background: #1268dc;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition: .2s;
}


.new-search-button:hover {

    background: #0d58bd;

    transform: translateY(-1px);
}