/*************************************************/
/*                                               */
/*               VUE CREATION                    */
/*                                               */
/*************************************************/

.banniere-creation {
    height: 164px;
    background-color: white;
    background-image: url("../images/bg-top-FkXQWdm.jpg");
    background-repeat: no-repeat;
    background-size: 100% 50%;
    display: flex;
    align-items: center;
    justify-content: space-around;

    img {
        width: 226px;
        height: 143px;
    }
}

#subscription-content {
    background-color: white;

    h2, p {
        text-align: center;
    }

    h2 {
        margin-top: 0;
    }
}

.creation {
    .creation-line {
        width: 25%;
        margin: auto auto 2%;
        border-bottom: 1px solid #c0c0c0;
    }

    .creation-subtitle {
        text-align: center;
        font-size: 16px;
    }

    .creation-form {
        background-color: white;
        border: solid 1px #d3d3d3;
        border-radius: 5px;
        padding: 20px 15px;

        label {
            line-height: inherit;
            font-weight: 700;
            color: #494949;
        }

        legend {
            color: #494949;
            font-weight: bold;
            position: relative;
        }

        @media (min-width: 1024px) {
            padding: 20px 55px;
        }
    }

    .cgu-text {
        line-height: normal;

        a {
            color: #000;
            text-decoration: underline;
        }
    }

    .btn-valider-modif {
        margin-top: 2rem;
        font-weight: bold;
        height: 50px;
        font-size: 16px;
        padding: 0 2rem;
        background-color: #4fc2f2;
        color: #fff;
    }
}

/* Champs inline (civilité, date de naissance) */
.creation-form .field-inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
}

.creation-form .field-inline > div {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.creation-form .field-inline > div > div {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.creation-form .field-inline legend,
.creation-form .field-inline label {
    margin-bottom: 0;
}

/* Civilité en capitalize (données WireMock en majuscules) */
.creation-form label[for^="client_create_civilite_"] {
    text-transform: lowercase;
    display: inline-block;
}

.creation-form label[for^="client_create_civilite_"]::first-letter {
    text-transform: uppercase;
}

/* Flèche SVG devant les labels des champs principaux */
.creation-form label[for="client_create_civilite"]::before,
.creation-form label[for="client_create_nom"]::before,
.creation-form label[for="client_create_prenom"]::before,
.creation-form label[for="client_create_dateNaissance"]::before,
.creation-form label[for="client_create_telephoneMobile"]::before,
.creation-form label[for="client_create_email"]::before,
.creation-form legend::before {
    content: url("../images/fleche-OdAyg0M.svg");
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

/*************************************************/
/*                                               */
/*            VUE CONFIRMATION                   */
/*                                               */
/*************************************************/

.creation-confirmation {
    background-color: white;
    padding-top: 5%;

    .centered {
        text-align: center;
    }

    h1 {
        color: #000;
    }

    .creation-line {
        width: 25%;
        margin: auto auto 2%;
        border-bottom: 1px solid #c0c0c0;
    }

    .creation-confirmation-subtitle {
        font-size: 1.25rem;
        font-family: Raleway-Bold, sans-serif;
        color: #7a7a7a;
    }

    .creation-confirmation-btn {
        display: inline-block;
        margin-top: 1.5rem;
        width: auto;
        background-color: #004b95;
        color: #fff;
    }
}

.asterisque {
    font-weight: bold;
    color: #7a7a7a;
}
