@charset "UTF-8";
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fa;
    color: #1e293b;
}

.candidat-page {
    padding-top: 200px;
    width: 100%;
    min-height: 100vh;
}

.candidat-formulaire {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    background: #d4d4d4;
    border-radius: 14px;
    padding: 35px 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/*
|--------------------------------------------------------------------------
| Entête
|--------------------------------------------------------------------------
*/

.formulaire-entete {
    text-align: left;
    margin-bottom: 50px;
}

.formulaire-entete h1 {
    margin: 0 0 10px;
    font-size: 28px;
    color: #183b61;
}

.formulaire-entete p {
    margin: 0;
    font-size: 15px;
    color: #64748b;
}

/*
|--------------------------------------------------------------------------
| Champs
|--------------------------------------------------------------------------
*/

.groupe-champs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.champ {
    margin-bottom: 24px;
}

.champ label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #334155;
}

.champ label span {
    color: #dc2626;
}

.champ input[type="text"],
.champ input[type="email"] {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    font-size: 16px;
    color: #1e293b;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.champ input[type="text"]:focus,
.champ input[type="email"]:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

/*
|--------------------------------------------------------------------------
| Document
|--------------------------------------------------------------------------
*/

.zone-document {
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    padding: 22px;
    background: #f8fafc;
}

.zone-document input[type="file"] {
    width: 100%;
    font-size: 15px;
}

.zone-document input[type="file"]::file-selector-button {
    margin-right: 14px;
    padding: 10px 18px;
    border: 0;
    border-radius: 6px;
    background: #e2e8f0;
    color: #334155;
    font-weight: 600;
    cursor: pointer;
}

.zone-document input[type="file"]::file-selector-button:hover {
    background: #cbd5e1;
}

.formats {
    margin: 12px 0 0;
    font-size: 13px;
    color: #64748b;
}

/*
|--------------------------------------------------------------------------
| Bouton
|--------------------------------------------------------------------------
*/

.bouton-soumettre {
    display: block;
    width: 100%;
    height: 52px;
    margin-top: 8px;
    border: 0;
    border-radius: 8px;
    background: #183b61;
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.1s ease;
}

.bouton-soumettre:hover {
    background: #102f50;
}

.bouton-soumettre:active {
    transform: translateY(1px);
}

/*
|--------------------------------------------------------------------------
| Messages
|--------------------------------------------------------------------------
*/

.message {
    margin-bottom: 25px;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 15px;
}

.message.succes {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #166534;
}

.message.erreur {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 650px) {

    .candidat-page {
        padding: 25px 12px;
    }

    .candidat-formulaire {
        padding: 25px 20px;
        border-radius: 10px;
    }

    .formulaire-entete h1 {
        font-size: 23px;
    }

    .groupe-champs {
        grid-template-columns: 1fr;
        gap: 0;
    }
}