.freeform-form {
    font-family: sans-serif;
    box-sizing: border-box;
}

.freeform-row::after {
    content: "";
    clear: both;
    display: block;
}

[class*="freeform-col-"] {
    float: left;
    padding: 15px;
}

.freeform-form [data-freeform-controls] {
    margin-top: 15px;
}

.freeform-form button {
    font: 400 18px sans-serif;
    line-height: 1.5;
    color: #ffffff; 
    text-align: center;
    text-decoration: none;
    border: 1px solid var(--color-primary);
    border-radius: 5px;
    background-color: var(--color-primary);
    padding: 5px 15px;
    margin: 0 10px !important;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
    justify-content: center;
}

.freeform-form button:only-child, .freeform-form button:last-child {
    margin-right: 0;
}

.freeform-form button:hover {
    color: #ffffff;
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.freeform-form button[data-freeform-action="back"] {
    color: #6c757d;
    background-color: transparent;
    border-color: #6c757d;
}

.freeform-form button[data-freeform-action="back"]:hover {
    color: #ffffff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.freeform-form button[type=submit].freeform-processing {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
}

.freeform-form button[type=submit].freeform-processing:before {
    content: "";
    display: block;
    flex: 1 0 11px;
    width: 11px;
    height: 11px;
    border-style: solid;
    border-width: 2px;
    border-color: transparent transparent #fff #fff;
    border-radius: 50%;
    animation: freeform-processing .5s linear infinite;
}

.freeform-form button:disabled {
    color: #ffffff;
    background-color: #5082cc;
    border-color: #497bc5;
    cursor: not-allowed;
}

@keyframes freeform-processing {
    0% {
        transform: rotate(0)
    }
    100% {
        transform: rotate(1turn)
    }
}

.freeform-pages {
    display: flex;
    padding: 0;
    margin: 0 0 25px 0;
    list-style: none;
    border-bottom: 2px solid #dddddd;
}

.freeform-pages li {
    color: #6c757d;
    background: transparent;
    padding: 10px 20px;
    margin: 0;
}

.freeform-pages li.active {
    color: black;
    font-weight: bold;
    background: #dddddd;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.freeform-row {
    font: normal 16px sans-serif;
    color: #464747;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}

.freeform-row [class*="freeform-col-"] {
    flex: 1 0;
    padding: 10px;
    margin: 0;
    box-sizing: border-box;
}

.freeform-row [class*="freeform-col-"] > .freeform-row:first-child {
    margin-top: -10px;
}

.freeform-row [class*="freeform-col-"] label {
    display: block;
    margin: 0 0 5px 0;
}

.freeform-row [class*="freeform-col-"].freeform-fieldtype-group label.group-label {
    font-size: 18px;
    font-weight: 600;
}

.freeform-row [class*="freeform-col-"].freeform-fieldtype-group > .freeform-row {
    margin: -10px;
}

.freeform-row [class*="freeform-col-"] .freeform-input[type="checkbox"], .freeform-row [class*="freeform-col-"] .freeform-input[type="radio"] {
    margin-right: 10px;
    width: auto;
    display: inline;
    transform: scale(1.15);
}

.freeform-row [class*="freeform-col-"] label:has(>.freeform-input[type="checkbox"].freeform-has-errors), .freeform-row [class*="freeform-col-"] label:has(>.freeform-input[type="radio"].freeform-has-errors), .freeform-row [class*="freeform-col-"].freeform-fieldtype-checkboxes:has(ul.freeform-errors) label:not(:first-child), .freeform-row [class*="freeform-col-"].freeform-fieldtype-checkboxes:has(ul.freeform-errors) div.input-group-one-line label, .freeform-row [class*="freeform-col-"].freeform-fieldtype-radios:has(ul.freeform-errors) label:not(:first-child), .freeform-row [class*="freeform-col-"].freeform-fieldtype-radios:has(ul.freeform-errors) div.input-group-one-line label {
    color: #dc3545 !important;
}

.freeform-row [class*="freeform-col-"] .input-group-one-line {
    display: flex;
    flex-wrap: wrap;
}

.freeform-row [class*="freeform-col-"] .input-group-one-line label {
    padding-right: 15px;
}

.freeform-row [class*="freeform-col-"] .input-group-one-line label input[type="radio"], .freeform-row [class*="freeform-col-"] .input-group-one-line label input[type="checkbox"] {
    margin-right: 10px;
    display: inline-block;
    transform: scale(1.15);
}

.freeform-row [class*="freeform-col-"] .freeform-label {
    font-weight: 400;
}

.freeform-row [class*="freeform-col-"] .freeform-label.freeform-required:after {
    content: "*";
    margin-left: 5px;
    color: #dc3545;
}

.freeform-row.freeform-payments {
    margin: -10px;
}

.freeform-row [class*="freeform-col-"].floating, .freeform-row [class*="freeform-col-"].freeform-fieldtype-credit-card.floating > div > div {
    display: block;
    position: relative;
}

.freeform-row [class*="freeform-col-"].floating label {
    position: absolute;
    left: 20px;
    top: 16px;
    cursor: text;
    font: normal 13px sans-serif;
    color: #212529;
    background: #ffffff;
    opacity: .7;
    transition: all .5s;
}

.freeform-row [class*="freeform-col-"].freeform-fieldtype-file-dnd.floating label, .freeform-row [class*="freeform-col-"].freeform-fieldtype-signature.floating label {
    top: 18px;
    background: transparent;
    z-index: 10;
}

.freeform-row [class*="freeform-col-"].floating input, .freeform-row [class*="freeform-col-"].floating textarea, .freeform-row [class*="freeform-col-"].floating select {
    color: #212529 !important;
    font: normal 16px sans-serif;
}

.freeform-row [class*="freeform-col-"].floating input::placeholder, .freeform-row [class*="freeform-col-"].floating textarea::placeholder, .freeform-row [class*="freeform-col-"].floating select::placeholder {
    opacity: 1;
    transition: all .5s;
}

.freeform-row [class*="freeform-col-"].floating input:placeholder-shown:not(:focus)::placeholder, .freeform-row [class*="freeform-col-"].floating textarea:placeholder-shown:not(:focus)::placeholder, .freeform-row [class*="freeform-col-"].floating select:placeholder-shown:not(:focus)::placeholder {
    opacity: 0;
}

.freeform-row [class*="freeform-col-"].floating input:placeholder-shown:not(:focus) + *, .freeform-row [class*="freeform-col-"].floating textarea:placeholder-shown:not(:focus) + *, .freeform-row [class*="freeform-col-"].floating select:placeholder-shown:not(:focus) + * {
    font: normal 16px sans-serif;
    color: #212529 !important;
    opacity: .9;
    top: 29px;
    left: 28px;
}

.freeform-row [class*="freeform-col-"].floating input:focus, .freeform-row [class*="freeform-col-"].floating textarea:focus, .freeform-row [class*="freeform-col-"].floating select:focus {
    border: 1px solid #0b5ed7 !important;
    outline: 0;
}

.freeform-row [class*="freeform-col-"].floating input::placeholder, .freeform-row [class*="freeform-col-"].floating textarea::placeholder, .freeform-row [class*="freeform-col-"].floating select::placeholder {
    opacity: 1;
    transition: all .5s;
    font-size: inherit;
}

.freeform-row [class*="freeform-col-"].floating input:placeholder-shown:not(:focus)::placeholder, .freeform-row [class*="freeform-col-"].floating textarea:placeholder-shown:not(:focus)::placeholder, .freeform-row [class*="freeform-col-"].floating select:placeholder-shown:not(:focus)::placeholder {
    opacity: 0;
    font-size: inherit;
    padding-top: 1em;
    margin-bottom: 2px;
}

.freeform-row [class*="freeform-col-"].floating input::placeholder-shown:not(:focus) + *, .freeform-row [class*="freeform-col-"].floating textarea::placeholder-shown:not(:focus) + *, .freeform-row [class*="freeform-col-"].floating select::placeholder-shown:not(:focus) + * {
    font: normal 12px sans-serif;
    opacity: .5;
    top: 4px;
}

.freeform-row [class*="freeform-col-"].floating input:focus, .freeform-row [class*="freeform-col-"].floating textarea:focus, .freeform-row [class*="freeform-col-"].floating select:focus {
    outline: none;
    border: 1px solid #cbced0;
}

.freeform-row [class*="freeform-col-"] input, .freeform-row [class*="freeform-col-"] textarea, .freeform-row [class*="freeform-col-"] select {
    box-sizing: border-box;
    font: normal 16px sans-serif;
    color: #212529;
    background-color: #ffffff;
    border: 1px solid var(--color-primary);
    border-radius: 5px;
    padding: 25px 10px 10px 10px;
    width: 100%;
    display: block;
    resize: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.freeform-row [class*="freeform-col-"].freeform-fieldtype-table input[type=radio] {
    width: auto;
    display: inline;
    padding: 0;
    margin-right: 5px;
}

.freeform-row [class*="freeform-col-"].freeform-fieldtype-table input[type=radio] + label {
    width: auto;
    display: inline;
}

.freeform-row [class*="freeform-col-"].freeform-fieldtype-table input[type=checkbox].freeform-has-errors {
    outline: 1px solid #dc3545;
    width: auto;
    margin: auto;
}

.freeform-row [class*="freeform-col-"].freeform-fieldtype-table input[type=radio].freeform-has-errors + label {
    color: #dc3545;
}

table[data-freeform-table] + div[data-error-append-target] ul[data-field-errors] {
    margin-top: -10px !important;
    margin-bottom: 10px;
}

.freeform-row [class*="freeform-col-"] select:not(select[multiple]) {
    background-image: linear-gradient(45deg, transparent 50%, #6c757d 50%), linear-gradient(135deg, #6c757d 50%, transparent 50%), linear-gradient(to right, #6c757d, #6c757d);
    background-position: calc(100% - 20px) calc(1em + 8px), calc(100% - 15px) calc(1em + 8px), calc(100% - 2.5em) .5em;
    background-size: 5px 5px, 5px 5px, 1px 35px;
    background-repeat: no-repeat;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.freeform-row [class*="freeform-col-"] input:focus, .freeform-row [class*="freeform-col-"] textarea:focus, .freeform-row [class*="freeform-col-"] select:focus {
    border: 1px solid #0b5ed7;
    outline: 0;
    transition: border-color .15s ease-in-out;
}

.freeform-row [class*="freeform-col-"] input::placeholder, .freeform-row [class*="freeform-col-"] textarea::placeholder {
    font: normal 16px sans-serif;
    color: #abb5be;
}

.freeform-row [class*="freeform-col-"] input.freeform-has-errors, .freeform-row [class*="freeform-col-"] textarea.freeform-has-errors, .freeform-row [class*="freeform-col-"] select.freeform-has-errors, .freeform-row [class*="freeform-col-"] input:has(+ ul.freeform-errors), .freeform-row [class*="freeform-col-"] textarea:has(+ ul.freeform-errors), .freeform-row [class*="freeform-col-"] select:has(+ ul.freeform-errors) {
    border: 1px solid #dc3545;
}

.freeform-row [class*="freeform-col-"] .freeform-input-only-label {
    font-weight: normal;
}

.freeform-row [class*="freeform-col-"] .freeform-input-only-label > .freeform-input {
    display: inline-block;
    width: auto;
    margin-right: 10px;
}

.freeform-row [class*="freeform-col-"] .freeform-errors {
    margin: -5px 0 0 0;
    padding: 0;
    list-style: none;
    display: block;
}

.freeform-row [class*="freeform-col-"].freeform-fieldtype-radios .freeform-errors, .freeform-row [class*="freeform-col-"].freeform-fieldtype-checkboxes .freeform-errors {
    margin-top: 0;
}

.freeform-row [class*="freeform-col-"] .freeform-errors > li {
    font: italic 400 15px sans-serif;
    color: #dc3545;
    margin-top: 10px;
}

.freeform-row [class*="freeform-col-"] .freeform-errors > li:not(:first-child) {
    margin-top: 3px;
}

.freeform-row [class*="freeform-col-"] .freeform-instructions {
    font-size: 13px;
    color: #969696;
    margin: 5px 0 10px 0;
}

.freeform-row [class*="freeform-col-"].freeform-fieldtype-checkbox .freeform-instructions {
    margin-top: -5px;
}

.freeform-row [class*="freeform-col-"].freeform-fieldtype-checkbox label {
    display: inline-block;
    margin: 0 0 10px 0;
}

.freeform-row [class*="freeform-col-"].freeform-fieldtype-checkbox input[type="checkbox"] {
    margin-right: 10px;
    width: auto;
    display: inline-block;
    transform: scale(1.15);
}

.freeform-row [class*="freeform-col-"].freeform-fieldtype-checkbox input.freeform-has-errors + label, .freeform-row [class*="freeform-col-"].freeform-fieldtype-checkbox label:has(+ ul.freeform-errors), .freeform-row [class*="freeform-col-"].freeform-fieldtype-checkbox label:has(+ div + ul.freeform-errors) {
    color: #dc3545 !important;
}

.freeform-fieldtype-opinion-scale .opinion-scale-scales {
    border: 1px solid #cbced0;
    border-radius: 5px;
}

.freeform-fieldtype-opinion-scale .opinion-scale-scales li label {
    color: #464747 !important;
    background-color: #ffffff;
    border: 0;
    border-left: 1px solid #cbced0;
    padding: 10px 15px;
    margin: 0;
    cursor: pointer;
}

.freeform-fieldtype-opinion-scale .opinion-scale-scales li:first-child label {
    border: 0;
    border-left: 0;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.freeform-fieldtype-opinion-scale .opinion-scale-scales li label:hover {
    background-color: #eaeaea;
}

.freeform-fieldtype-opinion-scale input[type="radio"]:checked + label {
    background-color: #cbced0 !important;
}

.freeform-fieldtype-opinion-scale .opinion-scale-scales:has(>li input.freeform-has-errors), .freeform-fieldtype-opinion-scale .opinion-scale:has(+ ul.freeform-errors) .opinion-scale-scales {
    border: 1px dashed #dc3545;
}

.freeform-fieldtype-opinion-scale .opinion-scale-legends li {
    font: normal 15px sans-serif;
    color: #6c757d;
    padding: 10px 0;
    margin-top: 0;
}

.freeform-fieldtype-rating .freeform-has-errors + label:not(:first-child), .freeform-fieldtype-rating div:has(+ ul.freeform-errors) label {
    color: #dc3545;
}

.form-rating-field-wrapper input[type="radio"] + label {
    margin-right: 5px;
}

.freeform-file-dnd__input {
    background-color: #ffffff !important;
    border: 1px dashed #6c757d !important;
}

.freeform-file-dnd__input input {
    display: none !important;
}

.freeform-file-dnd[data-contains-files] {
    padding-top: 35px;
}

.freeform-file-dnd__placeholder {
    font: italic 200 16px sans-serif !important;
    color: #969696;
}

.freeform-file-dnd__input [data-messages] > li[data-error], .freeform-file-dnd__input [data-field-errors] > li[data-error] {
    font: 200 16px sans-serif;
    color: #dc3545;
    margin-top: 15px;
}

.freeform-file-dnd__input [data-field-errors] > li {
    color: #dc3545;
}

.freeform-fieldtype-signature button {
    font: 400 16px sans-serif;
    color: #6c757d;
    border: 1px solid #6c757d;
    background-color: transparent;
}

.freeform-fieldtype-signature button:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.freeform-fieldtype-signature canvas {
    border: 1px solid #6c757d;
    border-radius: 5px;
}

.freeform-fieldtype-table table {
    width: 100%;
    font: 400 14px sans-serif;
    text-align: left;
}

.freeform-fieldtype-table table thead tr th {
    padding-bottom: 10px;
}

.freeform-fieldtype-table table tbody tr:only-child button {
    display: none;
}

.freeform-fieldtype-table table tbody tr td {
    padding: 0 10px 10px 0;
}

.freeform-fieldtype-table table tbody tr td:last-child {
    text-align: right;
    padding-right: 0;
}

.freeform-fieldtype-table table button[data-freeform-table-remove-row] {
    font-size: 1px;
    margin: 0;
    padding: 0;
    visibility: hidden;
}

.freeform-fieldtype-table table button[data-freeform-table-remove-row]:after {
    font: 400 14px sans-serif;
    color: #b02a37;
    line-height: 1.5;
    content: "✕";
    border: 1px solid #b02a37;
    border-radius: 5px;
    padding: 5px 15px;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    visibility: visible;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.freeform-fieldtype-table table button[data-freeform-table-remove-row]:hover:after {
    color: #ffffff;
    background-color: #b02a37;
    border-color: #b02a37;
}

.freeform-fieldtype-table button[data-freeform-table-add-row] {
    font: 400 14px sans-serif;
    line-height: 1.5;
    color: #146c43;
    content: "+";
    border: 1px solid #146c43;
    background-color: transparent;
    margin: 0;
}

.freeform-fieldtype-table button[data-freeform-table-add-row]:hover {
    color: #ffffff;
    background-color: #146c43;
    border-color: #146c43;
}

.freeform-fieldtype-table button[data-freeform-table-add-row]:after {
    content: "+";
    margin-left: 5px;
}

.freeform-row [class*="freeform-col-"].freeform-fieldtype-table input, .freeform-row [class*="freeform-col-"].freeform-fieldtype-table select {
    padding: 10px;
}

.freeform-row [class*="freeform-col-"].freeform-fieldtype-table select {
    background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) .5em !important;
    background-size: 5px 5px, 5px 5px, 1px 23px !important;
}

.freeform-fieldtype-table input[type="checkbox"] {
    display: block;
    transform: scale(1.15);
}

.freeform-fieldtype-table select {
    min-width: 200px;
}

.freeform-form-success, .freeform-form-errors {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    padding: 15px 20px;
    border-radius: 5px;
}

.freeform-form-success p, .freeform-form-errors p {
    font: normal 18px sans-serif;
    color: #ffffff;
    margin: 0;
}

.freeform-form-success ul, .freeform-form-errors ul {
    font: italic 15px sans-serif;
    color: #ffffff;
    margin: 10px 0 0 0;
    padding: 0 0 0 25px;
}

.freeform-form-success ul li:not(:last-child), .freeform-form-errors ul li:not(:last-child) {
    margin-bottom: 5px;
}

.freeform-form-success {
    background-color: #198754;
    border: 1px solid #198754;
}

.freeform-form-errors {
    background-color: #dc3545;
    border: 1px solid #dc3545;
}

@media only screen and (max-width: 800px) {
    [class*="freeform-col-"] {
        width: 100%
    }
}

@media only screen and (min-width: 801px) {
    .freeform-col-1 {
        width: 8.33%
    }

    .freeform-col-2 {
        width: 16.66%
    }

    .freeform-col-3 {
        width: 25%
    }

    .freeform-col-4 {
        width: 33.33%
    }

    .freeform-col-5 {
        width: 41.66%
    }

    .freeform-col-6 {
        width: 50%
    }

    .freeform-col-7 {
        width: 58.33%
    }

    .freeform-col-8 {
        width: 66.66%
    }

    .freeform-col-9 {
        width: 75%
    }

    .freeform-col-10 {
        width: 83.33%
    }

    .freeform-col-11 {
        width: 91.66%
    }

    .freeform-col-12 {
        width: 100%
    }
}

/* CSS consolidé pour les cases à cocher - Version renforcée avec !important */

.freeform-fieldtype-checkbox input[type="checkbox"] {
    /* Masquer la case à cocher native */
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;

    /* Dimensions parfaitement carrées - FORCÉES */
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;

    /* Style de base */
    border: 2px solid #cbced0 !important;
    border-radius: 3px !important;
    background-color: #ffffff !important;
    box-sizing: border-box !important;

    /* Positionnement et comportement */
    position: relative !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;

    /* Reset des marges et padding */
    margin: 0 8px 0 0 !important;
    padding: 0 !important;

    /* Alignement vertical avec le texte */
    vertical-align: middle !important;
    top: -1px !important;

    /* Transition pour les effets */
    transition: all 0.3s ease !important;

    /* Empêcher la déformation */
    transform: none !important;
    scale: 1 !important;
}

.freeform-fieldtype-checkbox input[type="checkbox"]:hover {
    border-color: var(--color-primary, #0d6efd) !important;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.1) !important;
}

.freeform-fieldtype-checkbox input[type="checkbox"]:focus {
    outline: none !important;
    border-color: var(--color-primary, #0d6efd) !important;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2) !important;
}

.freeform-fieldtype-checkbox input[type="checkbox"]:checked {
    background-color: var(--color-primary, #0d6efd) !important;
    border-color: var(--color-primary, #0d6efd) !important;
}

.freeform-fieldtype-checkbox input[type="checkbox"]:checked::after {
    content: '' !important;
    position: absolute !important;
    left: 4px !important;
    top: 1px !important;
    width: 6px !important;
    height: 10px !important;
    border: solid white !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
}

.freeform-fieldtype-checkbox input[type="checkbox"].freeform-has-errors {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1) !important;
}

.freeform-fieldtype-checkbox label {
    display: inline-flex !important;
    align-items: center !important;
    cursor: pointer !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
    gap: 0 !important;
}