/* Conteneur global des champs téléphone */
.gform_wrapper .ginput_container_telephone {
    position: relative;
    width: 100%;
    min-height: 40px;
}

/* Conteneur du drapeau et du code du pays */
.gform_wrapper .iti-custom-container .iti__flag-container {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    padding: 0 12px;
    height: 100%;
    background: #f5f5f5;
    box-sizing: border-box;
}

/* Drapeau */
.iti__flag {
    width: 20px;
    height: 14px;
    margin-right: 10px;
}

/* Code du pays (+32) */
.iti__selected-dial-code {
    font-size: 14px;
    color: #333;
    margin: 0;
    padding: 0 5px;
    line-height: normal;
}

/* Flèche du menu déroulant */
.iti__arrow {
    margin-left: 8px;
    border: none;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #555;
}

/* Champs spécifiques */
.gform_wrapper .iti-custom-container input[type=tel].gf-telephone#input_13_122,
.gform_wrapper .iti-custom-container input[type=tel].gf-telephone#input_13_123 {
    width: 100% !important;
    box-sizing: border-box !important;
    height: 40px !important;
    line-height: normal !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    padding: 8px 8px 8px 160px !important; /* 10 caractères (~80px) + flag (~80px) */
    font-size: 15px !important;
    margin: 0 !important;
}

/* Corriger les conflits avec Impreza et Elementor */
.gform_wrapper.gravity-theme .iti-custom-container input[type=tel].gf-telephone#input_13_122,
.gform_wrapper.gravity-theme .iti-custom-container input[type=tel].gf-telephone#input_13_123,
.eael-contact-form .iti-custom-container input[type=tel].gf-telephone#input_13_122,
.eael-contact-form .iti-custom-container input[type=tel].gf-telephone#input_13_123 {
    padding: 8px 8px 8px 160px !important;
    margin: 0 !important;
    height: 40px !important;
    line-height: normal !important;
}

/* Surpasser les styles inline et ceux de intl-tel-input */
.iti--separate-dial-code input[type=tel].gf-telephone#input_13_122,
.iti--separate-dial-code input[type=tel].gf-telephone#input_13_123,
.iti input[type=tel].gf-telephone#input_13_122,
.iti input[type=tel].gf-telephone#input_13_123 {
    padding-left: 160px !important;
    padding-right: 8px !important;
}

/* Désactiver les styles conflictuels d'Impreza */
.gform_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]).gf-telephone#input_13_122,
.gform_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]).gf-telephone#input_13_123 {
    padding: 8px 8px 8px 160px !important;
}