.axepta-form {
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
}

.axepta-form *,
.axepta-form *::before,
.axepta-form *::after {
    box-sizing: border-box;
}

/* Titre du formulaire */
.axepta-form h2 {
    color: #dc2e32;
    margin: 5px 0 20px;
}

/* Paragraphes et messages */
.axepta-form p {
    margin: 3px 0;
    padding: 0;
}

.axepta-form .success {
    color: #3c763d;
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 15px;
}

.axepta-form .error {
    color: #a94442;
    text-align: center;
    margin-top: 8px;
}

/* Labels */
.axepta-form > label {
    display: block;
    float: left;
    width: calc(50% - 10px);
    margin: 0 20px 15px 0;
    color: #333;
    font-weight: bold;
    line-height: 1.42857143;
    text-align: left;
}

/* Deux champs par ligne */
.axepta-form > label:nth-of-type(even) {
    margin-right: 0;
}

/* Champs de formulaire */
.axepta-form input,
.axepta-form select,
.axepta-form textarea {
    display: block;
    width: 100%;
    margin-top: 5px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    transition: border-color 0.15s ease-in-out,
                box-shadow 0.15s ease-in-out;
}

/* Hauteur des champs simples */
.axepta-form input,
.axepta-form select {
    height: 34px;
}

/* Focus des champs */
.axepta-form input:focus,
.axepta-form select:focus,
.axepta-form textarea:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
                0 0 8px rgba(102, 175, 233, 0.6);
}

/* Zone de message sur toute la largeur */
.axepta-form > label[for="message"] {
    float: none;
    clear: both;
    width: 100%;
    margin-right: 0;
}

.axepta-form textarea {
    height: auto;
    min-height: 90px;
    resize: vertical;
}

/* Bloc CAPTCHA */
.axepta-form > div {
    clear: both;
    margin: 15px 0;
}

.axepta-form > button[type="submit"] {
    display: block;
    margin: -60px 0 20px auto;
    padding: 1em 2em !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    color: #fff;
    background-color: #b52a2d;
    border: none;
    border-radius: 0;
    cursor: pointer;
}

.axepta-form > button[type="submit"]:hover {
    background-color: #dc2e32;
}

#description-paiement {
    margin: 0 0 20px;
    padding: 10px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Affichage mobile */
@media (max-width: 767px) {
    .axepta-form > label,
    .axepta-form > label:nth-of-type(even),
    .axepta-form > label[for="message"] {
        float: none;
        clear: both;
        width: 100%;
        margin-right: 0;
    }

    .axepta-form #captcha {
        justify-content: flex-start;
    }
}