.bob-form-wrapper {
    margin-top: 2rem;
}

.bob-form-wrapper input,
.bob-form-wrapper textarea {
    background-color: rgba(255, 255, 255, 0.7) !important;
}

.iti {
    width: 100%;
    display: block;
    margin-bottom: 15px;
}
.iti .iti__flag-container {
    padding-left: 5px;
}
.iti input {
    padding-left: 50px !important;
}

.iti__country-list{
    z-index: 1;
    max-height: 195px;
}

.bob-form-submit button,
.prev-btn,
.next-btn {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;        /* supprime la bordure grise */
    outline: none;       /* supprime le halo par défaut au focus */
    box-shadow: none;
    margin-bottom: 15px;
}

.bob-form-container input[type='text'],
.bob-form-container input[type='email'],
.bob-form-container input[type='tel'],
.bob-form-container input[type='number'],
.bob-form-container input[type='range'],
.bob-form-container textarea,
.bob-form-container select,
.bob-multistep-form input[type='text'],
.bob-multistep-form input[type='email'],
.bob-multistep-form input[type='tel'],
.bob-multistep-form input[type='number'],
.bob-multistep-form input[type='range'],
.bob-multistep-form textarea,
.bob-multistep-form select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    /*margin-bottom: 15px;*/
}

/* Multistep forms: inputs should take full width */
.bob-multistep-form input[type='text'],
.bob-multistep-form input[type='email'],
.bob-multistep-form input[type='tel'],
.bob-multistep-form input[type='number'],
.bob-multistep-form textarea,
.bob-multistep-form select {
    width: 100%;
    box-sizing: border-box;
}

.bob-form-container select,
.bob-multistep-form select {
    background-color: #fff;
    color: #545454
}

/* disable focus on input type text, email, tel, textarea */
.bob-form-container input[type='text']:focus,
.bob-form-container input[type='email']:focus,
.bob-form-container input[type='tel']:focus,
.bob-form-container input[type='number']:focus,
.bob-form-container input[type='range']:focus,
.bob-form-container textarea:focus,
.bob-form-container select:focus,
.bob-multistep-form input[type='text']:focus,
.bob-multistep-form input[type='email']:focus,
.bob-multistep-form input[type='tel']:focus,
.bob-multistep-form input[type='number']:focus,
.bob-multistep-form input[type='range']:focus,
.bob-multistep-form textarea:focus,
.bob-multistep-form select:focus{
    outline: none;
}

.bob-form input[type=submit]:focus,
.bob-form button[type=submit]:focus,
.bob-multistep-form input[type=submit]:focus,
.bob-multistep-form button[type=submit]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 78, 33, 0.5); /* halo orange doux */
}

.bob-form-tag .question {
    font-weight: var(--font_weight_title, 500);
    color: var(--question_text_color, #545454);
}

/* Masquer l'input natif */
.bob-form input[type=radio].inline-radio,
.bob-multistep-form input[type=radio].inline-radio {
    position: absolute;
    opacity: 0;
}

/* Label cliquable pleine largeur */
.bob-form input[type=radio].inline-radio + label,
.bob-multistep-form input[type=radio].inline-radio + label {
    display: inline-block;
    width: 100%;
    position: relative;
    cursor: pointer;
    padding-left: 30px; /* espace pour la bulle */
    line-height: 24px;
}

/* Bulle par défaut */
.bob-form input[type=radio].inline-radio + label::before,
.bob-multistep-form input[type=radio].inline-radio + label::before {
    content: "";
    border: 1px solid grey;
    width: 20px;
    height: 20px;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border-radius: 50%; /* rond */
    transition: all 0.2s ease-in-out;
}

/* Bulle cochée */
.bob-form input[type=radio].inline-radio:checked + label::before,
.bob-multistep-form input[type=radio].inline-radio:checked + label::before {
    background-color: orangered !important;
    border-color: orangered;
}

/* Ajout du ✓ blanc au centre */
.bob-form input[type=radio].inline-radio:checked + label::after,
.bob-multistep-form input[type=radio].inline-radio:checked + label::after {
    content: "✓";
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
}

/* Hover */
.bob-form input[type=radio].inline-radio + label:hover::before,
.bob-multistep-form input[type=radio].inline-radio + label:hover::before {
    box-shadow: 0 0 4px 0 orangered;
}

/* Espacement optionnel entre les options */
.bob-form .bob-form-radio,
.bob-multistep-form .bob-form-radio {
    margin: 6px 0;
}

.form-submit {
    padding: 10px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1em;
    float: unset;
}

/* === CHECKBOX === */

/* Masquer l'input natif */
.bob-form input[type=checkbox].inline-checkbox,
.bob-multistep-form input[type=checkbox].inline-checkbox {
    position: absolute;
    opacity: 0;
}

/* Label cliquable pleine largeur */
.bob-form input[type=checkbox].inline-checkbox + label,
.bob-multistep-form input[type=checkbox].inline-checkbox + label {
    display: inline-block;
    width: 100%;
    position: relative;
    cursor: pointer;
    padding-left: 30px; /* espace pour la case */
    line-height: 24px;
}

/* Case par défaut (carrée) */
.bob-form input[type=checkbox].inline-checkbox + label::before,
.bob-multistep-form input[type=checkbox].inline-checkbox + label::before {
    content: "";
    border: 1px solid grey;
    width: 20px;
    height: 20px;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border-radius: 4px; /* carré avec coins légers */
    transition: all 0.2s ease-in-out;
}

/* Case cochée */
.bob-form input[type=checkbox].inline-checkbox:checked + label::before,
.bob-multistep-form input[type=checkbox].inline-checkbox:checked + label::before {
    background-color: orangered !important;
    border-color: orangered;
}

/* ✓ blanc centré */
.bob-form input[type=checkbox].inline-checkbox:checked + label::after,
.bob-multistep-form input[type=checkbox].inline-checkbox:checked + label::after {
    content: "✓";
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    position: absolute;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
}

/* Hover (effet lumineux) */
.bob-form input[type=checkbox].inline-checkbox + label:hover::before,
.bob-multistep-form input[type=checkbox].inline-checkbox + label:hover::before {
    box-shadow: 0 0 4px 0 orangered;
}

/* Espacement cohérent entre les options */
.bob-form .bob-form-checkbox,
.bob-multistep-form .bob-form-checkbox {
    margin: 6px 0;
}

