/* Pas de fichier SCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.wpcf7 {
    background-color: #e5f7f9;
    border-radius: 1rem;
}

.wpcf7 form {
    padding: 4rem 1rem 2rem 2rem;
    width: 100%;
    max-width: 35rem;
    margin-block: auto;

    label {
        color: #000;
        font-size: 1.2rem;
        font-weight: 700;
        margin-bottom: .5rem;
        display: inline-block;

        span[aria-hidden="true"] {
            color: #FC7753;
            margin-left: 4px;
        }
    }
}

.input_pair .form_part {
    max-width: 15rem;
}

.marg-btm-s {
    margin-bottom: 1.2rem;
}

.field-info {
    margin-top: 4px;
    font-size: 14px!important;
}

input[type="submit"].confirmBtn  {
    padding: .7rem .8rem;
}

.form-radio-group {

    display: flex;
    justify-content: space-around;
    flex-wrap: var(--form-radio-group-wrap, wrap);
    gap: .8rem;
    margin-bottom: 12px;

    @media(min-width: 768px) {
        --form-radio-group-wrap: nowrap;
        --form-radio-label-width: 50%;
    }

    .form-radio-label {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 1.5rem;
        border: 2px solid #e0e0e0;
        cursor: pointer;
        width: var(--form-radio-label-width, 100%);
        background: #fff;
        transition: border-color 0.2s, background 0.2s;
        color: #017FBC;
        margin-bottom: 0;

        &:has(:focus-visible) {
            outline: 1px solid black;
            outline-offset: 2px;
        }
    }

    .form-radio-label input[type="radio"] {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }

    /* Checkmark top-right */
    .form-radio-label::after {
        content: "" / "";
        position: absolute;
        top: 4px;
        right: 4px;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        border: 2px solid #e0e0e0;
        background: #fff;
        transition: all 0.2s;
    }

    /* État sélectionné */
    .form-radio-label:has(input:checked) {
        border-color: #017FBC;
        background: white;
    }

    .form-radio-label:has(input:checked)::after {
        content: "\2713" / "";
        background: white;
        border-color: #017FBC;
        color: #017FBC;
        font-size: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .form-radio-label {

        span {
            display: block;
        }

        .radio-label {
            font-size: 20px;
        }
        span:not(.radio-label) {
            margin: 0;
            font-weight: 600;
            font-size: 12px;
            text-transform: none;
        }
    }
}

.classic_button, .dialog-close, input[type="submit"].confirmBtn {
    border: 1px solid transparent;

    &:hover {
        background-color: white;
        color: #FC7753;
        border-color: #FC7753;
    }
}

.wpcf7 form .wpcf7-response-output {
    border-radius: 0;
    padding: 1rem;
    margin-left: 0;
    margin-right: 0;
    color: #fff;
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
    border-color: #dc3232;
	background: #dc3232;
}

.wpcf7 form.success .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
	background: #46b450;
}

.screen-reader-response {
    border: 0;
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}